:root {
  --ink: #111633;
  --green: #176dcc;
  --deep-green: #0a1238;
  --mint: #45d7e8;
  --lime: #ff686f;
  --gold: #ff686f;
  --cream: #f2f3fb;
  --paper: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 max(6vw, calc((100vw - 1400px) / 2));
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(23, 109, 204, .12);
  backdrop-filter: blur(12px);
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  color: white;
  font: 800 20px/1 Georgia, serif;
  background: var(--green);
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .12);
}

.main-nav { display: flex; align-items: center; gap: clamp(17px, 2.3vw, 36px); }

.main-nav a {
  position: relative;
  padding: 30px 0 27px;
  color: #1d2344;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.main-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 76px));
  overflow: hidden;
  background: #070d2c;
  outline: none;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .75s ease, visibility .75s ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-slide.is-active > img {
  animation: hero-breathe 12s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 12, 43, .72) 0%, rgba(6, 12, 43, .3) 38%, rgba(6, 12, 43, .02) 70%), linear-gradient(0deg, rgba(6, 12, 43, .2), transparent 44%);
}

.hero-caption {
  position: absolute;
  z-index: 2;
  top: 48%;
  left: max(6vw, calc((100vw - 1400px) / 2));
  width: min(570px, 47vw);
  color: white;
  transform: translateY(-50%);
}

.eyebrow, .section-kicker {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.eyebrow { color: #69e7f2; }

.hero h1 {
  margin: 18px 0 30px;
  font: 800 clamp(50px, 6.1vw, 92px)/.93 Georgia, 'Times New Roman', serif;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 4px 26px rgba(0, 0, 0, .35);
}

.hero-cta {
  display: inline-flex;
  padding: 15px 23px;
  color: #111633;
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
  transition: transform .2s ease, background .2s ease;
}

.hero-cta:hover { background: #ff858a; transform: translateY(-2px); }

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  color: white;
  background: rgba(7, 13, 44, .48);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  font: 400 35px/1 Arial, sans-serif;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease;
}

.slider-arrow:hover { background: rgba(7, 13, 44, .82); transform: translateY(-50%) scale(1.06); }
.slider-prev { left: 24px; }
.slider-next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 31px;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255,255,255,.56);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}

.slider-dots button.is-active { width: 30px; background: var(--gold); }

.scroll-cue {
  position: absolute;
  z-index: 5;
  bottom: 27px;
  left: max(6vw, calc((100vw - 1400px) / 2));
  display: grid;
  justify-items: center;
  gap: 6px;
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.scroll-cue span { width: 1px; height: 26px; background: var(--gold); }

.statement { padding: 82px 24px 92px; text-align: center; background: var(--paper); }
.quote-mark { display: block; height: 48px; color: var(--lime); font: 800 72px/.8 Georgia, serif; }
.statement p { margin: 18px auto 0; color: #c3c8c4; font: 800 clamp(29px, 4vw, 51px)/1.1 Georgia, serif; letter-spacing: -.025em; }

.about-section { padding: 105px max(6vw, calc((100vw - 1320px) / 2)) 120px; background: var(--cream); }
.section-heading { max-width: 760px; margin: 0 auto 66px; text-align: center; }
.section-kicker { display: block; margin-bottom: 16px; color: var(--green); }
.section-heading h2, .games-intro h2, .contact-section h2 { margin: 0; font: 800 clamp(42px, 5vw, 68px)/1 Georgia, 'Times New Roman', serif; letter-spacing: -.035em; }
.section-heading h2 em { position: relative; color: inherit; font-style: normal; z-index: 0; }
.section-heading h2 em::after { content: ''; position: absolute; z-index: -1; right: -4px; bottom: 3px; left: -4px; height: 30%; background: var(--mint); }
.section-heading > p { max-width: 640px; margin: 24px auto 0; color: #626982; font-size: 16px; line-height: 1.75; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { position: relative; min-height: 360px; padding: 38px 34px 40px; overflow: hidden; background: var(--paper); border: 1px solid rgba(23, 109, 204, .1); border-radius: 22px; box-shadow: 0 18px 55px rgba(17, 22, 51, .06); transition: transform .25s ease, box-shadow .25s ease; }
.value-card:hover { transform: translateY(-7px); box-shadow: 0 28px 64px rgba(17, 22, 51, .12); }
.value-number { display: grid; place-items: center; width: 54px; height: 54px; color: white; background: var(--green); border: 4px solid var(--mint); border-radius: 50%; font: 800 13px/1 Arial, sans-serif; }
.value-card h3 { margin: 38px 0 16px; font: 800 27px/1.1 Georgia, serif; }
.value-card p { margin: 0; color: #646b84; font-size: 14px; line-height: 1.72; }
.value-card::after { content: ''; position: absolute; right: -46px; bottom: -46px; width: 112px; height: 112px; border: 18px solid rgba(69, 215, 232, .18); border-radius: 50%; }

.games-section { padding: 110px max(6vw, calc((100vw - 1320px) / 2)) 126px; color: white; background: var(--deep-green); }
.games-intro { display: grid; grid-template-columns: 1fr 1.2fr; align-items: end; column-gap: 60px; margin-bottom: 62px; }
.games-intro .section-kicker { grid-column: 1 / -1; color: #69e7f2; }
.games-intro h2 { max-width: 640px; text-transform: uppercase; }
.games-intro p { max-width: 440px; margin: 0 0 5px auto; color: #bfc7e8; line-height: 1.65; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game-card { position: relative; overflow: hidden; background: #111c58; border: 1px solid rgba(255, 255, 255, .1); border-radius: 24px; transition: transform .25s ease; }
.game-card:hover { transform: translateY(-8px); }
.game-art { display: grid; place-items: center; height: 340px; padding: 22px 18px 0; background: radial-gradient(circle at 50% 58%, rgba(69, 215, 232, .2), transparent 56%); }
.game-art img { width: min(100%, 290px); height: 100%; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(0,0,0,.25)); transition: transform .35s ease; }
.game-card:hover .game-art img { transform: scale(1.045) rotate(-1deg); }
.game-copy { padding: 26px 28px 31px; background: rgba(6, 12, 43, .45); }
.game-copy > span { color: #ff858a; font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.game-copy h3 { margin: 8px 0 0; font: 800 27px/1.1 Georgia, serif; }

.contact-section { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10vw; align-items: center; padding: 110px max(6vw, calc((100vw - 1320px) / 2)); background: var(--mint); }
.contact-section .section-kicker { color: var(--deep-green); }
.contact-section h2 { max-width: 680px; }
.contact-panel { padding: 34px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.55); border-radius: 18px; }
.contact-panel p { margin: 0 0 26px; color: #334168; line-height: 1.65; }
.contact-panel a { display: flex; justify-content: space-between; gap: 16px; padding-top: 21px; border-top: 1px solid rgba(10,18,56,.22); font: 800 clamp(17px, 2vw, 23px)/1.2 Georgia, serif; }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 48px max(6vw, calc((100vw - 1320px) / 2)); color: #c6cdec; background: #070d2c; }
.footer-brand { color: white; font-size: 19px; }
.site-footer p { margin: 0; font-size: 12px; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 20px; }
.site-footer nav a { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.site-footer nav a:hover { color: var(--gold); }

@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.035); } }

@media (max-width: 1040px) {
  .main-nav { gap: 15px; }
  .main-nav a { font-size: 9px; }
  .value-card { padding: 31px 26px 34px; }
  .game-art { height: 290px; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 820px) {
  html { scroll-padding-top: 68px; }
  .site-header { min-height: 68px; padding: 0 20px; }
  .brand { font-size: 19px; }
  .menu-toggle { display: grid; width: 42px; height: 42px; place-content: center; gap: 5px; cursor: pointer; }
  .menu-toggle span { width: 23px; height: 2px; background: var(--ink); }
  .main-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; background: white; box-shadow: 0 16px 30px rgba(0,0,0,.12); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 8px; font-size: 11px; }
  .main-nav a::after { right: auto; bottom: 8px; left: 8px; width: 44px; }
  .hero { height: clamp(220px, 43.7vw, 360px); min-height: 0; }
  .hero-slide:first-child > img,
  .hero-slide:nth-child(3) > img { object-position: left center; }
  .hero-shade { background: linear-gradient(90deg, rgba(6, 12, 43, .72), rgba(6, 12, 43, .26)); }
  .hero-caption { left: 24px; width: calc(100% - 48px); }
  .hero h1 { font-size: clamp(48px, 14vw, 70px); }
  .slider-arrow { width: 36px; height: 36px; font-size: 27px; }
  .slider-prev { left: 12px; }
  .slider-next { right: 12px; }
  .slider-dots { bottom: 13px; }
  .scroll-cue { display: none; }
  .statement { padding: 64px 22px 72px; }
  .about-section, .games-section { padding: 82px 22px 88px; }
  .section-heading { margin-bottom: 44px; }
  .values-grid, .games-grid { grid-template-columns: 1fr; }
  .value-card { min-height: auto; }
  .games-intro { grid-template-columns: 1fr; gap: 22px; margin-bottom: 44px; }
  .games-intro .section-kicker { grid-column: auto; }
  .games-intro p { margin: 0; }
  .game-art { height: 330px; }
  .contact-section { grid-template-columns: 1fr; gap: 38px; padding: 82px 22px; }
  .site-footer { grid-template-columns: 1fr; padding: 46px 22px; }
  .site-footer nav { grid-column: auto; flex-direction: column; gap: 13px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 46px; }
  .eyebrow { font-size: 10px; }
  .game-art { height: 275px; }
  .contact-panel { padding: 26px 22px; }
  .contact-panel a { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Cash Boulevard theme */
:root {
  --ink: #2d211d;
  --green: #d95224;
  --deep-green: #21151a;
  --mint: #32b8d6;
  --lime: #ffc64b;
  --gold: #ff7d3d;
  --cream: #fff4e9;
  --paper: #fffdf9;
}
.hero { background: #191017; }
.hero-shade { background: linear-gradient(90deg, rgba(25,16,23,.62), rgba(25,16,23,.16) 55%, transparent 78%); }
.eyebrow, .games-intro .section-kicker { color: #ffd064; }
.slider-arrow { background: rgba(25,16,23,.54); }
.slider-arrow:hover { background: rgba(25,16,23,.88); }
.game-card { background: #4a241d; }
.game-art { background: radial-gradient(circle at 50% 58%, rgba(255,198,75,.23), transparent 56%); }
.game-copy { background: rgba(30,13,15,.52); }
.game-copy > span { color: #ffc64b; }
.site-footer { color: #ead5ca; background: #170e13; }
