:root{
  --bg: #070a0f;
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.68);

  --gold: #f5c77a;
  --gold-strong: #ffb84d;
  --gold-soft: rgba(245,199,122,0.20);

  --line: rgba(255,255,255,0.10);
  --radius: 22px;
  --max: 1100px;

  --footer-bg: rgba(0,0,0,0.78);
  --footer-line: rgba(255,255,255,0.08);
  --shadow: 0 30px 90px rgba(0,0,0,0.65);
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Background layers */
.bg{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1100px 650px at 50% 25%, rgba(245,199,122,0.10), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.62), rgba(0,0,0,0.84)),
    url("assets/bg.jpg");
  background-size: cover;
  background-position: center;
  z-index: -3;
}

.rays{
  position: fixed;
  inset: -20%;
  background: repeating-linear-gradient(
    120deg,
    rgba(255,255,255,0.05) 0px,
    rgba(255,255,255,0.02) 180px,
    rgba(255,255,255,0.00) 360px
  );
  opacity: 0.18;
  filter: blur(1px);
  z-index: -2;
  mix-blend-mode: soft-light;
  animation: raysMove 14s ease-in-out infinite;
  pointer-events: none;
}

@keyframes raysMove{
  0%,100%{ transform: translate(-1%, -1%); }
  50%{ transform: translate(1%, 1%); }
}

.particles{
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(245,199,122,0.5) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 35%, rgba(255,184,77,0.4) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 80%, rgba(245,199,122,0.3) 0 1px, transparent 2px);
  opacity: 0.5;
  animation: particlesFloat 10s ease-in-out infinite;
}

@keyframes particlesFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

/* Layout */
.wrap{
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(7,10,15,0.30);
  border-bottom: 1px solid var(--line);
}

.nav{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap; /* important for mobile */
}

.brand{
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.92;
  user-select: none;
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  background: rgba(0,0,0,0.25);
  box-shadow: 0 0 18px var(--gold-soft);
  white-space: nowrap;
}

.dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-strong);
  box-shadow: 0 0 0 6px rgba(255,184,77,0.12);
  animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.15); }
}

.main{
  flex: 1;
  display: grid;
  place-items: center;
  padding: 78px 18px 54px;
}

.hero{
  max-width: var(--max);
  width: 100%;
  text-align: center;
  padding: 44px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.22));
  border: 1px solid rgba(255,200,120,0.14);
  box-shadow: var(--shadow);
}

.kicker{
  display: inline-block;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(255,200,120,0.22);
  border-radius: 999px;
  background: rgba(0,0,0,0.28);
}

.title-fantasy{
  font-family: 'Cinzel', serif;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 600;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  line-height: 1.05;

  background: linear-gradient(
    180deg,
    #fff3d6 0%,
    var(--gold) 45%,
    var(--gold-strong) 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow:
    0 0 40px rgba(245, 199, 122, 0.35),
    0 10px 50px rgba(0, 0, 0, 0.45);

  margin: 18px 0 0;
}

.divider{
  width: 120px;
  height: 1px;
  margin: 18px auto;
  background: linear-gradient(90deg, transparent, rgba(245,199,122,0.55), transparent);
}

.subtitle{
  max-width: 72ch;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.subtitle strong{
  color: rgba(255,255,255,0.88);
  font-weight: 600;
}

.cta-row{
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn{
  appearance: none;
  border: 1px solid rgba(255,200,120,0.20);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.92);
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 14px 40px rgba(0,0,0,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px; /* good mobile tap target */
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.45);
  background: rgba(0,0,0,0.36);
}

.btn.primary{
  background: linear-gradient(180deg, rgba(245,199,122,0.18), rgba(0,0,0,0.24));
  border-color: rgba(245,199,122,0.35);
}

.site-footer{
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-line);
}

.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 18px;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 560px){
  .nav{
    justify-content: space-between; /* clé du fix */
    gap: 8px;
  }

  .brand{
    width: auto;
    text-align: left;
    font-size: 14px;
  }

  .pill{
    padding: 6px 12px;
    font-size: 11px;
  }

  .main{
    padding: 64px 14px 44px;
  }

  .hero{
    padding: 34px 16px;
  }

  .title-fantasy{
    letter-spacing: 0.18em;
    font-size: clamp(38px, 10vw, 56px);
  }

  .subtitle{
    font-size: 16px;
  }

  .cta-row{
    width: 100%;
  }

  .btn{
    width: 100%;
    max-width: 420px;
  }
}
