/* 9777BDT — static gaming UI (performance-first, responsive, accessible) */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  --bg-deep: #121212;
  --bg-panel: rgba(30, 30, 30, 0.88);
  --bg-elevated: rgba(24, 24, 24, 0.92);
  --stroke: rgba(212, 175, 55, 0.22);
  --text: #f5f5f5;
  --muted: #a8a8a8;
  --dim: #8a8a8a;
  --accent: #d4af37;
  --accent-2: #8a7020;
  --gold: #d4af37;
  --glow: 0 0 40px rgba(212, 175, 55, 0.2);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;
  --max: 1180px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --security-red: #e53935;
  --security-red-bright: #ff5252;
  --security-red-dark: #b71c1c;
  --security-bg: rgba(183, 28, 28, 0.18);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text);
  background: var(--bg-deep);
  font-family: var(--font-body);
  line-height: 1.65;
  font-size: clamp(0.98rem, 0.92rem + 0.35vw, 1.06rem);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

/* Atmospheric background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 700px at 10% -10%, rgba(212, 175, 55, 0.09), transparent 55%),
    radial-gradient(900px 600px at 100% 0%, rgba(90, 70, 30, 0.35), transparent 50%),
    radial-gradient(700px 500px at 50% 110%, rgba(212, 175, 55, 0.06), transparent 55%),
    linear-gradient(180deg, #121212 0%, #1a1a1a 45%, #121212 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: #121212;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  outline: 3px solid var(--accent);
}

/* HEADER */
.app-header {
  position: sticky;
  top: 0;
  z-index: 1100;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: env(safe-area-inset-top, 0) clamp(14px, 3vw, 24px) 0;
  border-bottom: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.98), rgba(18, 18, 18, 0.92));
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  contain: layout style;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

/* Logo only — no box frame, transparent, crisp placement */
.brand--logo-only {
  align-items: center;
  padding: 4px 0;
}

.brand--logo-only img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

@media (min-width: 640px) {
  .brand--logo-only img {
    width: 64px;
    height: 64px;
  }
}

@media (min-width: 1024px) {
  .brand--logo-only img {
    width: 72px;
    height: 72px;
  }
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.25rem;
  color: var(--gold);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-ico {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  opacity: 0.92;
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.menu-btn:hover,
.menu-btn:focus-visible {
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.08);
  outline: none;
}

.menu-btn svg {
  width: 21px;
  height: 21px;
}

.dropdown-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100dvh;
  max-height: none;
  display: none;
  flex-direction: column;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: linear-gradient(165deg, #101012 0%, #161618 45%, #0c0c0e 100%);
  box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.12);
}

.dropdown-menu.is-open {
  display: flex;
  animation: menuReveal 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes menuReveal {
  from {
    opacity: 0;
    transform: translate3d(12px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dropdown-menu.is-open {
    animation: none;
  }
}

.menu-panel-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(12px, env(safe-area-inset-top)) clamp(16px, 4vw, 24px) 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(8, 8, 10, 0.92);
}

.menu-panel-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.menu-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.menu-close-btn:hover,
.menu-close-btn:focus-visible {
  background: rgba(212, 175, 55, 0.12);
  border-color: rgba(212, 175, 55, 0.5);
  outline: none;
}

.menu-panel-scroll {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 max(28px, calc(env(safe-area-inset-bottom, 0px) + 20px));
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px clamp(18px, 4vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.02));
  outline: none;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

/* HERO — stacked: title → image → description (no background image) */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 48px) clamp(14px, 4vw, 28px) clamp(32px, 5vw, 64px);
  overflow: hidden;
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(16px, 3vw, 26px);
}

.hero-copy {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-copy {
    text-align: left;
    margin: 0;
  }

  .hero-intro-card {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

@media (max-width: 639px) {
  .hero-intro-card {
    text-align: center;
    max-width: 100%;
    padding: 10px 12px 12px;
    background: linear-gradient(155deg, rgba(24, 24, 28, 0.94), rgba(10, 10, 12, 0.98));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }

  .hero-intro-card .hero-badge {
    width: 100%;
    justify-content: center;
    font-size: 0.5rem;
    padding: 5px 8px;
    letter-spacing: 0.035em;
    line-height: 1.32;
    border-color: rgba(212, 175, 55, 0.18);
  }

  .hero-intro-card .hero-title--compact {
    margin-top: 7px;
    font-size: clamp(0.82rem, 3.4vw + 0.15rem, 1rem);
    line-height: 1.2;
    letter-spacing: 0.008em;
    font-weight: 700;
  }
}

.hero-media {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: min(100%, 960px);
  align-self: center;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stroke);
  background: linear-gradient(165deg, rgba(26, 58, 50, 0.25), rgba(14, 18, 22, 0.85));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.08);
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  object-position: center center;
}

.hero-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 52rem;
  margin: 0 auto;
  width: 100%;
  gap: 0;
}

@media (min-width: 640px) {
  .hero-body {
    align-items: flex-start;
    text-align: left;
    margin: 0;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(212, 175, 55, 0.06);
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badge .ref-9777bet {
  text-transform: none;
  letter-spacing: 0.03em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

.hero-badge .ref-9777bet:hover,
.hero-badge .ref-9777bet:focus-visible {
  color: #e8c65c;
  outline: none;
}

.content h2 .ref-9777bet {
  color: inherit;
  font-size: 0.92em;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  font-size: clamp(1.45rem, 4.2vw + 0.5rem, 2.55rem);
  letter-spacing: 0.02em;
}

.hero-title--compact {
  font-size: clamp(1.15rem, 3.2vw + 0.45rem, 1.95rem);
  line-height: 1.18;
  margin-top: 4px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 58ch;
}

.hero-lead {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(1rem, 0.94rem + 0.35vw, 1.14rem);
  font-weight: 500;
  max-width: 58ch;
  line-height: 1.55;
}

.hero-keywords {
  margin: 0 0 18px;
  font-size: 0.86rem;
  color: var(--dim);
  max-width: 62ch;
  line-height: 1.5;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  justify-content: center;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-buttons {
    justify-content: flex-start;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: min(100%, 960px);
  align-self: center;
  margin-top: clamp(4px, 1vw, 12px);
}

@media (min-width: 900px) {
  .hero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-card {
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: rgba(22, 22, 22, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
}

.stat-card span {
  font-size: 0.85rem;
  color: var(--dim);
}

/* BUTTONS */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.9rem, 0.85rem + 0.25vw, 0.95rem);
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37, #9a7b1a);
  color: #121212;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.38);
  outline: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(212, 175, 55, 0.35);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(212, 175, 55, 0.1);
  outline: none;
}

/* TRUST (generic grid — inner pages) */
.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  padding: clamp(24px, 4vw, 40px) clamp(18px, 4vw, 28px);
  max-width: var(--max);
  margin: 0 auto;
}

.trust-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--bg-elevated);
  font-weight: 600;
  font-size: 0.92rem;
}

.trust-box::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.65);
}

/* Homepage: local trust strip under hero */
.local-trust {
  padding: clamp(16px, 2.5vw, 24px) clamp(18px, 4vw, 28px);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  background: rgba(8, 8, 8, 0.65);
}

.local-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 18px);
}

.local-trust-safe {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--bg-elevated);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.local-trust-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
}

.local-trust-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.pay-ico {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.95;
  color: var(--gold);
}

/* SECTIONS */
.content {
  padding: clamp(48px, 6vw, 80px) max(clamp(18px, 4vw, 28px), env(safe-area-inset-left, 0))
    clamp(48px, 6vw, 80px) max(clamp(18px, 4vw, 28px), env(safe-area-inset-right, 0));
  max-width: var(--max);
  margin: 0 auto;
}

.content.dark {
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.5), rgba(10, 10, 10, 0.92));
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.content h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: 0.03em;
  color: var(--gold);
}

.content h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.content p {
  margin: 0 0 16px;
  color: var(--muted);
}

.section-lead {
  max-width: 72ch;
}

.media-row {
  margin-top: 28px;
  display: grid;
  gap: 22px;
  align-items: center;
}

@media (min-width: 880px) {
  .media-row {
    grid-template-columns: 1fr 1fr;
  }
  .media-row.reverse {
    direction: rtl;
  }
  .media-row.reverse > * {
    direction: ltr;
  }
}

.media-row img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* GRIDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.card {
  position: relative;
  padding: 22px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: var(--bg-panel);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(139, 115, 85, 0.15));
  transition: opacity 0.2s ease;
  z-index: 0;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 175, 55, 0.35);
}

.card:hover::before {
  opacity: 1;
}

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

.card h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card h2 a {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: inherit;
}

.card h2 a:hover,
.card h2 a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
}

/* CTA */
.cta-center {
  text-align: center;
  margin-top: 32px;
}

.download-cta {
  padding: clamp(48px, 6vw, 80px) clamp(18px, 4vw, 28px);
  max-width: var(--max);
  margin: 0 auto;
}

.download-cta h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.download-cta p {
  margin: 0 0 20px;
  color: var(--muted);
  max-width: 72ch;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.download-list {
  margin: 16px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.download-list li {
  margin-bottom: 8px;
}

.steps {
  margin: 18px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.steps li {
  margin-bottom: 10px;
}

/* FAQ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

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

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 18px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.faq-item summary::after {
  content: "+";
  font-weight: 800;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--muted);
}

.faq-item p .ref-9777bet {
  display: inline;
}

/* LINK CARDS */
.link-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--stroke);
  background: var(--bg-panel);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.link-card .link-ico {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  opacity: 0.95;
  color: var(--gold);
}

.link-card:hover,
.link-card:focus-visible {
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.08);
  transform: translate3d(0, -2px, 0);
  outline: none;
}

.shortcuts-section {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.shortcuts-title {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.35);
}

/* FOOTER */
.footer {
  padding: clamp(48px, 6vw, 72px) clamp(18px, 4vw, 28px);
  background: #0d0d0d;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 320px;
}

.footer-logo-link {
  display: inline-flex;
  line-height: 0;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.footer-logo-link:hover,
.footer-logo-link:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
  outline: none;
}

.footer-logo-link img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.footer-lead {
  margin: 0;
}

.footer h3 {
  font-family: var(--font-display);
  margin: 0 0 12px;
  color: var(--gold);
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dim);
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer a {
  display: block;
  color: rgba(245, 245, 245, 0.78);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--accent);
  outline: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--dim);
  font-size: 0.9rem;
}

.ref-9777bet {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(212, 175, 55, 0.55);
}

.ref-9777bet:hover,
.ref-9777bet:focus-visible {
  color: #e8c65c;
  outline: none;
}

.footer-lead .ref-9777bet,
.footer-disclaimer .ref-9777bet,
p .ref-9777bet {
  display: inline;
}

.footer-age-warning {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px auto 0;
  max-width: 40rem;
  padding: 11px 14px;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  color: #ffcdd2;
  border: 1px solid rgba(229, 57, 53, 0.55);
  border-radius: var(--radius-sm);
  background: rgba(60, 10, 10, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 82, 82, 0.35),
    0 6px 22px rgba(183, 28, 28, 0.5),
    0 0 28px rgba(229, 57, 53, 0.15);
}

.footer-age-warning svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--security-red-bright);
  filter: drop-shadow(0 0 8px rgba(255, 82, 82, 0.65));
}

/* Page hero (inner pages) */
.page-hero {
  padding: clamp(36px, 6vw, 64px) clamp(18px, 4vw, 28px) clamp(28px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  letter-spacing: 0.03em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}

.breadcrumb {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--dim);
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
  outline: none;
}

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Small phones: tighter hero & readable type */
@media (max-width: 480px) {
  .hero {
    padding-top: max(20px, env(safe-area-inset-top, 0));
  }

  .hero-inner {
    gap: 14px;
  }

  .hero-media {
    border-radius: var(--radius-sm);
    max-width: 100%;
  }

  .hero-media img {
    max-height: min(48vh, 380px);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(1.28rem, 5.5vw + 0.4rem, 1.65rem);
  }

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

  .grid-3,
  .grid-4 {
    gap: 14px;
  }

  .card {
    padding: 18px 16px;
  }

  .page-hero h1 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }
}

/* Mobile “On this page” SEO jump links */
.seo-toc {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px) clamp(20px, 4vw, 32px);
}

.seo-toc-title {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.seo-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.seo-toc-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}

.seo-toc-list a:hover,
.seo-toc-list a:focus-visible {
  border-color: rgba(212, 175, 55, 0.45);
  color: var(--text);
  outline: none;
}

@media (min-width: 900px) {
  .seo-toc-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}

/* External links: nav icons already indicate targets */

/* Homepage: About + Security (official portal messaging) */
.about-legacy {
  padding: clamp(48px, 6vw, 80px) clamp(18px, 4vw, 28px);
  max-width: var(--max);
  margin: 0 auto;
}

.about-legacy h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: 0.04em;
  color: var(--gold);
  font-weight: 700;
}

.about-legacy p {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 72ch;
}

.seo-kw {
  color: var(--gold);
  font-weight: 600;
}

.security-notice {
  max-width: var(--max);
  margin: 0 auto clamp(32px, 5vw, 48px);
  padding: clamp(24px, 4vw, 36px) clamp(20px, 4vw, 32px);
  border: 2px solid var(--security-red);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--security-bg), rgba(20, 8, 8, 0.96));
  box-shadow:
    0 0 0 1px rgba(229, 57, 53, 0.35),
    0 0 0 4px rgba(255, 82, 82, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.55);
}

.security-notice h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--security-red-bright);
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.security-notice .security-icon {
  display: inline-flex;
  color: var(--security-red-bright);
}

.security-notice p {
  margin: 0 0 14px;
  color: #ffcdd2;
  max-width: 75ch;
  border-left: 3px solid var(--security-red);
  padding-left: 14px;
}

.security-notice p:last-child {
  margin-bottom: 0;
}

.security-notice a {
  color: #ff8a80;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.security-notice a:hover,
.security-notice a:focus-visible {
  color: #ffab91;
  outline: none;
}

.security-notice .seo-kw {
  color: #ff8a80;
  font-weight: 700;
}

.footer-disclaimer {
  max-width: 56rem;
  margin: 16px auto 0;
  padding: 14px 18px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  border-left: 3px solid var(--gold);
  background: rgba(212, 175, 55, 0.05);
  text-align: left;
}

.footer-bottom .last-updated {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--dim);
}

.footer-bottom .copyright {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}
