/* ==========================================================================
   Zynga Games — Modern Game Developer Studio Stylesheet
   Unique Footprint Mask: 
   ========================================================================== */

:root {
  --zg-bg-main: #0a0d14;
  --zg-bg-surface: #111724;
  --zg-bg-card: #151d2d;
  --zg-bg-card-hover: #1c263b;
  --zg-border: #222d42;
  --zg-border-focus: #4f46e5;
  --zg-accent-primary: #6366f1;
  --zg-accent-secondary: #8b5cf6;
  --zg-accent-gold: #f59e0b;
  --zg-accent-cyan: #06b6d4;
  --zg-accent-danger: #ef4444;
  --zg-accent-success: #10b981;
  --zg-text-primary: #f8fafc;
  --zg-text-secondary: #94a3b8;
  --zg-text-muted: #8796ad;
  --zg-radius-sm: 8px;
  --zg-radius-md: 14px;
  --zg-radius-lg: 20px;
  --zg-radius-full: 9999px;
  --zg-shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --zg-shadow-glow: 0 8px 20px rgba(0, 0, 0, 0.45);
  --zg-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --zg-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

[hidden] {
  display: none !important;
}

html {
  font-family: var(--zg-font-sans);
  background-color: var(--zg-bg-main);
  color: var(--zg-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--zg-bg-main);
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: #0a0d14;
  border-bottom: 1px solid var(--zg-border);
  transition: var(--zg-transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

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

.brand-logo__img {
  height: 40px;
  width: auto;
}

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

.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--zg-text-secondary);
  position: relative;
  padding: 6px 0;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--zg-text-primary);
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--zg-accent-primary);
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--zg-radius-full);
  transition: var(--zg-transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: #4f46e5;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--zg-text-primary);
  border: 1px solid var(--zg-border);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--zg-accent-primary);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--zg-accent-gold);
  color: var(--zg-accent-gold);
  background: transparent;
}

.btn-outline:hover {
  background: var(--zg-accent-gold);
  color: #0b0e14;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
}

.mobile-toggle__line {
  width: 100%;
  height: 2px;
  background-color: var(--zg-text-primary);
  border-radius: 2px;
  transition: var(--zg-transition);
}

.mobile-toggle.is-open .mobile-toggle__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.is-open .mobile-toggle__line:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-open .mobile-toggle__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--zg-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #a5b4fc;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--zg-accent-gold);
  box-shadow: none;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero__title {
  font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__title-accent {
  color: var(--zg-accent-gold);
}

.hero__lead {
  font-size: clamp(1rem, 0.88rem + 0.5vw, 1.25rem);
  color: var(--zg-text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero__facts {
  padding-top: 20px;
  border-top: 1px solid var(--zg-border);
  font-size: 0.95rem;
  color: var(--zg-text-muted);
}

.hero__visual {
  position: relative;
}

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

.hero-card-preview:hover {
  border-color: var(--zg-accent-primary);
  box-shadow: var(--zg-shadow-glow);
}

.hero-card-preview__image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--zg-radius-md);
  margin-bottom: 16px;
}

.hero-card-preview__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-preview__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--zg-text-primary);
}

.hero-card-preview__chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--zg-radius-full);
  background-color: rgba(245, 158, 11, 0.15);
  color: var(--zg-accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   Featured Game Station (Player Section)
   ========================================================================== */

.featured-station {
  padding: 60px 0;
  background: var(--zg-bg-main);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head__subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--zg-accent-gold);
  margin-bottom: 8px;
}

.section-head__title {
  font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 800;
  color: var(--zg-text-primary);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-head__desc {
  font-size: 1rem;
  color: var(--zg-text-secondary);
}

.player-cabinet {
  background: #0f1420;
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.player-cabinet__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background-color: #151d2d;
  border-bottom: 1px solid var(--zg-border);
}

.player-cabinet__now-playing {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.player-indicator {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--zg-accent-success);
  box-shadow: none;
}

.player-cabinet__game-title {
  min-width: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--zg-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-badge {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--zg-accent-gold);
  background: rgba(245, 158, 11, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.player-cabinet__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.player-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: var(--zg-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--zg-border);
  color: var(--zg-text-secondary);
  transition: var(--zg-transition);
}

.player-btn:hover {
  background-color: var(--zg-accent-primary);
  color: #ffffff;
  border-color: var(--zg-accent-primary);
}

/* 16:9 Responsive Game Frame Wrapper per standard 10.4 */
.game-ratio-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  background-color: #000000;
}

.game-launch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: #000000;
  cursor: pointer;
  overflow: hidden;
}

.game-launch__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.game-launch:hover .game-launch__img,
.game-launch:focus-visible .game-launch__img {
  opacity: 0.75;
  transform: scale(1.03);
}

.game-launch__cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: var(--zg-radius-full);
  background: #4f46e5;
  color: #ffffff;
  font: 700 1rem/1.2 var(--zg-font-sans);
  white-space: nowrap;
  box-shadow: var(--zg-shadow-glow);
}

.game-launch__icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #ffffff;
}

.game-ratio-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  overflow: hidden;
  display: block;
}

.player-cabinet__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background-color: #121824;
  border-top: 1px solid var(--zg-border);
  font-size: 0.85rem;
  color: var(--zg-text-muted);
}

.player-selector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.game-selector-btn {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--zg-radius-full);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--zg-text-secondary);
  border: 1px solid var(--zg-border);
  transition: var(--zg-transition);
}

.game-selector-btn:hover,
.game-selector-btn.is-active {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

/* ==========================================================================
   Games Portfolio Grid
   ========================================================================== */

.games-section {
  padding: 80px 0;
}

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

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

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--zg-accent-primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.game-card__media {
  position: relative;
  overflow: hidden;
  height: 180px;
  background-color: #0b0e14;
}

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

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

.game-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background-color: rgba(15, 20, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--zg-accent-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--zg-radius-full);
}

.game-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.game-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--zg-text-primary);
  margin-bottom: 8px;
}

.game-card__desc {
  font-size: 0.9rem;
  color: var(--zg-text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.game-card__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: var(--zg-radius-sm);
  margin-bottom: 20px;
  font-size: 0.8rem;
}

.game-spec__item {
  display: flex;
  flex-direction: column;
}

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

.game-spec__val {
  color: var(--zg-text-primary);
  font-weight: 600;
}

.game-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   Studio Features / Pillars
   ========================================================================== */

.studio-pillars {
  padding: 70px 0;
  background-color: var(--zg-bg-surface);
  border-top: 1px solid var(--zg-border);
  border-bottom: 1px solid var(--zg-border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: var(--zg-bg-card);
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-md);
  padding: 28px 24px;
  transition: var(--zg-transition);
}

.pillar-card:hover {
  border-color: var(--zg-accent-primary);
  transform: translateY(-3px);
}

.pillar-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--zg-radius-md);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--zg-accent-gold);
}

.pillar-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--zg-text-primary);
}

.pillar-card__desc {
  font-size: 0.9rem;
  color: var(--zg-text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Home: Production Pipeline & FAQ
   ========================================================================== */

.pipeline-section {
  padding: 70px 0;
}

.pipeline-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
}

.pipeline-step {
  position: relative;
  background: var(--zg-bg-card);
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-md);
  padding: 26px 24px;
}

.pipeline-step__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--zg-text-primary);
  margin-bottom: 10px;
}

.pipeline-step__desc {
  font-size: 0.9rem;
  color: var(--zg-text-secondary);
  line-height: 1.6;
}

.home-faq {
  padding: 70px 0;
  background-color: var(--zg-bg-surface);
  border-top: 1px solid var(--zg-border);
  border-bottom: 1px solid var(--zg-border);
}

.home-faq__more {
  text-align: center;
  margin-top: 30px;
}

/* ==========================================================================
   Prominent Social Casino Disclaimer (Above Footer)
   ========================================================================== */

.disclaimer-strip {
  margin: 50px 0 20px;
  background: #171f30;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--zg-radius-lg);
  padding: 28px 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.disclaimer-strip__inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.disclaimer-strip__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(245, 158, 11, 0.15);
  border: 2px solid var(--zg-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zg-accent-gold);
  font-weight: 800;
  font-size: 1.1rem;
}

.disclaimer-strip__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--zg-accent-gold);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.disclaimer-strip__text {
  font-size: 0.92rem;
  color: var(--zg-text-secondary);
  line-height: 1.65;
}

.disclaimer-strip__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.disclaimer-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  background-color: rgba(255, 255, 255, 0.06);
  padding: 4px 12px;
  border-radius: var(--zg-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: #080b11;
  border-top: 1px solid var(--zg-border);
  padding: 60px 0 30px;
  margin-top: auto;
  font-size: 0.9rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__col-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--zg-text-primary);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.footer__brand-p {
  color: var(--zg-text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  color: var(--zg-text-secondary);
  transition: var(--zg-transition);
}

.footer__link:hover {
  color: var(--zg-accent-gold);
  transform: translateX(3px);
  display: inline-block;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--zg-text-secondary);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer__contact-icon {
  flex-shrink: 0;
  color: var(--zg-accent-primary);
  margin-top: 3px;
}

.footer__contact-link {
  color: var(--zg-text-primary);
  text-decoration: underline;
  text-decoration-color: rgba(99, 102, 241, 0.4);
}

.footer__contact-link:hover {
  color: var(--zg-accent-gold);
  text-decoration-color: var(--zg-accent-gold);
}

.footer__compliance-box {
  padding: 20px;
  background-color: #0c1018;
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-md);
  margin-bottom: 30px;
  font-size: 0.84rem;
  color: var(--zg-text-muted);
  line-height: 1.65;
}

.footer__compliance-p:not(:last-child) {
  margin-bottom: 10px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--zg-border);
  color: var(--zg-text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   Age Gate Modal (Pop-up 19+)
   ========================================================================== */

.ag-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(5, 7, 12, 0.95);
}

html:not(.ag-lock) .ag-modal {
  display: none;
}

.ag-lock body {
  overflow: hidden;
}

.ag-card {
  background: #161c2b;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: var(--zg-radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.ag-shield {
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  border: 2px solid var(--zg-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zg-accent-gold);
  font-size: 1.6rem;
  font-weight: 900;
  box-shadow: none;
}

.ag-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.ag-desc {
  font-size: 0.94rem;
  color: var(--zg-text-secondary);
  line-height: 1.65;
  margin-bottom: 28px;
}

.ag-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.ag-btn-yes {
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--zg-radius-md);
  background: #4f46e5;
  color: #ffffff;
  transition: var(--zg-transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.ag-btn-yes:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.ag-btn-no {
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--zg-radius-md);
  background-color: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  transition: var(--zg-transition);
}

.ag-btn-no:hover {
  background-color: rgba(239, 68, 68, 0.25);
  color: #ffffff;
}

.ag-legal {
  font-size: 0.78rem;
  color: var(--zg-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Disclaimer Standalone Page (Age Restricted)
   CRITICAL REQUIREMENT: NO SITE BROWSING FROM THIS PAGE
   ========================================================================== */

.disclaimer-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background-color: #07090f;
}

.disclaimer-card {
  background: #111520;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: var(--zg-radius-lg);
  max-width: 640px;
  width: 100%;
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.disclaimer-icon-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(239, 68, 68, 0.15);
  border: 2px solid var(--zg-accent-danger);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--zg-accent-danger);
  font-size: 1.8rem;
  font-weight: 900;
}

.disclaimer-card__h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.disclaimer-card__p {
  font-size: 0.95rem;
  color: var(--zg-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  text-align: left;
}

.disclaimer-exit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px auto 20px;
  padding: 14px 32px;
  border-radius: var(--zg-radius-full);
  background-color: #dc2626;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--zg-transition);
}

.disclaimer-exit-btn:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.disclaimer-card__meta {
  font-size: 0.8rem;
  color: var(--zg-text-muted);
  border-top: 1px solid var(--zg-border);
  padding-top: 20px;
  margin-top: 24px;
  line-height: 1.6;
}

/* ==========================================================================
   Inner Content Pages (About, FAQ, Responsible Play, Policies, Contact)
   ========================================================================== */

.page-hero {
  padding: 50px 0 40px;
  text-align: center;
  background: rgba(99, 102, 241, 0.08);
  border-bottom: 1px solid var(--zg-border);
}

.page-hero__title {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.page-hero__desc {
  font-size: 1.05rem;
  color: var(--zg-text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

.content-section {
  padding: 60px 0;
}

.prose {
  color: var(--zg-text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
}

.prose h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--zg-text-primary);
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--zg-border);
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--zg-text-primary);
  margin: 28px 0 12px;
}

.prose p {
  margin-bottom: 18px;
}

.prose ul, .prose ol {
  margin: 0 0 20px 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--zg-text-primary);
}

.legal-callout {
  background-color: var(--zg-bg-card);
  border-left: 4px solid var(--zg-accent-gold);
  border-radius: 0 var(--zg-radius-md) var(--zg-radius-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-item.is-open {
  border-color: var(--zg-accent-primary);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--zg-text-primary);
  background: none;
  cursor: pointer;
  gap: 16px;
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background-color: var(--zg-accent-primary);
  color: #ffffff;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--zg-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* Contact Form & Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: flex-start;
}

.contact-card {
  background: var(--zg-bg-card);
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-lg);
  padding: 36px 32px;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--zg-text-primary);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--zg-radius-sm);
  background-color: #0c1018;
  border: 1px solid var(--zg-border);
  color: var(--zg-text-primary);
  transition: var(--zg-transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--zg-accent-primary);
  outline: 2px solid var(--zg-accent-primary);
  outline-offset: 1px;
}

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

/* Custom "I am not a robot" Security Widget */
.security-gate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background-color: #0c1018;
  border: 1px solid var(--zg-border);
  border-radius: var(--zg-radius-sm);
  margin-bottom: 24px;
  cursor: pointer;
  user-select: none;
  transition: var(--zg-transition);
}

.security-gate:hover {
  border-color: var(--zg-accent-primary);
}

.security-gate__left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.security-gate__box {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 2px solid var(--zg-border);
  background-color: #151d2d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: var(--zg-transition);
}

.security-gate.is-verified .security-gate__box {
  background-color: var(--zg-accent-success);
  border-color: var(--zg-accent-success);
  color: #ffffff;
}

.security-gate__label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--zg-text-primary);
}

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

/* Map Container */
.map-wrap {
  width: 100%;
  height: 280px;
  border-radius: var(--zg-radius-md);
  overflow: hidden;
  border: 1px solid var(--zg-border);
  margin-top: 24px;
  background-color: #0e131d;
}

.map-wrap__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px;
  text-align: center;
  color: var(--zg-text-secondary);
  font-size: 0.9rem;
}

/* Toaster Notification */
.toaster {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: rgba(17, 23, 36, 0.95);
  border: 1px solid var(--zg-accent-primary);
  padding: 16px 22px;
  border-radius: var(--zg-radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--zg-text-primary);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.toaster.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toaster__icon {
  color: var(--zg-accent-success);
  font-size: 1.25rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }
  
  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    width: 100%;
    height: calc(100vh - 74px);
    background-color: rgba(10, 13, 20, 0.98);
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 24px;
    gap: 24px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  
  .nav.is-open {
    transform: translateX(0);
  }
  
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 18px;
  }
  
  .nav__link {
    font-size: 1.15rem;
    width: 100%;
  }
  
  .header__actions {
    width: 100%;
    margin-top: 10px;
  }
  
  .header__actions .btn-pill {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ag-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .games-grid {
    gap: 20px;
  }

  .game-card__media {
    height: 150px;
  }

  .game-card__content {
    padding: 18px;
  }
}

@media (max-width: 420px) {
  .game-card__media {
    height: 120px;
  }
}

/* Player cabinet: small screens */
@media (max-width: 640px) {
  .player-cabinet__topbar {
    padding: 10px 12px;
    gap: 10px;
  }

  .player-cabinet__now-playing {
    gap: 8px;
  }

  .player-cabinet__game-title {
    font-size: 0.92rem;
  }

  .player-cabinet__controls {
    gap: 6px;
  }

  .player-btn {
    padding: 0;
    width: 36px;
    height: 36px;
  }

  .player-btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .player-cabinet__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .game-launch__cta {
    gap: 8px;
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .player-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .player-cabinet__game-title {
    font-size: 0.85rem;
  }

  .game-launch__cta {
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .game-launch__icon {
    border-width: 6px 0 6px 10px;
  }
}

@media (max-width: 340px) {
  .player-badge {
    display: none;
  }
}
