/* =============================================
   VIP YONO GAMES — Main Stylesheet
   ============================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --gold: #FFD700;
  --gold-dark: #E6BE00;
  --gold-light: #FFF3A3;
  --purple: #1A0050;
  --purple-mid: #2D0080;
  --dark-bg: #0D0025;
  --dark-card: #150035;
  --dark-card-2: #1E0045;
  --accent-green: #00FF88;
  --accent-green-dark: #00CC6E;
  --white: #FFFFFF;
  --text-muted: #A09AB5;
  --text-light: #D4C8F0;
  --border-color: rgba(255, 215, 0, 0.2);
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --container-width: 1280px;
  --header-height: 70px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 50px 0;
}

.text-gold { color: var(--gold); }
.text-green { color: var(--accent-green); }
.text-muted { color: var(--text-muted); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-rummy { background: rgba(255, 69, 100, 0.2); color: #FF4564; border: 1px solid rgba(255, 69, 100, 0.4); }
.badge-777 { background: rgba(255, 215, 0, 0.2); color: var(--gold); border: 1px solid rgba(255, 215, 0, 0.4); }
.badge-slots { background: rgba(0, 255, 136, 0.2); color: var(--accent-green); border: 1px solid rgba(0, 255, 136, 0.4); }
.badge-vip { background: rgba(138, 43, 226, 0.3); color: #DA70D6; border: 1px solid rgba(138, 43, 226, 0.5); }
.badge-new { background: rgba(0, 255, 136, 0.2); color: #00FF88; border: 1px solid rgba(0, 255, 136, 0.4); }
.badge-other { background: rgba(255, 165, 0, 0.2); color: #FFA500; border: 1px solid rgba(255, 165, 0, 0.4); }

/* --- Ticker Bar --- */
.ticker-bar {
  background: linear-gradient(90deg, var(--purple) 0%, var(--purple-mid) 50%, var(--purple) 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}

.ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
}

.ticker-item {
  margin-right: 60px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticker-item::before {
  content: '🎰';
}

/* --- Header / Navigation --- */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 0, 37, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: var(--header-height);
  transition: all var(--transition);
}

#header.scrolled {
  background: rgba(13, 0, 37, 0.98);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
  height: 60px;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1;
}

.nav-logo-text span {
  color: var(--white);
}

.nav-logo-badge {
  background: var(--accent-green);
  color: var(--dark-bg);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  letter-spacing: 0.3px;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(255, 215, 0, 0.1);
}

.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--dark-bg);
  font-weight: 700;
  padding: 8px 18px;
}

.nav-link.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: var(--dark-bg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--dark-card);
  border-left: 1px solid var(--border-color);
  z-index: 999;
  padding: 90px 24px 40px;
  flex-direction: column;
  gap: 8px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav .nav-link {
  display: block;
  font-size: 18px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  backdrop-filter: blur(2px);
}

.nav-overlay.active {
  display: block;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: auto;
  padding: 100px 0 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 40%, rgba(0,60,24,0.9) 0%, var(--dark-bg) 65%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 5s ease-in-out infinite 1s;
}

/* Floating coins */
.coin {
  position: absolute;
  font-size: 28px;
  opacity: 0.6;
  animation: float-coin 6s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.coin:nth-child(1) { top: 15%; left: 8%; animation-delay: 0s; font-size: 32px; }
.coin:nth-child(2) { top: 25%; right: 12%; animation-delay: 1.2s; font-size: 24px; }
.coin:nth-child(3) { bottom: 30%; left: 15%; animation-delay: 0.8s; font-size: 20px; }
.coin:nth-child(4) { top: 60%; right: 8%; animation-delay: 2s; font-size: 36px; }
.coin:nth-child(5) { top: 40%; left: 3%; animation-delay: 1.5s; font-size: 22px; }
.coin:nth-child(6) { bottom: 15%; right: 20%; animation-delay: 0.5s; font-size: 26px; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 66px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 .highlight {
  color: var(--gold);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-light);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
  color: var(--dark-bg);
  animation: pulse-gold 2.5s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
  animation: none;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-green);
  border-color: var(--accent-green);
}

.btn-secondary:hover {
  background: rgba(0, 255, 136, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.btn-download {
  background: linear-gradient(135deg, #6A0DAD 0%, var(--purple-mid) 100%);
  color: var(--white);
  border: 1px solid rgba(255, 215, 0, 0.3);
  font-size: 13px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  width: 100%;
  justify-content: center;
}

.btn-download:hover {
  background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
  color: var(--dark-bg);
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-trust-item .icon {
  font-size: 16px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: linear-gradient(135deg, rgba(0,28,12,0.98) 0%, rgba(0,14,6,0.98) 100%);
  border-top: 1px solid rgba(0,255,136,0.2);
  border-bottom: 1px solid rgba(0,255,136,0.2);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-color: rgba(255, 215, 0, 0.2);
}

.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border-color);
  position: relative;
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-green);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.section-title span {
  color: var(--gold);
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px auto 0;
  width: fit-content;
}

.section-divider span {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
  display: block;
}

.section-divider span:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-divider .diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* --- Game Cards --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
}

.game-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: var(--shadow-gold), var(--shadow-card);
  animation: glow-border 1.5s ease-in-out infinite;
}

.game-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0D0030;
  overflow: hidden;
  flex-shrink: 0;
}

.game-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  box-sizing: border-box;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card-image img {
  transform: scale(1.06);
}

.game-card-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  background: #0D0030;
}

.card-badge-corner {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.card-new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-green);
  color: var(--dark-bg);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 1;
}

.game-card-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.game-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.game-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.meta-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.meta-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 2px;
}

.meta-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}

.meta-value.green { color: var(--accent-green); }

.game-card-footer {
  padding: 0 16px 16px;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--dark-card) 25%, var(--dark-card-2) 50%, var(--dark-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

.skeleton-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.skeleton-img { height: 140px; }
.skeleton-title { height: 20px; margin: 16px 16px 8px; }
.skeleton-text { height: 14px; margin: 0 16px 6px; width: 60%; }
.skeleton-btn { height: 38px; margin: 8px 16px 16px; }

/* --- Filter Tabs --- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.filter-tab:hover {
  color: var(--white);
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.08);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
  color: var(--dark-bg);
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(255, 215, 0, 0.4);
}

/* Search Bar */
.search-bar {
  position: relative;
  margin-bottom: 24px;
  max-width: 480px;
}

.search-bar input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--white);
  font-size: 15px;
  outline: none;
  transition: all var(--transition);
}

.search-bar input::placeholder { color: var(--text-muted); }

.search-bar input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
  pointer-events: none;
}

/* --- Categories Section --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
}

.category-card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
  display: block;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.category-card.cat-rummy::before { background: radial-gradient(circle at 50% 0%, rgba(255, 69, 100, 0.15) 0%, transparent 70%); }
.category-card.cat-777::before { background: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.15) 0%, transparent 70%); }
.category-card.cat-slots::before { background: radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.15) 0%, transparent 70%); }
.category-card.cat-vip::before { background: radial-gradient(circle at 50% 0%, rgba(138, 43, 226, 0.2) 0%, transparent 70%); }
.category-card.cat-new::before { background: radial-gradient(circle at 50% 0%, rgba(0, 255, 136, 0.15) 0%, transparent 70%); }

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

.category-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.category-icon {
  font-size: 44px;
  display: block;
  margin-bottom: 14px;
  transition: transform var(--transition);
}

.category-card:hover .category-icon {
  transform: scale(1.15);
}

.category-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.category-count {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- How To Download --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  position: relative;
}

.step-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.step-card:hover {
  border-color: rgba(255, 215, 0, 0.4);
  transform: translateY(-4px);
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
  color: var(--dark-bg);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item.open {
  border-color: rgba(255, 215, 0, 0.4);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.faq-question h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.open .faq-icon {
  background: var(--gold);
  color: var(--dark-bg);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding var(--transition);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 16px 0;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.breadcrumb-sep {
  opacity: 0.5;
}

.breadcrumb-current {
  color: var(--gold);
  font-weight: 500;
}

/* --- Bonus Banner --- */
.bonus-banner {
  background: linear-gradient(135deg, var(--purple) 0%, #2D0060 50%, #1A0050 100%);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.bonus-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.bonus-text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.bonus-text p {
  font-size: 16px;
  color: var(--text-light);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--dark-bg) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 215, 0, 0.02) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 215, 0, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero h1 span { color: var(--gold); }

.page-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
}

/* --- Count badges in filters --- */
.filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 1px 7px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 4px;
}

.filter-tab.active .filter-count {
  background: rgba(0, 0, 0, 0.2);
}

/* --- No Results --- */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  display: none;
}

.no-results-icon { font-size: 60px; margin-bottom: 16px; }
.no-results h3 { font-size: 22px; color: var(--text-light); margin-bottom: 8px; }

/* --- Back to Top --- */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
  color: var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
  border: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 215, 0, 0.6);
}

/* --- Footer --- */
footer {
  background: linear-gradient(180deg, var(--dark-card) 0%, #0A001E 100%);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}

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

.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.footer-brand .logo span { color: var(--white); }

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
  text-decoration: none;
}

.social-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.footer-links a::before {
  content: '›';
  color: var(--gold);
  font-size: 16px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-color);
  padding: 20px;
  margin: 0 -20px;
}

.footer-bottom-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.footer-disclaimer {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

/* --- About / Contact / Disclaimer Pages --- */
.prose-section {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.prose-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  margin-top: 32px;
}

.prose-section h2:first-child { margin-top: 0; }

.prose-section p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.prose-section ul {
  list-style: none;
  margin-bottom: 14px;
}

.prose-section ul li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.prose-section ul li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 10px;
  top: 5px;
}

/* Contact Form */
.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 22px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  outline: none;
  transition: all var(--transition);
}

.form-input::placeholder { color: var(--text-muted); }

.form-input:focus {
  border-color: var(--gold);
  background: rgba(255, 215, 0, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

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

.telegram-cta {
  background: linear-gradient(135deg, #00AA55 0%, #007A3D 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  margin-bottom: 30px;
}

.telegram-cta h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--white);
}

.telegram-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

/* Trust badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: var(--radius);
  padding: 14px 20px;
  flex: 1;
  min-width: 200px;
}

.trust-badge-icon { font-size: 28px; }

.trust-badge-text strong {
  display: block;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 2px;
}

.trust-badge-text span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Fade-up animation class (applied via JS) */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Game Detail Page --- */
.game-detail-hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--dark-bg) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 50px 0;
  position: relative;
  overflow: hidden;
}

.game-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,215,0,0.02) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(255,215,0,0.02) 1px,transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.game-detail-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.game-detail-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-gold);
  background: var(--dark-card);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-detail-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-detail-image-placeholder {
  font-size: 80px;
}

.game-detail-info h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.game-detail-info h1 span { color: var(--gold); }

.game-detail-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.game-detail-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.game-detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.detail-stat {
  background: rgba(255,215,0,0.07);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}

.detail-stat-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.detail-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-download-big {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  color: var(--dark-bg);
  font-size: 18px;
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 24px rgba(0,255,136,0.4);
  animation: pulse-gold 2.5s ease-in-out infinite;
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.btn-download-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0,255,136,0.6);
  animation: none;
}

.detail-safe-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* How to install steps (detail page) */
.install-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.install-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color var(--transition);
}

.install-step:hover { border-color: rgba(255,215,0,0.35); }

.install-step-num {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold) 0%, #FFA500 100%);
  color: var(--dark-bg);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.install-step-content strong {
  display: block;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 3px;
}

.install-step-content span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Related games */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* Loading state for detail page */
.detail-loading {
  text-align: center;
  padding: 120px 20px;
  color: var(--text-muted);
}

/* Game card clickable */
.game-card {
  cursor: pointer;
}

.game-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Nav logo image */
.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Hero banner — full visible image before headline */
.hero-banner-wrap {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 44px;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 48px rgba(0, 255, 136, 0.22), 0 0 0 1px rgba(0, 255, 136, 0.2);
}

.hero-banner-img {
  width: 100%;
  display: block;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 767px) {
  .game-detail-grid { grid-template-columns: 1fr; }
  .game-detail-image-wrap { max-width: 280px; margin: 0 auto; }
  .game-detail-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .detail-stat-value { font-size: 20px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   OVERFLOW / HORIZONTAL SCROLL PREVENTION
   ===================================================== */

/* Grids: min-width 0 prevents grid blowout */
.games-grid, .categories-grid, .steps-grid,
.footer-grid, .stats-grid, .related-grid {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

/* Grid cells never overflow their track */
.game-card, .category-card, .step-card,
.trust-badge, .stat-item {
  min-width: 0;
}

