@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow-condensed-800.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/barlow-condensed-900-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/dm-sans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #100e11;
  --line: #3b3038;
  --ink: #faf5f7;
  --muted: #c0b2bb;
  --rose: #f6a3b1;
  --gutter: clamp(1rem, 5vw, 3rem);
  --ease: cubic-bezier(.2, .75, .3, 1);
  font-family: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { position: relative; isolation: isolate; margin: 0; background: var(--base); color: var(--ink); }

body::before {
  position: absolute;
  z-index: -1;
  inset: 4rem 0 0;
  background: url('assets/brush.webp') center 1rem / max(100%, 68rem) auto no-repeat;
  mask-image: linear-gradient(#000, #000 55%, transparent 94%);
  opacity: .8;
  content: '';
  pointer-events: none;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid #ffacbe; outline-offset: 4px; }

.shell { width: min(71rem, 100% - 2 * var(--gutter)); margin-inline: auto; }

.site-header {
  border-bottom: 1px solid #2d242d;
  background: #141116;
}

.header-inner {
  display: grid;
  min-height: 4.125rem;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
}

.brand {
  display: inline-flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  gap: .625rem;
  text-decoration: none;
}

.brand img { width: 1.9rem; height: auto; }

.brand span {
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}

.header-social {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.social-link {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding-inline: .75rem;
  border: 1px solid var(--line);
  border-radius: .625rem;
  background: #201920;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms, border-color 180ms;
}

.social-link svg { width: 1.0625rem; height: 1.0625rem; flex: none; }
.social-twitch svg { color: #d3b0ff; }
.social-instagram svg { color: var(--rose); }
.social-twitch:hover { border-color: #805ba0; background-color: #312139; }
.social-instagram:hover { border-color: #9a526a; background-color: #37212d; }

.age {
  display: grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  justify-self: end;
  place-items: center;
  border: 1px solid #533743;
  border-radius: 50%;
  color: var(--rose);
  font-size: .8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms, border-color 180ms;
}

.site-header .age:hover { background: #35202b; border-color: #a25066; }

.main { padding-bottom: 2.75rem; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-inner {
  --hero-height: 25.5rem;
  display: grid;
  min-height: var(--hero-height);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(ellipse at 80% 15%, #f744653b, transparent 46%);
  content: '';
  pointer-events: none;
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(0deg, #100e1177, transparent 42%),
    linear-gradient(90deg, #181217 0%, #181217da 22%, #18121722 54%, transparent 75%),
    url('assets/hero-night.webp') center 60% / cover no-repeat;
  background-color: #24121c;
  mask-image: linear-gradient(#000 80%, transparent);
}

.hero-copy { position: relative; z-index: 1; padding-block: 1.5rem; }

.hero h1 {
  font-family: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  font-size: clamp(3.5rem, 7.5vw, 6.85rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -.012em;
  line-height: .88;
  text-shadow: 0 .14em .36em #0c050ba6;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero h1 span { display: inline-block; margin-top: .08em; color: #ff8598; font-size: .88em; }

.hero-portrait {
  display: flex;
  height: var(--hero-height);
  align-items: end;
  justify-content: center;
  padding: 1.25rem 0 0 1.375rem;
}

.hero-portrait img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  filter: drop-shadow(0 .4rem 1.5rem #0a04098f);
  mask-image: linear-gradient(#000 78%, transparent);
}

.offers { margin-top: 1.625rem; }

.section-heading {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .875rem;
}

.section-heading::before {
  width: .25rem;
  height: 1.3rem;
  flex: none;
  border-radius: 1rem;
  background: #d3425d;
  box-shadow: 0 0 .9rem #d3425d42;
  content: '';
}

.section-heading::after {
  height: 1px;
  flex: 1;
  margin-left: .5rem;
  background: linear-gradient(90deg, #3e2a35, #2a222a);
  content: '';
}

.section-heading h2 { font-size: clamp(1.35rem, 3.2vw, 1.65rem); letter-spacing: -.042em; }

.offer {
  --offer-padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(100deg, #201820, #18151a 47%, #1d181e);
  box-shadow: inset 0 1px 0 #ffffff07;
  transition: border-color 220ms var(--ease), box-shadow 220ms var(--ease);
}

.offer:focus-within { border-color: #865060; }
.offer + .offer { margin-top: .75rem; }

.offer-featured {
  border-color: #6b3747;
  background:
    radial-gradient(ellipse at 3% 0%, #63304465, transparent 55%),
    linear-gradient(102deg, #2b1a24, #1c161d 60%, #21171e);
  box-shadow: inset 0 1px 0 #f696ac24, 0 .7rem 1.7rem #08050955;
}

.offer-inner {
  display: grid;
  grid-template-columns: clamp(8.5rem, 16vw, 11.75rem) minmax(0, 1fr) 12rem;
  align-items: center;
  gap: clamp(1rem, 2.45vw, 1.75rem);
  padding: var(--offer-padding);
}

.offer-art {
  position: relative;
  display: grid;
  min-height: 5.75rem;
  isolation: isolate;
  place-items: center;
  overflow: hidden;
  border: 1px solid #69404e;
  border-radius: .75rem;
  background:
    repeating-linear-gradient(138deg, #ffffff08 0 1px, transparent 1px 13px),
    radial-gradient(ellipse at 45% 0%, #78364c, #36212f 68%, #271c26);
}

.offer-art::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e998ab91, transparent);
  content: '';
}

.atlas-art img {
  width: 78%;
  height: auto;
  filter: brightness(0) invert(.95) drop-shadow(0 .35rem .4rem #150710bf);
  transition: transform 240ms var(--ease);
}

.race-art {
  border-color: #533747;
  background:
    repeating-linear-gradient(138deg, #ffffff06 0 1px, transparent 1px 13px),
    radial-gradient(ellipse at top, #573245, #30222f 72%);
}

.race-mark {
  display: flex;
  align-items: end;
  gap: .3rem;
  padding-bottom: .3rem;
  border-bottom: 1px solid #c7788b88;
  filter: drop-shadow(0 .3rem .55rem #120a12);
}

.race-mark i {
  width: .64rem;
  height: 1rem;
  border-radius: .19rem .19rem .08rem .08rem;
  background: linear-gradient(110deg, #f2a4b4, #9c3656);
  box-shadow: inset 0 1px 0 #ffe9ef90, 0 0 .7rem #d54c7428;
}

.race-mark i:nth-child(2) { height: 1.9rem; }
.race-mark i:nth-child(3) { height: 1.37rem; }

.offer-copy h3 {
  margin: .265rem 0 .2rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -.057em;
  line-height: 1.02;
}

.offer-copy p { color: var(--muted); font-size: 1rem; line-height: 1.4; }

.offer-copy .offer-label {
  color: var(--rose);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.offer-copy .offer-label-new {
  display: inline-block;
  padding: .2rem .48rem;
  border: 1px solid #865168;
  border-radius: .375rem;
  background: #53273988;
  color: #ffd0db;
  letter-spacing: .045em;
}

.offer-action { display: grid; }

.button {
  position: relative;
  display: inline-grid;
  min-height: 3rem;
  place-items: center;
  overflow: hidden;
  padding: .6rem 1.125rem;
  border: 1px solid #6d4557;
  border-radius: .625rem;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms var(--ease), border-color 180ms, background-color 180ms, box-shadow 220ms;
}

.button:active { transform: translateY(1px); }

.button-primary {
  border-color: #d2576a;
  background: linear-gradient(175deg, #be324d, #9f2340);
  box-shadow: inset 0 1px 0 #fff2fa30, 0 .3rem .85rem #8d123d54;
}

.button-primary::before {
  position: absolute;
  inset: -20% -30%;
  transform: translateX(-95%) skewX(-22deg);
  background: linear-gradient(90deg, transparent 36%, #ffffff2b 50%, transparent 64%);
  content: '';
  pointer-events: none;
  transition: transform 440ms var(--ease);
}

.button-primary:hover, .button-primary:focus-visible {
  border-color: #ee889a;
  box-shadow: inset 0 1px 0 #fff2fa55, 0 .35rem 1.2rem #bc265c70;
}

.button-secondary {
  background: #35232fe8;
  box-shadow: inset 0 1px 0 #ffffff14, 0 .25rem .55rem #100a12a6;
}

.button-secondary:hover {
  border-color: #bd738a;
  background-color: #492e40;
  box-shadow: inset 0 1px 0 #ffffff1e, 0 .3rem .75rem #100a12b3;
}

.offer-details {
  margin-inline: var(--offer-padding);
  border-top: 1px solid #6a455480;
}

.offer-details summary {
  position: relative;
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border-radius: .35rem;
  color: #ead3de;
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  transition: color 180ms;
}

.offer-details summary::-webkit-details-marker { display: none; }
.offer-details summary:hover { color: #fff4f8; }

.details-icon {
  position: relative;
  width: 1.55rem;
  height: 1.55rem;
  border: 1px solid #7e4e63;
  border-radius: 50%;
  background: #422635a6;
  transition: background-color 180ms, border-color 180ms;
}

.details-icon::before, .details-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: .57rem;
  height: 1px;
  transform: translate(-50%, -50%);
  background: currentColor;
  content: '';
}

.details-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 200ms var(--ease); }
.offer-details[open] .details-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.offer-details summary:hover .details-icon { border-color: #ca7c96; background-color: #5b3148; }

.offer-details p {
  max-width: 44rem;
  padding: .1rem 0 .875rem;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.52;
}

.site-footer { border-top: 1px solid #332833; background: #141116; }

.footer-inner {
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.5rem;
  padding-block: .9rem;
  color: var(--muted);
  font-size: .875rem;
}

.footer-note { display: flex; align-items: center; gap: .75rem; }
.footer-note .age { width: 2.75rem; aspect-ratio: 1; flex: none; }
.footer-note h2 { margin-bottom: .225rem; color: var(--ink); font-size: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-links a { padding-block: .45rem; text-underline-offset: .24em; }
.footer-links a:hover { color: var(--ink); }

.footer-disclosure {
  padding-block: .65rem .9rem;
  border-top: 1px solid #332833;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.4;
}

@media (hover: hover) {
  .offer:hover { border-color: #744b5e; box-shadow: inset 0 1px 0 #ffffff10, 0 .6rem 1.45rem #0b070d68; }
  .offer-featured:hover { border-color: #a65b74; }
  .offer-featured:hover .atlas-art img { transform: scale(1.035); }
  .button:hover { transform: translateY(-1px); }
  .button:active { transform: translateY(1px); }
  .button-primary:hover::before { transform: translateX(95%) skewX(-22deg); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy { animation: reveal 540ms var(--ease) both; }
  .hero-portrait { animation: reveal 650ms 80ms var(--ease) both; }
  .hero::after { animation: light-in 1200ms var(--ease) both; }
  .offer { animation: reveal 520ms 120ms var(--ease) both; }
  .offer + .offer { animation-delay: 195ms; }
  .offer-details[open] p { animation: reveal 260ms var(--ease) both; }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes light-in {
  from { opacity: .3; }
  to { opacity: 1; }
}

@media (max-width: 840px) {
  .hero-inner { --hero-height: 20rem; }
  .hero h1 { font-size: clamp(3rem, 7.35vw, 4.75rem); }
  .offer-inner { grid-template-columns: 8.5rem minmax(0, 1fr) 10rem; }
}

@media (max-width: 640px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: .875rem; min-height: 3.625rem; }
  .brand { gap: .4rem; }
  .brand img { width: 1.6rem; }
  .brand span { font-size: 1.22rem; }
  .social-link { padding-inline: .55rem; font-size: .8125rem; }
  .age { min-width: 2.5rem; min-height: 2.5rem; }

  body::before { background-position: 13% 8rem; background-size: 52rem auto; }
  .main { padding-bottom: 1.75rem; }
  .hero-inner {
    --hero-height: 14rem;
    grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr);
  }
  .hero h1 { font-size: clamp(1.6rem, 7.45vw, 3.45rem); }
  .hero-image { background-position: center, center, 79% 66%; }
  .hero-portrait { padding: .75rem 0 0; }

  .offers { margin-top: 1.125rem; }
  .section-heading { gap: .625rem; }
  .offer { --offer-padding: .75rem; }
  .offer-inner { grid-template-columns: minmax(4.25rem, 28%) minmax(0, 1fr); gap: .8rem; }
  .offer-art { min-height: 4.4rem; }
  .offer-action { grid-column: 1 / -1; }
  .footer-inner { flex-wrap: wrap; }
}

@media (max-width: 420px) {
  .social-link { padding-inline: 0; }

  .social-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 355px) {
  .header-inner { gap: .6rem; }
  .brand span { font-size: 1.1rem; letter-spacing: .04em; }
  .hero h1 { font-size: clamp(1.4rem, 7.45vw, 1.8rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
