/* ===================================================
   GWENN HA DECK — Feuille de style principale
   Palette : Brun chaud / Ambre / Crème / Vert forêt
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --bg:         #1a1208;
  --bg-warm:    #2b1f0e;
  --bg-card:    #231910;
  --amber:      #e8a020;
  --amber-light:#f4c456;
  --amber-dark: #c07010;
  --cream:      #f5ecd7;
  --cream-muted:#d4c4a0;
  --forest:     #2d6a4f;
  --forest-light:#52b788;
  --rust:       #c04a1a;
  --purple:     #6a3a8c;
  --teal:       #0a7e8c;
  --text:       #f0e4ca;
  --text-muted: #9a8a6a;
  --border:     rgba(232,160,32,0.2);

  /* Jeux */
  --pokemon:   #e8c030;
  --magic:     #6a3a8c;
  --lorcana:   #1a6aaa;
  --yugioh:    #c04a1a;
  --onepiece:  #cc2222;
  --riftbound: #0a7e8c;
  --starwars:  #c8a040;

  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-amber: 0 4px 24px rgba(232,160,32,0.2);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ─────────────────────────────────── */

h1,h2,h3 { font-family: 'Cinzel Decorative', serif; line-height: 1.2; }
h4,h5,p,a,span { font-family: 'Nunito', sans-serif; }

/* ── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--amber-dark); border-radius: 3px; }

/* ── LAYOUT ─────────────────────────────────────── */

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-dark { background: var(--bg-warm); }
.section-warm {
  background: linear-gradient(135deg, #1e1508 0%, #2a1c0c 100%);
  position: relative;
}
.section-warm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8a020' fill-opacity='0.03'%3E%3Cpath d='M30 0l30 52H0z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.section-header { text-align: center; margin-bottom: 56px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--amber); }
.section-title.light { color: var(--amber-light); }
.section-subtitle { color: var(--text-muted); margin-top: 12px; font-size: 1.1rem; font-style: italic; font-family: 'Crimson Pro', serif; }
.section-subtitle.light { color: var(--cream-muted); }

/* ── HEADER ─────────────────────────────────────── */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26,18,8,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-symbol { font-size: 1.8rem; color: var(--amber); animation: spin 20s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-family: 'Cinzel Decorative', serif; font-size: 1rem; color: var(--amber); line-height: 1; }
.logo-sub { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }

.main-nav { display: flex; gap: 8px; margin-left: auto; }
.main-nav a {
  color: var(--cream-muted); text-decoration: none; padding: 8px 14px;
  border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600;
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--amber); background: rgba(232,160,32,0.1); }

.cta-btn {
  background: var(--amber); color: var(--bg); padding: 10px 20px;
  border-radius: 50px; text-decoration: none; font-weight: 800; font-size: 0.85rem;
  transition: all 0.2s; white-space: nowrap;
}
.cta-btn:hover { background: var(--amber-light); transform: translateY(-1px); }

.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--amber); padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; }

/* ── HERO ────────────────────────────────────────── */

.hero {
  min-height: 90vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 80px 24px;
  gap: 48px;
  max-width: 1160px; margin: 0 auto;
}
.hero-bg {
  position: absolute; inset: -100px;
  background: radial-gradient(ellipse 80% 80% at 30% 50%, rgba(232,160,32,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,32,0.06), transparent 70%);
  animation: float 8s ease-in-out infinite;
}
.shape-1 { width: 600px; height: 600px; top: -100px; right: -100px; animation-delay: 0s; }
.shape-2 { width: 400px; height: 400px; bottom: -50px; left: -50px; animation-delay: 3s; }
.shape-3 { width: 200px; height: 200px; top: 30%; right: 20%; animation-delay: 1.5s; }
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-content { flex: 1; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; padding: 6px 16px;
  border: 1px solid var(--amber); border-radius: 50px;
  color: var(--amber); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 24px; animation: fadeUp 0.6s ease both;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--cream); line-height: 1.05;
  animation: fadeUp 0.7s ease 0.1s both;
}
.hero-title em { font-style: italic; color: var(--amber); }
.hero-desc {
  color: var(--text-muted); font-size: 1.1rem; max-width: 480px;
  margin: 24px 0 36px;
  font-family: 'Crimson Pro', serif; font-size: 1.2rem;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 0.9s ease 0.3s both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero Cards Fan */
.hero-cards { flex: 0 0 auto; position: relative; z-index: 1; }
.card-fan { position: relative; width: 260px; height: 360px; }
.fan-card {
  position: absolute; width: 160px; height: 220px;
  border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  font-family: 'Cinzel Decorative', serif; font-size: 0.7rem;
  text-align: center; padding: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  transition: transform 0.3s ease;
  cursor: default;
}
.fan-card:hover { z-index: 10; }
.card-icon { font-size: 2.5rem; }
.card-game-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }

.fan-c1 { background: linear-gradient(145deg, #2a1f04, #4a3810); border: 1px solid var(--pokemon); color: var(--pokemon); transform: rotate(-12deg) translate(-60px, 40px); }
.fan-c2 { background: linear-gradient(145deg, #1a0a2e, #2e1452); border: 1px solid var(--magic); color: var(--magic); transform: rotate(-6deg) translate(-20px, 20px); }
.fan-c3 { background: linear-gradient(145deg, #0a1a2e, #143060); border: 1px solid var(--lorcana); color: var(--lorcana); transform: rotate(0deg) translate(20px, 10px); z-index: 5; }
.fan-c4 { background: linear-gradient(145deg, #2e1008, #4a2010); border: 1px solid var(--yugioh); color: var(--yugioh); transform: rotate(6deg) translate(60px, 20px); }
.fan-c5 { background: linear-gradient(145deg, #2e0808, #4a1010); border: 1px solid var(--onepiece); color: var(--onepiece); transform: rotate(12deg) translate(90px, 50px); }

.fan-c1:hover { transform: rotate(-12deg) translate(-60px, 20px) scale(1.05); }
.fan-c2:hover { transform: rotate(-6deg) translate(-20px, 0px) scale(1.05); }
.fan-c3:hover { transform: rotate(0deg) translate(20px, -10px) scale(1.05); }
.fan-c4:hover { transform: rotate(6deg) translate(60px, 0px) scale(1.05); }
.fan-c5:hover { transform: rotate(12deg) translate(90px, 30px) scale(1.05); }

/* ── WELCOME BANNER ──────────────────────────────── */

.welcome-banner {
  background: linear-gradient(90deg, var(--amber-dark), var(--amber), var(--amber-dark));
  padding: 16px 0; overflow: hidden;
}
.banner-inner {
  display: flex; gap: 32px; align-items: center;
  white-space: nowrap; font-weight: 700; font-size: 0.9rem;
  color: var(--bg);
  justify-content: center; flex-wrap: wrap;
  padding: 0 24px;
}
.sep { opacity: 0.5; }

/* ── BUTTONS ─────────────────────────────────────── */

.btn-primary {
  background: var(--amber); color: var(--bg);
  padding: 14px 28px; border-radius: 50px;
  text-decoration: none; font-weight: 800; font-size: 0.95rem;
  display: inline-block; transition: all 0.2s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,160,32,0.3); }
.btn-primary.full-width { width: 100%; text-align: center; }

.btn-secondary {
  color: var(--amber); padding: 14px 28px;
  border-radius: 50px; text-decoration: none;
  font-weight: 700; font-size: 0.95rem;
  border: 1px solid var(--amber); display: inline-block;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(232,160,32,0.1); transform: translateY(-2px); }

.btn-outline-light {
  color: var(--amber-light); border: 1px solid var(--amber-light);
  padding: 12px 28px; border-radius: 50px; text-decoration: none;
  font-weight: 700; display: inline-block; transition: all 0.2s;
}
.btn-outline-light:hover { background: rgba(232,160,32,0.1); }

/* ── GAMES GRID ──────────────────────────────────── */

.games-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
/* Dernière rangée (3 cartes) centrée */
.games-grid > article:nth-child(5) { grid-column: 1; }
.games-grid > article:nth-child(5),
.games-grid > article:nth-child(6),
.games-grid > article:nth-child(7) {
  /* naturellement positionnés, pas besoin d'override */
}
.game-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.game-card::before {
  content: ''; position: absolute;
  inset: 0; opacity: 0;
  transition: opacity 0.3s;
  border-radius: var(--radius);
}
.game-card:hover { transform: translateY(-4px); border-color: transparent; }
.game-card:hover::before { opacity: 1; }

.game-pokemon::before { background: linear-gradient(135deg, rgba(232,192,48,0.08), transparent); }
.game-pokemon:hover { box-shadow: 0 16px 40px rgba(232,192,48,0.15); }
.game-magic::before { background: linear-gradient(135deg, rgba(106,58,140,0.12), transparent); }
.game-magic:hover { box-shadow: 0 16px 40px rgba(106,58,140,0.2); }
.game-lorcana::before { background: linear-gradient(135deg, rgba(26,106,170,0.12), transparent); }
.game-lorcana:hover { box-shadow: 0 16px 40px rgba(26,106,170,0.2); }
.game-yugioh::before { background: linear-gradient(135deg, rgba(192,74,26,0.12), transparent); }
.game-yugioh:hover { box-shadow: 0 16px 40px rgba(192,74,26,0.2); }
.game-starwars::before { background: linear-gradient(135deg, rgba(200,160,64,0.12), transparent); }
.game-starwars:hover { box-shadow: 0 16px 40px rgba(200,160,64,0.2); }

/* ── FAQ ─────────────────────────────────────────── */

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(232,160,32,0.4); }
.faq-q {
  padding: 20px 24px; cursor: pointer;
  font-weight: 700; font-size: 1rem; color: var(--cream);
  display: flex; justify-content: space-between; align-items: center;
  list-style: none; gap: 16px;
  transition: color 0.2s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; color: var(--amber); font-size: 1.4rem;
  font-family: 'Nunito', sans-serif; font-weight: 800;
  flex-shrink: 0; transition: transform 0.2s;
}
.faq-item[open] .faq-q { color: var(--amber); }
.faq-item[open] .faq-q::after { transform: rotate(45deg); }
.faq-a {
  padding: 0 24px 20px;
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.7;
  font-family: 'Crimson Pro', serif; font-size: 1.05rem;
}

/* ── FOOTER SEO ──────────────────────────────────── */
.footer-seo {
  font-size: 0.75rem; color: var(--text-muted); opacity: 0.4;
  margin-bottom: 12px; line-height: 1.6;
}

.game-icon { font-size: 2.5rem; margin-bottom: 16px; }
.game-card h3 { font-family: 'Cinzel Decorative', serif; font-size: 0.85rem; color: var(--amber); margin-bottom: 12px; }
.game-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.game-tag { display: inline-block; margin-top: 16px; padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; background: rgba(232,160,32,0.1); color: var(--amber); border: 1px solid rgba(232,160,32,0.2); }

.new-tcg-teaser {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(45,106,79,0.2), rgba(82,183,136,0.1));
  border: 1px solid rgba(82,183,136,0.3);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex; align-items: center; gap: 20px;
}
.new-tcg-icon { font-size: 2.5rem; }
.new-tcg-text strong { color: var(--forest-light); font-size: 1.05rem; }
.new-tcg-text p { color: var(--text-muted); margin-top: 4px; font-size: 0.9rem; }

/* ── EVENTS ──────────────────────────────────────── */

.formats-row {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 48px;
}
.format-pill {
  background: rgba(232,160,32,0.08);
  border: 1px solid rgba(232,160,32,0.2);
  border-radius: 50px; padding: 12px 24px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--amber);
}
.format-pill small { color: var(--text-muted); font-weight: 400; font-size: 0.75rem; }
.format-icon { font-size: 1.2rem; }

.events-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.event-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 14px;
  transition: all 0.3s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.event-pokemon { border-top: 3px solid var(--pokemon); }
.event-magic { border-top: 3px solid var(--magic); }
.event-lorcana { border-top: 3px solid var(--lorcana); }
.event-yugioh { border-top: 3px solid var(--yugioh); }
.event-onepiece { border-top: 3px solid var(--onepiece); }
.event-riftbound { border-top: 3px solid var(--riftbound); }
.event-starwars  { border-top: 3px solid var(--starwars); }

.event-header { display: flex; align-items: center; gap: 12px; }
.event-game-icon { font-size: 1.8rem; }
.event-meta-top { display: flex; flex-direction: column; gap: 4px; }
.event-type-badge {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  padding: 2px 10px; border-radius: 50px; display: inline-block;
  letter-spacing: 0.05em;
}
.type-construit { background: rgba(45,106,79,0.3); color: var(--forest-light); }
.type-draft { background: rgba(106,58,140,0.3); color: #b78fdc; }
.type-scellé { background: rgba(10,126,140,0.3); color: #5ccfdc; }
.type-initiation { background: rgba(232,160,32,0.2); color: var(--amber); }
.event-game-name { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.event-title { font-family: 'Cinzel Decorative', serif; font-size: 0.85rem; color: var(--cream); line-height: 1.4; }
.event-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.event-details { display: flex; flex-direction: column; gap: 6px; }
.event-detail { font-size: 0.85rem; color: var(--cream-muted); display: flex; align-items: center; gap: 8px; }
.event-detail span { font-size: 1rem; }

.event-capacity { }
.capacity-bar { height: 4px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.capacity-fill { height: 100%; background: var(--amber); border-radius: 2px; transition: width 0.5s ease; }
.capacity-text { font-size: 0.78rem; color: var(--text-muted); }

.event-cta {
  background: var(--amber); color: var(--bg);
  padding: 12px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 800; font-size: 0.9rem;
  text-align: center; display: block;
  transition: all 0.2s;
}
.event-cta:hover:not(.full) { background: var(--amber-light); transform: translateY(-1px); }
.event-cta.full { background: rgba(255,255,255,0.1); color: var(--text-muted); cursor: default; }

.events-footer { text-align: center; margin-top: 48px; }
.events-footer p { color: var(--text-muted); margin-bottom: 16px; font-size: 1.05rem; font-family: 'Crimson Pro', serif; font-style: italic; }

/* ── INITIATION ──────────────────────────────────── */

.initiation-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.initiation-text { display: flex; flex-direction: column; gap: 32px; }
.initiation-block { display: flex; gap: 20px; align-items: flex-start; }
.init-icon { font-size: 2rem; flex-shrink: 0; margin-top: 4px; }
.initiation-block h3 { font-family: 'Cinzel Decorative', serif; font-size: 0.9rem; color: var(--amber); margin-bottom: 8px; }
.initiation-block p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

.welcome-card {
  background: linear-gradient(145deg, #2b1f0e, #1e1508);
  border: 1px solid var(--amber);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 0 60px rgba(232,160,32,0.1);
  position: relative; overflow: hidden;
}
.welcome-card::before {
  content: ''; position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(232,160,32,0.1), transparent 70%);
}
.wc-top { margin-bottom: 20px; }
.wc-badge { background: var(--amber); color: var(--bg); padding: 4px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; }
.wc-title { font-family: 'Cinzel Decorative', serif; font-size: 1.4rem; color: var(--cream); margin-bottom: 28px; }
.wc-checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.wc-item { color: var(--cream-muted); font-size: 1rem; font-weight: 600; }
.wc-quote { font-family: 'Crimson Pro', serif; font-style: italic; color: var(--amber); font-size: 1rem; padding-top: 20px; border-top: 1px solid var(--border); }

/* ── COMMUNITY ───────────────────────────────────── */

.community-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  margin-bottom: 56px;
}
.community-stat {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 32px; text-align: center;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.community-stat:hover { border-color: var(--amber); transform: translateY(-4px); }
.stat-number { font-family: 'Cinzel Decorative', serif; font-size: 2.8rem; color: var(--amber); margin-bottom: 8px; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; font-weight: 600; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
}
.test-text { font-family: 'Crimson Pro', serif; font-style: italic; font-size: 1.05rem; color: var(--cream-muted); line-height: 1.7; margin-bottom: 16px; }
.test-author { font-size: 0.8rem; color: var(--text-muted); font-weight: 700; }

/* ── CONTACT ─────────────────────────────────────── */

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info .section-title { text-align: left; margin-bottom: 32px; }
.info-blocks { display: flex; flex-direction: column; gap: 20px; }
.info-block { display: flex; gap: 16px; align-items: flex-start; }
.info-block > span { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.info-block strong { color: var(--amber); display: block; margin-bottom: 4px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; }
.info-block p { color: var(--text-muted); font-size: 0.9rem; }
.discord-link { color: var(--amber); text-decoration: none; }
.discord-link:hover { text-decoration: underline; }

.contact-form-wrap {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 40px; border: 1px solid var(--border);
}
.contact-form-wrap h3 { font-family: 'Cinzel Decorative', serif; color: var(--amber); margin-bottom: 24px; font-size: 1rem; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--text); padding: 12px 16px; font-family: 'Nunito', sans-serif;
  font-size: 0.9rem; transition: all 0.2s; resize: vertical;
  width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--amber);
  background: rgba(232,160,32,0.05);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }

/* ── FOOTER ──────────────────────────────────────── */

.site-footer {
  background: #0e0b05;
  border-top: 1px solid var(--border);
  padding: 48px 24px;
}
.footer-inner { max-width: 1160px; margin: 0 auto; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px; }
.footer-logo .logo-symbol { font-size: 1.4rem; color: var(--amber); }
.footer-logo .logo-main { font-family: 'Cinzel Decorative', serif; font-size: 0.9rem; color: var(--amber); }
.footer-tagline { color: var(--text-muted); font-family: 'Crimson Pro', serif; font-style: italic; margin-bottom: 24px; }
.footer-links { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--amber); }
.footer-copy { font-size: 0.8rem; color: var(--text-muted); opacity: 0.6; }

/* ── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 1100px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .initiation-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; padding: 60px 24px; }
  .hero-cards { display: none; }
  .hero-desc { margin: 16px auto 28px; }
  .hero-actions { justify-content: center; }
  .main-nav { display: none; }
  .cta-btn { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .games-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .faq-q { font-size: 0.9rem; }
}

/* ── VUE TOGGLE ──────────────────────────────────── */

.view-toggle {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 32px;
}
.view-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted); padding: 10px 24px;
  border-radius: 50px; cursor: pointer;
  font-family: 'Nunito', sans-serif; font-size: 0.9rem; font-weight: 700;
  transition: all 0.2s; display: flex; align-items: center; gap: 8px;
}
.view-btn:hover { border-color: var(--amber); color: var(--amber); }
.view-btn.active {
  background: var(--amber); border-color: var(--amber);
  color: var(--bg);
}

/* ── CALENDRIER ──────────────────────────────────── */

.cal-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; margin-bottom: 24px;
}
.cal-nav-btn {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: var(--amber); width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; font-size: 1.1rem; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.cal-nav-btn:hover { background: var(--amber); color: var(--bg); }
.cal-month-label {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem; color: var(--amber-light);
  min-width: 200px; text-align: center;
}

.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px; margin-bottom: 24px;
}
.cal-day-header {
  text-align: center; font-size: 0.72rem; font-weight: 800;
  color: var(--text-muted); text-transform: uppercase;
  letter-spacing: 0.08em; padding: 8px 0;
}
.cal-day {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; min-height: 80px; padding: 8px 6px;
  transition: border-color 0.2s; position: relative;
}
.cal-day.empty { background: transparent; border-color: transparent; }
.cal-day.today { border-color: rgba(232,160,32,0.5); }
.cal-day.today .cal-day-num { color: var(--amber); font-weight: 800; }
.cal-day.has-events { cursor: pointer; }
.cal-day.has-events:hover { border-color: var(--amber); }
.cal-day.selected { border-color: var(--amber); background: rgba(232,160,32,0.08); }
.cal-day-num {
  font-size: 0.82rem; color: var(--cream-muted); font-weight: 700;
  margin-bottom: 4px; display: block;
}
.cal-event-dot {
  display: flex; align-items: center; gap: 4px;
  font-size: 0.65rem; font-weight: 700; padding: 2px 5px;
  border-radius: 4px; margin-bottom: 2px; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  cursor: pointer;
}
.cal-event-dot.couleur-magic    { background: rgba(106,58,140,0.3); color: #c09ee0; }
.cal-event-dot.couleur-pokemon  { background: rgba(232,192,48,0.2); color: #e8c030; }
.cal-event-dot.couleur-lorcana  { background: rgba(26,106,170,0.3); color: #6ab0f0; }
.cal-event-dot.couleur-yugioh   { background: rgba(192,74,26,0.3);  color: #e08050; }
.cal-event-dot.couleur-onepiece { background: rgba(204,34,34,0.3);  color: #f07070; }
.cal-event-dot.couleur-riftbound{ background: rgba(10,126,140,0.3); color: #50d0e0; }
.cal-event-dot.couleur-starwars { background: rgba(200,160,64,0.3); color: #e8c860; }
.cal-more {
  font-size: 0.62rem; color: var(--text-muted); font-weight: 700;
  text-align: center; margin-top: 2px;
}

/* ── DÉTAIL JOUR ─────────────────────────────────── */

.cal-detail {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  animation: fadeUp 0.3s ease;
}
.cal-detail-empty {
  text-align: center; color: var(--text-muted);
  font-family: 'Crimson Pro', serif; font-style: italic; font-size: 1.05rem;
  padding: 24px 0;
}
.cal-detail-title {
  font-family: 'Cinzel Decorative', serif; font-size: 0.85rem;
  color: var(--amber); margin-bottom: 20px;
}
.cal-detail-events { display: flex; flex-direction: column; gap: 14px; }
.cal-detail-event {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,0.03); border-radius: 10px;
  padding: 14px 16px; border-left: 3px solid var(--amber);
  transition: background 0.2s;
}
.cal-detail-event.couleur-magic    { border-left-color: var(--magic); }
.cal-detail-event.couleur-pokemon  { border-left-color: var(--pokemon); }
.cal-detail-event.couleur-lorcana  { border-left-color: var(--lorcana); }
.cal-detail-event.couleur-yugioh   { border-left-color: var(--yugioh); }
.cal-detail-event.couleur-onepiece { border-left-color: var(--onepiece); }
.cal-detail-event.couleur-riftbound{ border-left-color: var(--riftbound); }
.cal-detail-event.couleur-starwars { border-left-color: var(--starwars); }
.cal-detail-icon { font-size: 1.8rem; flex-shrink: 0; }
.cal-detail-body { flex: 1; }
.cal-detail-event-title { font-weight: 800; color: var(--cream); font-size: 0.95rem; margin-bottom: 6px; }
.cal-detail-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.cal-detail-meta span { font-size: 0.82rem; color: var(--text-muted); }
.cal-detail-badge {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 2px 8px; border-radius: 50px;
  background: rgba(232,160,32,0.15); color: var(--amber); margin-bottom: 8px;
  display: inline-block;
}
.cal-detail-cta {
  display: inline-block; padding: 6px 16px; border-radius: 50px;
  background: var(--amber); color: var(--bg); font-size: 0.82rem;
  font-weight: 800; text-decoration: none; transition: all 0.2s;
  margin-top: 4px;
}
.cal-detail-cta:hover { background: var(--amber-light); transform: translateY(-1px); }
.cal-detail-cta.full { background: rgba(255,255,255,0.1); color: var(--text-muted); pointer-events: none; }
.cal-capacity-mini { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.cal-capacity-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; }
.cal-capacity-fill { height: 100%; background: var(--amber); border-radius: 2px; }
.cal-capacity-txt { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }

@media (max-width: 640px) {
  .cal-grid { gap: 2px; }
  .cal-day { min-height: 56px; padding: 4px; }
  .cal-day-num { font-size: 0.72rem; }
  .cal-event-dot { display: none; }
  .cal-day.has-events::after {
    content: '●'; color: var(--amber); font-size: 0.5rem;
    display: block; text-align: center;
  }
  .cal-detail-meta { gap: 8px; }
}
