/* ============================================================
   GRIT — Landing Page
   landing.css
   ============================================================ */

.landing-body {
  background-color: #05060f;
  background-image: url("../assets/background.png");
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
}

/* ── Shared section styles ───────────────────────────────── */
.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--purple);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
  line-height: 1.1;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatA {
  0%,100% { transform: translateY(0px) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(2deg); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0px) rotate(3deg); }
  50%      { transform: translateY(-20px) rotate(-1deg); }
}

/* =============================================
   NAVBAR
   ============================================= */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(5,6,15,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
}
.landing-nav.scrolled {
  background: rgba(5,6,15,0.95);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav-logo-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #7c7cff, #c77dff);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px; font-weight: 700; color: #fff;
  box-shadow: 0 0 18px rgba(124,124,255,0.4);
  flex-shrink: 0;
}
.nav-logo-mark.small  { width: 28px; height: 28px; font-size: 14px; border-radius: 7px; }
.nav-logo-mark.large  { width: 64px; height: 64px; font-size: 28px; border-radius: 16px; box-shadow: 0 0 40px rgba(124,124,255,0.5); }

.nav-wordmark {
  font-family: 'Rajdhani', sans-serif;
  font-size: 21px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  background: linear-gradient(135deg, #fff 40%, #a89bff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-wordmark.small { font-size: 16px; letter-spacing: 2px; }

.landing-nav-links {
  display: flex;
  gap: 4px;
}
.landing-nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.18s;
  text-decoration: none;
}
.landing-nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }

.landing-nav-actions { display: flex; align-items: center; gap: 10px; }

.lnav-signin {
  padding: 9px 18px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.18s;
}
.lnav-signin:hover { color: #fff; background: rgba(255,255,255,0.06); }

.lnav-signup {
  padding: 9px 20px;
  background: linear-gradient(135deg, #7c7cff, #5a5aff);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 2px 14px rgba(124,124,255,0.4);
  transition: all 0.18s;
}
.lnav-signup:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(124,124,255,0.6); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 64px;
}

#heroCanvas {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,124,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,124,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  z-index: 1; pointer-events: none;
}

/* Floating game cards */
.hero-float-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(10,12,22,0.85);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 600;
  color: rgba(230,232,240,0.8);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.float-card::before { font-size: 20px; }

.fc1 { top: 18%; right: 8%;  animation: floatA 6s ease-in-out infinite; }
.fc2 { top: 32%; right: 18%; animation: floatB 7s ease-in-out infinite 0.5s; }
.fc3 { top: 55%; right: 6%;  animation: floatA 8s ease-in-out infinite 1s; }
.fc4 { top: 70%; right: 22%; animation: floatB 6.5s ease-in-out infinite 1.5s; }
.fc5 { top: 45%; right: 32%; animation: floatA 7.5s ease-in-out infinite 0.8s; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 0 32px 0 clamp(24px, 6vw, 96px);
  animation: fadeUp 0.6s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(124,124,255,0.1);
  border: 1px solid rgba(124,124,255,0.22);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%,100% { box-shadow: 0 0 5px rgba(93,202,165,0.6); }
  50%      { box-shadow: 0 0 12px rgba(93,202,165,1); }
}

.hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.3px;
  color: #fff;
  margin-bottom: 24px;
}
.hero-title-accent {
  background: linear-gradient(135deg, #7c7cff 0%, #c77dff 50%, #78d9d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(180,185,220,0.72);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 40px;
}

/* CTA buttons */
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  background: linear-gradient(135deg, #7c7cff, #5a5aff);
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(124,124,255,0.45);
  transition: all 0.2s;
}
.hero-cta-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 36px rgba(124,124,255,0.65); }
.hero-cta-primary.large { padding: 18px 36px; font-size: 17px; border-radius: 16px; }

.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  color: rgba(230,232,240,0.85);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.hero-cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.hs-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hs-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero-stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.1); }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); opacity: 0.3; }
  50%      { transform: translateY(8px); opacity: 0.8; }
}

/* =============================================
   POSTS PREVIEW
   ============================================= */
.section-posts {
  padding: 120px 0 100px;
  position: relative;
}

.posts-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 0;
}

/* Preview card */
.preview-card {
  position: relative;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  display: block;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.preview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124,124,255,0.35);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(124,124,255,0.2);
}
.preview-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.5) saturate(0.85);
  transition: transform 0.45s ease, filter 0.3s;
}
.preview-card:hover img { transform: scale(1.06); filter: brightness(0.65) saturate(1.1); }

.preview-card-thumb-emoji {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}

.preview-card-overlay {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(5,6,15,0.95) 0%, rgba(5,6,15,0.3) 55%, transparent 100%);
}

.preview-card-game {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--violet);
  margin-bottom: 5px;
}

.preview-card-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
  color: #fff;
}

.preview-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.preview-card-type {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid;
}
.preview-card-type.guide { background: rgba(93,202,165,0.18); color: var(--teal);  border-color: rgba(93,202,165,0.3); }
.preview-card-type.build { background: rgba(124,124,255,0.18); color: #a89bff;     border-color: rgba(124,124,255,0.3); }

/* Skeleton */
.preview-card.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, rgba(255,255,255,0.04) 50%, var(--bg-card) 75%);
  background-size: 400% 100%;
  animation: shimmer 1.6s infinite linear;
  pointer-events: none;
}
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* =============================================
   FEATURES
   ============================================= */
.section-features { padding: 100px 0 120px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,124,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}
.feature-card:hover {
  border-color: rgba(124,124,255,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.feature-card:hover::before { opacity: 1; }

.feature-card.featured {
  border-color: rgba(124,124,255,0.3);
  background: linear-gradient(135deg, rgba(124,124,255,0.08), rgba(14,17,30,0.88));
}

.feature-icon-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}
.feature-icon {
  font-size: 28px;
  line-height: 52px;
  display: block;
  text-align: center;
}
.feature-icon-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,124,255,0.2) 0%, transparent 70%);
}

.feature-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(244,196,48,0.12);
  color: var(--gold);
  border: 1px solid rgba(244,196,48,0.25);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.section-how { padding: 80px 0 100px; }

.how-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 48px;
  flex-wrap: wrap;
}

.how-step {
  flex: 1;
  min-width: 220px;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  transition: border-color 0.2s;
}
.how-step:hover { border-color: rgba(124,124,255,0.3); }

.how-step-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(124,124,255,0.6), rgba(199,125,255,0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}

.how-step-content h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.how-step-content p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.how-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(124,124,255,0.3), rgba(199,125,255,0.3));
  flex-shrink: 0;
}

/* =============================================
   GAMES
   ============================================= */
.section-games { padding: 80px 0 100px; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  background: rgba(var(--gc), 1);
  background-color: var(--gc);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  cursor: default;
  transition: all 0.2s;
  text-align: center;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}
.gc-emoji { font-size: 28px; line-height: 1; }
.gc-name  { font-size: 12px; font-weight: 600; color: rgba(230,232,240,0.8); text-align: center; line-height: 1.3; }
.game-card.more { border-style: dashed; opacity: 0.5; }
.game-card.more:hover { opacity: 0.75; }

/* =============================================
   CTA BANNER
   ============================================= */
.section-cta-banner {
  position: relative;
  padding: 100px 0 120px;
  overflow: hidden;
  background: #030409;
}

#ctaCanvas {
  position: absolute;
  inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.6;
}

.cta-banner-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(124,124,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,124,255,0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-banner-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 58px;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 30%, #a89bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.cta-banner-desc {
  font-size: 17px;
  color: rgba(180,185,220,0.65);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.cta-banner-note {
  font-size: 13px;
  color: var(--text-hint);
  margin-top: -4px;
}

/* =============================================
   FOOTER
   ============================================= */
.landing-footer {
  background: #030409;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  gap: 64px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 220px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 260px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(180,185,220,0.55);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-hint);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-hint); text-decoration: none; transition: color 0.15s; }
.footer-bottom-links a:hover { color: var(--text-muted); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .games-grid    { grid-template-columns: repeat(4, 1fr); }
  .fc4, .fc5     { display: none; }
}
@media (max-width: 768px) {
  .landing-nav-links { display: none; }
  .hero-float-cards  { display: none; }
  .section-title     { font-size: 36px; }
  .hero-title        { font-size: clamp(40px, 10vw, 62px); }
  .hero-subtitle     { font-size: 16px; }
  .features-grid     { grid-template-columns: 1fr; }
  .games-grid        { grid-template-columns: repeat(3, 1fr); }
  .how-steps         { flex-direction: column; }
  .how-connector     { width: 2px; height: 32px; background: linear-gradient(to bottom, rgba(124,124,255,0.3), rgba(199,125,255,0.3)); }
  .cta-banner-title  { font-size: 38px; }
  .section-inner     { padding: 0 20px; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .hero-cta-primary, .hero-cta-secondary { justify-content: center; }
}

/* ── Hero big logo ───────────────────────────────────────── */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.hero-logo-big {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(124,124,255,0.5)) drop-shadow(0 0 80px rgba(199,125,255,0.3));
  animation: logoFloat 4s ease-in-out infinite;
}
@keyframes logoFloat {
  0%,100% { transform: translateY(0px); }
  50%      { transform: translateY(-10px); }
}

/* ── Hero background logo watermark ─────────────────────── */
.hero-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  width: 600px;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.08;
  filter:
    drop-shadow(0 0 60px rgba(124,124,255,0.6))
    drop-shadow(0 0 120px rgba(199,125,255,0.4))
    drop-shadow(0 0 200px rgba(124,124,255,0.3));
}

/* ── Leaderboard teaser ───────────────────────────────────── */
.section-leaderboard {
  padding: 100px 28px;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(244,196,48,0.05) 0%, transparent 70%);
}
.lb-teaser-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin: 40px 0;
}
@media(max-width:768px) { .lb-teaser-grid { grid-template-columns: 1fr; } }

.lb-teaser-panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden;
}
.lb-teaser-header {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  font-family: 'Rajdhani', sans-serif; font-size: 16px;
  font-weight: 700; color: #fff;
}
.lb-teaser-skeleton {
  height: 56px; margin: 8px 16px;
  background: rgba(255,255,255,0.04); border-radius: var(--radius-md);
  animation: shimmer 1.5s infinite linear;
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 400% 100%;
}
.lb-teaser-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none; color: inherit; transition: background 0.15s;
}
.lb-teaser-row:hover { background: rgba(255,255,255,0.03); }
.lb-teaser-rank { font-size: 18px; min-width: 28px; text-align: center; }
.lb-teaser-info { flex: 1; min-width: 0; }
.lb-teaser-name {
  font-size: 13px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.lb-teaser-meta { font-size: 11px; color: var(--text-muted); }
.lb-teaser-stat { font-size: 13px; font-weight: 700; color: #f4c430; }

.hero-cta-secondary-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius-lg);
  border: 1px solid rgba(124,124,255,0.3);
  color: var(--purple); font-size: 15px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
  background: rgba(124,124,255,0.05);
}
.hero-cta-secondary-outline:hover {
  background: rgba(124,124,255,0.12);
  border-color: rgba(124,124,255,0.5);
  transform: translateY(-2px);
}

/* ── Fun Page teaser ──────────────────────────────────────── */
.section-fun {
  padding: 100px 28px;
  background: radial-gradient(ellipse 60% 50% at 20% 50%, rgba(255,100,50,0.07) 0%, transparent 70%);
}
.fun-teaser-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
@media(max-width:900px) { .fun-teaser-wrap { grid-template-columns: 1fr; } }

.fun-teaser-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ff6030, #ff9030);
  color: #fff; font-size: 15px; font-weight: 700;
  text-decoration: none; transition: all 0.2s; margin-top: 8px;
  box-shadow: 0 4px 20px rgba(255,96,48,0.35);
}
.fun-teaser-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255,96,48,0.5); }

.fun-teaser-preview {
  display: flex; flex-direction: column; gap: 12px;
}
.fun-preview-card {
  background: var(--bg-card); border: 1px solid rgba(255,100,50,0.15);
  border-radius: var(--radius-xl); overflow: hidden;
  display: flex; align-items: center; gap: 14px; padding: 16px;
  transition: transform 0.2s, border-color 0.2s;
}
.fun-preview-card:hover { transform: translateX(6px); border-color: rgba(255,100,50,0.3); }
.fun-preview-card.small { opacity: 0.65; }
.fun-preview-video {
  width: 72px; height: 52px; border-radius: 10px;
  background: rgba(255,100,50,0.15); border: 1px solid rgba(255,100,50,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #ff8050; flex-shrink: 0;
}
.fun-preview-video.small { width: 54px; height: 40px; font-size: 18px; }
.fun-preview-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.fun-preview-reactions { font-size: 12px; color: var(--text-muted); }

/* ── Games grid improvement ───────────────────────────────── */
.section-games .games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-top: 40px;
}
