/* ============================================================
   PlayBazaarWorld Social Casino — Main Stylesheet
   Light premium theme with gold & purple accents
   ============================================================ */

/* Google Fonts loaded via link tag in HTML */

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --gold:        #C9A84C;
  --gold-light:  #F0D070;
  --gold-dark:   #A07828;
  --purple:      #6B21A8;
  --purple-light:#9333EA;
  --purple-dark: #4C1D95;
  --cream:       #FDF8F0;
  --bg:          #FAFAFA;
  --bg-card:     #FFFFFF;
  --text:        #1A1A2E;
  --text-muted:  #6B7280;
  --border:      #E5E7EB;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.13);
  --radius:      14px;
  --radius-lg:   22px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple-light); }

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

ul { list-style: none; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.gold-text { color: var(--gold-dark); }
.purple-text { color: var(--purple); }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }
section:nth-child(even) { background: var(--cream); }

/* ============================================================
   AGE VERIFICATION POPUP
   ============================================================ */
#age-gate {
  position: fixed;
  inset: 0;
  background: rgba(15, 5, 35, 0.92);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

.age-gate-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 80px rgba(107,33,168,0.3);
  animation: popIn 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes popIn {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.age-gate-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.age-gate-box h2 {
  font-size: 1.8rem;
  color: var(--purple);
  margin-bottom: 0.5rem;
}

.age-gate-box p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.age-gate-disclaimer {
  font-size: 0.78rem !important;
  color: #aaa !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
  line-height: 1.4;
}

.age-gate-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(107,33,168,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(107,33,168,0.45);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  color: #1A1A2E;
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.55);
  color: #1A1A2E;
}

.btn-outline {
  background: transparent;
  color: var(--purple);
  border: 2px solid var(--purple);
}
.btn-outline:hover {
  background: var(--purple);
  color: #fff;
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold-dark);
}
.btn-outline-gold:hover {
  background: var(--gold-dark);
  color: #fff;
}

.btn-danger {
  background: #EF4444;
  color: #fff;
}
.btn-danger:hover { background: #DC2626; color:#fff; transform:translateY(-2px); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

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

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-dark), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--cream);
  color: var(--purple);
}

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

.nav-18-badge {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text);
}
.mobile-nav a:hover { background: var(--cream); color: var(--purple); }

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  min-height: calc(100vh - 72px);
  background: linear-gradient(135deg, #F9F4FF 0%, #EFF6FF 40%, #FDF8F0 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

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

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}
.hero-shape-1 {
  width: 600px; height: 600px;
  background: var(--purple);
  top: -200px; right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}
.hero-shape-2 {
  width: 400px; height: 400px;
  background: var(--gold);
  bottom: -150px; left: -80px;
  animation: floatShape 10s ease-in-out infinite reverse;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(107,33,168,0.1), rgba(147,51,234,0.1));
  border: 1px solid rgba(107,33,168,0.2);
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .gold-highlight {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat { text-align: left; }
.hero-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--purple);
}
.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero visual — animated casino display */
.hero-visual {
  position: relative;
}

.casino-display {
  background: linear-gradient(145deg, #1A0A2E, #2D1B69);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(107,33,168,0.2);
  position: relative;
  overflow: hidden;
}

.casino-display::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.01) 20px,
    rgba(255,255,255,0.01) 40px
  );
}

.casino-display-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.casino-display-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Slot reel preview in hero */
.hero-slot-preview {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-reel {
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.05);
  border: 2px solid rgba(201,168,76,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-reel.spinning .reel-symbol {
  animation: spinReel 0.4s ease-in-out infinite;
}

@keyframes spinReel {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.hero-balance-display {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}

.hero-balance-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-balance-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--gold-light);
  font-weight: 700;
}

.hero-balance-coins {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.hero-cards-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.mini-card {
  width: 44px;
  height: 62px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transform: rotate(var(--rot, 0deg));
  transition: transform var(--transition);
}
.mini-card:hover { transform: rotate(0deg) translateY(-4px); }
.mini-card.red { color: #E53E3E; }
.mini-card.black { color: #1A1A2E; }

.floating-chip {
  position: absolute;
  font-size: 1.5rem;
  animation: floatChip 3s ease-in-out infinite;
}
.floating-chip:nth-child(1) { top: 10px; right: 20px; animation-delay: 0s; }
.floating-chip:nth-child(2) { bottom: 15px; left: 15px; animation-delay: 1s; }
.floating-chip:nth-child(3) { top: 30%; right: -10px; animation-delay: 2s; font-size:1rem; }

@keyframes floatChip {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
  50% { transform: translateY(-12px) rotate(15deg); opacity: 1; }
}

/* ============================================================
   SOCIAL CASINO NOTICE BANNER
   ============================================================ */
.social-notice {
  background: linear-gradient(135deg, #FFF7ED, #FEF3C7);
  border: 1px solid #FCD34D;
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.social-notice-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.social-notice-text { font-size: 0.85rem; color: #92400E; line-height: 1.5; }
.social-notice-text strong { display: block; margin-bottom: 0.2rem; font-size: 0.9rem; }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: linear-gradient(135deg, rgba(107,33,168,0.1), rgba(147,51,234,0.1));
}

.feature-icon.gold-icon {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(240,208,112,0.15));
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-family: 'Playfair Display', serif;
}

.feature-desc { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   GAMES PREVIEW SECTION
   ============================================================ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.game-preview-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.game-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.game-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.game-thumb-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.game-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, var(--purple), var(--purple-light));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.game-18-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(239,68,68,0.9);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.game-preview-body {
  padding: 1.5rem;
}

.game-preview-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

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

.game-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.game-tag {
  background: var(--cream);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

/* ============================================================
   RESPONSIBLE GAMING HIGHLIGHT
   ============================================================ */
.resp-highlight {
  background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
  border: 1px solid #86EFAC;
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.resp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.resp-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid #BBF7D0;
}

.resp-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.resp-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.resp-info p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; }

/* ============================================================
   REGULATORS SECTION
   ============================================================ */
.regulators-section {
  background: var(--cream);
}

.regulators-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.regulator-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.regulator-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.regulator-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.regulator-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.regulator-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.regulator-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--purple);
  font-weight: 600;
}

/* ============================================================
   TESTIMONIALS / STATS
   ============================================================ */
.stats-bar {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  padding: 3rem 0;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item-value {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold-light);
}

.stat-item-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #0F0520;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

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

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 1rem 0;
  color: rgba(255,255,255,0.55);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--purple);
  color: #fff;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-18 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-18 .badge-18 {
  background: #EF4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.footer-disclaimer {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
  text-align: center;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, #F9F4FF 0%, #EFF6FF 100%);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  justify-content: center;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--purple); }
.breadcrumb span { color: var(--text-muted); }

/* ============================================================
   CARDS / PANELS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: 2px;
  margin: 0.75rem auto 1.5rem;
}

.divider-left {
  margin: 0.75rem 0 1.5rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(107,33,168,0.12), rgba(147,51,234,0.12));
  color: var(--purple);
}

.contact-info-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.contact-info-item p, .contact-info-item a {
  font-size: 0.95rem;
  color: var(--text);
}

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(107,33,168,0.1);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

/* ============================================================
   MAP EMBED
   ============================================================ */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 350px;
}

/* ============================================================
   RESPONSIBLE GAMING PAGE
   ============================================================ */
.resp-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.helpline-card {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.helpline-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin: 0.5rem 0;
}

.tools-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.tool-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.tool-icon { font-size: 1.5rem; flex-shrink: 0; }
.tool-info h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.tool-info p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #F9F4FF, #EFF6FF);
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.value-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.value-icon { font-size: 1.8rem; margin-bottom: 0.5rem; }
.value-title { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; margin-bottom: 0.25rem; }
.value-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* ============================================================
   TERMS PAGE
   ============================================================ */
.terms-content {
  max-width: 860px;
  margin: 0 auto;
}

.terms-section {
  margin-bottom: 3rem;
}

.terms-section h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--cream);
}

.terms-section p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.terms-section ul li {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.terms-toc {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  border: 1px solid var(--border);
}

.terms-toc h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.terms-toc ol { list-style: decimal; margin-left: 1.5rem; }
.terms-toc ol li { margin-bottom: 0.4rem; }
.terms-toc ol li a { font-size: 0.9rem; color: var(--purple); }

/* ============================================================
   NOTIFICATION / ALERTS
   ============================================================ */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.alert-info { background: #EFF6FF; border: 1px solid #BFDBFE; color: #1D4ED8; }
.alert-warning { background: #FFFBEB; border: 1px solid #FCD34D; color: #92400E; }
.alert-success { background: #F0FDF4; border: 1px solid #86EFAC; color: #166534; }
.alert-danger { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--purple);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--purple-light);
  transform: translateY(-3px);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Coins rain */
@keyframes coinFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.coin-rain {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.coin-particle {
  position: absolute;
  font-size: 1.5rem;
  animation: coinFall 2s linear forwards;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content { gap: 2.5rem; }
}

@media (max-width: 768px) {
  section { padding: 3rem 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-title { text-align: center; }
  .hero-desc { margin: 0 auto 2rem; }
  .hero-cta-group { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .resp-page-grid { grid-template-columns: 1fr; }
  .tools-list { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; align-items: center; }
  .age-gate-btns { flex-direction: column; }
  .about-values { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
