/* QQPK · QQ扑克 · QQPoker — Gaming Style */
:root {
  --bg: #070c0a;
  --bg-soft: #15231d;
  --card: #192823;
  --card-hover: #223930;
  --cyan: #3dfab3;
  --cyan-dim: rgba(6, 248, 158, 0.15000000000000002);
  --purple: #805aeb;
  --gold: #5a9ceb;
  --green: #a540e2;
  --red: #4aec5f;
  --text: #f1f3f2;
  --muted: #93a39d;
  --border: rgba(6, 248, 158, 0.16);
  --glow: 0 0 40px rgba(31, 249, 167, 0.24);
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Noto Sans SC', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Noise overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(6, 11, 24, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
}
.brand-accent { color: var(--cyan); text-shadow: 0 0 20px rgba(57, 197, 145, 0.5); }
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--cyan); background: var(--cyan-dim); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-nav {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  box-shadow: 0 4px 24px rgba(57, 197, 145, 0.35);
  padding: 10px 20px;
  font-size: 0.875rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0099cc 50%, var(--purple) 100%);
  color: #fff;
  box-shadow: 0 8px 32px rgba(57, 197, 145, 0.4);
  border: 1px solid rgba(57, 197, 145, 0.3);
}
.btn-primary:hover { filter: brightness(1.1); box-shadow: 0 12px 40px rgba(57, 197, 145, 0.5); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(57, 197, 145, 0.08); border-color: rgba(57, 197, 145, 0.3); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.hero-glow-a {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: rgba(57, 197, 145, 0.12);
}
.hero-glow-b {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -100px;
  background: rgba(123, 97, 255, 0.1);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(57, 197, 145, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 197, 145, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(57, 197, 145, 0.08);
  border: 1px solid rgba(57, 197, 145, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 20px;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.hero-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
}
.hero-title .line { display: block; font-size: clamp(2.5rem, 6vw, 4rem); }
.hero-title .grad {
  background: linear-gradient(135deg, var(--cyan), var(--purple), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 32px;
  max-width: 520px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
}
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

/* Floating cards */
.floating-cards { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.poker-card {
  position: absolute;
  width: 64px;
  height: 90px;
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #e8ecf4);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: #1a1a2e;
  animation: float 6s ease-in-out infinite;
}
.poker-card.red { color: var(--red); }
.poker-card .suit { font-size: 1.2rem; }
.poker-card.chip {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--gold), #c8960c);
  border: 4px dashed rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 24px rgba(255, 213, 79, 0.4);
}
.card-1 { top: 18%; left: 8%; animation-delay: 0s; }
.card-2 { top: 12%; right: 12%; animation-delay: 1s; }
.card-3 { bottom: 25%; left: 5%; animation-delay: 2s; }
.card-4 { bottom: 20%; right: 8%; animation-delay: 1.5s; }
.card-5 { top: 45%; right: 22%; animation-delay: 0.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Hero panel */
.hero-panel { perspective: 800px; }
.panel-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glow), 0 24px 64px rgba(0, 0, 0, 0.5);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.4s;
}
.panel-frame:hover { transform: rotateY(0) rotateX(0); }
.panel-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--border);
}
.panel-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); opacity: 0.5; }
.panel-dot:first-child { background: var(--red); opacity: 1; }
.panel-dot:nth-child(2) { background: var(--gold); opacity: 1; }
.panel-dot:nth-child(3) { background: var(--green); opacity: 1; }
.panel-title { margin-left: auto; font-family: var(--font-display); font-size: 0.65rem; letter-spacing: 0.15em; color: var(--cyan); }
.panel-body { padding: 0; }
.table-felt {
  background: radial-gradient(ellipse at center, #1a6b42 0%, #0d4a2a 60%, #062818 100%);
  padding: 32px 24px;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.pot-label { font-family: var(--font-display); font-size: 0.7rem; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.5); }
.pot-value { font-family: var(--font-display); font-size: 1.8rem; font-weight: 900; color: var(--gold); text-shadow: 0 0 20px rgba(255, 213, 79, 0.5); }
.table-cards { display: flex; gap: 6px; margin: 8px 0; }
.tc {
  width: 36px;
  height: 50px;
  border-radius: 4px;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1a1a2e;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.tc:nth-child(2) { color: var(--red); }
.tc:nth-child(3) { color: var(--red); }
.tc.burn { background: #333; color: var(--gold); }
.table-players { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.tp {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
}
.tp.active { border-color: var(--cyan); color: var(--cyan); background: rgba(57, 197, 145, 0.1); }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Ticker */
.ticker {
  background: rgba(57, 197, 145, 0.06);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 12px 0;
}
.ticker-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 500;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-alt { background: rgba(57, 197, 145, 0.02); }
.section-head { text-align: center; margin-bottom: 56px; }
.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--cyan);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  margin: 0 0 12px;
}
.grad-text {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc { color: var(--muted); margin: 0; max-width: 560px; margin-inline: auto; }

/* About */
.section-about {
  background:
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(57, 197, 145, 0.06), transparent),
    radial-gradient(ellipse 40% 50% at 100% 50%, rgba(123, 97, 255, 0.05), transparent);
}
.about-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
.about-head { text-align: left; margin-bottom: 24px; }
.about-head .section-desc { margin-inline: 0; }
.about-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 16px;
}
.about-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.85;
  margin: 0 0 14px;
}
.about-points {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: grid;
  gap: 16px;
}
.about-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.about-points li:hover { border-color: rgba(57, 197, 145, 0.3); }
.about-point-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--cyan-dim);
  color: var(--cyan);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.about-points strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--text);
}
.about-points span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}
.about-keywords {
  margin: 28px 0 28px;
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(57, 197, 145, 0.03);
  border: 1px solid var(--border);
}
.about-keywords-title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
  text-transform: uppercase;
}
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-tags span {
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid rgba(57, 197, 145, 0.2);
  transition: background 0.2s, border-color 0.2s;
}
.about-tags span:hover {
  background: rgba(57, 197, 145, 0.2);
  border-color: rgba(57, 197, 145, 0.4);
}
.about-panel { display: grid; gap: 20px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.about-stat {
  padding: 20px 18px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-stat:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow);
}
.about-stat-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cyan);
  margin-bottom: 6px;
}
.about-stat-label {
  font-size: 0.78rem;
  color: var(--muted);
}
.about-card {
  padding: 24px 26px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  box-shadow: var(--glow);
}
.about-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  color: var(--cyan);
}
.about-card ul {
  margin: 0;
  padding: 0 0 0 18px;
}
.about-card li {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 8px;
}
.about-card li:last-child { margin-bottom: 0; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 32px 28px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 197, 145, 0.35);
  box-shadow: var(--glow);
}
.feature-icon { font-size: 2rem; margin-bottom: 16px; }
.feature-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Games */
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.game-card {
  position: relative;
  padding: 28px 24px;
  border-radius: 16px;
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.game-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(123, 97, 255, 0.2);
  color: var(--purple);
  border: 1px solid rgba(123, 97, 255, 0.3);
}
.game-badge.hot { background: rgba(255, 71, 87, 0.15); color: var(--red); border-color: rgba(255, 71, 87, 0.3); }
.game-badge.new { background: rgba(0, 230, 118, 0.15); color: var(--green); border-color: rgba(0, 230, 118, 0.3); }
.game-badge.vip { background: rgba(255, 213, 79, 0.15); color: var(--gold); border-color: rgba(255, 213, 79, 0.3); }
.game-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(57, 197, 145, 0.4));
}
.game-card h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1rem; }
.game-card p { margin: 0 0 16px; font-size: 0.85rem; color: var(--muted); }
.game-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.game-meta li {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-weight: 600;
}

/* Events */
.events-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}
.event-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
}
.event-card:hover { transform: translateY(-4px); box-shadow: var(--glow); }
.event-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.event-card:hover .event-thumb img { transform: scale(1.06); }
.event-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--cyan);
  border: 1px solid var(--border);
}
.event-card { position: relative; }
.event-tag.hot { color: var(--red); border-color: rgba(255, 71, 87, 0.4); }
.event-tag.pro { color: var(--gold); border-color: rgba(255, 213, 79, 0.4); }
.event-body { padding: 20px; }
.event-body h3 { margin: 0 0 8px; font-size: 1rem; }
.event-body p { margin: 0 0 16px; font-size: 0.85rem; color: var(--muted); }
.event-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--cyan-dim);
  border: 1px solid rgba(57, 197, 145, 0.3);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.event-btn:hover { background: rgba(57, 197, 145, 0.25); }

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 197, 145, 0.35);
  box-shadow: var(--glow);
}
.news-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: var(--cyan);
  border: 1px solid rgba(57, 197, 145, 0.3);
}
.news-cat.hot { color: var(--gold); border-color: rgba(255, 213, 79, 0.4); }
.news-body { padding: 22px 24px 26px; }
.news-date {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.news-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.45;
}
.news-title a { transition: color 0.2s; }
.news-title a:hover { color: var(--cyan); }
.news-excerpt {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan);
  transition: gap 0.2s;
}
.news-more:hover { filter: brightness(1.2); }

/* App Showcase */
.app-showcase {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: end;
}
.app-shot {
  margin: 0;
  text-align: center;
}
.app-frame {
  position: relative;
  border-radius: 28px;
  padding: 10px 8px 14px;
  background: linear-gradient(160deg, #1a2035, #0a0f1a);
  border: 2px solid rgba(57, 197, 145, 0.2);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(57, 197, 145, 0.08);
  overflow: hidden;
  transition: transform 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.app-frame::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 2;
}
.app-frame img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  transition: transform 0.4s;
}
.app-shot:hover .app-frame {
  transform: translateY(-10px);
  border-color: rgba(57, 197, 145, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 28px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(57, 197, 145, 0.2);
}
.app-shot:hover .app-frame img { transform: scale(1.02); }
.app-shot figcaption {
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}
.app-shot:hover figcaption { color: var(--cyan); }

/* Download */
.section-download {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(57, 197, 145, 0.08), transparent),
    var(--bg);
}
.download-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.v-label { font-size: 0.8rem; color: var(--muted); }
.v-num { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; color: var(--cyan); }
.v-date { font-size: 0.75rem; color: var(--muted); margin-left: auto; }
.download-features {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.download-features li {
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.qr-block { text-align: center; }
.qr-code {
  width: 120px;
  height: 120px;
  margin: 0 auto 12px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  border: 2px solid var(--border);
}
.qr-block p { font-size: 0.8rem; color: var(--muted); margin: 0; }

.download-cards { display: flex; flex-direction: column; gap: 12px; }
.dl-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  text-align: left;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.dl-card:hover {
  transform: translateX(6px);
  border-color: rgba(57, 197, 145, 0.4);
  background: var(--card-hover);
  box-shadow: var(--glow);
}
.dl-card-wide { grid-column: 1 / -1; }
.dl-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cyan-dim);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.dl-icon svg { width: 24px; height: 24px; color: var(--cyan); }
.dl-text { flex: 1; }
.dl-text strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.dl-text span { font-size: 0.8rem; color: var(--muted); }
.dl-arrow {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cyan);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.dl-card:hover .dl-arrow { opacity: 1; transform: translateX(0); }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cyan);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0;
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Footer */
.footer {
  padding: 60px 0 24px;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px 24px;
  margin-bottom: 40px;
}
.footer-brand p.footer-desc {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 14px 0 0;
  max-width: 420px;
}
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.footer-tags span {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid rgba(57, 197, 145, 0.2);
}
.footer-about {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer-about p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--muted);
  text-align: justify;
}
.footer-bottom-main p { margin: 0; }
.footer-note {
  margin-top: 8px !important;
  font-size: 0.75rem !important;
  color: rgba(136, 146, 176, 0.75) !important;
}
.footer-brand p { color: var(--muted); font-size: 0.9rem; margin: 12px 0 0; max-width: 280px; }
.footer-links h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin: 0 0 16px;
}
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a, .footer-links li { font-size: 0.85rem; color: var(--muted); }
.footer-links a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 0;
  border-top: none;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p { margin: 0; font-size: 0.8rem; color: var(--muted); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.8rem; color: var(--muted); }
.footer-legal a:hover { color: var(--cyan); }

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 14px 28px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid rgba(57, 197, 145, 0.4);
  box-shadow: var(--glow);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 10000;
  opacity: 0;
  transition: transform 0.35s, opacity 0.35s;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .about-wrap { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid .news-card:last-child { grid-column: 1 / -1; max-width: 480px; margin-inline: auto; width: 100%; }
  .app-showcase { grid-template-columns: repeat(3, 1fr); }
  .download-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 11, 24, 0.98);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .menu-toggle { display: flex; }
  .btn-nav { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-grid .news-card:last-child { max-width: none; }
  .app-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hero-stats { flex-direction: column; gap: 16px; }
  .floating-cards .poker-card { display: none; }
  .floating-cards .card-5 { display: flex; top: 15%; right: 5%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
}


/* Variant layout #10 */
body.layout-v10 {
  --radius-base: 18px;
}
body.layout-v10 .section { padding: 80px 0; }
body.layout-v10 .feature-grid { grid-template-columns: repeat(3, 1fr); }
body.layout-v10 .games-grid { grid-template-columns: repeat(2, 1fr); }
body.layout-v10 .news-grid { grid-template-columns: repeat(3, 1fr); }
body.layout-v10 .app-showcase { grid-template-columns: repeat(3, 1fr); }
body.layout-v10 .feature-card,
body.layout-v10 .game-card,
body.layout-v10 .news-card,
body.layout-v10 .event-card,
body.layout-v10 .faq-item,
body.layout-v10 .dl-card {
  border-radius: var(--radius-base);
}
body.layout-v10 .btn { border-radius: 14px; }
body.layout-v10 .hero-inner { grid-template-columns: 1fr; text-align: center; }
body.layout-v10 .hero-desc { margin-inline: auto; }
body.layout-v10 .hero-actions { justify-content: center; }
body.layout-v10 .hero-stats { justify-content: center; }
body.layout-v10 .download-wrap { grid-template-columns: 1.2fr 1fr; }
body.layout-v10 .download-info { order: 2; }
body.layout-v10 .download-cards { order: 1; }
body.layout-v10 .btn-primary { background: linear-gradient(135deg, var(--accent), var(--secondary)); }
