/* ==========================================
   BDG Win – Gold on Dark (Logo-Matched Theme)
========================================== */

/* Theme Variables – Golden yellow on dark */
:root {
  --bg-main: #0c0c0c;
  --bg-section: #161616;
  --bg-card: #1e1e1e;
  --accent-gold: #d4a84b;
  --accent-gold-bright: #e8bc5e;
  --accent-gold-dim: #b8923f;
  --text-main: #f0f0f0;
  --text-soft: #9a9a9a;
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(212, 168, 75, 0.35);
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 0 18px rgba(212, 168, 75, 0.25);
  --radius-lg: 14px;
  --radius-md: 10px;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Skip link – Accessibility (focus only) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0.5rem;
  z-index: 9999;
  padding: 0.6rem 1rem;
  background: var(--accent-gold);
  color: var(--bg-main);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.5rem;
  outline: 3px solid var(--accent-gold-bright);
  outline-offset: 2px;
}

/* Focus visible – Accessibility (keyboard users) */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at 20% 15%, rgba(212, 168, 75, 0.08), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(232, 188, 94, 0.06), transparent 30%),
    radial-gradient(circle at 50% 95%, rgba(212, 168, 75, 0.05), transparent 40%),
    var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: min(92%, 1140px);
  margin: 0 auto;
  padding: 0 0.5rem;
}

/* ==========================================
   Navbar Styling – BDG Win
========================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.97), rgba(12, 12, 12, 0.92));
  border-bottom: 1px solid var(--border-gold);
  backdrop-filter: blur(12px);
}

.navbar {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.25rem;
  gap: 1.5rem;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  max-height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-gold-bright);
  border-color: var(--border-gold);
  background: rgba(212, 168, 75, 0.08);
}

.nav-links a.active {
  color: var(--accent-gold-bright);
  border-color: var(--border-gold);
  background: rgba(212, 168, 75, 0.12);
  box-shadow: 0 0 12px rgba(212, 168, 75, 0.15);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  margin: 4px 0;
  background: var(--accent-gold);
}

/* ==========================================
   Hero Section Styling
========================================== */
.hero-banner {
  position: relative;
  min-height: 72vh;
  min-height: min(72vh, 720px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: url("../images/hero.webp") center center / cover no-repeat;
  background-attachment: scroll;
}

.about-hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: none;
}

.contact-hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 14, 14, 0.85), rgba(26, 26, 26, 0.72));
}

/* Hero background image as real <img> */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-banner .hero-overlay,
.about-hero .hero-overlay,
.contact-hero .hero-overlay {
  z-index: 1;
}

.hero-content,
.about-hero-content,
.contact-hero-content {
  z-index: 2;
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
}

.about-hero-content {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
}

.contact-hero-content {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.2;
  color: var(--accent-gold);
  margin-bottom: 0.9rem;
  text-shadow: 0 0 20px rgba(212, 168, 75, 0.4);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-hero-content h1 {
  font-size: clamp(2rem, 4.3vw, 3.2rem);
  color: var(--accent-gold);
  margin-bottom: 0.7rem;
  text-shadow: 0 0 20px rgba(212, 168, 75, 0.4);
}

.contact-hero-content h1 {
  font-size: clamp(2rem, 4.3vw, 3.2rem);
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
  text-shadow: 0 0 20px rgba(212, 168, 75, 0.4);
}

.hero-content p {
  max-width: 760px;
  margin: 0 auto 1.4rem;
  color: var(--text-main);
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.6;
  word-wrap: break-word;
}

.about-hero-content p {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  color: var(--text-main);
}

.contact-hero-content p {
  max-width: 760px;
  margin: 0 auto 1.25rem;
  color: #f8f8f8;
  font-size: 1.06rem;
}

.contact-page .section {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Home hero: no full-bleed background photo; flat panel like rest of site */
.hero-banner.home-hero-banner {
  display: block;
  min-height: 0;
  background: none;
  background-image: none;
  background-color: var(--bg-section);
  border-bottom: 1px solid var(--border-soft);
}

.hero-banner.home-hero-banner .hero-overlay {
  display: none;
}

.hero-banner.home-hero-banner .hero-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1rem 2.5rem;
  box-sizing: border-box;
}

.home-hero-banner .hero-main-image {
  width: min(60vw, 760px);
  margin: 0 auto;
}

.home-hero-banner .hero-main-image img {
  width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
}

.hero-headline {
  text-align: center;
  max-width: 100%;
}

.hero-headline h1 {
  font-size: clamp(1.35rem, 2.8vw, 2.05rem);
  line-height: 1.28;
  color: var(--accent-gold);
  margin: 0;
  text-shadow: 0 0 16px rgba(212, 168, 75, 0.35);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.home-hero-banner .hero-description {
  width: 100%;
  background: var(--bg-section);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.home-hero-banner .hero-description p {
  max-width: none;
  margin: 0 0 1.1rem;
  color: var(--text-main);
  font-size: clamp(0.9375rem, 1.8vw, 1.0625rem);
  line-height: 1.6;
  word-wrap: break-word;
  text-align: left;
}

/* Refer & Earn image: increase size vs default 320px */
#refer-earn .content-image-split {
  align-items: stretch;
}

#refer-earn .content-image-split .split-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-lg);
}

#refer-earn .content-image-split .split-image img {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Also apply the same "fill remaining space" to Play & Earn (matches your screenshot) */
#play-earn .content-image-split {
  align-items: stretch;
}

#play-earn .content-image-split .split-image {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-lg);
}

#play-earn .content-image-split .split-image img {
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Image slot in content-image-split (add <img> inside figure when ready) */
.content-image-split .split-image.split-image--slot:not(:has(img)) {
  min-height: 280px;
  max-width: 320px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-gold);
  background: rgba(0, 0, 0, 0.22);
  box-sizing: border-box;
}

.content-image-split.image-left .split-image.split-image--slot:not(:has(img)) {
  margin-left: 0;
  margin-right: auto;
}

.content-image-split .split-image.split-image--slot:has(img) {
  margin: 0;
  min-height: 0;
  border: none;
  background: none;
}

/* In-page anchors clear sticky header */
.home-page main section[id] {
  scroll-margin-top: 5.5rem;
}

/* Step-by-step media list (Deposit/Withdraw) */
.step-media-list {
  margin-top: 1.2rem;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.step-media-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  grid-template-areas:
    "title image"
    "desc image";
  gap: 0.55rem 1.4rem;
  align-items: center;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.step-media-item h3 {
  grid-area: title;
  color: var(--accent-gold-bright);
  margin: 0;
  font-size: 1rem;
  align-self: end;
}

.step-media-item img {
  grid-area: image;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  max-height: 460px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 0 0 auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  background: rgba(0, 0, 0, 0.25);
}

.step-media-item p {
  grid-area: desc;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.6;
  align-self: start;
}

.step-media-item:nth-child(even) {
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  grid-template-areas:
    "image title"
    "image desc";
}

.step-media-item:nth-child(even) img {
  margin: 0 auto 0 0;
}

@media (max-width: 768px) {
  .step-media-item,
  .step-media-item:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "title"
      "desc";
    gap: 0.65rem;
    padding: 0.75rem;
  }

  .step-media-item img,
  .step-media-item:nth-child(even) img {
    max-width: min(88vw, 360px);
    max-height: none;
    margin: 0 auto;
  }
}

/* Home page image wrappers: show only image, no dark panel/border */
.home-page .content-image-split .split-image,
.home-page #refer-earn .content-image-split .split-image,
.home-page #play-earn .content-image-split .split-image {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.home-page .content-image-split .split-image img,
.home-page #refer-earn .content-image-split .split-image img,
.home-page #play-earn .content-image-split .split-image img {
  border: 0;
  box-shadow: none;
  background: transparent;
}

/* Home page — simple in-content links (no boxes) */
.home-page main a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-decoration-color: rgba(212, 168, 75, 0.45);
  text-underline-offset: 2px;
}

.home-page main a:hover {
  color: var(--accent-gold-bright);
  text-decoration-color: var(--accent-gold-bright);
}

.home-page .hero-actions a {
  text-decoration: none;
}

/* Table of contents — screen title + dropdown with spec-style table */
.toc-sr-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.toc-section {
  position: relative;
}

.toc-details {
  margin-top: 0.35rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.toc-details__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  background: transparent;
  border-bottom: 1px solid var(--border-soft);
  user-select: none;
}

.toc-details__summary::-webkit-details-marker {
  display: none;
}

.toc-details__summary-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.toc-details__summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}

.toc-details[open] .toc-details__summary::after {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}

.toc-details__title {
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--accent-gold);
}

.toc-details__sub {
  font-size: 0.86rem;
  color: var(--text-soft);
  font-weight: 500;
}

.toc-details__panel {
  padding: 0.65rem 0 0;
}

.toc-section .toc-lead {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin: 0 0 0.85rem;
  max-width: 42rem;
}

.toc-simple-list {
  margin: 0.35rem 0 0;
  padding-left: 1.35rem;
  list-style-position: outside;
}

.toc-simple-list li {
  margin: 0.32rem 0;
  color: var(--text-main);
  padding-left: 0.2rem;
}

.toc-simple-list li::marker {
  color: var(--accent-gold-bright);
  font-weight: 600;
}

/* ==========================================
   Buttons Styling
========================================== */
.btn,
.btn-small {
  display: inline-block;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn {
  padding: 0.75rem 1.45rem;
  background: linear-gradient(135deg, var(--accent-gold-dim), var(--accent-gold));
  color: #0c0c0c;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(212, 168, 75, 0.22);
}

.btn-small {
  padding: 0.55rem 1.05rem;
  background: linear-gradient(135deg, var(--accent-gold-dim), var(--accent-gold));
  color: #0c0c0c;
  font-weight: 700;
}

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

/* Keep hero download button vibrant and readable in all states */
.hero-actions .btn.btn-download-highlight {
  background: linear-gradient(135deg, #ffca52, #ff9f1a);
  color: #ffffff;
  border: 1px solid rgba(255, 206, 95, 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 206, 95, 0.35),
    0 10px 24px rgba(255, 159, 26, 0.35),
    0 0 16px rgba(255, 180, 51, 0.28);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.hero-actions .btn.btn-download-highlight:hover,
.hero-actions .btn.btn-download-highlight:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, #ffd86b, #ffac2f);
  box-shadow:
    0 0 0 1px rgba(255, 217, 122, 0.55),
    0 14px 28px rgba(255, 172, 47, 0.45),
    0 0 22px rgba(255, 196, 84, 0.35);
}

.glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 16px rgba(212, 168, 75, 0.35), 0 0 22px rgba(232, 188, 94, 0.25);
  filter: brightness(1.04);
}

/* ==========================================
   Section Styling
========================================== */
.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--bg-section);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-soft);
}

.home-page .section {
  padding: 2.8rem 0;
}

.home-page .section-head {
  margin-bottom: 1rem;
}

.home-page .section-alt {
  margin-top: 1.2rem;
  padding: 1.5rem;
}

.about-page .section {
  padding: 2.2rem 0;
}

.about-page .section-head {
  margin-bottom: 0.8rem;
}

.about-page .section-alt {
  margin-top: 0.9rem;
  padding: 1.2rem;
}

.about-page .card-grid {
  gap: 0.9rem;
}

.section-alt p + p {
  margin-top: 0.85rem;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h1,
.section-head h2 {
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
}

.section-head p {
  color: var(--text-soft);
}

/* ==========================================
   Game Cards Styling
========================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.game-card,
.info-card,
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.game-card:hover,
.info-card:hover,
.download-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-gold), var(--shadow-soft);
  border-color: var(--border-gold);
}

.game-card img {
  width: 100%;
  display: block;
}

.card-body {
  padding: 1rem;
}

.card-body h3,
.info-card h3,
.download-card h3 {
  color: var(--accent-gold-bright);
  margin-bottom: 0.5rem;
}

.card-body p,
.info-card p,
.download-card p {
  color: var(--text-soft);
  margin-bottom: 0.9rem;
}

.info-card,
.download-card {
  padding: 1rem;
}

.mission-card img {
  height: 190px;
  object-fit: cover;
}

.unique-card img {
  height: 190px;
  object-fit: cover;
}

.feature-list {
  margin-top: 0.8rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.feature-list li + li {
  margin-top: 0.45rem;
}

.home-page .section-alt .feature-list {
  color: var(--text-main);
}

.home-page .section-alt .feature-list li::marker {
  color: var(--accent-gold-bright);
  font-weight: 700;
}

.home-page .section-alt .feature-list li {
  padding-left: 0.2rem;
}

/* Trust Statistics – centered */
.section-trust-stats .section-head-center {
  text-align: center;
}

.stats-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 1rem;
}

.stats-table {
  width: 100%;
  max-width: 420px;
  border-collapse: collapse;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.stats-table th,
.stats-table td {
  padding: 0.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--border-gold);
}

.stats-table th {
  color: var(--accent-gold-bright);
  background: rgba(212, 168, 75, 0.12);
  font-weight: 700;
}

.stats-table td {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.15);
}

.stats-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.25);
}

/* Home — Trust Statistics (hero below): dark card, Stat | Value */
.home-trust-stats {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.home-trust-stats .section-head.section-head-center {
  text-align: center;
  margin-bottom: 0.75rem;
}

.home-trust-stats .section-head.section-head-center h2 {
  color: var(--accent-gold);
  margin-bottom: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.trust-stats-panel {
  background: #1a1a1a;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow-soft);
}

.stats-wrapper--trust-home {
  padding: 0;
}

.stats-table.stats-table--trust-home {
  max-width: 100%;
  width: 100%;
  margin: 0;
  box-shadow: none;
  border-radius: var(--radius-md);
}

.stats-table.stats-table--trust-home th,
.stats-table.stats-table--trust-home td {
  border: 1px solid var(--border-gold);
}

.stats-table.stats-table--trust-home thead th {
  background: rgba(48, 36, 22, 0.98);
  color: var(--accent-gold-bright);
  text-align: center;
  font-weight: 700;
}

.stats-table.stats-table--trust-home tbody td {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.2);
  text-align: left;
}

.stats-table.stats-table--trust-home tbody td:last-child {
  text-align: center;
}

.stats-table.stats-table--trust-home tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.32);
}

.faq-list {
  padding-top: 0.25rem;
}

.faq-item {
  margin-bottom: 0;
  padding: 0;
  border-bottom: 1px solid var(--border-soft);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--accent-gold-bright);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 0;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.2rem;
  border-right: 2px solid var(--accent-gold);
  border-bottom: 2px solid var(--accent-gold);
  transform: rotate(45deg);
  transition: transform 0.22s ease, border-color 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}

.faq-item summary:hover::after {
  border-color: var(--accent-gold-bright);
}

.faq-item p {
  color: var(--text-soft);
  margin: 0;
  padding: 0 0 1rem;
  line-height: 1.65;
}

.legal-content h2 {
  color: var(--accent-gold-bright);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content a {
  color: var(--accent-gold);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.disclaimer-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.form-group .required { color: var(--accent-gold); }
.form-group .optional { color: var(--text-soft); font-weight: normal; }

.community-cta {
  text-align: center;
}

.community-cta h2 {
  color: var(--accent-gold-bright);
  margin-bottom: 0.6rem;
}

.community-cta p {
  max-width: 900px;
  margin: 0 auto 1rem;
}

.fixed-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-panel h2 {
  color: var(--accent-gold-bright);
  margin-bottom: 0.45rem;
}

.blog-detail-article {
  background: var(--bg-section);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
  margin-top: 0;
}

.blog-detail-article h2 {
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.article-index h2 {
  color: var(--accent-gold-bright);
  margin-bottom: 0.7rem;
}

.detail-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.contact-intro h2,
.support-info h2 {
  color: var(--accent-gold-bright);
  margin-bottom: 0.5rem;
}

.auth-note h2 {
  color: var(--accent-gold-bright);
  margin-bottom: 0.45rem;
}

.auth-note a {
  color: var(--accent-gold);
  text-decoration: none;
}

.auth-note a:hover {
  text-decoration: underline;
}

.page-visual {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.2rem;
}

.gamex-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1.1rem;
}

.gamex-detail-grid--cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0.85rem;
}

.detail-block--with-media {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.detail-block-media {
  position: relative;
  aspect-ratio: 16 / 10;
  min-height: 140px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--border-soft);
}

.detail-block-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-block-media--slot:not(:has(img)) {
  border-bottom-style: dashed;
  border-bottom-color: var(--border-gold);
  background: rgba(0, 0, 0, 0.25);
}

.detail-block-body {
  padding: 0.9rem 1rem 1rem;
}

.detail-block h3 {
  color: var(--accent-gold-bright);
  margin-bottom: 0.3rem;
}

.detail-block p {
  color: var(--text-soft);
  margin-bottom: 0;
}

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

.blog-post-card {
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-post-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold), var(--shadow-soft);
}

.blog-post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.blog-post-body {
  padding: 1rem;
}

.blog-post-body h3 {
  color: var(--accent-gold-bright);
  margin-bottom: 0.45rem;
}

.blog-card {
  padding: 1rem;
}

.blog-meta {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.blog-overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 1rem;
  align-items: start;
}

.article-hero {
  margin-top: 1rem;
}

.article-hero img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.recent-sidebar h3 {
  color: var(--accent-gold-bright);
  margin-bottom: 0.8rem;
}

.recent-list {
  list-style: none;
}

.recent-item {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
}

.recent-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.recent-title {
  color: var(--text-main);
}

.recent-author,
.recent-date {
  display: block;
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-top: 0.2rem;
}

.recent-list li + li {
  margin-top: 0.6rem;
}

.recent-list a {
  color: var(--text-main);
  text-decoration: none;
}

.recent-list a:hover {
  color: var(--accent-gold);
}

.post-author-box {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.post-author-label {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.post-author-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.post-author-image {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-soft);
}

.post-author-name {
  color: var(--accent-gold-bright);
  font-weight: 700;
}

.post-author-bio {
  color: var(--text-soft);
  margin-top: 0.45rem;
  font-size: 0.92rem;
}

.blog-pagination {
  margin-top: 1rem;
}

.pager-wrap {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.pager-btn {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--border-gold);
  background: rgba(212, 168, 75, 0.08);
}

.pager-btn.is-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.pager-status {
  color: var(--text-soft);
}

/* Content + Image split layout (left/right sections) */
.content-image-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.2rem;
}

.content-image-split .split-content {
  min-width: 0;
}

.content-image-split .split-content h2 {
  margin-top: 0;
}

.content-image-split .split-image {
  margin: 0;
  text-align: center;
}

.content-image-split .split-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.content-image-split.image-left .split-image img {
  margin-left: 0;
  margin-right: auto;
}

.content-image-split.content-right .split-image img {
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 768px) {
  .content-image-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .content-image-split .split-image img {
    max-width: 280px;
  }

  .blog-overview-layout {
    grid-template-columns: 1fr;
  }
}

.timeline {
  margin-top: 2rem;
}

.timeline h2 {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-soft);
}

/* ==========================================
   Forms Styling
========================================== */
.narrow {
  max-width: 700px;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #171717;
  color: var(--text-main);
  padding: 0.75rem;
  outline: none;
}

.form-group select {
  cursor: pointer;
  appearance: auto;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(212, 168, 75, 0.2), 0 0 12px rgba(212, 168, 75, 0.15);
}

.error-text {
  color: #ff6b6b;
  font-size: 0.85rem;
  min-height: 1rem;
  display: block;
  margin-top: 0.25rem;
}

.form-feedback {
  margin-top: 0.8rem;
  color: var(--accent-gold);
}

.field-error {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.12) !important;
}

/* ==========================================
   Footer Styling
========================================== */
.site-footer {
  margin-top: 3rem;
  border-top: 1px solid var(--border-gold);
  background: var(--bg-section);
}

.footer-main {
  padding: 2.5rem 0 1.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.footer-col h3 {
  color: var(--accent-gold);
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.footer-about {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-about .logo {
  display: inline-flex;
  align-items: center;
}

.footer-about .logo img {
  height: 52px;
  width: auto;
  max-height: none;
}

.footer-about-note {
  margin-top: 0.6rem;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 320px;
}

.footer-col p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.5rem;
  margin-top: 0.5rem;
}

.footer-quick-links .footer-links {
  list-style: none;
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-main);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(212, 168, 75, 0.3);
}

.social-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-main);
  background: #121212;
  border: 1px solid var(--border-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.social-icon:hover {
  color: var(--accent-gold);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.newsletter-form {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1 1 180px;
  background: #121212;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--border-gold);
  box-shadow: 0 0 0 2px rgba(212, 168, 75, 0.2);
}

.footer-bottom {
  border-top: 1px solid var(--border-soft);
  text-align: center;
  padding: 1rem 0 1.2rem;
}

.footer-bottom p {
  color: var(--text-soft);
}

/* ==========================================
   Responsive Styling
========================================== */
@media (max-width: 900px) {
  .home-hero-banner .hero-main-image {
    width: min(72vw, 640px);
  }
}

@media (max-width: 640px) {
  .gamex-detail-grid--cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    min-height: 56vh;
    min-height: min(56vh, 480px);
  }

  .hero-banner.home-hero-banner {
    min-height: 0;
  }

  .hero-stack {
    padding: 1.75rem 0.65rem 2rem;
    gap: 1.15rem;
  }

  .hero-headline h1 {
    font-size: clamp(1.15rem, 3.6vw, 1.55rem);
  }

  .hero-content {
    padding: 1.75rem 0.65rem;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 4.8vw, 2rem);
  }
}

@media (max-width: 860px) {
  .container {
    width: min(96%, 1140px);
    padding: 0 0.75rem;
  }

  .navbar {
    min-height: 68px;
    padding: 0.5rem 0.75rem;
  }

  .logo img {
    height: 40px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    width: min(280px, 92vw);
    flex-direction: column;
    background: var(--bg-section);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: var(--shadow-soft), 0 0 20px rgba(212, 168, 75, 0.08);
    display: none;
    gap: 0.25rem;
  }

  .nav-links.open {
    display: flex;
    animation: menuSlide 0.25s ease;
  }

  .hero-banner {
    min-height: 58vh;
    min-height: min(58vh, 520px);
    background-position: center center;
  }

  .hero-banner.home-hero-banner {
    min-height: 0;
  }

  .about-hero,
  .contact-hero {
    min-height: 45vh;
  }

  .hero-content,
  .about-hero-content,
  .contact-hero-content {
    padding: 1.5rem 0.75rem;
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .hero-stack {
    padding: 1.5rem 0.75rem 2rem;
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }

  .hero-content h1,
  .about-hero-content h1,
  .contact-hero-content h1 {
    font-size: clamp(1.35rem, 4.5vw, 2.2rem);
    line-height: 1.25;
  }

  .home-page .hero-headline h1 {
    font-size: clamp(1.1rem, 3.5vw, 1.55rem);
    line-height: 1.28;
  }

  .hero-content p {
    margin-bottom: 1rem;
  }

  .home-hero-banner .hero-description p {
    margin-bottom: 1rem;
  }

  .home-hero-banner .hero-main-image {
    width: min(78vw, 560px);
  }

  .home-hero-banner .hero-main-image img {
    max-height: 440px;
  }

  .section {
    padding: 2rem 0;
  }

  .home-page .section {
    padding: 2rem 0;
  }

  .section-alt {
    padding: 1.25rem;
    margin-top: 1rem;
  }

  .section-head h1,
  .section-head h2 {
    font-size: clamp(1.25rem, 4vw, 1.6rem);
  }

  .stats-wrapper {
    padding: 1rem 0.5rem;
  }

  .stats-table th,
  .stats-table td {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
  }

  .gamex-detail-grid:not(.gamex-detail-grid--cols-2) {
    grid-template-columns: 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 2rem 0 1.2rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
  }

  .fixed-three,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-card,
  .support-info {
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .container {
    width: 96%;
    padding: 0 0.5rem;
  }

  .hero-banner {
    min-height: 52vh;
    min-height: min(52vh, 420px);
    background-size: cover;
    background-position: center center;
  }

  .hero-banner.home-hero-banner {
    min-height: 0;
  }

  .about-hero,
  .contact-hero {
    min-height: 40vh;
  }

  .hero-content,
  .about-hero-content,
  .contact-hero-content {
    padding: 1.25rem 0.5rem;
    padding-left: max(0.5rem, env(safe-area-inset-left));
    padding-right: max(0.5rem, env(safe-area-inset-right));
  }

  .hero-stack {
    padding: 1.25rem 0.5rem 1.75rem;
    padding-left: max(0.5rem, env(safe-area-inset-left));
    padding-right: max(0.5rem, env(safe-area-inset-right));
  }

  .hero-content h1,
  .about-hero-content h1,
  .contact-hero-content h1 {
    font-size: clamp(1.2rem, 5.5vw, 1.75rem);
    margin-bottom: 0.6rem;
  }

  .home-page .hero-headline h1 {
    font-size: clamp(1.05rem, 4.2vw, 1.45rem);
    line-height: 1.28;
    margin-bottom: 0;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
    line-height: 1.55;
  }

  .home-hero-banner .hero-description p {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
    line-height: 1.55;
  }

  .home-hero-banner .hero-main-image {
    width: min(84vw, 520px);
  }

  .home-hero-banner .hero-main-image img {
    max-height: 400px;
  }

  .stats-table {
    font-size: 0.85rem;
  }

  .stats-table th,
  .stats-table td {
    padding: 0.5rem 0.6rem;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* Table overflow on very small screens */
@media (max-width: 400px) {
  .hero-banner {
    min-height: 48vh;
    min-height: min(48vh, 380px);
  }

  .hero-banner.home-hero-banner {
    min-height: 0;
  }

  .hero-content {
    padding: 1rem 0.5rem;
  }

  .hero-stack {
    padding: 1rem 0.5rem 1.5rem;
  }

  .hero-content h1 {
    font-size: clamp(1.1rem, 6vw, 1.5rem);
  }

  .home-page .hero-headline h1 {
    font-size: clamp(1rem, 5vw, 1.35rem);
  }

  .hero-content p {
    font-size: 0.875rem;
  }

  .home-hero-banner .hero-description p {
    font-size: 0.875rem;
  }

  .home-hero-banner .hero-main-image {
    width: min(88vw, 480px);
  }

  .home-hero-banner .hero-main-image img {
    max-height: 340px;
  }

  .section-alt {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .stats-table {
    min-width: 260px;
  }
}

@keyframes menuSlide {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
