/* ============================================================
   Big Bang Empire — promotional site stylesheet
   Theme: Hollywood red carpet / glitter & red lights (LIGHT)
   Unique per-game design. No inline styles anywhere in HTML.
   ============================================================ */

:root {
  --bg: #fdf6f0;
  --card: #ffffff;
  --ink: #351a24;
  --muted: #7d626b;
  --accent: #d81b60;
  --accent-dark: #a4133c;
  --gold: #e3a53c;
  --line: #f0dfd6;
  --foot: #2a1119;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 10px 30px rgba(53, 26, 36, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
}

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

h1, h2, h3 { font-family: var(--serif); line-height: 1.25; color: var(--ink); }

h1 { font-size: 2.6rem; margin: 0 0 0.4em; }
h2 { font-size: 1.9rem; margin: 0 0 0.6em; }
h3 { font-size: 1.25rem; margin: 0 0 0.4em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: bold;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ff5c8a, var(--accent-dark));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(216, 27, 96, 0.35);
}

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

.site-nav a.nav-link { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.site-nav a.nav-link:hover { color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.3rem;
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
}

/* ---------- Buttons ---------- */
.btn-play {
  display: inline-block;
  background: linear-gradient(135deg, #ff2d6f, var(--accent-dark));
  color: var(--white) !important;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(216, 27, 96, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-play:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(216, 27, 96, 0.45); }

.btn-play-lg { padding: 15px 38px; font-size: 1.1rem; }

.btn-ghost {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  padding: 11px 26px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover { background: var(--accent); color: var(--white); text-decoration: none; }

/* ---------- Hero (index) ---------- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(227, 165, 60, 0.18), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(216, 27, 96, 0.10), transparent 50%),
    var(--bg);
  text-align: center;
}

.hero-kicker {
  display: inline-block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}

.hero h1 { font-size: 3.1rem; }
.hero h1 em { font-style: italic; color: var(--accent); }

.tagline {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 30px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-img {
  margin: 44px auto 0;
  max-width: 900px;
  border-radius: 18px;
  border: 6px solid var(--white);
  box-shadow: 0 24px 60px rgba(53, 26, 36, 0.22);
}

.hero-img img { border-radius: 12px; width: 100%; }

/* ---------- Hero (sub-pages) ---------- */
.hero-subpage {
  padding: 56px 0 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(ellipse at 80% 0%, rgba(227, 165, 60, 0.14), transparent 50%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero-subpage h1 { font-size: 2.5rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 780px; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-title {
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 8px;
}
.section-title::after {
  content: "★";
  display: block;
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.6em;
  margin-top: 6px;
}

.section-desc { text-align: center; color: var(--muted); max-width: 680px; margin: 0 auto 36px; }

/* ---------- Facts table ---------- */
.facts-table {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.facts-table th, .facts-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.98rem;
}
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: none; }
.facts-table th {
  width: 38%;
  background: #fdf1f5;
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.feature-card:hover { transform: translateY(-4px); }

.feature-card:nth-child(2) { border-top-color: var(--gold); }
.feature-card:nth-child(3) { border-top-color: #7b2d8b; }
.feature-card:nth-child(4) { border-top-color: #c0392b; }
.feature-card:nth-child(5) { border-top-color: #2e86ab; }
.feature-card:nth-child(6) { border-top-color: #b37b2d; }

.feature-card .star { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.2em; }
.feature-card h3 { margin: 10px 0 8px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: var(--card);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: 0 14px 34px rgba(53, 26, 36, 0.18); text-decoration: none; }
.gallery-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 5, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}
.lightbox.open { display: flex; }

.lb-frame {
  max-width: min(1000px, 92vw);
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.lb-frame img { max-height: 76vh; width: auto; margin: 0 auto; }

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--accent); border-color: var(--accent); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

.lb-counter { color: rgba(255, 255, 255, 0.85); margin-top: 16px; font-size: 0.95rem; letter-spacing: 0.1em; }
.lb-caption { color: rgba(255, 255, 255, 0.9); max-width: 720px; text-align: center; margin: 14px 0 0; font-size: 0.98rem; }

/* ---------- Quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.quote {
  background: var(--card);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
  margin: 0;
}
.quote p { margin: 0 0 10px; color: var(--ink); font-style: italic; }
.quote-author { display: block; font-style: normal; font-weight: 700; color: var(--accent-dark); font-size: 0.92rem; }

/* ---------- Play banner ---------- */
.play-banner {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(120deg, #4a0d22, var(--accent-dark) 45%, #d81b60);
  color: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(164, 19, 60, 0.35);
}
.play-banner h2 { color: var(--white); font-size: 2.1rem; margin-bottom: 10px; }
.play-banner p { color: rgba(255, 255, 255, 0.92); max-width: 620px; margin: 0 auto 26px; }

/* ---------- Article / sub-page prose ---------- */
.article { max-width: 800px; margin: 0 auto; }
.article p { margin: 0 0 1.1em; }
.article ul, .article ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.article li { margin-bottom: 0.5em; }

.shot-figure {
  margin: 28px auto;
  max-width: 640px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.shot-figure img { border-radius: 10px; width: 100%; }
.shot-figure figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
  padding: 10px 6px 4px;
}

/* ---------- Role / tip lists ---------- */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.role-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.role-card h3 { color: var(--accent-dark); }
.role-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.tip-list { counter-reset: tip; list-style: none; padding-left: 0; }
.tip-list li {
  counter-increment: tip;
  position: relative;
  padding-left: 48px;
  margin-bottom: 16px;
}
.tip-list li::before {
  content: counter(tip);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d6f, var(--accent-dark));
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}
.faq-item h3 { font-size: 1.12rem; color: var(--accent-dark); margin-bottom: 6px; }
.faq-item p { margin: 0; color: var(--ink); }
.faq-item .faq-answer { margin-top: 6px; }

/* ---------- Info table (sysreq-style) ---------- */
.info-table {
  width: 100%;
  max-width: 720px;
  margin: 28px auto;
  border-collapse: collapse;
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.info-table th, .info-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.96rem;
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { background: #fdf1f5; color: var(--accent-dark); font-weight: 700; width: 40%; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--foot);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0 30px;
  margin-top: 40px;
  text-align: center;
}
.site-footer .copyright { font-size: 0.9rem; margin-bottom: 18px; }

.lang-switch, .lang-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang-switch a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lang-switch a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); text-decoration: none; }
.lang-switch a.active { background: var(--accent); border-color: var(--accent); color: var(--white); }

/* ---------- Responsive: 768px ---------- */
@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 2.1rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero-subpage h1 { font-size: 2rem; }
  .feature-grid, .role-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
    box-shadow: 0 18px 40px rgba(53, 26, 36, 0.12);
  }
  .site-nav.open { display: flex; }
  .site-nav a.nav-link { padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .site-nav .btn-play { margin-top: 14px; }
}

/* ---------- Responsive: 480px ---------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.8rem; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.95rem; }
  .feature-grid, .role-grid, .gallery-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .facts-table th, .facts-table td { padding: 11px 14px; font-size: 0.9rem; }
  .facts-table th { width: 42%; }
  .lightbox { padding: 18px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .brand { font-size: 1.05rem; }
  .play-banner { padding: 44px 18px; }
}
