/* ===== IN7 GAME - Main Stylesheet ===== */
:root {
  --bg: #0a0a0a;
  --bg2: #050505;
  --card: #111111;
  --border: #1e1e1e;
  --red: #e63946;
  --red-dark: #c1121f;
  --gold: #ffd700;
  --gold-dark: #ffb300;
  --text: #ffffff;
  --muted: #cccccc;
  --dim: #666666;
  --radius: 12px;
  --radius-lg: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-weight: 800; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }

.gradient-red {
  background: linear-gradient(135deg, var(--red), #ff6b6b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.gradient-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.badge-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000; font-weight: 700; padding: 4px 14px; border-radius: 999px; font-size: 12px;
  display: inline-block;
}

.section { padding: 80px 0; }
.section-dark { background: var(--bg2); }
.section-title { font-size: clamp(28px, 5vw, 44px); margin-bottom: 12px; }
.section-sub { color: var(--muted); max-width: 600px; margin: 0 auto 48px; }

/* ===== BUTTONS ===== */
@keyframes pulseGlow {
  0%,100% { box-shadow: 0 0 10px var(--red), 0 0 20px rgba(230,57,70,.5); }
  50% { box-shadow: 0 0 20px var(--red), 0 0 40px rgba(230,57,70,.8); }
}

.btn-download {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 16px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff; cursor: pointer; border: none; transition: all .2s;
  animation: pulseGlow 2s ease-in-out infinite;
  text-decoration: none;
}
.btn-download:hover { background: linear-gradient(135deg, var(--red-dark), #a00000); transform: translateY(-2px); }
.btn-download.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-download.btn-xl { padding: 18px 40px; font-size: 20px; border-radius: 16px; }
.btn-download.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #000; animation: none;
  box-shadow: 0 4px 20px rgba(255,215,0,.3);
}
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius); font-weight: 700; font-size: 16px;
  border: 2px solid var(--red); color: var(--red); background: transparent;
  cursor: pointer; transition: all .2s; text-decoration: none;
}
.btn-outline:hover { background: var(--red); color: #fff; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all .3s;
}
.navbar.scrolled {
  background: rgba(0,0,0,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,.5);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; width: 100%; box-sizing: border-box;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; min-width: 0; }
.logo-badge {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 12px; color: #fff;
}
.logo-text { font-weight: 800; font-size: 18px; color: #fff; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s; position: relative; padding-bottom: 4px; white-space: nowrap;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--red); transition: width .3s;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hamburger — fixed right, never overflows */
.hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 28px; height: 20px; background: none; border: none;
  cursor: pointer; padding: 0; flex-shrink: 0;
}
.hamburger span {
  display: block; height: 2.5px; width: 100%;
  background: #fff; border-radius: 3px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: absolute; top: 60px; left: 0; right: 0;
  background: rgba(5,5,5,.99); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 6px 0 14px; z-index: 999;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
}
.mobile-menu.open { display: block; }
.mobile-menu .nav-link {
  display: flex; align-items: center; padding: 14px 20px; min-height: 0;
  font-size: 16px; font-weight: 500; color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .15s, color .15s;
}
.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active { color: #fff; background: rgba(230,57,70,.08); }
.mobile-menu .btn-download {
  margin: 12px 16px 4px; display: flex;
  width: calc(100% - 32px); justify-content: center;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
}

/* ===== CARDS ===== */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  transition: all .3s;
}
.card:hover { border-color: var(--red); box-shadow: 0 0 20px rgba(230,57,70,.25); transform: translateY(-3px); }
.card-p { padding: 24px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; padding-top: 60px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 50%, #0a0a0a 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';position: absolute; inset: 0;
  background-image: linear-gradient(rgba(230,57,70,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(230,57,70,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.hero-glow-1 { position: absolute; top: 25%; right: 20%; width: 400px; height: 400px; background: rgba(230,57,70,.05); border-radius: 50%; filter: blur(60px); }
.hero-glow-2 { position: absolute; bottom: 20%; left: 20%; width: 300px; height: 300px; background: rgba(255,215,0,.04); border-radius: 50%; filter: blur(60px); }
.hero-content { position: relative; max-width: 1200px; margin: 0 auto; padding: 80px 20px; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.hero-title { font-size: clamp(40px, 6vw, 72px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero-desc { font-size: 18px; color: var(--muted); margin-bottom: 32px; max-width: 520px; line-height: 1.7; }
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 32px; }
.hero-stat { text-align: center; padding: 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.hero-stat-value { font-size: 22px; font-weight: 900; }
.hero-stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 12px; color: var(--dim); }

/* Phone mockup */
.phone-wrap { display: flex; justify-content: flex-end; position: relative; }
.phone-mock {
  width: 280px; height: 500px; border-radius: 36px; border: 3px solid var(--border);
  background: var(--card); overflow: hidden; position: relative;
  box-shadow: 0 0 40px rgba(230,57,70,.3);
}
.phone-inner { padding: 24px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(180deg, #1a0505, #111); }
.phone-app-icon { width: 72px; height: 72px; border-radius: 18px; background: linear-gradient(135deg, var(--red), var(--red-dark)); display: flex; align-items: center; justify-content: center; font-size: 36px; box-shadow: 0 8px 24px rgba(230,57,70,.4); }
.phone-app-name { font-size: 22px; font-weight: 900; }
.phone-games { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.phone-game-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: #1a1a1a; border: 1px solid #2a2a2a; border-radius: 8px; }
.phone-game-item span:last-child { color: var(--gold); font-size: 11px; font-weight: 700; }
.phone-play-btn { width: 100%; padding: 12px; border-radius: 10px; background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; font-weight: 700; text-align: center; font-size: 14px; }
.phone-badge-1 { position: absolute; top: -12px; right: -12px; background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #000; font-weight: 700; font-size: 11px; padding: 6px 12px; border-radius: 999px; }
.phone-badge-2 { position: absolute; bottom: -12px; left: -20px; background: var(--card); border: 1px solid var(--red); font-size: 11px; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-wrap { justify-content: center; }
}

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== STEPS ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step-card { text-align: center; }
.step-num {
  width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 900;
}
.step-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--muted); }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.stars { color: var(--gold); font-size: 14px; }
.review-text { font-size: 13px; color: var(--muted); font-style: italic; margin: 10px 0; line-height: 1.6; }
.reviewer-avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-dark)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.reviewer-name { font-size: 13px; font-weight: 600; }
.reviewer-loc { font-size: 11px; color: var(--dim); }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 10px; transition: border-color .2s; }
.faq-item.open { border-color: var(--red); }
.faq-question {
  width: 100%; padding: 18px 20px; text-align: left; background: var(--card);
  color: #fff; font-weight: 600; font-size: 15px; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-question:hover { color: var(--gold); }
.faq-icon { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--red); color: var(--red); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 20px 18px; background: var(--card); }
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, #1a0505, #0a0a0a, #1a0505); position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(230,57,70,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(230,57,70,.04) 1px, transparent 1px); background-size: 50px 50px; }
.cta-inner { position: relative; text-align: center; }
.cta-title { font-size: clamp(28px, 5vw, 48px); margin-bottom: 16px; }
.cta-desc { font-size: 18px; color: var(--muted); margin-bottom: 32px; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.blog-card { display: flex; flex-direction: column; }
.blog-thumb { width: 100%; height: 200px; background: linear-gradient(135deg, #1a0505, #111); border-radius: var(--radius) var(--radius) 0 0; display: flex; align-items: center; justify-content: center; font-size: 60px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: 11px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 1px; }
.blog-title { font-size: 18px; font-weight: 700; margin: 8px 0; line-height: 1.4; }
.blog-title a:hover { color: var(--gold); }
.blog-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }
.blog-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; font-size: 12px; color: var(--dim); }
.read-more { color: var(--gold); font-weight: 600; font-size: 13px; }
.read-more:hover { color: var(--red); }

/* ===== SINGLE POST ===== */
.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.post-header { margin-bottom: 32px; }
.post-title { font-size: clamp(26px, 4vw, 42px); margin: 12px 0; }
.post-meta-bar { display: flex; gap: 20px; font-size: 13px; color: var(--dim); flex-wrap: wrap; margin-bottom: 20px; }
.post-featured-img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; }
.post-featured-placeholder { width: 100%; height: 300px; background: linear-gradient(135deg, #1a0505, #111); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 80px; margin-bottom: 32px; }
.post-content { font-size: 16px; line-height: 1.8; color: var(--muted); }
.post-content h2 { color: #fff; font-size: 26px; margin: 32px 0 12px; }
.post-content h3 { color: #fff; font-size: 20px; margin: 24px 0 10px; }
.post-content p { margin-bottom: 16px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 16px; }
.post-content li { margin-bottom: 6px; }
.post-content strong { color: #fff; }
.post-content a { color: var(--red); }
.post-content a:hover { color: var(--gold); }
.post-content blockquote { border-left: 3px solid var(--red); padding: 12px 20px; margin: 20px 0; background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 80px; }
.sidebar-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.sidebar-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--gold); }
.sidebar-post { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post-title { font-size: 13px; font-weight: 600; line-height: 1.4; }
.sidebar-post-title a:hover { color: var(--red); }
.sidebar-post-date { font-size: 11px; color: var(--dim); margin-top: 4px; }
.sidebar-download { text-align: center; }
.sidebar-download p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

/* ===== FOOTER ===== */
.age-warning-banner { background: linear-gradient(135deg, #1a0000, #0a0a0a); border-top: 2px solid var(--red); padding: 16px 0; }
.age-warning-banner .container { display: flex; align-items: center; gap: 16px; }
.age-badge-lg { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--red); color: var(--red); font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.age-warning-banner p { font-size: 13px; color: var(--muted); }
.footer-main { background: #050505; padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer-heading { font-size: 14px; font-weight: 700; color: var(--gold); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--red); }
.footer-download-box { text-align: center; }
.app-icon-lg { font-size: 48px; margin-bottom: 10px; }
.footer-download-box p { font-size: 13px; color: var(--muted); }
.small-note { font-size: 11px; color: var(--dim); margin-top: 8px; }
.footer-bottom { background: #000; padding: 20px 0; text-align: center; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 13px; color: var(--dim); }
.footer-disclaimer { margin-top: 4px; font-size: 11px; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--dim); }
.breadcrumb a { color: var(--dim); } .breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--muted); }

/* ===== PAGE HEADER ===== */
.page-header { padding: 120px 0 60px; background: linear-gradient(135deg, #1a0505, #0a0a0a); position: relative; overflow: hidden; }
.page-header::before { content:''; position:absolute; inset:0; background-image: linear-gradient(rgba(230,57,70,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(230,57,70,.03) 1px, transparent 1px); background-size: 50px 50px; }
.page-header .container { position: relative; }
.page-header h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.page-header p { color: var(--muted); max-width: 600px; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span { padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600; border: 1px solid var(--border); color: var(--muted); background: var(--card); transition: all .2s; }
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* ===== ABOUT PAGE ===== */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.stat-box { text-align: center; padding: 28px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.stat-value { font-size: 36px; font-weight: 900; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: var(--muted); }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.game-box { padding: 20px 12px; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: all .2s; cursor: default; }
.game-box:hover { border-color: var(--red); }
.game-box-icon { font-size: 36px; margin-bottom: 8px; }
.game-box-name { font-size: 13px; font-weight: 600; }

/* ===== DISCLAIMER ===== */
.disclaimer-content { font-size: 15px; color: var(--muted); line-height: 1.8; }
.disclaimer-content h2 { color: #fff; font-size: 22px; margin: 32px 0 12px; }
.disclaimer-content p { margin-bottom: 14px; }
.disclaimer-content strong { color: #fff; }

/* ===== DOWNLOAD PAGE ===== */
.download-steps { display: flex; flex-direction: column; gap: 16px; counter-reset: steps; }
.download-step { display: flex; gap: 20px; padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.download-step-num { width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, var(--red), var(--red-dark)); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; flex-shrink: 0; }
.download-step-content h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.download-step-content p { font-size: 14px; color: var(--muted); }
.requirements-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.req-item { padding: 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; gap: 12px; }
.req-icon { font-size: 24px; }
.req-label { font-size: 12px; color: var(--dim); }
.req-value { font-size: 14px; font-weight: 600; }

/* ===== RESPONSIVE — handled in comprehensive section below ===== */

/* ============================================================
   LUCKY SPIN WHEEL
   ============================================================ */
.spin-wheel-wrap { display:flex; flex-direction:column; align-items:center; gap:16px; }

.spin-wheel {
  position:relative; width:280px; height:280px; border-radius:50%;
  background: conic-gradient(
    #1a0505 0deg 45deg,   #2a0a0a 45deg 90deg,
    #1a0505 90deg 135deg, #2a0a0a 135deg 180deg,
    #1a0505 180deg 225deg,#2a0a0a 225deg 270deg,
    #1a0505 270deg 315deg,#2a0a0a 315deg 360deg
  );
  border: 6px solid var(--gold);
  box-shadow: 0 0 40px rgba(255,215,0,.4), 0 0 80px rgba(255,215,0,.15);
}

.spin-segment {
  position:absolute; width:100%; height:100%; display:flex;
  align-items:flex-start; justify-content:center; padding-top:14px;
}
.spin-segment span { font-size:12px; font-weight:800; color:var(--gold); }
.s1{transform:rotate(0deg);}   .s2{transform:rotate(45deg);}
.s3{transform:rotate(90deg);}  .s4{transform:rotate(135deg);}
.s5{transform:rotate(180deg);} .s6{transform:rotate(225deg);}
.s7{transform:rotate(270deg);} .s8{transform:rotate(315deg);}

.spin-center {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:120px; height:120px; border-radius:50%;
  background:linear-gradient(135deg, #3a1a00, #1a0a00);
  border:4px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 0 20px rgba(255,215,0,.5);
}
.spin-center-inner { text-align:center; }

.spin-arrow {
  position:absolute; bottom:-18px; left:50%; transform:translateX(-50%);
  color:var(--gold); font-size:24px;
  filter:drop-shadow(0 0 8px rgba(255,215,0,.8));
}

.spin-record {
  width:100%; max-width:280px; padding:12px 16px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
}

/* spin/jackpot responsive — see comprehensive section at bottom */

/* ============================================================
   JACKPOT LEADERBOARD
   ============================================================ */
.jackpot-counter {
  text-align:center; padding:32px 20px;
  background:linear-gradient(135deg, #1a0505, #0a0a0a, #1a0505);
  border:2px solid var(--red); border-radius:var(--radius-lg);
  margin-bottom:24px;
  box-shadow: 0 0 40px rgba(230,57,70,.3);
}
.jackpot-label {
  font-size:13px; font-weight:900; letter-spacing:3px;
  color:var(--gold); text-transform:uppercase; margin-bottom:12px;
}
.jackpot-amount { display:flex; justify-content:center; gap:4px; flex-wrap:wrap; }
.jackpot-digit {
  display:inline-flex; align-items:center; justify-content:center;
  font-size:clamp(24px,5vw,44px); font-weight:900; font-family:monospace;
}
.jackpot-digit.digit {
  width:clamp(32px,6vw,54px); height:clamp(44px,7vw,64px);
  background:linear-gradient(180deg,#1a1a1a,#0a0a0a);
  border:1px solid #333; border-radius:6px;
  color:var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05);
}
.jackpot-digit.sep { color:var(--gold); width:auto; padding:0 2px; }

.jackpot-tabs {
  display:flex; justify-content:center; gap:0; margin-bottom:28px;
  border:1px solid var(--border); border-radius:var(--radius); overflow:hidden;
  max-width:400px; margin:0 auto 28px;
}
.jackpot-tab {
  flex:1; padding:10px 14px; font-size:13px; font-weight:600;
  color:var(--muted); background:var(--card); text-align:center; cursor:default;
  border-right:1px solid var(--border);
}
.jackpot-tab:last-child { border-right:none; }
.jackpot-tab.active { background:var(--red); color:#fff; }

/* Podium */
.podium-wrap {
  display:flex; justify-content:center; align-items:flex-end;
  gap:12px; margin-bottom:8px;
}
.podium-player {
  display:flex; flex-direction:column; align-items:center;
  gap:6px; padding:16px 12px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  min-width:110px; transition:border-color .2s;
}
.podium-player:hover { border-color:var(--gold); }
.podium-1 { border-color:var(--gold); box-shadow:0 0 20px rgba(255,215,0,.2); padding:20px 16px; }
.podium-2 { border-color:#c0c0c0; }
.podium-3 { border-color:#cd7f32; }
.podium-avatar {
  width:52px; height:52px; border-radius:50%;
  background:linear-gradient(135deg,#333,#111);
  display:flex; align-items:center; justify-content:center; font-size:24px;
  border:2px solid var(--border);
}
.podium-crown { font-size:20px; }
.podium-rank {
  width:24px; height:24px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:900;
}
.rank-1 { background:var(--gold); color:#000; }
.rank-2 { background:#c0c0c0; color:#000; }
.rank-3 { background:#cd7f32; color:#000; }
.podium-name { font-size:12px; font-weight:700; color:#fff; text-align:center; word-break:break-all; }
.podium-coins { font-size:11px; color:var(--dim); }
.podium-prize { font-size:14px; font-weight:800; }

/* Rank list rows */
.rank-row {
  display:flex; align-items:center; gap:12px; padding:12px 16px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  margin-bottom:8px; transition:border-color .2s;
}
.rank-row:hover { border-color:var(--red); }
.rank-num {
  width:28px; height:28px; border-radius:50%;
  background:#1a1a1a; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-size:13px; font-weight:700; color:var(--muted); flex-shrink:0;
}

/* ============================================================
   GAME LOBBY
   ============================================================ */
.featured-game-banner {
  position:relative; border-radius:var(--radius-lg); overflow:hidden;
  margin-bottom:28px; border:1px solid var(--border);
  min-height:180px;
}
.featured-game-bg {
  position:absolute; inset:0;
  background:linear-gradient(135deg, #1a0505 0%, #2a0a0a 40%, #0a0a1a 100%);
}
.featured-game-bg::after {
  content:''; position:absolute; inset:0;
  background-image:radial-gradient(circle at 70% 50%, rgba(230,57,70,.15) 0%, transparent 70%);
}
.featured-game-content {
  position:relative; display:flex; align-items:center;
  justify-content:space-between; padding:28px 32px; gap:20px;
}
.featured-game-left { flex:1; }
.featured-game-right {
  position:relative; display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.multiplier-badge {
  position:absolute; top:-10px; right:-10px;
  background:linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:#000; font-weight:900; font-size:14px;
  padding:6px 12px; border-radius:999px;
  box-shadow:0 4px 12px rgba(255,215,0,.4);
}

.game-lobby-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:12px; margin-bottom:24px;
}
.lobby-game-card {
  display:flex; align-items:center; gap:14px; padding:16px 18px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  transition:all .2s; text-decoration:none; color:inherit;
}
.lobby-game-card:hover { border-color:var(--red); transform:translateX(4px); background:#151515; }
.lobby-game-icon { font-size:36px; flex-shrink:0; }
.lobby-game-info { flex:1; }
.lobby-game-name { font-size:15px; font-weight:700; color:#fff; }
.lobby-game-desc { font-size:12px; color:var(--dim); margin-top:2px; }
.lobby-game-play {
  width:36px; height:36px; border-radius:50%;
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  display:flex; align-items:center; justify-content:center;
  font-size:14px; color:#fff; flex-shrink:0;
  box-shadow:0 4px 12px rgba(230,57,70,.4);
}

/* App bottom nav visual */
.app-bottom-nav {
  display:flex; align-items:center; justify-content:space-around;
  background:#050505; border:1px solid var(--border); border-radius:var(--radius);
  padding:12px 8px; margin-top:24px; max-width:400px; margin-left:auto; margin-right:auto;
}
.app-nav-item {
  display:flex; flex-direction:column; align-items:center; gap:4px;
  font-size:10px; font-weight:700; color:var(--dim); text-transform:uppercase;
  letter-spacing:.5px;
}
.app-nav-item span:first-child { font-size:20px; }
.app-nav-center {
  background:linear-gradient(135deg,var(--red),var(--red-dark));
  padding:10px 18px; border-radius:var(--radius); color:#fff;
  box-shadow:0 4px 16px rgba(230,57,70,.5);
  margin-top:-20px;
}

/* ============================================================
   SPIN LAYOUT — mobile-first order control
   ============================================================ */
.spin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
/* Desktop: wheel left (order 1), info right (order 2) */
.spin-col-wheel { order: 1; display: flex; justify-content: center; }
.spin-col-info  { order: 2; }

@media (max-width: 900px) {
  /* Mobile: single column — info text top, wheel middle, cards bottom */
  .spin-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* Heading is outside the grid so naturally appears first */
  .spin-col-wheel { order: 1; }  /* wheel = middle */
  .spin-col-info  { order: 2; }  /* cards = bottom */
}

/* ============================================================
   COMPREHENSIVE MOBILE-FIRST RESPONSIVE
   ============================================================ */

/* Tablet 900px */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content { padding: 60px 16px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .phone-wrap { justify-content: center; order: -1; }
  .post-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .post-featured-img { height: 260px; }
  /* spin-layout handled in its own section above */
  .featured-game-content { flex-direction: column; text-align: center; padding: 24px 20px; gap: 16px; }
  .featured-game-right { font-size: 64px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* Mobile 768px */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .section-sub { margin-bottom: 32px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .btn-download.btn-xl { padding: 16px 24px; font-size: 17px; width: 100%; }
  .btn-outline { width: 100%; justify-content: center; }
  .hero-title { font-size: clamp(32px, 9vw, 48px); }
  .hero-desc { font-size: 15px; }
  .hero-stats { gap: 8px; }
  .hero-stat { padding: 10px 6px; }
  .hero-stat-value { font-size: 18px; }
  .hero-stat-label { font-size: 10px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .phone-mock { width: 220px; height: 400px; }
  .phone-badge-1 { top: -8px; right: -8px; font-size: 10px; padding: 4px 8px; }
  .phone-badge-2 { bottom: -8px; left: -8px; font-size: 10px; white-space: normal; max-width: 130px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-icon { font-size: 32px; margin-bottom: 10px; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .step-num { width: 52px; height: 52px; font-size: 20px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-thumb { height: 160px; }
  .page-header { padding: 90px 0 40px; }
  .page-header h1 { font-size: clamp(26px, 7vw, 38px); }
  .breadcrumb { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .post-title { font-size: clamp(22px, 6vw, 34px); }
  .post-meta-bar { gap: 12px; font-size: 12px; }
  .post-featured-placeholder { height: 200px; font-size: 56px; }
  .post-content { font-size: 15px; }
  .post-content h2 { font-size: 20px; }
  .post-content h3 { font-size: 17px; }
  .download-step { flex-direction: column; gap: 12px; }
  .download-step-num { width: 44px; height: 44px; font-size: 16px; }
  .requirements-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 28px; }
  .games-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-question { font-size: 14px; padding: 14px 16px; }
  .cta-desc { font-size: 15px; }
  .age-warning-banner .container { gap: 10px; }
  .age-warning-banner p { font-size: 12px; }
  .footer-main { padding: 40px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .spin-wheel { width: 220px; height: 220px; }
  .spin-center { width: 88px; height: 88px; }
  .spin-segment span { font-size: 10px; }
  .spin-record { max-width: 220px; }
  .jackpot-counter { padding: 20px 12px; }
  .jackpot-tabs { max-width: 100%; }
  .jackpot-tab { font-size: 12px; padding: 8px 6px; }
  .podium-wrap { gap: 6px; }
  .podium-player { min-width: 80px; padding: 10px 6px; }
  .podium-1 { padding: 14px 10px; }
  .podium-avatar { width: 42px; height: 42px; font-size: 20px; }
  .podium-name { font-size: 10px; }
  .podium-coins { font-size: 9px; }
  .podium-prize { font-size: 12px; }
  .rank-row { padding: 10px 12px; gap: 8px; }
  .game-lobby-grid { grid-template-columns: 1fr; gap: 10px; }
  .lobby-game-card { padding: 12px 14px; }
  .lobby-game-icon { font-size: 28px; }
  .lobby-game-name { font-size: 14px; }
  .app-bottom-nav { max-width: 100%; padding: 10px 4px; }
  .app-nav-item span:first-child { font-size: 18px; }
  .app-nav-center { padding: 8px 12px; margin-top: -16px; }
}

/* Small Mobile 480px */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .section { padding: 44px 0; }
  .hero-content { padding: 50px 12px; }
  .hero-title { font-size: clamp(28px, 8vw, 38px); }
  .hero-stats { gap: 6px; }
  .hero-stat { padding: 8px 4px; }
  .hero-stat-value { font-size: 15px; }
  .hero-stat-label { font-size: 9px; }
  .phone-mock { width: 200px; height: 360px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .requirements-grid { grid-template-columns: 1fr; }
  .jackpot-tabs { flex-direction: column; }
  .jackpot-tab { border-right: none; border-bottom: 1px solid var(--border); }
  .jackpot-tab:last-child { border-bottom: none; }
  .podium-player { min-width: 70px; }
  .podium-avatar { width: 36px; height: 36px; font-size: 16px; }
  .podium-name { font-size: 9px; }
  .spin-wheel { width: 200px; height: 200px; }
  .spin-center { width: 78px; height: 78px; }
  .btn-download { font-size: 15px; padding: 13px 20px; }
  .btn-download.btn-xl { font-size: 16px; padding: 14px 20px; }
  .blog-title { font-size: 16px; }
  .card-p { padding: 16px; }
  .sidebar-box { padding: 14px; }
  .pagination { flex-wrap: wrap; gap: 6px; }
  .pagination a, .pagination span { padding: 7px 12px; font-size: 13px; }
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
  .faq-question { min-height: 52px; }
  .lobby-game-card { min-height: 64px; }
  .rank-row { min-height: 52px; }
  .mobile-menu .nav-link { min-height: 52px; display: flex; align-items: center; }
  .pagination a, .pagination span { min-height: 40px; min-width: 40px; justify-content: center; }
}

/* Landscape mobile fix */
@media (max-width: 768px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; text-align: left; }
  .phone-wrap { display: none; }
  .hero-btns { flex-direction: row; }
  .btn-download.btn-xl { width: auto; }
  .btn-outline { width: auto; }
}
