:root {
  --ink: #2b153c;
  --emerald: #8435bb;
  --deep: #28113f;
  --mint: #f7b4df;
  --lime: #e454ab;
  --gold: #ffd36c;
  --cream: #faf5fc;
  --paper: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; color: var(--ink); background: var(--cream); 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(8, 119, 63, .13);
  backdrop-filter: blur(12px);
}

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

.main-nav { display: flex; align-items: center; gap: clamp(17px, 2.3vw, 36px); }
.main-nav a { position: relative; padding: 30px 0 27px; font-size: 10px; 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; height: clamp(490px, 40vw, 700px); overflow: hidden; background: #211031; }
.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 { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide.is-active img { animation: hero-breathe 12s ease-in-out infinite alternate; }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,7,43,.58), transparent 68%); }
.hero-caption { position: absolute; z-index: 2; top: 50%; left: max(8vw, calc((100vw - 1360px) / 2)); width: 45%; max-width: 590px; color: white; transform: translateY(-50%); }
.eyebrow { color: #ffc9ee; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.hero-caption h1, .hero-caption h2 { margin: 22px 0; font: 800 clamp(48px, 5.8vw, 88px)/1.02 Georgia, serif; letter-spacing: -.04em; }
.hero-caption h1 { color: #ffda84; }
.hero-caption p { color: #efdefb; font-size: clamp(16px, 1.5vw, 22px); line-height: 1.55; }
.hero-cta { display: inline-flex; align-items: center; gap: 24px; margin-top: 14px; padding: 16px 25px; border-radius: 999px; background: var(--gold); color: #381832; font-size: 12px; font-weight: 800; }
.hero-cta:hover { background: #ffe5a8; }

.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(2, 35, 20, .52); 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(2, 35, 20, .88); 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; gap: 9px; transform: translateX(-50%); }
.slider-dots button { width: 8px; height: 8px; padding: 0; background: rgba(255,255,255,.58); border: 0; border-radius: 999px; cursor: pointer; transition: width .25s ease, background .25s ease; }
.slider-dots button.is-active { width: 30px; background-color: 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; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.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: #795b8b; font: 800 clamp(29px, 4vw, 51px)/1.1 Georgia, serif; letter-spacing: -.025em; }

.about-section { padding: 105px max(6vw, calc((100vw - 1320px) / 2)) 120px; }
.section-heading { max-width: 760px; margin: 0 auto 66px; text-align: center; }
.section-kicker { display: block; margin-bottom: 16px; color: var(--emerald); font-size: 12px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.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; z-index: 0; font-style: normal; }
.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: #647064; 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(8,119,63,.1); border-radius: 22px; box-shadow: 0 18px 55px rgba(15,38,23,.07); transition: transform .25s ease, box-shadow .25s ease; }
.value-card:hover { transform: translateY(-7px); box-shadow: 0 28px 64px rgba(15,38,23,.13); }
.value-number { display: grid; place-items: center; width: 54px; height: 54px; color: white; background: var(--emerald); 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: #667168; 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,217,162,.18); border-radius: 50%; }

.games-section { padding: 110px max(6vw, calc((100vw - 1320px) / 2)) 126px; color: white; background: var(--deep); }
.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: #8ff1ca; }
.games-intro h2 { max-width: 640px; text-transform: uppercase; }
.games-intro p { max-width: 440px; margin: 0 0 5px auto; color: #c0d3c6; line-height: 1.65; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.game-card { overflow: hidden; background: #07542f; border: 1px solid rgba(255,255,255,.11); 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(202,221,0,.2), transparent 58%); }
.game-art img { width: min(100%, 290px); height: 100%; object-fit: contain; filter: drop-shadow(0 20px 18px rgba(0,0,0,.28)); transition: transform .35s ease; }
.game-card:hover .game-art img { transform: scale(1.045) rotate(-1deg); }
.game-copy { padding: 26px 28px 31px; background: rgba(2,44,26,.6); }
.game-copy > span { color: #ddeb5c; 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); }
.contact-section h2 { max-width: 680px; }
.contact-panel { padding: 34px; background: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.55); border-radius: 18px; }
.contact-panel p { margin: 0 0 26px; color: #335a45; line-height: 1.65; }
.contact-panel a { display: flex; justify-content: space-between; gap: 16px; padding-top: 21px; border-top: 1px solid rgba(3,44,26,.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: #c6dccd; background: #021e12; }
.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; letter-spacing: .04em; text-transform: uppercase; }
.site-footer nav a:hover { color: var(--gold); }
[hidden] { display: none !important; }

@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; }
  .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: 610px; min-height: 0; }
  .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) {
  .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; }
}

/* Piggy Slots theme and responsive artwork placement. */
.brand { gap: 5px; }
.brand span { color: #a535a1; }
.site-header { border-color: #eadcf1; }
.main-nav { flex-wrap: wrap; }
.slider-arrow { background: rgba(39,12,60,.55); }
.slider-arrow:hover { background: rgba(39,12,60,.88); }
.slider-controls { position: absolute; z-index: 5; display: flex; align-items: center; gap: 20px; bottom: 22px; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 24px; background: rgba(25,7,43,.6); }
.slider-controls .slider-dots { position: static; transform: none; align-items: center; gap: 3px; }
.slider-dots button { width: 28px; height: 28px; border: 9px solid transparent; background-clip: padding-box; }
.slider-dots button.is-active { width: 44px; }
.slider-pause { min-height: 28px; border: 0; border-left: 1px solid #b994ce; padding: 0 0 0 16px; color: white; background: none; cursor: pointer; font-size: 11px; }
.value-card { border-color: #eadcf1; box-shadow: 0 18px 55px rgba(62,21,92,.05); }
.value-card::after { border-color: #f5e1f4; }
.value-card p, .section-heading > p { color: #75667e; }
.games-section { background: radial-gradient(ellipse at 90% 0%, #502066, transparent 60%), var(--deep); }
.games-intro .section-kicker { color: #f7abd9; }
.games-intro p { color: #d4bde5; }
.game-card { background: #3b1958; }
.game-art { background: radial-gradient(ellipse, #78368a66, transparent 70%); }
.game-copy { background: #200f35aa; }
.game-copy > span { color: #ffd36c; }
.game-copy h3 { font-size: clamp(23px, 2.2vw, 29px); }
.contact-section { background: #f2d6ed; }
.contact-panel p { color: #665071; }
.contact-panel a { overflow-wrap: anywhere; }
.contact-panel .contact-pending { margin: 0; padding-top: 20px; border-top: 1px solid #c5a5c8; font-size: 14px; }
.site-footer { background: #1c0c2b; color: #d1badf; }
.site-footer nav { flex-wrap: wrap; }
:focus-visible { outline: 3px solid #d28b25; outline-offset: 5px; }
.skip-link { position: fixed; top: -70px; left: 16px; z-index: 100; padding: 14px 20px; background: white; }
.skip-link:focus { top: 10px; }
@media (max-width: 820px) {
  .hero-slide img { height: 54%; object-position: right center; object-fit: cover; }
  .hero-slide::after { background: linear-gradient(0deg, #211031 38%, transparent 72%); }
  .hero-caption { top: auto; bottom: 76px; left: 24px; width: calc(100% - 48px); max-width: none; transform: none; }
  .hero-caption h1, .hero-caption h2 { margin: 14px 0; font-size: clamp(40px, 9vw, 56px); }
  .hero-caption p { font-size: 16px; margin: 12px 0; }
  .hero-caption p br { display: none; }
  .eyebrow { font-size: 10px; }
  .slider-arrow { top: 25%; }
  .hero-cta { margin-top: 8px; padding: 13px 21px; }
  .slider-controls { bottom: 18px; }
}
