/* Casino Victoria — premium shell (load tokens.css, components.css, effects.css before this file) */

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: hsl(42 90% 62%);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary);
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  z-index: 200;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* —— Header (Launch UI glass nav) —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid hsl(248 22% 18% / 0.8);
  background: hsl(248 32% 6% / 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0.25rem;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--foreground);
  text-decoration: none;
}

.brand span {
  color: var(--primary);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-weight: 600;
  cursor: pointer;
}

.nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: hsl(248 30% 8% / 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  padding: 1rem;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.nav.is-open {
  display: block;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: calc(var(--radius) - 2px);
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--foreground);
  background: var(--muted);
}

.nav-list .btn {
  width: 100%;
  margin-top: 0.35rem;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
  .nav {
    display: block;
    position: static;
    padding: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    max-height: none;
    overflow: visible;
  }
  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.15rem 0.35rem;
  }
  .nav-list .btn {
    width: auto;
    margin-top: 0;
    margin-left: 0.35rem;
  }
}

/* —— Hero (Launch UI center + glow) —— */
.hero-premium {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.hero-premium .container {
  position: relative;
  z-index: 1;
}

.hero-premium h1 {
  margin: 1rem 0 0.85rem;
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-inline: auto;
}

.hero-premium .lead {
  margin: 0 auto 1.5rem;
  max-width: 42rem;
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.65;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.badge-row .badge-pill {
  font-size: 0.75rem;
}

/* —— Main sections —— */
main {
  padding-bottom: 3rem;
}

.section {
  padding: 2.5rem 0;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  letter-spacing: -0.02em;
}

.section > .container > p {
  color: var(--muted-foreground);
  max-width: 58ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Legacy hub class aliases */
.hub-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: var(--radius);
  background: var(--muted);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.hub-tabs__tab {
  flex: 1 1 auto;
  min-width: 5rem;
  padding: 0.55rem 0.85rem;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  background: transparent;
  color: var(--muted-foreground);
  font-weight: 600;
  cursor: pointer;
}
.hub-tabs__tab.is-active {
  background: var(--card);
  color: var(--foreground);
}
.hub-tabs__panel[hidden] {
  display: none;
}
.hub-accordion__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  background: var(--card);
}
.hub-accordion__trigger {
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  border: none;
  background: transparent;
  color: var(--foreground);
  font-weight: 600;
  cursor: pointer;
}
.hub-accordion__panel {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--muted-foreground);
}
.hub-accordion__item.is-open .hub-accordion__panel {
  display: block;
}

.gov-strip {
  border-top: 1px solid var(--border);
  padding: 2rem 1rem;
  background: hsl(248 28% 7%);
}

.gov-strip .container {
  max-width: var(--container);
}

.gov-strip-heading {
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.gov-strip ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted-foreground);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1rem;
  background: hsl(248 30% 5%);
}

.footer-inner {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}

.footer-extended {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .footer-extended {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

.footer-brand {
  margin: 0;
  font-weight: 700;
}

.footer-tagline {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--muted-foreground);
}

.footer-heading {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links-col a {
  text-decoration: none;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.footer-links-col a:hover {
  color: var(--primary);
}
