/* =========================================
   Teen Patti Master - Main Stylesheet
   Color: Deep Teal + Gold + Crimson
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Nunito:wght@400;500;600;700;800&family=Bebas+Neue&display=swap');

:root {
  --primary: #0d7377;
  --primary-dark: #093b3d;
  --primary-light: #14a3a8;
  --accent: #e8b84b;
  --accent-dark: #c99a30;
  --crimson: #c0392b;
  --crimson-dark: #962d22;
  --text-dark: #0f1923;
  --text-medium: #2c3e50;
  --text-light: #6b7f8f;
  --white: #ffffff;
  --bg-light: #f0f6f7;
  --bg-card: #ffffff;
  --border: #d0e4e5;
  --shadow: 0 4px 20px rgba(13,115,119,0.12);
  --shadow-hover: 0 8px 30px rgba(13,115,119,0.22);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font-display: 'Bebas Neue', cursive;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; color: var(--text-medium); }
p:last-child { margin-bottom: 0; }

/* ==================== LAYOUT ==================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 60px 0; }
.section-alt { background: #ffffff; }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; color: var(--text-light); }
.section-divider {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ==================== HEADER / NAV ==================== */
.site-header {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: contain;
}
.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 1px;
  line-height: 1;
}
.site-logo .logo-sub {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  display: block;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-top: -2px;
}

.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  background: rgba(255,255,255,0.08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  padding: 9px 18px !important;
}
.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,184,75,0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==================== HERO ==================== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0f4c4f 40%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 0 70px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,184,75,0.15);
  border: 1px solid rgba(232,184,75,0.35);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}
.hero h1 span { color: var(--accent); }
.hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 36px;
}
.hero-stat { text-align: center; }
.hero-stat .value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
}
.hero-stat .label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero-divider { width: 1px; background: rgba(255,255,255,0.15); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
  font-family: var(--font-body);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,184,75,0.45);
  color: var(--primary-dark);
}
.btn-secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-crimson {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: var(--white);
}
.btn-crimson:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(192,57,43,0.4);
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-app-mockup {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  position: relative;
}
.hero-app-mockup img {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  margin: 0 auto 16px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.hero-app-mockup .app-name {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}
.hero-app-mockup .app-meta {
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  margin-top: 6px;
}
.float-badge {
  position: absolute;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  font-size: 0.8rem;
  font-weight: 700;
}
.float-badge.badge-safe {
  top: -10px; right: -20px;
  color: #27ae60;
}
.float-badge.badge-rating {
  bottom: 10px; left: -20px;
  color: var(--accent-dark);
}
.float-badge span { display: block; font-size: 0.68rem; font-weight: 400; color: var(--text-light); }

/* ==================== APP INFO CARD ==================== */
.app-info-section { padding: 50px 0; background: white; }
.app-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.app-specs-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.app-specs-table th,
.app-specs-table td {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.9rem;
}
.app-specs-table thead th {
  background: var(--primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.app-specs-table tbody tr:nth-child(even) { background: var(--bg-light); }
.app-specs-table tbody tr:hover { background: #e0f0f1; }
.app-specs-table td:first-child { color: var(--text-light); font-weight: 600; }
.app-specs-table td:last-child { font-weight: 700; color: var(--text-dark); }

.install-steps { }
.install-steps h3 { margin-bottom: 20px; color: var(--primary); }
.install-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(13,115,119,0.35);
}
.step-content h4 { margin-bottom: 4px; font-size: 0.95rem; }
.step-content p { font-size: 0.85rem; margin: 0; }

/* ==================== GAMES GRID ==================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px 16px 18px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.game-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}
.game-card:hover::before { opacity: 1; }

.game-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  margin: 0 auto 14px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transition: var(--transition);
}
.game-card:hover .game-card-icon { transform: scale(1.06); }

.game-card-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.game-card-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.game-card-meta span { display: flex; align-items: center; gap: 3px; }

.badge-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.badge-free { background: #e8f5e9; color: #2e7d32; }
.badge-hot { background: #fff3e0; color: #e65100; }
.badge-new { background: #e3f2fd; color: #1565c0; }

.game-card .btn { font-size: 0.82rem; padding: 9px 18px; width: 100%; }

/* ==================== FEATURED GAME (single page) ==================== */
.game-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0b5457 100%);
  padding: 60px 0;
  color: white;
}
.game-hero-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 36px;
  align-items: center;
}
.game-hero-icon {
  width: 100px;
  height: 100px;
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.game-hero-info h1 { color: white; font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
.game-hero-info .game-desc { color: rgba(255,255,255,0.75); margin-top: 8px; }
.game-hero-badges { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.badge-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-outline.gold { border-color: var(--accent); color: var(--accent); }
.game-hero-cta { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.download-size { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-align: center; }

.game-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
}
.info-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.info-card h3 {
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-light);
  border-radius: var(--radius);
}
.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.feature-text h4 { font-size: 0.9rem; margin-bottom: 2px; }
.feature-text p { font-size: 0.8rem; margin: 0; }

.sidebar-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.sidebar-card h4 { color: var(--primary); margin-bottom: 14px; font-size: 1rem; }

.app-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--bg-light);
  font-size: 0.88rem;
}
.app-info-list li:last-child { border-bottom: none; }
.app-info-list .label { color: var(--text-light); }
.app-info-list .value { font-weight: 700; color: var(--text-dark); text-align: right; }

.safety-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.safety-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px;
  background: var(--bg-light);
  border-radius: var(--radius);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-medium);
}
.safety-item .safety-icon { font-size: 1.3rem; }

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
  padding: 14px 0;
  background: white;
  border-bottom: 1px solid var(--border);
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.breadcrumb li a { color: var(--primary); }
.breadcrumb li a:hover { text-decoration: underline; }
.breadcrumb li.current { color: var(--text-light); }
.breadcrumb-sep { color: var(--text-light); font-size: 0.75rem; }

/* ==================== ALL APPS PAGE ==================== */
.apps-filter {
  background: white;
  padding: 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.search-box {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,115,119,0.1); }
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 1rem;
}

/* ==================== FAQ ==================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  border: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  transition: var(--transition);
  color: var(--primary);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: white; }
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.92rem;
  color: var(--text-medium);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ==================== TESTIMONIALS ==================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.review-stars { color: var(--accent); font-size: 1rem; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: 0.9rem; color: var(--text-medium); margin-bottom: 14px; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.reviewer-name { font-weight: 700; font-size: 0.88rem; }
.reviewer-date { font-size: 0.75rem; color: var(--text-light); }

/* ==================== CTA STRIP ==================== */
.cta-strip {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
  text-align: center;
}
.cta-strip h2 { color: white; margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-about p { font-size: 0.88rem; margin-top: 14px; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.footer-logo img { width: 36px; height: 36px; border-radius: 8px; }
.footer-logo .logo-text { font-family: var(--font-display); font-size: 1.3rem; color: var(--accent); }
.footer-tagline { font-size: 0.75rem; color: rgba(255,255,255,0.4); letter-spacing: 1px; }

.footer-col h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); padding-left: 5px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.footer-contact .icon { color: var(--accent); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 0.82rem; margin: 0; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-links a:hover { color: var(--accent); }

.disclaimer-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-top: 20px;
  margin-bottom: 28px;
}

/* ==================== PAGINATION ==================== */
.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-medium);
  transition: var(--transition);
}
.pagination a:hover, .pagination .active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ==================== ABOUT PAGE ==================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-image-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 50px;
  text-align: center;
}
.about-image-box img { margin: 0 auto; width: 120px; }
.stat-boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.stat-box {
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.stat-box .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent);
  display: block;
}
.stat-box .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.5px; }

/* ==================== ALERT/NOTICE ==================== */
.notice-bar {
  background: rgba(13,115,119,0.08);
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.88rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 36px; }
  .game-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: var(--primary-dark);
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 999;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { display: block; padding: 11px 16px; }

  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-image { display: none; }
  .hero { padding: 50px 0; }
  .hero-stats { justify-content: center; }

  .app-info-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .game-hero-inner { grid-template-columns: 1fr; text-align: center; }
  .game-hero-badges { justify-content: center; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 40px 0; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .hero-stats { gap: 16px; }
  .stat-boxes { grid-template-columns: 1fr 1fr; }
  .safety-badges { grid-template-columns: 1fr 1fr; }
}

/* ==================== UTILITIES ==================== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-crimson { color: var(--crimson); }
.mt-0 { margin-top: 0; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.fw-700 { font-weight: 700; }
.d-flex { display: flex; }
.gap-10 { gap: 10px; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.hidden { display: none; }
