/* ==========================================================================
   GrandeMise — base stylesheet
   Palette / type / component shapes matched to the shared design reference.
   ========================================================================== */

:root {
  --color-bg: #04150c;
  --color-bg-alt: #030d07;
  --color-card: #06110a;
  --color-border: rgba(88, 232, 120, 0.55);
  --color-border-soft: rgba(88, 232, 120, 0.16);
  --color-green-glow: #58e878;
  --color-lime: #d6f26a;
  --color-lime-strong: #c9f24a;
  --color-lime-hover: #e8ff96;
  --color-heading: #8ff06a;
  --color-text: #f2f7f0;
  --color-text-muted: #b6ccb8;
  --color-text-soft: #a9bfab;
  --color-gold: #f0b429;
  --color-red: #b8231f;
  --color-pink: #e0397f;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --font-heading: "Barlow Condensed", sans-serif;
  --font-body: "Manrope", Helvetica, Arial, sans-serif;
  --max-width: 1240px;
  --max-width-narrow: 940px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-lime-strong);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 34px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* -------------------------------------------------------------------- */
/* Top disclaimer bar                                                    */
/* -------------------------------------------------------------------- */

.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--color-red);
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.top-bar .age-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: var(--radius-pill);
  border: 2px solid #fff;
  font-size: 11px;
  font-weight: 800;
}

/* -------------------------------------------------------------------- */
/* Hero wrapper + header                                                 */
/* -------------------------------------------------------------------- */

.hero-wrap {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 34%, rgba(60, 196, 88, 0.3), rgba(4, 21, 12, 0) 62%),
    radial-gradient(circle at 84% 12%, rgba(184, 35, 31, 0.18), rgba(4, 21, 12, 0) 55%),
    var(--color-bg);
}

.hero-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(88, 232, 120, 0.2) 1.6px, transparent 1.7px);
  background-size: 17px 17px;
  mask-image: radial-gradient(ellipse 78% 62% at 40% 34%, #000 22%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 40% 34%, #000 22%, transparent 78%);
}

.header-bar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-soft);
}

.site-header {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14.5px;
  font-weight: 700;
}

.main-nav a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-lime-strong);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  padding: 8px 10px;
  font-size: 1.1rem;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 34px;
    gap: 14px;
    display: none;
    z-index: 20;
  }

  .main-nav.is-open {
    display: flex;
  }
}

/* -------------------------------------------------------------------- */
/* Hero content                                                          */
/* -------------------------------------------------------------------- */

.hero {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 34px 34px 90px;
}

.hero-panel {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  padding: 34px 40px;
  background: rgba(3, 14, 8, 0.72);
  border: 1px solid var(--color-border-soft);
  text-align: center;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-lime-strong);
}

.hero-panel h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: var(--color-heading);
  text-wrap: balance;
}

.hero-panel p {
  margin: 14px 0 0;
  font-size: 15.5px;
  color: var(--color-text-muted);
}

.hero-updated {
  margin-top: 18px !important;
  font-size: 12.5px !important;
  color: var(--color-text-soft) !important;
}

.hero-updated span {
  color: var(--color-text);
  font-weight: 600;
}

/* -------------------------------------------------------------------- */
/* Ranking cards                                                         */
/* -------------------------------------------------------------------- */

.ranking {
  position: relative;
}

.operator-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.operator-card {
  position: relative;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  box-shadow: 0 0 18px rgba(88, 232, 120, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 20px;
  align-items: center;
}

.operator-card--top {
  border-color: var(--color-green-glow);
  box-shadow: 0 0 0 1px rgba(88, 232, 120, 0.25), 0 0 26px rgba(88, 232, 120, 0.32);
}

.operator-ribbon {
  position: absolute;
  top: -11px;
  left: 26px;
  padding: 3px 11px;
  border-radius: var(--radius-pill);
  background: var(--color-lime-strong);
  color: var(--color-card);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.operator-logo {
  width: 84px;
  height: 84px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.operator-logo img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
}

.operator-info {
  flex: 1 1 240px;
  min-width: 0;
  text-align: center;
}

.operator-score-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.operator-score {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 30px;
  color: #fff;
}

.operator-stars {
  letter-spacing: 2px;
  font-size: 15px;
  color: var(--color-gold);
}

.operator-stars .star-off {
  color: #3d5442;
}

.operator-info p {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #e6efe4;
}

.btn-bet {
  display: block;
  flex: 1 1 170px;
  max-width: 100%;
  padding: 15px 16px;
  border-radius: var(--radius-pill);
  background: var(--color-lime);
  color: var(--color-card);
  font-size: 15.5px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn-bet:hover {
  background: var(--color-lime-hover);
  text-decoration: none;
  color: var(--color-card);
}

.operator-card--top .btn-bet {
  box-shadow: 0 0 18px rgba(214, 242, 106, 0.35);
}

.operator-disclaimer {
  max-width: var(--max-width-narrow);
  margin: 28px auto 0;
  text-align: center;
  color: var(--color-text-soft);
  font-size: 13px;
}

@media (max-width: 640px) {
  .operator-card {
    text-align: center;
    justify-content: center;
  }
}

/* -------------------------------------------------------------------- */
/* FAQ                                                                   */
/* -------------------------------------------------------------------- */

.faq {
  padding: 12px 0 56px;
}

.faq h2 {
  max-width: var(--max-width-narrow);
  margin: 0 auto 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--color-heading);
}

.faq-grid {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--color-text);
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

@media (max-width: 640px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------- */
/* Footer trust / partner logos strip                                   */
/* -------------------------------------------------------------------- */

.footer-trust {
  max-width: 1080px;
  margin: 0 auto 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--color-border-soft);
}

.org-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.15s ease;
}

.org-logo:hover {
  opacity: 1;
  text-decoration: none;
}

.org-logo img {
  height: 28px;
  width: auto;
}

.trust-age-chip {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #e26b67;
  flex: none;
}

/* -------------------------------------------------------------------- */
/* Generic content page (about / contact / legal)                       */
/* -------------------------------------------------------------------- */

.page-header {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--color-border-soft);
}

.page-header h1 {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--color-heading);
}

.page-header p {
  color: var(--color-text-muted);
  margin: 0;
}

.content {
  padding: 40px 0 64px;
}

.content h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 1.5rem;
  margin: 32px 0 12px;
  color: var(--color-text);
}

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

.content p,
.content li {
  color: var(--color-text-muted);
}

.content a {
  text-decoration: underline;
}

.content ul {
  padding-left: 20px;
}

.help-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
  margin: 20px 0;
}

.help-list li {
  background: var(--color-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.help-list strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
}

/* -------------------------------------------------------------------- */
/* Footer                                                                */
/* -------------------------------------------------------------------- */

.site-footer {
  background: var(--color-bg-alt);
  padding: 30px 34px 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.footer-logo img {
  height: 30px;
  width: auto;
}

.footer-disclaimer {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-soft);
}

.footer-disclaimer p {
  margin: 0;
}

.footer-disclaimer strong {
  color: var(--color-text);
}

.footer-disclaimer .footer-help-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-disclaimer .footer-help-links a {
  color: var(--color-lime-strong);
  text-decoration: underline;
}

.footer-links {
  max-width: 1080px;
  margin: 46px auto 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
}

.footer-links a {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: underline;
}

.footer-copyright {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #6d8571;
}

/* -------------------------------------------------------------------- */
/* Age gate modal                                                       */
/* -------------------------------------------------------------------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 5, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-box {
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  box-shadow: 0 0 26px rgba(88, 232, 120, 0.2);
  border-radius: var(--radius-lg);
  max-width: 420px;
  width: 100%;
  padding: 28px;
  text-align: center;
}

.modal-box h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-heading);
}

.modal-box p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0 0 20px;
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: inline-block;
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 22px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--color-lime);
  color: var(--color-card);
}

.btn-primary:hover {
  background: var(--color-lime-hover);
}

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

/* -------------------------------------------------------------------- */
/* Cookie banner                                                        */
/* -------------------------------------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 460px;
  margin: 0 auto;
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.cookie-banner p a {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.cookie-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.88rem;
}

/* -------------------------------------------------------------------- */
/* Offer redirect bounce page                                           */
/* -------------------------------------------------------------------- */

.redirect-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.redirect-box {
  max-width: 360px;
  width: 100%;
  text-align: center;
  background: var(--color-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.redirect-logo {
  height: 32px;
  width: auto;
  margin: 0 auto 22px;
}

.redirect-spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 3px solid rgba(88, 232, 120, 0.25);
  border-top-color: var(--color-green-glow);
  animation: redirect-spin 0.8s linear infinite;
}

@keyframes redirect-spin {
  to {
    transform: rotate(360deg);
  }
}

.redirect-box p {
  margin: 0 0 8px;
  color: var(--color-text);
  font-size: 0.95rem;
}

.redirect-fallback {
  margin-top: 14px !important;
  font-size: 0.85rem !important;
  color: var(--color-text-muted) !important;
}

.redirect-fallback a {
  text-decoration: underline;
}
