/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 40px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 60%, rgba(80,20,10,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(20,60,90,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(100,40,10,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,146,42,0.3) 30%, rgba(184,146,42,0.6) 50%, rgba(184,146,42,0.3) 70%, transparent);
}

.hero-eyebrow {
  font-family: 'DIN Alternate', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,140,60,0.9);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: fadeUp 1s ease both;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ember-glow));
}
.hero-eyebrow::after { transform: scaleX(-1); }

.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  text-align: center;
  color: #fff;
  text-shadow: 0 0 80px rgba(180,100,20,0.4), 0 6px 40px rgba(0,0,0,0.9);
  margin-bottom: 8px;
  animation: fadeUp 1s 0.1s ease both;
  position: relative;
  z-index: 2;
}
.hero-title .arcana {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 40%, var(--ember-gold) 70%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'DIN Alternate', sans-serif;
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(210,200,190,0.88);
  margin-bottom: 8px;
  animation: fadeUp 1s 0.2s ease both;
}

/* ── CARD FAN ── */
.card-fan {
  position: relative;
  width: 420px;
  height: 380px;
  margin: 0 auto 56px;
  animation: fadeUp 1s 0.3s ease both;
}
.fan-card {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.5);
  transform-origin: bottom center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  top: 50%; left: 50%;
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fan-card:nth-child(1) { transform: translate(-50%,-50%) rotate(-18deg) translateX(-130px); z-index:1; }
.fan-card:nth-child(2) { transform: translate(-50%,-50%) rotate(-9deg) translateX(-65px); z-index:2; }
.fan-card:nth-child(3) { transform: translate(-50%,-50%) rotate(0deg); z-index:3; }
.fan-card:nth-child(4) { transform: translate(-50%,-50%) rotate(9deg) translateX(65px); z-index:2; }
.fan-card:nth-child(5) { transform: translate(-50%,-50%) rotate(18deg) translateX(130px); z-index:1; }

.card-fan:hover .fan-card:nth-child(1) { transform: translate(-50%,-50%) rotate(-22deg) translateX(-150px) translateY(-10px); }
.card-fan:hover .fan-card:nth-child(2) { transform: translate(-50%,-50%) rotate(-11deg) translateX(-75px) translateY(-6px); }
.card-fan:hover .fan-card:nth-child(3) { transform: translate(-50%,-50%) rotate(0deg) translateY(-14px); z-index:5; box-shadow: 0 30px 80px rgba(0,0,0,0.9), 0 0 40px rgba(180,100,20,0.3); }
.card-fan:hover .fan-card:nth-child(4) { transform: translate(-50%,-50%) rotate(11deg) translateX(75px) translateY(-6px); }
.card-fan:hover .fan-card:nth-child(5) { transform: translate(-50%,-50%) rotate(22deg) translateX(150px) translateY(-10px); }

.fan-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.fan-placeholder.embers { background: linear-gradient(135deg, #1a0505 0%, #2d0a08 50%, #1a0505 100%); color: var(--ember-glow); border: 1px solid rgba(192,57,43,0.3); }
.fan-placeholder.tides { background: linear-gradient(135deg, #030d15 0%, #071825 50%, #030d15 100%); color: var(--tide-glow); border: 1px solid rgba(26,107,138,0.3); }
.fan-placeholder.demons { background: linear-gradient(135deg, #0d0808 0%, #1a0f0a 50%, #0d0808 100%); color: var(--parchment); border: 1px solid rgba(120,70,30,0.3); }
.fan-placeholder.mystics { background: linear-gradient(135deg, #0a0812 0%, #140f20 50%, #0a0812 100%); color: #c8a8e8; border: 1px solid rgba(100,60,160,0.3); }
.fan-placeholder.spoils { background: linear-gradient(135deg, #080d0a 0%, #0f1a10 50%, #080d0a 100%); color: #80c88a; border: 1px solid rgba(40,100,50,0.3); }

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 1s 0.4s ease both;
}

/* ── SUITS ── */
.suits-section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.suits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.suit-card {
  position: relative;
  padding: 48px 40px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.suit-card:hover { transform: scale(1.01); z-index: 2; }
.suit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.suit-card:hover::before { opacity: 1; }

.suit-embers { background: linear-gradient(135deg, #120404 0%, #1e0806 100%); border: 1px solid rgba(192,57,43,0.15); }
.suit-embers::before { background: radial-gradient(ellipse at 30% 50%, rgba(192,57,43,0.08) 0%, transparent 70%); }
.suit-embers .suit-accent { color: #ff7040; }
.suit-embers .suit-gem { background: linear-gradient(135deg, #8b1a10, #c0392b); box-shadow: 0 0 20px rgba(192,57,43,0.4); }

.suit-tides { background: linear-gradient(135deg, #030810 0%, #061018 100%); border: 1px solid rgba(26,107,138,0.15); }
.suit-tides::before { background: radial-gradient(ellipse at 70% 50%, rgba(26,107,138,0.08) 0%, transparent 70%); }
.suit-tides .suit-gem { background: linear-gradient(135deg, #0d4060, #1a6b8a); box-shadow: 0 0 20px rgba(79,179,200,0.3); }

.suit-demons { background: linear-gradient(135deg, #0d0608 0%, #160c0a 100%); border: 1px solid rgba(120,60,30,0.15); }
.suit-demons::before { background: radial-gradient(ellipse at 30% 50%, rgba(100,40,20,0.08) 0%, transparent 70%); }
.suit-demons .suit-gem { background: linear-gradient(135deg, #3d1508, #7a2e10); box-shadow: 0 0 20px rgba(180,80,30,0.3); }

.suit-mystics { background: linear-gradient(135deg, #08060f 0%, #100c1a 100%); border: 1px solid rgba(100,60,160,0.15); }
.suit-mystics::before { background: radial-gradient(ellipse at 70% 50%, rgba(100,60,160,0.08) 0%, transparent 70%); }
.suit-mystics .suit-gem { background: linear-gradient(135deg, #2d1660, #5b2d9a); box-shadow: 0 0 20px rgba(150,80,220,0.3); }

.suit-gem {
  width: 12px; height: 12px;
  border-radius: 2px;
  transform: rotate(45deg);
  margin-bottom: 20px;
}
.suit-name {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}
.suit-accent {
  font-family: 'DIN Alternate', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}
.suit-desc {
  font-family: 'DIN Alternate', sans-serif;
  font-size: 1.05rem;
  color: rgba(210,200,190,0.88);
  line-height: 1.75;
  max-width: 360px;
}
.suit-count {
  margin-top: 20px;
  font-family: 'DIN Alternate', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(210,200,190,0.88);
}

/* ── HOW TO PLAY ── */
.howto-section {
  padding: 100px 48px;
  max-width: 1000px;
  margin: 0 auto;
}
.howto-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 64px;
}
.step { text-align: center; }
.step-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(184,146,42,0.12);
  line-height: 1;
  margin-bottom: 16px;
}
.step-title {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}
.step-desc {
  font-family: 'DIN Alternate', sans-serif;
  font-size: 1.05rem;
  color: rgba(210,200,190,0.88);
  line-height: 1.75;
}

/* ── CTA ── */
.cta-section {
  padding: 120px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(80,20,10,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 0 60px rgba(180,100,20,0.3);
}
.cta-sub {
  font-family: 'DIN Alternate', sans-serif;
  font-size: 1.05rem;
  color: rgba(210,200,190,0.88);
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .suits-grid { grid-template-columns: 1fr; }
  .howto-steps { grid-template-columns: 1fr; gap: 32px; }
  .suits-section, .howto-section { padding: 60px 24px; }
  .card-fan { transform: scale(0.8); margin-bottom: 20px; }
  .cta-section { padding: 80px 24px; }
}
/* ── HERO EDGE CARDS ── */
.hero-edge {
  position: fixed;
  top: 0;
  height: 100vh;
  width: 50vw;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-edge-left { left: 0; }
.hero-edge-right { right: 0; }

.hero-edge img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100vh;
  height: 100vh;
  object-fit: cover;
  border-radius: 10px;
  opacity: 0.55;
  filter: saturate(0.9) brightness(0.8);
}
.hero-edge-left img {
  left: 0;
  -webkit-mask-image: linear-gradient(to right, black 0%, rgba(0,0,0,0.6) 10%, rgba(0,0,0,0.1) 28%, transparent 45%);
  mask-image: linear-gradient(to right, black 0%, rgba(0,0,0,0.6) 10%, rgba(0,0,0,0.1) 28%, transparent 45%);
}
.hero-edge-right img {
  right: 0;
  -webkit-mask-image: linear-gradient(to left, black 0%, rgba(0,0,0,0.6) 10%, rgba(0,0,0,0.1) 28%, transparent 45%);
  mask-image: linear-gradient(to left, black 0%, rgba(0,0,0,0.6) 10%, rgba(0,0,0,0.1) 28%, transparent 45%);
}

/* title glow - stronger */
.hero-title-glow {
  position: absolute;
  top: 28%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(220,130,20,0.42) 0%, rgba(160,60,10,0.22) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-eyebrow,
.hero-title,
.hero-subtitle,
.card-fan,
.hero-cta { position: relative; z-index: 2; }

@media (max-width: 900px) {
  .hero-edge { width: 200px; }
  .hero-edge img { width: 200px; height: 200px; }
}
@media (max-width: 600px) {
  .hero-edge { display: none; }
}

/* ── Daggers suit ── */
.suit-daggers { background: linear-gradient(135deg, #060810 0%, #0a0e18 100%); border: 1px solid rgba(160,180,220,0.15); }
.suit-daggers::before { background: radial-gradient(ellipse at 50% 50%, rgba(160,180,220,0.06) 0%, transparent 70%); }
.suit-daggers .suit-accent { color: #c8d8f0; }
.suit-daggers .suit-gem { background: linear-gradient(135deg, #6080b0, #a0b8d8); box-shadow: 0 0 20px rgba(160,200,240,0.3); }

/* ── Spoils suit ── */
.suit-spoils { background: linear-gradient(135deg, #060a06 0%, #0a1008 100%); border: 1px solid rgba(80,100,40,0.15); }
.suit-spoils::before { background: radial-gradient(ellipse at 50% 50%, rgba(80,100,40,0.06) 0%, transparent 70%); }
.suit-spoils .suit-accent { color: #90a850; }
.suit-spoils .suit-gem { background: linear-gradient(135deg, #304010, #607830); box-shadow: 0 0 20px rgba(100,140,40,0.3); }

/* per-suit accent colors - must come after generic .suit-accent */
.suit-embers .suit-accent { color: #ff7040; }
.suit-tides .suit-accent { color: #60c8e8; }
.suit-demons .suit-accent { color: #c07850; }
.suit-mystics .suit-accent { color: #b890d8; }
.suit-daggers .suit-accent { color: #c8d8f0; }
.suit-spoils .suit-accent { color: #90a850; }
