:root {
  --red: #d71920;
  --red-deep: #a90f14;
  --yellow: #ffd200;
  --cream: #fff2d3;
  --black: #101010;
  --charcoal: #1a1a1a;
  --white: #ffffff;
  --text: #171717;
  --muted: #5d5d5d;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 210, 0, 0.16), transparent 24%),
    linear-gradient(180deg, #f8f6f1 0%, #f5f2ea 100%);
  color: var(--text);
  font-family: "Inter", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 48%, rgba(215, 25, 32, 0.03) 48% 52%, transparent 52% 100%);
  pointer-events: none;
}

.site-frame {
  width: min(1200px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1rem 0 3.5rem;
}

.masthead {
  margin-bottom: 1.2rem;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.topbar-branding {
  display: grid;
  gap: 0.85rem;
  min-width: 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.brand-copy {
  display: grid;
  gap: 0.15rem;
}

.brand-copy strong,
.hero h1,
.feature-intro h2,
.feature-card h3,
.showcase-copy h2,
.promo-card h2 {
  font-family: "Archivo Black", sans-serif;
}

.brand-copy strong {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1;
}

.brand-tag,
.eyebrow,
.promo-label,
.feature-number {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.74rem;
}

.brand-tag {
  color: var(--red);
}

.topbar-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-self: center;
}

.nav-pill,
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-pill:hover,
.cta:hover {
  transform: translateY(-2px);
}

.nav-pill-hot,
.cta-hot {
  color: var(--white);
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.25);
}

.nav-pill-muted,
.cta-outline {
  color: var(--black);
  background: var(--white);
  border: 2px solid rgba(16, 16, 16, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
}

.hero-home {
  margin-bottom: 1rem;
}

.hero-copy,
.promo-card,
.feature-band,
.showcase-copy,
.visit-card {
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 3.4rem);
  border-radius: 34px;
  background:
    linear-gradient(115deg, rgba(255, 210, 0, 0.96) 0%, rgba(255, 210, 0, 0.96) 22%, rgba(255, 255, 255, 0.96) 22%, rgba(255, 255, 255, 0.96) 100%);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(215, 25, 32, 0.12);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--red);
}

.eyebrow-dark {
  color: rgba(255, 255, 255, 0.75);
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
}

.hero-text,
.promo-card p,
.feature-card p,
.showcase-copy p,
.visit-row span,
.visit-row strong {
  font-size: 1.03rem;
  line-height: 1.65;
}

.hero-text {
  max-width: 58ch;
  color: var(--charcoal);
  margin: 1rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.hero-meta span {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.06);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-stack {
  display: grid;
  gap: 1rem;
}

.tabbed-experience {
  margin-top: 0.8rem;
}

.tabs-shell {
  padding: 1rem 1.2rem 1.2rem;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(16, 16, 16, 0.06);
  box-shadow: var(--shadow);
}

.tabs-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 1.25rem;
  margin-bottom: 1.1rem;
}

.tabs-title {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.tabs-support {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 34ch;
  justify-self: end;
  text-align: right;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.tab-list-header {
  justify-content: flex-start;
}

.tab-button {
  min-height: 2.8rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.05) 0%, rgba(16, 16, 16, 0.08) 100%);
  color: var(--black);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tab-button:hover {
  transform: translateY(-2px);
}

.tab-button.is-active {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.22);
}

.tab-panels {
  position: relative;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-highlights {
  margin-top: 0.2rem;
}

.lotto-panel {
  padding: 0.4rem 0 0;
}

.lotto-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lotto-title {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.lotto-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lotto-status span {
  font-weight: 700;
  color: var(--muted);
}

.refresh-button {
  min-height: 2.8rem;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.08);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.lotto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lotto-card,
.lotto-placeholder {
  padding: 1.35rem;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.lotto-card {
  background: linear-gradient(180deg, #ffffff 0%, #fff6e2 100%);
}

.lotto-card h3 {
  margin: 0.45rem 0 0.6rem;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.lotto-meta,
.lotto-extra,
.lotto-source,
.lotto-footnote {
  color: var(--muted);
}

.lotto-meta,
.lotto-extra,
.lotto-source {
  margin: 0.35rem 0 0;
  line-height: 1.5;
}

.lotto-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.lotto-ball {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid rgba(16, 16, 16, 0.09);
  font-weight: 800;
}

.lotto-ball-special {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  color: var(--white);
  border-color: transparent;
}

.lotto-label-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: center;
}

.lotto-chip {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 210, 0, 0.22);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lotto-placeholder {
  background: linear-gradient(180deg, #fff7e5 0%, #fff2d0 100%);
}

.lotto-footnote {
  margin: 1rem 0 0;
  font-size: 0.95rem;
}

.promo-card {
  border-radius: 30px;
  padding: 1.5rem;
}

.promo-card-dark {
  background: linear-gradient(180deg, #171717 0%, #0c0c0c 100%);
  color: var(--white);
}

.promo-card-dark .promo-label {
  color: rgba(255, 255, 255, 0.7);
}

.promo-card-dark h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.promo-card-light {
  background: linear-gradient(180deg, #fff7e5 0%, #fff1c7 100%);
}

.promo-card-accent {
  background: linear-gradient(180deg, #ffefef 0%, #ffd8da 100%);
}

.promo-label {
  margin: 0 0 0.8rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.2rem;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48rem;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 50%;
  background: var(--red);
}

.feature-band {
  margin-top: 1.2rem;
  padding: 1.2rem;
  border-radius: 34px;
  background: linear-gradient(180deg, #141414 0%, #0f0f0f 100%);
}

.feature-intro {
  margin-bottom: 1rem;
}

.feature-intro h2,
.showcase-copy h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 0.98;
  max-width: 12ch;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  min-height: 15rem;
  padding: 1.35rem;
  border-radius: 26px;
}

.feature-card h3 {
  margin: 0.55rem 0 0.8rem;
  font-size: 2rem;
  line-height: 1;
}

.feature-card-red {
  background: linear-gradient(180deg, #ff5157 0%, #d71920 100%);
  color: var(--white);
}

.feature-card-yellow {
  background: linear-gradient(180deg, #ffe56a 0%, #ffd200 100%);
  color: var(--black);
}

.feature-card-cream {
  background: linear-gradient(180deg, #fffaf0 0%, #fff1d5 100%);
  color: var(--black);
}

.feature-card-black {
  background: linear-gradient(180deg, #2b2b2b 0%, #111111 100%);
  color: var(--white);
}

.split-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.about-panel {
  display: grid;
  gap: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 1fr;
  gap: 1rem;
}

.showcase-copy {
  padding: 1.7rem;
  border-radius: 30px;
  background: linear-gradient(180deg, #c9141a 0%, #a70d12 100%);
  color: var(--white);
}

.showcase-copy p:last-child {
  margin-bottom: 0;
}

.visit-card {
  padding: 1.6rem;
  border-radius: 30px;
  background: var(--white);
}

.visit-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 1rem;
}

.visit-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(16, 16, 16, 0.08);
}

.visit-row span {
  color: var(--muted);
}

.visit-row strong {
  text-align: right;
}

.inline-link {
  color: var(--black);
  text-decoration: none;
  border-bottom: 2px solid rgba(215, 25, 32, 0.3);
}

.inline-link:hover {
  border-bottom-color: var(--red);
}

.visit-actions {
  margin-top: 1.2rem;
}

.visit-meta {
  margin-top: 1.25rem;
}

.map-card,
.about-card {
  padding: 1.6rem;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.map-card {
  background: linear-gradient(180deg, #fff7e5 0%, #fff2d0 100%);
}

.map-card h3,
.about-card h3 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.03;
}

.about-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f2e6 100%);
}

.about-card-primary {
  background: linear-gradient(180deg, #ffffff 0%, #fff4df 100%);
}

.about-card-light {
  background: linear-gradient(180deg, #fff9ef 0%, #fff3d4 100%);
}

.about-card-dark {
  background: linear-gradient(180deg, #1f1f1f 0%, #101010 100%);
  color: var(--white);
}

.about-card-dark .promo-label,
.about-card-dark p,
.about-card-dark h3 {
  color: var(--white);
}

.about-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .tabs-header,
  .highlights-grid,
  .lotto-grid,
  .lotto-panel-head,
  .visit-layout,
  .split-showcase,
  .about-grid,
  .feature-cards {
    grid-template-columns: 1fr;
  }

  .tabs-topbar,
  .tabs-header {
    display: grid;
    align-items: start;
  }

  .lotto-panel-head {
    display: grid;
    align-items: start;
  }

  .feature-intro h2,
  .showcase-copy h2,
  .hero h1,
  .tabs-support {
    max-width: none;
  }

  .tabs-support {
    justify-self: start;
    text-align: left;
  }

  .tab-list {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .site-frame {
    width: min(100% - 1rem, 100%);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-branding,
  .topbar-actions,
  .hero-actions,
  .tab-list {
    width: 100%;
  }

  .nav-pill,
  .cta,
  .tab-button {
    width: 100%;
  }

  .visit-row {
    flex-direction: column;
  }

  .visit-row strong {
    text-align: left;
  }

  .hero-copy,
  .promo-card,
  .feature-band,
  .showcase-copy,
  .visit-card {
    border-radius: 24px;
  }
}
