/* Simple site-wide CSS (dark, minimal, responsive)
   Applies to all pages in the project
*/

:root {
  --bg: #0b0c10;
  --panel: #0f1116;
  --muted: #98a0a8;
  --text: #eef6fb;
  --accent: #6be0ff;
  --accent-2: #ff88d1;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 10px;
  --maxw: 1000px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), #0b0d12);
  color: var(--text);
}

.container {
  width: clamp(320px, 92%, var(--maxw));
  margin: 0 auto;
  padding: 20px
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.nav {
  display: flex;
  gap: 10px
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px
}

.nav a:hover {
  color: var(--text)
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6)
}

.btn {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  color: var(--text);
  cursor: pointer;
  font-weight: 700
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #051018
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted)
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted)
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  margin-bottom: 10px
}

textarea {
  min-height: 80px
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.message {
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.message img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover
}

.msg-body {
  background: #0c0d11;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  max-width: 78%
}

.msg-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px
}

.msg-content {
  white-space: pre-wrap
}

.profile {
  display: flex;
  gap: 14px;
  align-items: center
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #021018
}

@media (max-width:600px) {
  .nav {
    display: none
  }

  .avatar {
    width: 72px;
    height: 72px
  }

  .msg-body {
    max-width: 100%
  }
}

/* End */

/*
  Thème : Chase Atlantic - version simplifiée
  Style sombre, néon cyan/rose, effet verre et transitions douces.
*/

:root {
  --bg: #0b0b11;
  --card: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --accent: #8be3ff;
  --accent-2: #ff7ae0;
  --text: #e9eef6;
  --muted: #9aa0a6;
}

/* Reset rapide */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at 10% 10%, rgba(139, 227, 255, 0.05), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(255, 122, 224, 0.05), transparent 40%),
    linear-gradient(to bottom, #07060a, #0f0f1a);
  color: var(--text);
  min-height: 100vh;
  padding: 20px;
  line-height: 1.5;
}

/* Conteneur */
.container {
  max-width: 900px;
  margin: auto;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

header h1 {
  font-size: 1.4rem;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav a {
  color: var(--muted);
  margin-left: 15px;
  text-decoration: none;
  transition: 0.3s;
}

nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  text-align: center;
  padding: 50px 20px;
}

.hero h2 {
  font-size: 2rem;
  color: var(--accent);
}

.hero p {
  color: var(--muted);
  margin-top: 8px;
}

/* Cartes / blocs */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
  backdrop-filter: blur(8px);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(139, 227, 255, 0.1);
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0b0b11;
}

.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-ghost:hover {
  background: rgba(139, 227, 255, 0.05);
}

/* Formulaires */
input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  margin-top: 6px;
  margin-bottom: 14px;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 8px rgba(139, 227, 255, 0.3);
}

/* Chat */
.chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.95rem;
}

.message.incoming {
  align-self: flex-start;
  background: rgba(139, 227, 255, 0.08);
}

.message.outgoing {
  align-self: flex-end;
  background: rgba(255, 122, 224, 0.08);
}

/* Avatar & profil */
.profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* Texte accentué */
.neon {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(139, 227, 255, 0.6);
}

.neon-pink {
  color: var(--accent-2);
  text-shadow: 0 0 8px rgba(255, 122, 224, 0.6);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 50px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h2 {
    font-size: 1.6rem;
  }

  header {
    flex-direction: column;
    gap: 10px;
  }
}