/* ==========================================================================
   BackroadVanAdventures.com — Top in Australia 2026
   Clean High-Performance Stylesheet (Sub-2s Mobile Load, 0 Backdrop-Filter, 0 Glow Slop)
   ========================================================================== */

:root {
  /* Color Tokens - High Contrast WCAG 2.1 AA Compliant Palette */
  --bg-dark: #040d13;
  --bg-card: #081924;
  --bg-card-hover: #0c2332;
  --bg-header: #071722;
  --bg-glass-border: rgba(0, 230, 118, 0.35);

  --accent-gold: #ffc107;
  --accent-gold-bright: #ffea00;
  --accent-gold-dark: #ff8f00;

  --accent-emerald: #00e676;
  --accent-emerald-dark: #00b0ff;

  --text-main: #ffffff;
  --text-muted: #e2e8f0;
  --text-dim: #cbd5e1;

  --border: rgba(255, 255, 255, 0.15);
  --border-gold: rgba(255, 193, 7, 0.6);

  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --transition-fast: 0.15s ease;
  --transition-mid: 0.3s ease;

  --font-head: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  padding-top: 76px;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

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

:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

/* Section Containment for PageSpeed */
.section, .pc-whitepage-content {
  content-visibility: auto;
  contain-intrinsic-size: 600px;
}

/* ==========================================================================
   BUTTONS & LINK STYLES
   ========================================================================== */

a {
  color: var(--accent-emerald);
  text-decoration: underline;
  text-decoration-color: var(--accent-emerald);
  text-underline-offset: 4px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

a:hover,
a:focus-visible {
  color: var(--accent-gold-bright);
  text-decoration-color: var(--accent-gold-bright);
}

a.brand-logo {
  text-decoration: none !important;
}

.btn,
a.btn,
a.mobile-btn-claim,
a.btn-header-cta,
a.modal-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
  text-decoration: none !important;
}

.btn--primary,
a.btn--primary,
a.mobile-btn-claim,
a.btn-header-cta,
a.modal-action-btn {
  background: var(--accent-gold);
  color: #040d12 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn--primary:hover,
a.btn--primary:hover,
a.mobile-btn-claim:hover,
a.btn-header-cta:hover,
a.modal-action-btn:hover {
  transform: translateY(-2px);
  background: var(--accent-gold-bright);
}

.btn--emerald,
a.btn--emerald {
  background: var(--accent-emerald);
  color: #040d12 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn--emerald:hover,
a.btn--emerald:hover {
  transform: translateY(-2px);
  background: #26ff8c;
}

.btn--secondary,
a.btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main) !important;
  border: 1px solid var(--border);
}

.btn--secondary:hover,
a.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-emerald);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.78rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  height: 76px;
  background: var(--bg-header) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
}

.header-container {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: #0d2838;
  border: 1px solid var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: #ffffff;
}

.logo-title span {
  color: var(--accent-emerald);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-link {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--accent-emerald);
}

.mobile-nav-toggle {
  display: none;
  background: #0c2332;
  border: 1px solid var(--border);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 9998;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-drawer-link {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   MOBILE-ONLY CASINO BLOCK
   ========================================================================== */

.mobile-only-casino-events {
  display: block;
  padding: 1rem 0.75rem 2.5rem 0.75rem;
}

.mobile-casino-header {
  text-align: center;
  margin-bottom: 1.2rem;
}

.mobile-geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #081924;
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.mobile-main-title {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
}

.mobile-main-title span {
  color: var(--accent-gold-bright);
}

.mobile-vitrine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mobile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-card-banner {
  height: 110px;
  background-size: cover;
  background-position: center;
  position: relative;
  margin: 0;
}

.mobile-badge-top {
  position: absolute;
  top: 6px;
  left: 6px;
  background: #040d13;
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  font-size: 0.6rem;
  font-weight: 800;
}

.mobile-timer-badge {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: rgba(4, 13, 19, 0.9);
  color: var(--accent-gold-bright);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mobile-card-body {
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.mobile-card-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 8px;
}

.mobile-prize-box {
  background: #040d13;
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 8px;
}

.mobile-prize-label {
  font-size: 0.58rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

.mobile-prize-amount {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--accent-gold-bright);
}

/* SlotsPlus.fr Button Architecture */
.btn-accéder {
  position: relative;
  display: block;
  width: 100%;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease;
  margin-top: auto;
}

.btn-accéder p {
  position: relative;
  z-index: 2;
  margin: 0;
  border-radius: 10px;
  background: var(--accent-gold);
  box-shadow: 2px 2px 0 0 #ffffff;
  text-wrap: nowrap;
  color: #000000 !important;
  font-family: 'Plus Jakarta Sans', var(--font-head), sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.38px;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 4px;
}

.shdewenrhwer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -5;
}

.btn-accéder:hover {
  transform: translateY(-2px);
}

/* Desktop PC Layout Switch */
@media (min-width: 992px) {
  .mobile-only-casino-events {
    display: none !important;
  }
}

/* ==========================================================================
   DESKTOP WHITEPAGE CONTENT
   ========================================================================== */

.pc-whitepage-content {
  display: block;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero-section {
  padding: 4rem 0 3rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #081924;
  color: var(--accent-emerald);
  border: 1px solid rgba(0, 230, 118, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.hero-main-title {
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.hero-main-title span {
  color: var(--accent-emerald);
}

.hero-description {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
  max-width: 620px;
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  list-style: none;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-emerald);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  margin: 0;
}

.hero-media-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.floating-glass-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(8, 25, 36, 0.95);
  border: 1px solid var(--accent-emerald);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
}

/* Info Strip Disclaimer Box */
.info-strip {
  background: #081924;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.section {
  padding: 3.8rem 0;
}

.section-header-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

.section-badge-pill {
  display: inline-block;
  color: var(--accent-emerald);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.85rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Asymmetric Concepts Flow (Breaks 3-Column AI Pattern) */
.concepts-asymmetric-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .concepts-asymmetric-flow {
    grid-template-columns: 1.4fr 1fr;
  }
  .concept-card--featured {
    grid-row: span 2;
  }
}

.concept-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.concept-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-emerald);
}

.concept-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  margin: 0;
}

.concept-card--featured .concept-card-image {
  height: 320px;
}

.concept-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concept-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin: 0;
}

.concept-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.concept-card-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.concept-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin-bottom: 1.5rem;
}

.concept-tag {
  background: #040d13;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
}

.concept-card-footer {
  margin-top: auto;
}

.concept-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #040d13;
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.concept-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #040d13;
  color: #ffffff;
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Features Grid */
.features-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  list-style: none;
}

.feature-strip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.feature-strip-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #040d13;
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-strip-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.feature-strip-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Cities Grid */
.cities-grid-4col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  list-style: none;
}

.city-showcase-card {
  position: relative;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 0;
}

.city-showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.city-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 10, 15, 0.95) 0%, transparent 60%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
}

.city-name {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.city-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.city-region-tag {
  align-self: flex-start;
  background: rgba(0, 230, 118, 0.15);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.65rem;
  font-weight: 800;
}

/* FAQ Accordion */
.faq-accordion-box {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  display: none;
  margin-bottom: 0;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer Requisites */
.site-footer {
  background: #02070b;
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem 0;
  margin-top: 4rem;
}

.company-requisites-box {
  background: #040d13;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-style: normal;
}

.req-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-emerald);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.req-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.req-item {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.req-item span {
  color: var(--text-main);
  font-weight: 600;
}

.gambling-warning-bar {
  background: rgba(255, 23, 68, 0.1);
  border: 1px solid rgba(255, 23, 68, 0.3);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.eighteen-plus-badge {
  background: #ff1744;
  color: #ffffff;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.9rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #081924;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
}
