/* =========================================================
   Header & Navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-on-dark);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 32px;
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  flex-shrink: 0;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 22%, #0a1024 23% 38%, #1e4dd8 39% 62%, #0a1024 63% 78%, #fff 79%);
  position: relative;
  box-shadow: inset 0 0 0 1.5px #fff, 0 0 0 1.5px #1e4dd8;
}

.brand__mark::after {
  content: "";
  position: absolute;
  inset: 35%;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 0 1.5px var(--bg-dark);
}

.brand__dot { color: var(--primary); }
.brand__tld { font-weight: 400; opacity: 0.9; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
  flex: 1;
  justify-content: flex-end;
}

.nav__item {
  position: relative;
  height: 100%;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 16px;
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.18s ease;
  position: relative;
  white-space: nowrap;
}

.nav__link:hover,
.nav__item.is-open .nav__link {
  color: #fff;
}

.nav__item.is-open .nav__link::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 3px;
  background: var(--accent-red);
  border-radius: 2px 2px 0 0;
}

.nav__chev {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav__item.is-open .nav__chev { transform: rotate(180deg); }

/* CTA in nav */
.nav__cta {
  margin-left: 14px;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav__cta:hover { background: var(--primary-600); transform: translateY(-1px); }

/* Mega menu */
.megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 920px;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  padding: 32px 36px;
  display: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  z-index: 60;
}

.nav__item.is-open .megamenu { display: grid; }

.megamenu {
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.megamenu__title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.megamenu__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}

.megamenu__link {
  display: block;
  padding: 8px 0;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s ease, padding 0.15s ease;
  border-bottom: 1px solid transparent;
}

.megamenu__link:hover {
  color: #fff;
  padding-left: 6px;
}

/* Right column: casino cards in mega menu */
.megamenu__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mm-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.15s ease;
}

.mm-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.mm-card__logo {
  width: 56px;
  height: 36px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #111;
  flex-shrink: 0;
  overflow: hidden;
}

.mm-card__name { font-size: 0.92rem; font-weight: 600; color: #fff; }
.mm-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 2px;
}

.stars-mini { color: var(--accent-gold); letter-spacing: -1px; font-size: 0.8rem; }

/* Info pill in hero (top-right) */
.info-pill {
  position: absolute;
  right: 28px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  z-index: 4;
}

.info-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.info-pill__icon {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-style: italic; font-family: serif;
}

/* Mobile hide */
.menu-toggle { display: none; }

@media (max-width: 1280px) {
  .nav__link { padding: 0 12px; font-size: 0.88rem; }
  .megamenu { min-width: 720px; grid-template-columns: 1fr; }
  .megamenu__cards { display: none; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background: transparent; border: 1px solid var(--border-dark);
    border-radius: var(--r-md);
    color: #fff;
  }
}
