/* ==========================================================================
   Escobar Bonus Empire — premium layer for the existing public landing page.
   Loaded AFTER style.css and escobar-core.css: it upgrades the original markup
   instead of replacing it, so every existing section keeps working.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base surface — the full-screen photo backdrop is replaced by the
      code-generated stage from escobar-core.css.
   -------------------------------------------------------------------------- */
body {
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(217, 170, 50, 0.09), transparent 60%),
    radial-gradient(90% 60% at 12% 18%, rgba(69, 184, 255, 0.06), transparent 62%),
    radial-gradient(90% 60% at 88% 30%, rgba(160, 107, 255, 0.06), transparent 62%),
    linear-gradient(180deg, var(--eb-navy) 0%, var(--eb-bg) 42%, var(--eb-void) 100%) !important;
  background-attachment: fixed !important;
  font-family: var(--eb-font);
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 78px 78px;
  -webkit-mask-image: radial-gradient(circle at 52% 26%, #000, transparent 74%);
  mask-image: radial-gradient(circle at 52% 26%, #000, transparent 74%);
}

/* Cinematic vignette — above the stage, below the UI. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--eb-z-base);
  pointer-events: none;
  box-shadow: inset 0 0 160px rgba(0, 0, 0, 0.55);
}

/* The page shell sits above the fixed stage. */
.site-header, .page-shell, .site-footer, .modal, .intro, .maintenance-screen {
  position: relative;
  z-index: var(--eb-z-raised);
}

.site-header { z-index: var(--eb-z-header); }
.modal { z-index: var(--eb-z-modal); }
.intro { z-index: var(--eb-z-intro); }
.maintenance-screen { z-index: var(--eb-z-maintenance); }

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */
.site-header {
  background: linear-gradient(180deg, rgba(6, 9, 14, 0.95), rgba(6, 9, 14, 0.78) 72%, rgba(6, 9, 14, 0.5));
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  border-bottom: 1px solid var(--eb-line-gold);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--eb-gold) 20%, var(--eb-electric) 50%, var(--eb-violet) 78%, transparent);
  opacity: 0.5;
}

.brand-emblem {
  border-radius: var(--eb-r-sm);
  background: radial-gradient(circle at 32% 26%, rgba(242, 198, 91, 0.24), transparent 66%);
  box-shadow: inset 0 0 0 1px var(--eb-line-gold), var(--eb-glow-1);
}

.brand-copy strong {
  background: linear-gradient(96deg, var(--eb-gold-bright), #fff 42%, var(--eb-gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

.main-nav .nav-link,
.main-nav .nav-button {
  position: relative;
  transition: color var(--eb-dur-fast) var(--eb-ease);
}

.main-nav .nav-link::after,
.main-nav .nav-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, var(--eb-gold), var(--eb-electric));
  transition: right var(--eb-dur-base) var(--eb-ease);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-button:hover::after,
.main-nav .nav-link:focus-visible::after,
.main-nav .nav-link.active::after { right: 0; }

/* New membership / streams entries in the existing nav. */
.main-nav .nav-link.nav-club {
  padding-inline: 12px;
  border: 1px solid var(--eb-line-gold);
  border-radius: var(--eb-r-pill);
  color: var(--eb-gold-bright);
}

.main-nav .nav-link.nav-club:hover { background: rgba(217, 170, 50, 0.1); box-shadow: var(--eb-glow-1); }

/* --------------------------------------------------------------------------
   3. Hero — copy left, particle composition right
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(16px, 3vw, 46px);
  align-items: center;
  padding-block: clamp(26px, 4vw, 52px) clamp(16px, 2vw, 26px);
}

.hero-copy { min-width: 0; }

/* Premium eyebrow: a short tracked label with a single hairline rule that stops
   right after the text. No full-width box, no card border. */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 var(--eb-s-3);
  color: var(--eb-gold);
  font-size: clamp(10px, 1vw, 11.5px);
  font-weight: 900;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-eyebrow span { flex: 0 1 auto; }

.hero-eyebrow::before {
  content: "";
  flex: none;
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--eb-gold));
}

.hero-eyebrow::after {
  content: "";
  flex: 1 1 auto;
  min-width: 12px;
  max-width: 90px;
  height: 1px;
  background: linear-gradient(90deg, var(--eb-line-gold), transparent);
}

.hero h1 {
  font-size: var(--eb-fs-3xl);
  line-height: 0.94;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero h1 span {
  background: linear-gradient(100deg, var(--eb-gold-bright), #fff 34%, var(--eb-gold) 62%, var(--eb-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 26px rgba(217, 170, 50, 0.3));
}

.hero-subtitle { color: var(--eb-ink-soft); }

/* Anchor rectangle for the canvas composition. It has no image of its own —
   only two soft light layers that sit under the particles. */
.hero-visual {
  position: relative;
  min-height: clamp(280px, 32vw, 420px);
  pointer-events: none;
}

.hero-visual__halo,
.hero-visual__frame {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  opacity: calc(var(--eb-fx, 1) * 1);
}

.hero-visual__halo {
  background:
    radial-gradient(46% 46% at 50% 48%, rgba(217, 170, 50, 0.16), transparent 68%),
    radial-gradient(62% 62% at 62% 62%, rgba(69, 184, 255, 0.09), transparent 70%);
  filter: blur(18px);
  animation: eb-hero-breathe 11s var(--eb-ease) infinite alternate;
}

.hero-visual__frame {
  inset: 12%;
  border: 1px solid rgba(217, 170, 50, 0.14);
  box-shadow: inset 0 0 60px rgba(217, 170, 50, 0.06);
  animation: eb-spin 90s linear infinite;
}

@keyframes eb-hero-breathe { to { transform: scale(1.07); opacity: 0.82; } }

@media (min-width: 901px) {
  .hero { text-align: left; }
  .hero .hero-note { justify-content: flex-start; }
  .hero .hero-subtitle { margin-left: 0; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: var(--eb-s-4); }
  .hero-visual { min-height: clamp(200px, 54vw, 300px); order: 2; }
  .hero-eyebrow { justify-content: center; }
  .hero-eyebrow::after { max-width: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual__halo, .hero-visual__frame { animation: none; }
}

/* --------------------------------------------------------------------------
   4. Existing CTAs adopt the new motion language (no markup change needed)
   -------------------------------------------------------------------------- */
.platform-spotlight,
.platform-nav {
  position: relative;
  overflow: hidden;
  transition: transform var(--eb-dur-fast) var(--eb-ease), box-shadow var(--eb-dur-base) var(--eb-ease);
}

.platform-spotlight::before,
.platform-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.26) 50%, transparent 66%);
  transform: translateX(-130%);
  transition: transform var(--eb-dur-slow) var(--eb-ease);
  pointer-events: none;
}

.platform-spotlight:hover::before,
.platform-nav:hover::before,
.platform-spotlight:focus-visible::before { transform: translateX(130%); }

.platform-spotlight:hover { box-shadow: var(--eb-glow-3), var(--eb-shadow-3); }
.platform-spotlight:active { transform: translateY(1px) scale(0.99); }

@media (prefers-reduced-motion: reduce) {
  .platform-spotlight::before, .platform-nav::before { display: none; }
}

/* --------------------------------------------------------------------------
   5. Existing cards inherit the shared card behaviour
   -------------------------------------------------------------------------- */
.official-card,
.feature-card,
.partner-card,
.custom-card,
.flank-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--eb-dur-base) var(--eb-ease), box-shadow var(--eb-dur-base) var(--eb-ease),
    border-color var(--eb-dur-base) var(--eb-ease);
}

.official-card::before,
.feature-card::before,
.partner-card::before,
.custom-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(217, 170, 50, 0.6), rgba(69, 184, 255, 0.28) 42%, rgba(160, 107, 255, 0.3) 68%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--eb-dur-base) var(--eb-ease);
}

.official-card::after,
.feature-card::after,
.partner-card::after,
.custom-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(220px circle at var(--eb-mx, 50%) var(--eb-my, 50%), rgba(255, 255, 255, 0.09), transparent 62%);
  opacity: 0;
  transition: opacity var(--eb-dur-base) var(--eb-ease);
}

.official-card:hover, .official-card:focus-visible,
.feature-card:hover, .feature-card:focus-visible,
.partner-card:hover, .partner-card:focus-visible,
.custom-card:hover, .custom-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--eb-shadow-3), var(--eb-glow-1);
}

.official-card:hover::before, .official-card:focus-visible::before,
.feature-card:hover::before, .feature-card:focus-visible::before,
.partner-card:hover::before, .partner-card:focus-visible::before,
.custom-card:hover::before, .custom-card:focus-visible::before,
.official-card:hover::after, .feature-card:hover::after,
.partner-card:hover::after, .custom-card:hover::after { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .official-card:hover, .feature-card:hover, .partner-card:hover, .custom-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   6. Section headings & live surfaces
   -------------------------------------------------------------------------- */
.section-kicker, .ornament-heading p { letter-spacing: var(--eb-tracking-wide); }

.ornament-heading h2,
.section-heading h2 {
  background: linear-gradient(100deg, #fff, var(--eb-gold-bright) 62%, var(--eb-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.01em;
}

.ornament-heading span {
  background: linear-gradient(90deg, transparent, var(--eb-gold), transparent) !important;
  opacity: 0.55;
}

.stream-card, .chat-card {
  border-color: var(--eb-line-gold);
  background: linear-gradient(160deg, var(--eb-surface-2), var(--eb-surface-1) 74%);
  box-shadow: var(--eb-shadow-3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.live-status i { box-shadow: 0 0 12px var(--eb-red), 0 0 3px #fff; }

/* --------------------------------------------------------------------------
   7. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--eb-line-gold);
  background: linear-gradient(180deg, transparent, rgba(4, 6, 10, 0.9));
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(0.7 * var(--eb-fx));
  background:
    radial-gradient(40% 120% at 12% 100%, rgba(217, 170, 50, 0.12), transparent 70%),
    radial-gradient(36% 120% at 88% 100%, rgba(69, 184, 255, 0.1), transparent 70%);
}

.site-footer > * { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   8. Modals, language switcher
   -------------------------------------------------------------------------- */
.modal-panel {
  border-color: var(--eb-line-gold);
  background: linear-gradient(155deg, var(--eb-surface-2), var(--eb-surface-1));
  box-shadow: var(--eb-shadow-4);
}

.modal-backdrop { backdrop-filter: blur(14px); }

.language-menu { border-color: var(--eb-line-gold); box-shadow: var(--eb-shadow-3); }
.language-menu button[data-lang] { transition: background var(--eb-dur-fast) var(--eb-ease), color var(--eb-dur-fast) var(--eb-ease); }
.language-menu button[data-lang][hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   9. Escobar Club entry strip (new additive section — no content removed)
   -------------------------------------------------------------------------- */
.eb-club-strip {
  width: min(var(--eb-content), 100%);
  margin: var(--eb-s-7) auto 0;
  padding: var(--eb-s-6);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--eb-s-6);
  align-items: center;
  border: 1px solid var(--eb-line-gold);
  border-radius: var(--eb-r-xl);
  background:
    radial-gradient(80% 120% at 8% 0%, rgba(217, 170, 50, 0.14), transparent 62%),
    radial-gradient(70% 120% at 92% 100%, rgba(69, 184, 255, 0.12), transparent 62%),
    linear-gradient(150deg, var(--eb-surface-2), var(--eb-surface-1));
  box-shadow: var(--eb-shadow-3);
  overflow: hidden;
}

.eb-club-strip__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--eb-gold);
  font-size: var(--eb-fs-xs);
  font-weight: 900;
  letter-spacing: var(--eb-tracking-wider);
  text-transform: uppercase;
}

.eb-club-strip h2 {
  margin: var(--eb-s-3) 0;
  font-size: var(--eb-fs-2xl);
  line-height: 1.06;
  background: linear-gradient(100deg, #fff, var(--eb-gold-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eb-club-strip p { margin: 0 0 var(--eb-s-5); color: var(--eb-ink-soft); font-size: var(--eb-fs-md); max-width: 58ch; }
.eb-club-strip__actions { display: flex; flex-wrap: wrap; gap: var(--eb-s-3); }
.eb-club-strip__facts { display: grid; gap: var(--eb-s-3); }

.eb-fact {
  display: flex;
  align-items: center;
  gap: var(--eb-s-3);
  padding: var(--eb-s-3) var(--eb-s-4);
  border: 1px solid var(--eb-line);
  border-radius: var(--eb-r-md);
  background: rgba(255, 255, 255, 0.025);
  color: var(--eb-ink-soft);
  font-size: var(--eb-fs-sm);
}

.eb-fact > span[aria-hidden] {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: var(--eb-r-sm);
  background: rgba(217, 170, 50, 0.14);
  color: var(--eb-gold-bright);
  font-size: 18px;
}

@media (max-width: 900px) {
  .eb-club-strip { grid-template-columns: 1fr; padding: var(--eb-s-5); }
}

@media (max-width: 430px) {
  .eb-club-strip { border-radius: var(--eb-r-lg); }
  .eb-club-strip__actions .eb-btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   10. Small additive blocks
   -------------------------------------------------------------------------- */
.media-more {
  display: flex;
  justify-content: flex-end;
  padding: 0 var(--eb-s-4) var(--eb-s-4);
}

.footer-rg {
  width: 100%;
  margin: var(--eb-s-4) 0 0;
  padding-top: var(--eb-s-4);
  border-top: 1px solid var(--eb-line);
  color: var(--eb-ink-faint);
  font-size: var(--eb-fs-xs);
  text-align: center;
}

.footer-links a {
  color: var(--eb-ink-soft);
  font-size: var(--eb-fs-sm);
  font-weight: 700;
}

.footer-links a:hover { color: var(--eb-gold-bright); }

#publicBoardsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--eb-s-4);
}

/* --------------------------------------------------------------------------
   11. Media slots — every promo image fills its card
   --------------------------------------------------------------------------
   Each slot has a fixed aspect-ratio (see assets/js/escobar-media-slots.js) so
   the box never collapses to a black rectangle around a small image, and the
   picture itself is positioned by the admin-selected fit mode.
   -------------------------------------------------------------------------- */
.eb-media-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: inherit;
  object-fit: cover;
  object-position: 50% 50%;
}

[data-fit="cover"] { object-fit: cover; object-position: 50% 50%; }
[data-fit="contain"] { object-fit: contain; object-position: 50% 50%; }
[data-fit="center"] { object-fit: contain; object-position: 50% 50%; padding: 7%; }
[data-fit="top"] { object-fit: cover; object-position: 50% 0%; }

/* Recommended-size hint shown while a slot has no artwork. */
.slot-hint {
  display: block;
  margin-top: 10px;
  color: var(--eb-ink-faint);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

/* --- Main sponsor card ------------------------------------------------- */
.feature-card {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.78fr);
  align-items: stretch;
}

.feature-visual {
  position: relative;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  background: radial-gradient(120% 100% at 70% 20%, rgba(217, 170, 50, 0.16), transparent 62%), var(--eb-surface-1);
}

.feature-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.feature-visual .partner-placeholder {
  position: absolute;
  inset: 0;
  align-content: center;
  padding: var(--eb-s-4);
}

/* --- Trusted-site cards -------------------------------------------------- */
.partner-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.partner-card {
  height: auto;
  aspect-ratio: 16 / 9;
}

/* --- Custom section cards ------------------------------------------------ */
.custom-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--eb-r-md);
}

/* --- Side rails ---------------------------------------------------------- */
.flank-card img { aspect-ratio: auto; object-fit: cover; }

/* --------------------------------------------------------------------------
   12. Guards
   -------------------------------------------------------------------------- */
html, body { overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }

/* --------------------------------------------------------------------------
   13. Side rails — fixed ratios instead of a stretched full-height column
   --------------------------------------------------------------------------
   The old column filled the viewport height, so a 1:2 advert left a large black
   band above and below the artwork. The cards now own their ratio and the
   column only reserves the space it actually needs.
   -------------------------------------------------------------------------- */
.flank-column {
  height: auto;
  max-height: calc(100vh - var(--header-h) - 28px);
  justify-content: flex-start;
}

.flank-card.flank-tall {
  flex: none;
  min-height: 0;
  aspect-ratio: 1 / 2;
  max-height: calc(100vh - var(--header-h) - 240px);
}

.flank-card.flank-compact {
  flex: none;
  height: auto;
  aspect-ratio: 4 / 5;
}

.flank-fallback { gap: 2px; }
.flank-fallback strong { margin: 10px 0 4px; font-size: 16px; }

/* --------------------------------------------------------------------------
   14. Account entry — the single sign-in / profile control in the header
   -------------------------------------------------------------------------- */
.account-entry { position: relative; flex: none; }

.account-signin,
.account-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--eb-line-gold);
  border-radius: var(--eb-r-pill);
  background: linear-gradient(135deg, rgba(217, 170, 50, 0.2), rgba(69, 184, 255, 0.06));
  color: var(--eb-gold-bright);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
  cursor: pointer;
  transition: box-shadow var(--eb-dur-base) var(--eb-ease), border-color var(--eb-dur-fast) var(--eb-ease),
    transform var(--eb-dur-fast) var(--eb-ease);
}

.account-signin:hover,
.account-current:hover,
.account-signin:focus-visible {
  border-color: var(--eb-gold);
  box-shadow: var(--eb-glow-2);
}

.account-signin:active { transform: translateY(1px); }
.account-signin__icon { font-size: 15px; }

.account-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--eb-gold);
  color: var(--eb-gold-ink);
  font-size: 12px;
  font-weight: 900;
}

.account-name { max-width: 12ch; overflow: hidden; text-overflow: ellipsis; }

.account-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  display: none;
  min-width: 210px;
  padding: 6px;
  border: 1px solid var(--eb-line-gold);
  border-radius: var(--eb-r-md);
  background: var(--eb-surface-1);
  box-shadow: var(--eb-shadow-3);
}

.account-menu-wrap.is-open .account-menu { display: grid; }

.account-menu a {
  padding: 10px 12px;
  border-radius: var(--eb-r-xs);
  color: var(--eb-ink-soft);
  font-size: 13px;
  font-weight: 700;
}

.account-menu a:hover { background: rgba(217, 170, 50, 0.12); color: var(--eb-gold-bright); }
.account-menu__logout { border-top: 1px solid var(--eb-line); margin-top: 4px; color: var(--eb-red-soft) !important; }

/* --------------------------------------------------------------------------
   15. Assurance / disclaimer / contact section
   -------------------------------------------------------------------------- */
.assurance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--eb-s-4);
}

.assurance-card {
  display: flex;
  flex-direction: column;
  gap: var(--eb-s-3);
  padding: var(--eb-s-5);
  border: 1px solid var(--eb-line);
  border-radius: var(--eb-r-lg);
  background: linear-gradient(155deg, var(--eb-surface-2), var(--eb-surface-1) 78%);
  box-shadow: var(--eb-shadow-2);
  transition: transform var(--eb-dur-base) var(--eb-ease), border-color var(--eb-dur-base) var(--eb-ease),
    box-shadow var(--eb-dur-base) var(--eb-ease);
}

.assurance-card:hover {
  transform: translateY(-4px);
  border-color: var(--eb-line-gold);
  box-shadow: var(--eb-shadow-3), var(--eb-glow-1);
}

.assurance-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--eb-r-sm);
  background: rgba(217, 170, 50, 0.13);
  color: var(--eb-gold-bright);
  font-size: 20px;
  font-weight: 900;
}

.assurance-card h3 { margin: 0; font-size: var(--eb-fs-lg); color: var(--eb-ink); }
.assurance-card p { margin: 0; color: var(--eb-ink-soft); font-size: var(--eb-fs-sm); line-height: 1.65; }
.assurance-card .eb-btn { margin-top: auto; align-self: flex-start; }

.assurance-card[data-assurance="disclaimer"] .assurance-card__icon { background: rgba(255, 159, 46, 0.14); color: var(--eb-amber); }
.assurance-card[data-assurance="contact"] .assurance-card__icon { background: rgba(69, 184, 255, 0.14); color: var(--eb-electric); }

.compliance-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--eb-s-3);
  margin: var(--eb-s-5) 0 0;
  padding: 0;
  list-style: none;
}

.compliance-row li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: var(--eb-s-3) var(--eb-s-4);
  border: 1px solid var(--eb-line);
  border-radius: var(--eb-r-md);
  background: rgba(255, 255, 255, 0.02);
  color: var(--eb-ink-muted);
  font-size: var(--eb-fs-xs);
  line-height: 1.6;
}

.compliance-badge {
  flex: none;
  display: grid;
  place-items: center;
  min-width: 32px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid var(--eb-line-gold);
  border-radius: var(--eb-r-pill);
  color: var(--eb-gold);
  font-size: 10px;
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   16. Footer developer credit
   -------------------------------------------------------------------------- */
.creator-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  justify-self: end;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: var(--eb-r-pill);
  color: var(--eb-ink-faint);
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: color var(--eb-dur-fast) var(--eb-ease), border-color var(--eb-dur-fast) var(--eb-ease);
}

.creator-credit strong { color: var(--eb-gold); font-weight: 800; }
.creator-credit:hover { color: var(--eb-ink-soft); border-color: var(--eb-line-gold); }
.creator-credit:hover strong { color: var(--eb-gold-bright); }

/* --------------------------------------------------------------------------
   17. Responsive corrections for the new blocks
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .account-name { display: none; }
  .account-signin { padding: 0 12px; }
}

@media (max-width: 1024px) {
  .header-inner { flex-wrap: nowrap; }
  .account-entry { order: 2; margin-left: auto; }
  .language-switcher { order: 3; margin-left: 0; }
  .menu-toggle { order: 4; margin-left: 0; }
  .main-nav { order: 5; }
}

@media (max-width: 768px) {
  .account-signin span:not(.account-signin__icon) { display: none; }
  .account-signin { width: 40px; padding: 0; justify-content: center; }
  .account-signin__icon { font-size: 18px; }
  .footer-inner { row-gap: var(--eb-s-3); }
  .creator-credit { justify-self: center; }
  .compliance-row li { font-size: 11px; }
}

/* --------------------------------------------------------------------------
   18. Home player — provider aware
   -------------------------------------------------------------------------- */
.video-stage .direct-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border: 0;
  background: #050607;
  object-fit: contain;
}

/* Chat can be switched off per source in the admin panel. */
body.no-chat .live-grid { grid-template-columns: minmax(0, 1fr); }
body.no-chat .mobile-live-actions { grid-template-columns: 1fr; }

.partner-placeholder .slot-hint,
.flank-fallback .slot-hint { max-width: 26ch; text-align: center; }

/* --------------------------------------------------------------------------
   19. Grid balance — no half-empty rows
   --------------------------------------------------------------------------
   The original grids had a fixed column count, so four official pages left a
   fifth empty cell and a single main sponsor sat next to a void.
   -------------------------------------------------------------------------- */
.official-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.feature-grid { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }

@media (max-width: 768px) {
  .official-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .feature-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
}

/* Hero note now follows the subtitle, so it reads as a footnote to the copy. */
.hero .hero-note {
  width: auto;
  max-width: 56ch;
  margin: var(--eb-s-4) 0 0;
  text-align: left;
}

@media (max-width: 900px) {
  .hero .hero-note { margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   20. Mobile corrections for the reworked cards and hero
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  /* Stack the main sponsor card: artwork first, copy underneath. */
  .feature-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .feature-card .feature-visual {
    grid-row: 1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .feature-card .feature-copy { grid-row: 2; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(29px, 8.4vw, 38px); }
  .hero-eyebrow { letter-spacing: 0.22em; }
  .assurance-card { padding: var(--eb-s-4); }
}

/* ==========================================================================
   21. güncel v1 — centred hero, particle band, full-bleed sponsors
   ==========================================================================
   The hero used to be a two-column block with the title pushed to the bottom
   left. It is now one centred composition: the title owns the optical centre,
   the motion sits behind it and nothing overlaps the sticky header or the side
   advertising rails.
   ========================================================================== */

.hero {
  display: block;
  position: relative;
  isolation: isolate;
  /* Deliberately not 100vh — the page must not start with an empty screen. */
  min-height: clamp(360px, 46vh, 520px);
  padding-block: clamp(30px, 5vw, 68px) clamp(20px, 3vw, 40px);
  text-align: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(940px, 100%);
  margin-inline: auto;
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1.4vw, 18px);
}

/* Code-generated backdrop for the title: three gold orbit rings and one soft
   light pool. No photograph, no character, no decorative bitmap. */
.hero-stage {
  position: absolute;
  inset: -6% -2% 0;
  z-index: 0;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(217, 170, 50, 0.16);
  opacity: calc(var(--eb-fx, 1) * 1);
}

.hero-orbit--outer {
  width: min(760px, 92vw);
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(69, 184, 255, 0.14);
  animation: eb-spin 120s linear infinite;
}

.hero-orbit--mid {
  width: min(540px, 70vw);
  aspect-ratio: 1;
  border-color: rgba(217, 170, 50, 0.22);
  box-shadow: 0 0 70px rgba(217, 170, 50, 0.08) inset;
  animation: eb-spin 78s linear infinite reverse;
}

.hero-orbit--inner {
  width: min(340px, 52vw);
  aspect-ratio: 1;
  border-color: rgba(160, 107, 255, 0.2);
  animation: eb-spin 54s linear infinite;
}

.hero-glow {
  position: absolute;
  width: min(720px, 96vw);
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(46% 46% at 50% 46%, rgba(217, 170, 50, 0.2), transparent 70%),
    radial-gradient(58% 58% at 62% 62%, rgba(69, 184, 255, 0.1), transparent 72%);
  filter: blur(26px);
}

/* Premium typography: tighter tracking, optical balance, gradient on the second
   word. The title always stays in front of the effects. */
.hero-eyebrow { justify-content: center; margin-bottom: 0; }
.hero-eyebrow::after { max-width: 60px; }

.hero h1 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(38px, 6.4vw, 86px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}

/* An admin <br> becomes a controlled break that only applies below 900px. */
.hero h1 .hero-break { display: none; }

.hero-subtitle {
  max-width: 62ch;
  margin: 0;
  color: var(--eb-ink-soft);
  font-size: clamp(14px, 1.25vw, 17px);
  text-wrap: pretty;
}

.hero-actions {
  margin-top: clamp(8px, 1.4vw, 16px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--eb-s-3);
}

.hero .platform-spotlight { display: flex; width: auto; min-width: min(360px, 100%); margin: 0; }

.hero-link {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: var(--eb-s-3);
  padding: 12px 20px;
  border: 1px solid var(--eb-line);
  border-radius: var(--eb-r-lg);
  background: rgba(255, 255, 255, 0.03);
  color: var(--eb-ink);
  text-align: left;
  transition: border-color var(--eb-dur-fast) var(--eb-ease), background var(--eb-dur-fast) var(--eb-ease), transform var(--eb-dur-fast) var(--eb-ease);
}

.hero-link:hover, .hero-link:focus-visible {
  border-color: var(--eb-line-gold);
  background: rgba(217, 170, 50, 0.09);
  transform: translateY(-2px);
}

.hero-link > span[aria-hidden] { color: var(--eb-gold-bright); font-size: 19px; }
.hero-link__copy { display: grid; gap: 2px; }
.hero-link__copy strong { font-size: var(--eb-fs-sm); }
.hero-link__copy small { max-width: 34ch; color: var(--eb-ink-muted); font-size: var(--eb-fs-xs); line-height: 1.5; }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-block: clamp(22px, 6vw, 34px) clamp(14px, 3vw, 22px); }
  .hero h1 { font-size: clamp(30px, 8.6vw, 46px); max-width: 100%; }
  .hero h1 .hero-break { display: block; height: 0; }
  .hero-orbit--outer { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero .platform-spotlight { min-width: 0; }
  .hero-link { min-height: 64px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: clamp(27px, 9vw, 38px); letter-spacing: -0.025em; }
  .hero-subtitle { font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-orbit { animation: none; }
}

/* --------------------------------------------------------------------------
   Particle text band
   --------------------------------------------------------------------------
   Its own canvas, independent of the background stage, so the two engines never
   fight over one drawing surface.
   -------------------------------------------------------------------------- */
.particle-band {
  position: relative;
  height: clamp(150px, 20vw, 260px);
  margin-block: clamp(4px, 1vw, 14px) clamp(10px, 2vw, 22px);
  border-radius: var(--eb-r-xl);
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 50% 50%, rgba(160, 107, 255, 0.08), transparent 70%),
    radial-gradient(40% 90% at 20% 50%, rgba(217, 170, 50, 0.07), transparent 72%);
}

.particle-band::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.particle-band__canvas { display: block; width: 100%; height: 100%; }

@media (max-width: 768px) {
  .particle-band { height: clamp(120px, 34vw, 170px); }
}

/* --------------------------------------------------------------------------
   Main sponsor — full-bleed banner
   --------------------------------------------------------------------------
   The artwork fills the whole card. There is no second copy panel next to it;
   when the admin turns text or button on they are drawn as an overlay.
   The recommended source size lives in assets/js/escobar-media-slots.js and
   must stay in sync with the aspect-ratio below (16 / 5).
   -------------------------------------------------------------------------- */
.feature-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); }

.feature-card--full {
  display: block;
  position: relative;
  min-height: 0;
  padding: 0;
  aspect-ratio: 16 / 5;
  overflow: hidden;
  border-radius: var(--eb-r-xl);
  transition: transform var(--eb-dur-base) var(--eb-ease), border-color var(--eb-dur-base) var(--eb-ease), box-shadow var(--eb-dur-base) var(--eb-ease);
}

.feature-card--full .feature-visual {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 0;
  border-radius: inherit;
  background: linear-gradient(140deg, var(--eb-surface-2), var(--eb-surface-1));
}

/* object-fit is chosen by the admin; `fill` is never used, so a GIF or a banner
   is never squashed. */
.feature-card--full .feature-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: inherit;
  transition: transform 900ms var(--eb-ease);
}

.feature-card--full .partner-placeholder {
  position: absolute;
  inset: 0;
  align-content: center;
}

.feature-overlay {
  position: absolute;
  z-index: 3;
  inset: auto 0 0 0;
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: clamp(14px, 2.4vw, 26px);
  text-align: left;
  background: linear-gradient(0deg, rgba(4, 6, 10, 0.88), rgba(4, 6, 10, 0.35) 62%, transparent);
  pointer-events: none;
}

.feature-overlay span { color: var(--eb-gold); font-size: 11px; font-weight: 900; letter-spacing: 0.14em; }
.feature-overlay h3 { margin: 0; font-size: clamp(19px, 2.4vw, 30px); }
.feature-overlay p { margin: 0; max-width: 60ch; color: var(--eb-ink-soft); font-size: var(--eb-fs-sm); }
.feature-overlay b {
  margin-top: 4px;
  display: inline-flex;
  padding: 9px 16px;
  border-radius: var(--eb-r-sm);
  background: var(--eb-gold);
  color: var(--eb-gold-ink);
  font-size: 12px;
}

/* Premium hover: light lift plus a slow zoom on the artwork only. */
.feature-card--full:hover .feature-visual img,
.feature-card--full:focus-visible .feature-visual img { transform: scale(1.035); }

@media (prefers-reduced-motion: reduce) {
  .feature-card--full .feature-visual img { transition: none; }
  .feature-card--full:hover .feature-visual img { transform: none; }
}

@media (max-width: 768px) {
  /* A 16:5 banner becomes too short on a phone; 21:9 keeps it readable. */
  .feature-card--full { aspect-ratio: 21 / 9; }
  .feature-overlay { padding: 14px; }
}

/* Optional overlay for the recommended-site cards (off by default). */
.partner-overlay {
  position: absolute;
  z-index: 3;
  inset: auto 0 0 0;
  display: grid;
  justify-items: start;
  gap: 4px;
  padding: 14px 16px;
  text-align: left;
  background: linear-gradient(0deg, rgba(4, 6, 10, 0.86), transparent);
  pointer-events: none;
}

.partner-overlay span { color: var(--eb-gold); font-size: 10px; font-weight: 900; letter-spacing: 0.14em; }
.partner-overlay strong { font-size: var(--eb-fs-md); }
.partner-overlay p { margin: 0; color: var(--eb-ink-soft); font-size: var(--eb-fs-xs); }
.partner-overlay b {
  margin-top: 4px;
  padding: 7px 13px;
  border-radius: var(--eb-r-sm);
  background: rgba(217, 170, 50, 0.16);
  color: var(--eb-gold-bright);
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Intro — photograph free
   -------------------------------------------------------------------------- */
.intro--particle { background: radial-gradient(circle at 50% 42%, rgba(217, 170, 50, 0.1), transparent 58%), #04060a; }

.intro-particle {
  position: relative;
  width: min(1080px, 94vw);
  height: min(58vh, 460px);
  display: grid;
  place-items: center;
}

.intro-particle__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.intro-particle__ring {
  position: absolute;
  width: min(360px, 62vw);
  aspect-ratio: 1;
  border: 1px solid rgba(217, 170, 50, 0.24);
  border-radius: 50%;
  animation: eb-spin 42s linear infinite;
}

.intro-particle__ring--wide {
  width: min(560px, 88vw);
  border-style: dashed;
  border-color: rgba(69, 184, 255, 0.16);
  animation-duration: 76s;
  animation-direction: reverse;
}

.intro-media[hidden], .intro-particle[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .intro-particle__ring { animation: none; }
}

/* --------------------------------------------------------------------------
   Footer + nav additions
   -------------------------------------------------------------------------- */
.footer-links button { min-height: 34px; padding-inline: 4px; }
.main-nav .nav-button[data-eb-contact] { color: var(--eb-gold-bright); }

/* Touch targets stay comfortable on a phone. */
@media (max-width: 768px) {
  .footer-links { gap: 10px 16px; }
  .footer-links a, .footer-links button { min-height: 40px; display: inline-flex; align-items: center; }
}

/* The developer credit stays exactly as it is; only its tap area grows. */
@media (max-width: 768px) {
  .footer-inner .creator-credit { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
}
