/* GameLynq - Premium Social Casino Styles */

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

:root {
  --bg-deep: #07060a;
  --bg-dark: #0d0c12;
  --bg-card: #131119;
  --bg-card-2: #1a1722;
  --gold: #d4af37;
  --gold-light: #f4d77a;
  --gold-dark: #8a6f1f;
  --gold-glow: rgba(212, 175, 55, 0.35);
  --text: #ece8df;
  --text-muted: #8a8579;
  --border: rgba(212, 175, 55, 0.18);
  --border-strong: rgba(212, 175, 55, 0.4);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, #07060a 0%, #0a0810 100%);
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

p {
  font-size: 1.05rem;
  color: var(--text);
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  background: linear-gradient(135deg, #f4d77a 0%, #d4af37 50%, #8a6f1f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.05);
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 6, 10, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f4d77a 0%, #d4af37 40%, #8a6f1f 100%);
  color: #07060a;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  box-shadow: 0 0 0 1px rgba(244, 215, 122, 0.5), 0 8px 24px var(--gold-glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold-light);
}

.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold-light);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #f4d77a 0%, #d4af37 50%, #a78725 100%);
  color: #0a0810;
  box-shadow: 0 8px 28px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(212, 175, 55, 0.5);
  color: #07060a;
}

.btn-ghost {
  background: rgba(212, 175, 55, 0.04);
  color: var(--gold-light);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
}

/* HERO */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  position: relative;
}

.hero h1 {
  margin-bottom: 28px;
}

.hero p.lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 540px;
  font-style: italic;
}

.hero-cta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  max-width: 600px;
}

.hero-stat .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f4d77a, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-stat .lbl {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.1;
  display: grid;
  place-items: center;
}

.hero-card {
  position: absolute;
  width: 200px;
  height: 290px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f4d77a, #d4af37 40%, #8a6f1f);
  border: 2px solid #f4d77a;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 60px var(--gold-glow),
    inset 0 0 0 6px rgba(7, 6, 10, 0.92),
    inset 0 0 0 7px #d4af37;
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 6rem;
  font-weight: 700;
}

.hero-card::before, .hero-card::after {
  content: attr(data-rank);
  position: absolute;
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
}
.hero-card::before { top: 16px; left: 18px; }
.hero-card::after { bottom: 16px; right: 18px; transform: rotate(180deg); }

.hero-card.c1 { transform: translate(-90px, -20px) rotate(-12deg); z-index: 1; }
.hero-card.c2 { transform: translate(0, 0) rotate(0deg); z-index: 3; }
.hero-card.c3 { transform: translate(90px, -20px) rotate(12deg); z-index: 2; }

/* SECTIONS */
.section {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 64px;
}

.section-head h2 {
  margin-bottom: 18px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.15rem;
  font-style: italic;
}

/* CARDS */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.lux-card {
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.lux-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(135deg, var(--border-strong), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.lux-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.08);
}

.lux-card:hover::before {
  opacity: 1;
}

.lux-card .icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-strong);
  margin-bottom: 22px;
  font-size: 1.5rem;
  color: var(--gold);
}

.lux-card h3 {
  margin-bottom: 12px;
  color: var(--text);
}

.lux-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* RULES SECTION */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.rule-step {
  text-align: left;
  padding: 32px 28px;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.rule-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(212, 175, 55, 0.18);
  font-weight: 900;
  position: absolute;
  top: 14px;
  right: 22px;
}

.rule-step h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
}

.rule-step p {
  color: var(--text-muted);
  font-size: 0.98rem;
  position: relative;
  z-index: 1;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: var(--border-strong);
}

.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  text-align: left;
  font-weight: 600;
}

.faq-q .ic {
  color: var(--gold);
  font-size: 1.4rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-q .ic {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a-inner {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* GAME PAGE */
.game-wrap {
  padding: 80px 0 60px;
}

.game-board {
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: var(--shadow), 0 0 80px rgba(212, 175, 55, 0.06);
  position: relative;
}

.score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.score-box {
  text-align: center;
}

.score-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.score-val {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #f4d77a, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-arena {
  display: grid;
  place-items: center;
  min-height: 360px;
  margin-bottom: 36px;
  position: relative;
}

.playing-card {
  width: 220px;
  height: 320px;
  border-radius: 18px;
  background: linear-gradient(145deg, #fdfaf2, #ece4cc);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.7),
    0 0 50px var(--gold-glow),
    inset 0 0 0 3px #d4af37,
    inset 0 0 0 4px #8a6f1f,
    inset 0 0 0 8px #fdfaf2;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}

.playing-card.flipping {
  transform: rotateY(180deg) scale(0.85);
  opacity: 0;
}

.playing-card.appear {
  animation: cardIn 0.6s ease;
}

@keyframes cardIn {
  from { transform: translateY(20px) rotateY(180deg); opacity: 0; }
  to { transform: translateY(0) rotateY(0); opacity: 1; }
}

.card-rank {
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  font-weight: 700;
  color: #1a1722;
  line-height: 1;
}

.card-suit {
  font-size: 3.5rem;
  margin-top: 6px;
}

.card-suit.red { color: #b3261e; }
.card-suit.black { color: #1a1722; }

.playing-card .corner {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.corner.tl { top: 14px; left: 16px; }
.corner.br { bottom: 14px; right: 16px; transform: rotate(180deg); }

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.btn-game {
  padding: 22px;
  font-size: 1rem;
  letter-spacing: 0.2em;
}

.btn-higher {
  background: linear-gradient(135deg, #f4d77a, #d4af37);
  color: #0a0810;
}

.btn-lower {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  border: 1px solid var(--border-strong);
}

.btn-higher:hover, .btn-lower:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.history {
  border-top: 1px solid var(--border);
  padding-top: 26px;
}

.history-lbl {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  text-align: center;
}

.history-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  min-height: 70px;
}

.mini-card {
  width: 46px;
  height: 64px;
  border-radius: 7px;
  background: linear-gradient(145deg, #fdfaf2, #ece4cc);
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1722;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 0 0 1.5px #d4af37;
  position: relative;
  animation: miniIn 0.4s ease;
}

@keyframes miniIn {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.mini-card.win::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  border: 1.5px solid #4caf50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}

.mini-card.lose::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  border: 1.5px solid #d32f2f;
}

.game-msg {
  text-align: center;
  margin-bottom: 18px;
  min-height: 24px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.game-msg.win { color: #82c785; }
.game-msg.lose { color: #ef6b6b; }

.replay-row {
  text-align: center;
  margin-top: 18px;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 6, 10, 0.85);
  backdrop-filter: blur(10px);
  display: none;
  place-items: center;
  z-index: 200;
  padding: 24px;
}

.modal.show {
  display: grid;
}

.modal-box {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 50px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px var(--gold-glow);
  animation: cardIn 0.4s ease;
}

.modal-box h3 {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--gold-light);
}

.modal-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* LEGAL PAGE */
.legal {
  padding: 80px 0;
  max-width: 860px;
  margin: 0 auto;
}

.legal h1 {
  margin-bottom: 16px;
}

.legal .updated {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.legal h2 {
  font-size: 1.6rem;
  margin: 40px 0 14px;
  color: var(--gold-light);
}

.legal p, .legal li {
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.85;
}

.legal ul, .legal ol {
  padding-left: 24px;
  margin-bottom: 18px;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 20px;
  color: var(--gold-light);
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-detail .ic {
  color: var(--gold);
  font-size: 1.3rem;
  margin-top: 2px;
}

.contact-detail strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
}

.contact-detail span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-form {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field input, .field textarea {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

/* AGE BADGE */
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(179, 38, 30, 0.12);
  border: 1px solid rgba(179, 38, 30, 0.4);
  border-radius: 999px;
  color: #ef6b6b;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.disclaimer {
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  margin: 40px auto 0;
  max-width: var(--max);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* FOOTER */
.site-footer {
  background: linear-gradient(180deg, transparent, rgba(7, 6, 10, 0.95) 30%);
  border-top: 1px solid var(--border);
  padding: 80px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 16px 0 22px;
  font-style: italic;
}

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

.resp-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  color: var(--text);
  letter-spacing: 0.05em;
  transition: all 0.2s;
}

.resp-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--border-strong);
  color: var(--gold-light);
}

.resp-btn .arrow {
  color: var(--gold);
}

.legal-block {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.8;
}

.legal-block .corp {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

/* MOBILE */
@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    width: 280px;
    background: rgba(13, 12, 18, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 30px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    gap: 22px;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-cta { display: none; }
  .hero { padding: 70px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-visual { aspect-ratio: 1.2 / 1; }
  .hero-card { width: 150px; height: 220px; font-size: 4.5rem; }
  .hero-card.c1 { transform: translate(-65px, -10px) rotate(-12deg); }
  .hero-card.c3 { transform: translate(65px, -10px) rotate(12deg); }
  .section { padding: 70px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .game-board { padding: 30px 22px; }
  .playing-card { width: 180px; height: 260px; }
  .card-rank { font-size: 4.5rem; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .action-row { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
}
