@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:wght@400;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --en3-bg: #F4FAFB;
  --en3-bg-alt: #E7F4F6;
  --en3-header: #007D92;
  --en3-surface: #FFFFFF;
  --en3-surface-2: #008299;
  --en3-text: #13363E;
  --en3-muted: #4A6E76;
  --en3-accent: #0092AB;
  --en3-gold: #00778C;
  --en3-border: #CFE5E9;
  --bg-primary: #044E4A;
  --bg-surface: #FFFFFF;
  --accent-primary: #02B4D6;
  --accent-secondary: #00A5C0;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: 'Atkinson Hyperlegible', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  background: var(--en3-bg);
  color: var(--en3-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--en3-gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p, li, td, th, dd, dt {
  hyphens: auto;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, nav a, .btn, button {
  hyphens: manual;
  word-break: keep-all;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

/* === STICKY 76PX HEADER (Official Lucky Days Turquoise Header) === */
.header {
  position: sticky;
  top: 0;
  z-index: 300;
  height: 76px;
  background: var(--en3-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.header__row {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 32px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

.header__nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 4px;
}

.header__nav a:hover,
.header__nav a.is-active {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-cta {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.92;
  text-decoration: none;
}

.btn--gold {
  background: #007D92;
  color: #FFFFFF;
}

.header .btn--gold,
.hero__banner-scrim .btn--gold {
  background: #FFFFFF;
  color: #006678;
}

.header__nav .nav-cta {
  display: none;
  color: #006678;
  text-align: center;
  justify-content: center;
}

.header__nav.open .nav-cta {
  display: inline-flex;
  color: #006678;
  background: #FFFFFF;
  border-bottom: none;
  margin-top: 15px;
  width: 100%;
  padding: 13px 18px;
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 18px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
    order: 2;
  }
  .header__logo {
    order: 1;
  }
  .header__actions {
    order: 3;
  }
  .header__nav {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #00687A;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    overflow-y: auto;
    z-index: 400;
  }
  .header__nav.open {
    display: flex;
  }
  .header__nav a {
    padding: 12px 14px;
    border-radius: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 16px;
  }
  .nav-cta {
    display: inline-flex;
    margin-top: 15px;
    width: 100%;
    padding: 13px 18px;
  }
}

/* === LIGHT BRAND HERO WITH 1164PX ROUNDED BANNER & OVERLAY CTA === */
.hero {
  background: linear-gradient(180deg, #E7F4F6 0%, #F4FAFB 100%);
  padding: 28px 0 32px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--en3-gold);
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  color: #092E36;
  max-width: 100%;
}

.hero__lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.65;
  color: #214B54;
  max-width: 100%;
}

.hero__banner-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #005262;
  border: 1px solid #B5DCE3;
  box-shadow: 0 1px 2px rgba(0, 82, 98, 0.06), 0 6px 14px rgba(0, 82, 98, 0.09), 0 14px 28px rgba(0, 82, 98, 0.11), 0 24px 44px rgba(0, 82, 98, 0.14);
}

.en3-section-banner {
  margin-top: 22px;
}

.hero__banner-card img {
  width: 100%;
  height: auto;
  display: block;
}

.hero__banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 60, 72, 0.92) 0%, rgba(0, 74, 88, 0.72) 40%, rgba(0, 74, 88, 0.1) 66%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 20px 36px;
}

.hero__banner-content {
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.hero__banner-kicker {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #FFFFFF;
}

.hero__banner-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
}

.hero__banner-sub {
  margin: 0 0 2px;
  font-size: 13.5px;
  line-height: 1.44;
  color: #DFF4F7;
}

@media (max-width: 640px) {
  .hero__banner-scrim {
    position: static;
    background: #006B7D;
    padding: 16px;
  }
  .hero__banner-content {
    max-width: 100%;
  }
  .hero__banner-scrim .btn {
    width: 100%;
  }
}

/* === ALTERNATING SECTION BANDS === */
.section {
  background: var(--en3-bg);
  padding: 36px 0;
}

.section--alt {
  background: var(--en3-bg-alt);
  padding: 32px 0;
  border-top: 1px solid var(--en3-border);
  border-bottom: 1px solid var(--en3-border);
}

/* 4-Col KPI Spec Strip */
.en3-spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.en3-spec-strip > li {
  background: var(--en3-surface);
  border: 1px solid var(--en3-border);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 82, 98, 0.05);
}

.en3-spec-strip > li strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--en3-gold);
  margin-bottom: 4px;
}

.en3-spec-strip > li span {
  font-size: 13px;
  color: var(--en3-muted);
}

@media (max-width: 760px) {
  .en3-spec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Quick Jump Pill Bar */
.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.pill-nav a {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--en3-border);
  background: #FFFFFF;
  color: #164049;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.pill-nav a:hover {
  border-color: var(--en3-gold);
  color: var(--en3-gold);
  text-decoration: none;
}

/* Left-Bar H2 Headings */
main h2 {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: #092E36;
  border-left: 3px solid var(--en3-gold);
  padding-left: 14px;
}

main h3 {
  margin: 22px 0 8px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--en3-gold);
}

main p {
  margin: 0 0 14px;
  color: #1A3F47;
  max-width: 100%;
}

main ul:not(.en3-spec-strip):not(.en3-payments-list),
main ol {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #1A3F47;
  max-width: 100%;
}

main li {
  margin-bottom: 7px;
}

/* Turquoise-Tinted "In Brief" Callout Box */
.callout-brief {
  background: rgba(0, 125, 146, 0.08);
  border: 1px solid rgba(0, 125, 146, 0.35);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 18px 0 22px;
  color: #0B3139;
  font-size: 15px;
}

/* 3-Col Clean Cards */
.en3-studio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 22px;
}

.en3-studio-card {
  background: var(--en3-surface);
  border: 1px solid var(--en3-border);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(0, 82, 98, 0.05);
}

.en3-studio-card strong {
  display: block;
  color: var(--en3-gold);
  font-size: 15.5px;
  margin-bottom: 6px;
}

.en3-studio-card p {
  margin: 0;
  font-size: 14px;
  color: #244C54;
}

@media (max-width: 780px) {
  .en3-studio-grid {
    grid-template-columns: 1fr;
  }
}

/* Category Filter & Game Cards */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.filter-bar button {
  padding: 7px 15px;
  border-radius: 8px;
  border: 1px solid var(--en3-border);
  background: #FFFFFF;
  color: #164049;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.filter-bar button.active {
  background: var(--en3-gold);
  border-color: var(--en3-gold);
  color: #FFFFFF;
}

.games-grid,
.en3-games-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 22px;
}

.game-card {
  width: 100%;
  max-width: 194px;
  margin: 0 auto;
  background: var(--en3-surface);
  border: 1px solid var(--en3-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 82, 98, 0.05);
}

.game-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  display: block;
}

.game-card__foot {
  padding: 10px 12px;
}

.game-card__foot strong {
  display: block;
  color: #092E36;
  font-size: 13.5px;
}

.game-card__foot span {
  font-size: 12px;
  color: var(--en3-muted);
}

@media (max-width: 1024px) {
  .games-grid, .en3-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .games-grid, .en3-games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Tables */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--en3-border);
  margin: 14px 0 22px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

th {
  background: #007D92;
  color: #FFFFFF;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #006678;
}

td {
  padding: 11px 16px;
  color: #163B43;
  border-bottom: 1px solid #DCECEF;
}

tbody tr:nth-child(odd) { background: #FFFFFF; }
tbody tr:nth-child(even) { background: #EFF8F9; }

/* Payment Grid (Turquoise Cards keep White SVG Icons Crisp) */
.en3-payments-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
}

.en3-payments-list li {
  background: #006E82;
  border: 1px solid #005868;
  border-radius: 10px;
  padding: 12px 14px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.en3-payments-list li small,
.en3-payments-list li span {
  color: #D2EEF3;
}

.en3-payments-list img {
  height: 24px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
}

/* FAQ Tabbed Categories */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.faq-tabs button {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--en3-border);
  background: #FFFFFF;
  color: #164049;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.faq-tabs button.active {
  background: var(--en3-gold);
  border-color: var(--en3-gold);
  color: #FFFFFF;
}

.faq-item {
  background: var(--en3-surface);
  border: 1px solid var(--en3-border);
  border-radius: 10px;
  padding: 15px 18px;
  margin-bottom: 10px;
}

.faq-item h4 {
  margin: 0 0 6px;
  font-size: 15.5px;
  color: var(--en3-gold);
}

.faq-item p {
  margin: 0;
  font-size: 14.5px;
  color: #244C54;
}

/* Compact Footer */
.footer {
  background: #005868;
  border-top: 1px solid #004654;
  padding: 32px 0 22px;
  font-size: 13.5px;
  color: #D4EEF2;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 18px;
}

.footer__col h4 {
  margin: 0 0 10px;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.footer__col a {
  display: block;
  color: #CDEBF0;
  padding: 3px 0;
}

.footer__col a:hover {
  color: #FFFFFF;
}

.footer__bottom {
  border-top: 1px solid var(--en3-border);
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

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