/* Night Bazaar — standalone stylesheet for the static SEO article pages.
   Yeh pages React app ke bahar hain (crawler ko seedha HTML mile), isliye
   Tailwind build par depend nahi karte. */

:root {
  --night: #0B0714;
  --night-2: #150C21;
  --night-3: #221430;
  --cream: #FFF6E8;
  --cream-dim: #C9BBD6;
  --cream-faint: #8E7FA0;
  --saffron: #FF8A00;
  --magenta: #FF2D74;
  --teal: #00D3A7;
  --gold: #FFC53D;
  --line: rgba(255, 246, 232, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: Karla, system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(55% 40% at 10% 0%, rgba(255, 138, 0, 0.16), transparent 70%),
    radial-gradient(50% 40% at 92% 8%, rgba(255, 45, 116, 0.13), transparent 70%);
}

.wrap { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: Khand, sans-serif; font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); margin-bottom: 18px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 52px 0 14px; }
h3 { font-size: 1.35rem; margin: 32px 0 8px; }
p { margin: 0 0 18px; color: rgba(255, 246, 232, 0.72); }
strong { color: var(--cream); }
a { color: var(--gold); text-decoration-color: rgba(255, 197, 61, 0.4); text-underline-offset: 3px; }
a:hover { color: var(--saffron); }

.flame {
  background: linear-gradient(96deg, #FFC53D 0%, #FF8A00 42%, #FF2D74 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* header / footer */
.bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 7, 20, 0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Khand, sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--cream); text-decoration: none; }
.brand img { width: 30px; height: 30px; }

.btn {
  display: inline-block;
  background: linear-gradient(96deg, #FF8A00, #FF2D74);
  color: #12060B; font-weight: 800; text-decoration: none;
  padding: 13px 24px; border-radius: 999px;
  box-shadow: 0 12px 30px -12px rgba(255, 45, 116, 0.9);
  transition: transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); color: #12060B; }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

.kicker { font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.72rem; color: var(--magenta); margin: 0 0 12px; }

.lede { font-size: 1.2rem; color: rgba(255, 246, 232, 0.85); }

/* article furniture */
article { padding: 48px 0 24px; }
.crumbs { font-size: 0.85rem; color: var(--cream-faint); margin-bottom: 22px; }
.crumbs a { color: var(--cream-faint); }

.card {
  background: linear-gradient(180deg, rgba(255, 246, 232, 0.07), rgba(255, 246, 232, 0.02));
  border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px; margin: 28px 0;
}
.card.lit { box-shadow: 0 0 0 1px rgba(255, 197, 61, 0.3); }
.card p:last-child { margin-bottom: 0; }

.tablewrap { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: 16px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.95rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid rgba(255, 246, 232, 0.08); }
th { font-family: Khand, sans-serif; font-size: 1.05rem; color: var(--gold); background: rgba(255, 246, 232, 0.04); }
td { color: rgba(255, 246, 232, 0.75); }
tr:last-child td { border-bottom: 0; }
.win { color: var(--teal); font-weight: 700; }
.lose { color: var(--magenta); }

ul, ol { color: rgba(255, 246, 232, 0.72); padding-left: 22px; margin: 0 0 18px; }
li { margin-bottom: 9px; }

details { border-top: 1px solid var(--line); padding: 16px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { font-family: Khand, sans-serif; font-size: 1.25rem; color: var(--cream); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--saffron); font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: '\2212'; }
details p { margin: 12px 0 0; }

.cta { text-align: center; padding: 44px 24px; margin: 56px 0 0; }
.cta h2 { margin-top: 0; }

.related { margin: 48px 0 0; }
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 10px; }

footer { border-top: 1px solid var(--line); background: var(--night-2); margin-top: 56px; padding: 34px 0; font-size: 0.9rem; color: var(--cream-faint); position: relative; z-index: 1; }
footer a { color: rgba(255, 246, 232, 0.6); text-decoration: none; margin-right: 18px; }
footer a:hover { color: var(--gold); }
.fine { font-size: 0.78rem; color: rgba(255, 246, 232, 0.32); margin-top: 18px; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .bar .brand span { display: none; }
}
