/* ==========================================================================
   Happy Ace Casino - Premium Modern Theme Stylesheet
   Website: https://happy-acecasino.com
   Optimized for high-speed performance, mobile responsiveness & SEO
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #0a0d18;
  --bg-secondary: #11162b;
  --bg-tertiary: #171e38;
  --bg-card: rgba(23, 30, 56, 0.7);
  --bg-glass: rgba(17, 22, 43, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.04);
  
  --gold-primary: #f5b027;
  --gold-light: #ffd768;
  --gold-dark: #c9850c;
  --gold-gradient: linear-gradient(135deg, #ffd768 0%, #f5b027 50%, #c9850c 100%);
  --gold-glow: rgba(245, 176, 39, 0.35);

  --accent-purple: #7928ca;
  --accent-blue: #0070f3;
  --accent-cyan: #00dfd8;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-light: #ffffff;
  --text-dark: #111827;

  --border-color: rgba(245, 176, 39, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.08);

  /* Typography */
  --font-primary: 'Outfit', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Outfit', 'Noto Sans Devanagari', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.7);
  --shadow-gold: 0 0 25px rgba(245, 176, 39, 0.3);
  --shadow-glow: 0 0 35px rgba(121, 40, 202, 0.3);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Background Glow */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(121, 40, 202, 0.12) 0%, rgba(10, 13, 24, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 176, 39, 0.08) 0%, rgba(10, 13, 24, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Links & Images */
a {
  color: var(--gold-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #fff;
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Top Age Bar / Disclaimer Notice */
.top-notice-bar {
  background: linear-gradient(90deg, #1f1235 0%, #2b111e 50%, #1f1235 100%);
  border-bottom: 1px solid rgba(245, 176, 39, 0.3);
  padding: 0.45rem 1rem;
  text-align: center;
  font-size: 0.82rem;
  color: #e5e7eb;
  position: relative;
  z-index: 1001;
}

.top-notice-bar strong {
  color: var(--gold-light);
}

.top-notice-badge {
  display: inline-block;
  background: #dc2626;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  letter-spacing: 0.5px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  box-shadow: 0 0 10px rgba(245, 176, 39, 0.3);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Language Switcher Button */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 176, 39, 0.35);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.lang-switcher:hover {
  background: rgba(245, 176, 39, 0.16);
  border-color: var(--gold-primary);
  color: #fff;
  transform: translateY(-1px);
}

.lang-switcher-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(121, 40, 202, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.45);
  color: #e9d5ff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.lang-switcher-hero:hover {
  background: rgba(121, 40, 202, 0.35);
  color: #fff;
}

.btn-header-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
}

.btn-header-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(245, 176, 39, 0.6);
  color: #000;
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #111827;
  box-shadow: 0 6px 20px rgba(245, 176, 39, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(245, 176, 39, 0.6);
  color: #000;
}

.btn-pulse {
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { box-shadow: 0 0 0 0 rgba(245, 176, 39, 0.6); }
  70% { box-shadow: 0 0 0 16px rgba(245, 176, 39, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 176, 39, 0); }
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(245, 176, 39, 0.4);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.15rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 176, 39, 0.12);
  border: 1px solid rgba(245, 176, 39, 0.35);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.badge-age {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.badge-trust {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #d1d5db;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.25rem;
}

.download-meta-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.meta-item i, .meta-item svg {
  color: var(--gold-primary);
}

/* Hero Stats Bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  text-align: left;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Hero Card Box / Download Widget */
.hero-card-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.hero-card-widget::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(245, 176, 39, 0.25) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.app-identity-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.app-big-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(245, 176, 39, 0.4);
}

.app-identity-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.app-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 176, 39, 0.15);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  margin-top: 0.35rem;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-subtle);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.widget-download-cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.safe-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #34d399;
  margin-top: 0.5rem;
}

/* Section Common Styling */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-title span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 176, 39, 0.4);
  box-shadow: var(--shadow-md);
}

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

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(245, 176, 39, 0.12);
  border: 1px solid rgba(245, 176, 39, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Games Showcase Section */
.game-showcase-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 176, 39, 0.5);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(245, 176, 39, 0.15);
}

.game-thumb-wrapper {
  position: relative;
  overflow: hidden;
  height: 210px;
  background: #0f1424;
}

.game-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.game-card:hover .game-thumb {
  transform: scale(1.05);
}

.game-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

.game-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.game-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.game-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.game-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.game-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--gold-light);
}

/* Full composite showcase banner */
.showcase-banner-box {
  background: linear-gradient(145deg, rgba(23, 30, 56, 0.9), rgba(12, 15, 29, 0.95));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.showcase-banner-img {
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(245, 176, 39, 0.3);
}

/* Download & Installation Steps */
.install-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(245, 176, 39, 0.4);
  transform: translateY(-4px);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #111827;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(245, 176, 39, 0.3);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

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

/* Specs Table */
.specs-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.specs-table th, .specs-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.specs-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold-light);
  font-weight: 700;
  width: 35%;
}

.specs-table td {
  color: #e5e7eb;
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.review-card:hover {
  border-color: rgba(245, 176, 39, 0.35);
  transform: translateY(-4px);
}

.review-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  display: flex;
  gap: 0.2rem;
}

.review-text {
  font-size: 0.95rem;
  color: #d1d5db;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
  flex: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7928ca, #0070f3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.reviewer-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.reviewer-location {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: 0.4rem;
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item.active {
  border-color: rgba(245, 176, 39, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.6rem;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--gold-light);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.6rem;
  color: #9ca3af;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.6rem 1.4rem;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* 18+ Responsible Gaming Callout Box */
.age-disclaimer-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(245, 176, 39, 0.08) 100%);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  text-align: center;
  margin: 3.5rem auto 0;
  max-width: 960px;
}

.age-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-weight: 900;
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(220, 38, 38, 0.5);
}

.age-disclaimer-box h3 {
  font-size: 1.35rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.age-disclaimer-box p {
  color: #d1d5db;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 800px;
  margin: 0 auto;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  padding: 1.25rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
  color: var(--text-muted);
}

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

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

.breadcrumb-separator {
  color: #6b7280;
}

/* Content Page Layout (About, Privacy, Rules, Download, etc.) */
.content-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 0 5rem;
}

.content-body h2 {
  font-size: 1.85rem;
  color: #fff;
  font-weight: 800;
  margin: 2.25rem 0 1rem;
  border-left: 4px solid var(--gold-primary);
  padding-left: 1rem;
}

.content-body h3 {
  font-size: 1.35rem;
  color: var(--gold-light);
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
}

.content-body p {
  font-size: 1.02rem;
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.content-body ul, .content-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: #d1d5db;
}

.content-body li {
  margin-bottom: 0.65rem;
  line-height: 1.7;
}

.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
}

/* Contact Form */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5e7eb;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 10px rgba(245, 176, 39, 0.3);
}

/* Footer */
.site-footer {
  background: #070911;
  border-top: 1px solid var(--border-subtle);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  max-width: 380px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: #9ca3af;
  line-height: 1.6;
  max-width: 900px;
}

.copyright {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Floating Mobile Download Bar */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

.floating-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.floating-app-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.floating-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.floating-app-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.floating-app-meta {
  font-size: 0.72rem;
  color: var(--gold-light);
}

.btn-mobile-dl {
  background: var(--gold-gradient);
  color: #111827;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    z-index: 999;
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-card-widget {
    max-width: 520px;
    margin: 0 auto;
  }

  .showcase-banner-box {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {

  .btn-header-download {
    display: none;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .floating-mobile-bar {
    display: block;
  }

  body {
    padding-bottom: 60px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn-lg {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Other Apps to Try Section & Teen Patti Gold Showcase
   ========================================================================== */
.other-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.other-app-card {
  background: linear-gradient(145deg, rgba(23, 30, 56, 0.92), rgba(14, 18, 35, 0.96));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.other-app-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.other-app-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.other-app-badge-icon {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-md);
  background: var(--gold-gradient);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold);
}

.other-app-meta h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.other-app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.other-app-desc {
  color: #d1d5db;
  font-size: 0.96rem;
  line-height: 1.7;
}

.other-app-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--gold-light);
}

.other-app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: auto;
}

/* ==========================================================================
   Blog Hub & SEO Article Styles
   ========================================================================== */
.blog-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.blog-search-box {
  flex: 1 1 260px;
  position: relative;
}

.blog-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 12px rgba(245, 176, 39, 0.25);
}

.blog-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.blog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover,
.filter-pill.active {
  background: rgba(245, 176, 39, 0.16);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

.blog-count-bar {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.75rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: var(--transition);
  position: relative;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 176, 39, 0.45);
  box-shadow: var(--shadow-md);
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.blog-category-tag {
  background: rgba(245, 176, 39, 0.14);
  border: 1px solid rgba(245, 176, 39, 0.35);
  color: var(--gold-light);
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.blog-meta-date {
  color: var(--text-muted);
}

.blog-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}

.blog-card-title a {
  color: #fff;
}

.blog-card-title a:hover {
  color: var(--gold-light);
}

.blog-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.blog-read-link {
  font-weight: 700;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-read-link:hover {
  color: #fff;
}

/* Blog Article Page */
.article-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.article-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-title {
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}

.article-lead {
  font-size: 1.12rem;
  color: #d1d5db;
  line-height: 1.7;
}

.article-toc {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.25rem;
}

.article-toc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.article-toc ul {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.4rem;
}

.article-cta-banner {
  background: linear-gradient(135deg, rgba(245, 176, 39, 0.14), rgba(121, 40, 202, 0.16));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2.5rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.related-posts-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 600px) {
  .article-title {
    font-size: 1.75rem;
  }

  .other-app-highlights {
    grid-template-columns: 1fr;
  }
}
