/* Blitzplayzone — social entertainment (EN · India) */
:root {
  --bg-deep: #070b12;
  --bg-panel: #0f1624;
  --bg-elevated: #141d2e;
  --text: #e8edf5;
  --text-muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #f59e0b;
  --accent-soft: rgba(245, 158, 11, 0.15);
  --pink: #e879f9;
  --cyan: #22d3ee;
  --radius: 16px;
  --radius-sm: 10px;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Georgia", "Times New Roman", serif;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: #fbbf24;
}

.disclaimer-bar {
  margin: 0;
  padding: 0.6rem 1.25rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: #05080f;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.disclaimer-bar strong {
  color: #fde68a;
  font-weight: 600;
}

.disclaimer-below {
  margin: 0;
  padding: 1.25rem 1.5rem 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--line);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer-below strong {
  color: #e2e8f0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: rgba(7, 11, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0.2rem;
}
.mobile-nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    background 0.15s,
    border-color 0.15s;
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}

.btn--primary {
  background: linear-gradient(135deg, #d97706, #f59e0b);
  color: #0a0a0a;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  color: #0a0a0a;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  cursor: pointer;
  padding: 10px 11px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem 1rem;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .burger {
    display: flex;
  }
}

.hero {
  position: relative;
  padding: 3.5rem 1.5rem 4rem;
  overflow: hidden;
  background:
    radial-gradient(
      1200px 600px at 50% -20%,
      rgba(245, 158, 11, 0.12),
      transparent 55%
    ),
    radial-gradient(
      800px 400px at 80% 40%,
      rgba(232, 121, 249, 0.08),
      transparent 50%
    ),
    linear-gradient(180deg, #0a101a 0%, var(--bg-deep) 100%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' fill-opacity='0.04'%3E%3Cpath d='M0 0h40v40H0zM40 40h40v40H40z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.hero-emoji-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.4));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 0.5rem;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero__tag {
  display: block;
  font-size: 1.15rem;
  color: #fde68a;
  font-weight: 500;
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
}

.hero__lead {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.section {
  padding: 3.5rem 1.5rem;
}

.section--tint {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--gradient {
  background: linear-gradient(160deg, #1a1030 0%, #0f1624 45%, #0a1520 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.section__intro {
  color: var(--text-muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    border-color 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.25);
}

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

.card__media {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.card__media--a {
  background: linear-gradient(135deg, #0e7490, #155e75);
}
.card__media--b {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
}
.card__media--c {
  background: linear-gradient(135deg, #b45309, #7c2d12);
}

.card__media--img {
  padding: 0;
  background: #0a0a0a;
  overflow: hidden;
}

.card__media--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1.25rem 1.35rem 1.5rem;
}

.card__body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: #f1f5f9;
}

.card__body p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}

.block-note {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  padding: 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 42rem;
}

.block-note strong {
  color: #e2e8f0;
}

.site-footer {
  background: #040609;
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem 2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #111827;
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  text-align: left;
  line-height: 1.65;
  margin: 0 0 1.5rem;
  font-size: 0.82rem;
  color: #a8b2c0;
}

.footer-disclaimer a {
  color: #6ee7b7;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.copyright {
  margin: 0;
  font-size: 0.75rem;
  color: #64748b;
}

/* Age gate & overlays */
.age-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.age-overlay[hidden] {
  display: none;
}

.age-box {
  max-width: 420px;
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.age-box h2 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  color: #fff;
}

.age-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.age-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.age-denied {
  color: #fca5a5;
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
  display: none;
}

.age-denied.is-visible {
  display: block;
}

.cookie-bar {
  position: fixed;
  z-index: 100;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  background: #0b1220f2;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar p {
  margin: 0;
  max-width: 48rem;
  text-align: center;
}

/* Legal / inner pages */
.page-main {
  padding: 2.5rem 1.5rem 3rem;
  max-width: 760px;
  margin: 0 auto;
}

.page-main h1 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.9rem;
  margin: 0 0 0.5rem;
}

.page-main .lede {
  color: var(--text-muted);
  margin: 0 0 2rem;
  font-size: 1rem;
}

.page-main h2 {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin: 2rem 0 0.6rem;
}

.page-main p,
.page-main li {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin: 0 0 0.9rem;
}

/* Game embed page */
body.game-play-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.game-play-page #main,
.game-play-page .page-game-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.page-game-head {
  margin-bottom: 0.75rem;
}

.page-game-head h1 {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  margin: 0 0 0.35rem;
}

.page-game-head p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.iframe-wrap {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: min(80vh, 900px);
  background: #05080f;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
}

.iframe-wrap iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.back-to-games {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  text-decoration: none;
}

.back-to-games:hover {
  text-decoration: underline;
}

.page-main ul {
  padding-left: 1.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
