@charset "UTF-8";

:root {
  --ink: #090806;
  --surface: #120e0b;
  --surface-soft: #1c1510;
  --cream: #fff7e8;
  --muted: #b9ada1;
  --gold: #ffc139;
  --gold-light: #ffe18a;
  --ember: #d84722;
  --wine: #7b1719;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--cream);
  font-family: "Inter", Arial, sans-serif;
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 7, 6, 0.96);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}

.header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
}

.header__logo {
  width: 132px;
  height: 44px;
  display: block;
  overflow: hidden;
  pointer-events: none;
  transition: filter 180ms ease, transform 180ms ease;
}

.header__logo img,
.header__logo svg {
  width: 100%;
  height: 100%;
  display: block;
}

.header__brand:hover .header__logo {
  filter: drop-shadow(0 0 12px rgba(255, 193, 57, 0.34));
  transform: translateY(-1px);
}

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

.button {
  min-height: 52px;
  padding: 14px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button:focus-visible,
.header__brand:focus-visible,
.partner-item:focus-visible,
.bonus-path__total a:focus-visible {
  outline: 3px solid rgba(255, 225, 138, 0.72);
  outline-offset: 4px;
}

.button--small {
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
}

.button--gold {
  color: #231300;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 5px 20px rgba(255, 174, 29, 0.14);
}

.button--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.button--ghost:hover {
  border-color: rgba(255, 193, 57, 0.5);
  background: rgba(255, 193, 57, 0.08);
}

.button--primary {
  position: relative;
  min-width: 260px;
  color: #271400;
  background: linear-gradient(135deg, #fff1a7 0%, #ffc237 50%, #e88b18 100%);
  box-shadow: 0 14px 36px rgba(225, 108, 21, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.button--primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.56) 42%, transparent 62%);
  transform: translateX(-120%);
  animation: button-shine 4.6s ease-in-out infinite;
}

.button--primary > * {
  position: relative;
}

.hero {
  min-height: min(790px, calc(100svh - 76px));
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background-color: #130907;
  background-image: url("../img/autumn-casino-hero-v4.jpg");
  background-position: center bottom;
  background-size: cover;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 4, 3, 0.24) 0%, rgba(5, 4, 3, 0.05) 52%, rgba(8, 6, 4, 0.46) 100%),
    radial-gradient(circle at 50% 44%, rgba(8, 5, 4, 0.12) 0, rgba(8, 5, 4, 0.48) 52%, transparent 80%);
}

.hero__veil {
  position: absolute;
  z-index: -1;
  width: min(920px, 86vw);
  height: 670px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(9, 5, 4, 0.78) 0%, rgba(9, 5, 4, 0.5) 44%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}

.hero__content {
  padding-block: 78px 138px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow span:last-child {
  transform: scaleX(-1);
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #fff9ea;
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-wrap: balance;
  text-shadow: 0 8px 38px rgba(0, 0, 0, 0.72);
}

.hero__lead {
  max-width: 620px;
  margin: 24px auto 0;
  color: #d8c9ba;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.55;
}

.offer {
  margin: 28px auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
}

.offer__item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.offer__item strong {
  padding-right: 0.08em;
  color: transparent;
  font-size: clamp(46px, 6.5vw, 82px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #fff5bd 0%, #ffca45 52%, #da741a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 4px 18px rgba(223, 107, 22, 0.2));
}

.offer__item span {
  color: #f0d89f;
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 800;
}

.offer__plus {
  color: rgba(255, 241, 198, 0.52);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
}

.hero__cta {
  font-size: 16px;
}

.hero__meta {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #c5b7a9;
  font-size: 12px;
  list-style: none;
}

.hero__meta span {
  margin-right: 4px;
  color: var(--gold);
}

.leaf {
  width: 13px;
  height: 22px;
  position: absolute;
  z-index: 1;
  color: transparent;
  border-radius: 90% 0 90% 0;
  background: linear-gradient(135deg, #f5ab35, #a92816);
  box-shadow: 0 0 18px rgba(230, 92, 26, 0.22);
  opacity: 0.72;
  pointer-events: none;
  animation: leaf-drift 8s ease-in-out infinite;
}

.leaf::after {
  content: "";
  width: 1px;
  height: 24px;
  position: absolute;
  top: 1px;
  left: 7px;
  background: rgba(78, 22, 8, 0.65);
  transform: rotate(-31deg);
}

.leaf--one {
  top: 20%;
  left: 13%;
  transform: rotate(26deg);
}

.leaf--two {
  top: 29%;
  right: 12%;
  animation-delay: -2.2s;
  transform: rotate(-38deg) scale(0.8);
}

.leaf--three {
  bottom: 23%;
  left: 22%;
  animation-delay: -4.6s;
  transform: rotate(72deg) scale(0.7);
}

.bonus-path {
  position: relative;
  padding: 96px 0 84px;
  background:
    radial-gradient(circle at 50% 0, rgba(147, 48, 20, 0.22), transparent 34%),
    linear-gradient(180deg, #130e0a 0%, #0a0907 100%);
  border-top: 1px solid rgba(255, 197, 78, 0.12);
}

.section-heading {
  max-width: 700px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-kicker {
  margin: 0 0 10px !important;
  color: #e79535 !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.reward-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  list-style: none;
}

.reward-swipe-hint {
  display: none;
}

.reward-card {
  min-height: 276px;
  position: relative;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.reward-card::before {
  content: "";
  width: 150px;
  height: 150px;
  position: absolute;
  top: 38px;
  left: 50%;
  background: radial-gradient(circle, rgba(255, 181, 46, 0.1), transparent 66%);
  transform: translateX(-50%);
  pointer-events: none;
}

.reward-card::after {
  content: "";
  width: 90px;
  height: 90px;
  position: absolute;
  right: -42px;
  bottom: -42px;
  border: 1px solid rgba(255, 177, 53, 0.1);
  border-radius: 50%;
}

.reward-card:hover {
  border-color: rgba(255, 193, 57, 0.3);
  background: linear-gradient(155deg, rgba(255, 193, 57, 0.09), rgba(255, 255, 255, 0.02));
  transform: translateY(-5px);
}

.reward-card__number {
  color: #bf8f50;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.reward-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.reward-card__step {
  color: #766b61;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reward-card__reward {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.reward-card__reward strong {
  color: transparent;
  font-size: clamp(32px, 2.7vw, 42px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.055em;
  background: linear-gradient(180deg, #fff1b7, #f1a52f);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 5px 16px rgba(217, 105, 21, 0.16));
}

.reward-card__reward > span {
  padding: 6px 9px;
  color: #402000;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe17f, #f4a622);
  box-shadow: 0 7px 18px rgba(218, 110, 21, 0.14);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.reward-card__description {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #b8aa9d;
  font-size: 11px;
  line-height: 1.5;
}

.reward-card__foot {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
}

.reward-card__foot > span:first-child {
  color: #a2968a;
  font-size: 10px;
}

.reward-card__progress {
  width: 100%;
  height: 3px;
  display: block;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.reward-card__progress i {
  width: var(--progress);
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #d95d22, var(--gold));
  box-shadow: 0 0 10px rgba(255, 193, 57, 0.35);
}

.reward-card--featured {
  border-color: rgba(255, 193, 57, 0.42);
  background: linear-gradient(145deg, rgba(126, 39, 17, 0.78), rgba(48, 25, 12, 0.82));
  box-shadow: 0 18px 44px rgba(131, 40, 15, 0.18), inset 0 1px 0 rgba(255, 210, 104, 0.08);
}

.reward-card__tag {
  position: absolute;
  top: 15px;
  right: 14px;
  padding: 5px 8px;
  color: #351b00;
  border-radius: 99px;
  background: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reward-card--featured .reward-card__step {
  padding-right: 44px;
}

.bonus-path__total {
  margin-top: 24px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 193, 57, 0.22);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(208, 64, 25, 0.12), rgba(255, 193, 57, 0.08));
}

.bonus-path__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #4b2500;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 24px rgba(255, 160, 29, 0.18);
}

.bonus-path__total p {
  margin: 0;
  color: #9f9286;
  font-size: 13px;
  line-height: 1.55;
}

.bonus-path__total strong {
  color: var(--cream);
  font-size: 17px;
}

.bonus-path__total a {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.terms-note {
  max-width: 760px;
  margin: 22px auto 0;
  color: #625a53;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.footer {
  padding: 58px 0 30px;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #050504;
}

.footer-partners {
  padding-bottom: 30px;
}

.partners-title {
  margin: 0 0 24px;
  color: #4b4845;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-align: center;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.partner-item {
  display: block;
  opacity: 0.45;
  filter: grayscale(1) brightness(2);
  transition: opacity 180ms ease, filter 180ms ease;
}

.partner-item:hover {
  opacity: 0.9;
  filter: grayscale(0) brightness(1);
}

.partner-item img {
  height: 28px;
  display: block;
  max-width: 96px;
}

.footer-divider {
  height: 1px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-copy-row {
  padding-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-copy-row > p {
  margin: 0;
  color: #5e5a56;
  font-size: 12px;
}

.responsible-badges {
  display: flex;
  align-items: center;
  gap: 13px;
}

.responsible-badges a {
  display: block;
}

.responsible-badges img {
  height: 38px;
  display: block;
  opacity: 0.66;
}

.footer-legal-text p {
  margin: 0 0 9px;
  color: #46423f;
  font-size: 10px;
  line-height: 1.7;
}

.footer-legal-text a,
.footer-legal-text strong {
  color: #625d58;
}

@keyframes button-shine {
  0%, 70% { transform: translateX(-120%); }
  88%, 100% { transform: translateX(120%); }
}

@keyframes leaf-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 11px 18px; rotate: 14deg; }
}

@keyframes header-appear {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
}

@keyframes hero-appear {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(4px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .header {
    animation: header-appear 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero .eyebrow,
  .hero h1,
  .hero__lead,
  .offer,
  .hero__cta,
  .hero__meta {
    animation: hero-appear 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero .eyebrow { animation-delay: 100ms; }
  .hero h1 { animation-delay: 180ms; }
  .hero__lead { animation-delay: 270ms; }
  .offer { animation-delay: 360ms; }
  .hero__cta { animation-delay: 460ms; }
  .hero__meta { animation-delay: 560ms; }

  .reveal-on-scroll {
    opacity: 0;
    translate: 0 26px;
    filter: blur(3px);
    transition:
      opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
      translate 720ms cubic-bezier(0.22, 1, 0.36, 1),
      filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .reveal-on-scroll.is-visible {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 720px;
  }

  .reward-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reward-card {
    min-height: 246px;
  }

  .reward-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), 1180px);
  }

  .header__inner {
    min-height: 66px;
    gap: 12px;
  }

  .header__logo {
    width: 106px;
    height: 36px;
  }

  .header__actions {
    gap: 7px;
  }

  .button--small {
    width: 40px;
    min-height: 40px;
    padding: 10px;
  }

  .button--small span {
    display: none;
  }

  .hero {
    min-height: 660px;
    background-position: 100% bottom;
    background-size: auto 100%;
    background-repeat: no-repeat;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(5, 4, 3, 0.25), rgba(5, 4, 3, 0.14) 58%, rgba(5, 4, 3, 0.52)),
      radial-gradient(circle at 50% 38%, rgba(8, 5, 4, 0.12), rgba(8, 5, 4, 0.55) 66%, transparent 90%);
  }

  .hero__content {
    padding-block: 58px 92px;
  }

  .eyebrow {
    margin-bottom: 16px;
    gap: 9px;
    font-size: 9px;
    letter-spacing: 0.17em;
  }

  .eyebrow span {
    width: 18px;
  }

  .hero h1 {
    font-size: clamp(39px, 13vw, 58px);
    line-height: 0.98;
  }

  .hero__lead {
    max-width: 340px;
    margin-top: 19px;
    font-size: 14px;
  }

  .offer {
    margin-block: 28px 30px;
    gap: 12px;
  }

  .offer__item {
    gap: 4px;
  }

  .offer__item strong {
    font-size: clamp(41px, 13.5vw, 62px);
  }

  .offer__item span {
    font-size: 12px;
  }

  .offer__plus {
    font-size: 24px;
  }

  .hero__cta {
    width: min(100%, 320px);
  }

  .hero__meta {
    max-width: 310px;
    margin-inline: auto;
    gap: 8px 14px;
    font-size: 10px;
  }

  .leaf--one {
    left: 7%;
  }

  .leaf--two {
    right: 7%;
  }

  .bonus-path {
    padding: 70px 0 64px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .reward-grid {
    margin-inline: -2px;
    padding: 2px 2px 12px;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 2px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .reward-grid::-webkit-scrollbar {
    display: none;
  }

  .reward-swipe-hint {
    margin: -14px 0 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    color: #c99a58;
    font-size: 11px;
  }

  .reward-swipe-hint span {
    color: var(--gold);
    font-size: 16px;
  }

  .reward-card,
  .reward-card:last-child {
    min-height: 220px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    grid-column: auto;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: 14px;
  }

  .reward-card.reveal-on-scroll {
    opacity: 1;
    translate: 0 0;
    filter: none;
    transition: none;
  }

  .reward-card__reward {
    margin: 18px 0 16px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .reward-card__reward strong {
    font-size: 34px;
  }

  .reward-card__reward > span {
    padding: 6px 10px;
    font-size: 11px;
  }

  .reward-card__foot {
    gap: 8px;
  }

  .reward-card__tag {
    top: 13px;
    right: 12px;
  }

  .bonus-path__total {
    padding: 18px;
    grid-template-columns: auto 1fr;
    border-radius: 14px;
  }

  .bonus-path__total a {
    grid-column: 1 / -1;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
  }

  .footer {
    padding-top: 46px;
  }

  .partners-logos {
    gap: 18px;
  }

  .partner-item img {
    height: 24px;
    max-width: 82px;
  }

  .footer-copy-row {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .header__logo {
    width: 92px;
    height: 31px;
  }

  .offer {
    gap: 8px;
  }

  .offer__item strong {
    font-size: 40px;
  }

  .offer__item span {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
