@font-face {
  font-family: "Omega UI Geometric";
  src: url("./assets/OmegaUIGeometric-Regular-VF.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root { color-scheme: dark; font-family: "Omega UI Geometric", Arial, Helvetica, sans-serif; font-weight: 400; --drum-radius: 104px; --drum-zoom: 1.3; --drum-copy-scale: .76923; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; display: grid; place-items: center; background: #111722; }
button { font: inherit; }
.mega-banner { position: relative; width: min(100vw, 360px); height: min(100vh, 668px); overflow: hidden; background: #000; box-shadow: 0 24px 72px rgb(0 0 0 / .42); user-select: none; -webkit-user-select: none; }
.drum-viewport { position: absolute; z-index: 0; inset: 0; perspective: 1400px; perspective-origin: 50% 50%; touch-action: pan-y; outline: none; }
.drum { position: absolute; z-index: 0; inset: 0; transform: translateZ(calc(-1 * var(--drum-radius))) scale(var(--drum-zoom)); transform-style: preserve-3d; }
.slide { --angle: 0deg; --background-x: 0px; --subject-x: 0px; --subject-y: 0px; --media-scale: 1; --copy-x: 0px; --copy-y: 0px; position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; transform: rotateY(var(--angle)) translateZ(var(--drum-radius)); transform-style: preserve-3d; will-change: transform; }
.slide-background, .slide-subject { position: absolute; inset: 0; pointer-events: none; background-repeat: no-repeat; will-change: transform; }
.slide-background { z-index: 0; transform: translate3d(var(--background-x), 0, 0) scaleX(var(--media-scale)); }
.slide.sport .slide-background, .preview-image.sport { background-image: url('./assets/sport-source.png'); background-size: auto 100%; background-position: 56.9% center; }
.slide.vote .slide-background, .preview-image.vote { background-image: url('./assets/vote-source.png'); background-size: auto 100%; background-position: center; }
.slide.salary .slide-background { background: linear-gradient(177.14deg, #004cbc 6.43%, #24adff 62.97%, #d6eeff 123.79%, #d0ecff 128.87%); }
.slide.salary .slide-subject { z-index: 1; background-image: url('./assets/salary-source.png'); background-size: auto 100%; background-position: center; transform: translate3d(var(--subject-x), var(--subject-y), 0) scaleX(var(--media-scale)); }
.preview-image.salary { background-image: url('./assets/salary-source.png'), linear-gradient(177.14deg, #004cbc 6.43%, #24adff 62.97%, #d6eeff 123.79%, #d0ecff 128.87%); background-size: auto 100%, 100% 100%; background-position: center, center; }
.slide-copy { position: absolute; inset: 0; z-index: 2; color: #fff; text-align: center; transform: translate3d(var(--copy-x), var(--copy-y), 0) scale(var(--drum-copy-scale)); will-change: transform; }
.slide-copy h1 { position: absolute; top: 130px; left: 16px; width: 328px; margin: 0; font-size: 28px; font-weight: 500; line-height: 34px; letter-spacing: 0; }
.slide-copy button { position: absolute; top: 482px; left: 50%; height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: #fff; color: #1e1e20; font-size: 14px; line-height: 18px; transform: translateX(-50%); white-space: nowrap; cursor: pointer; }
.header { position: absolute; z-index: 5; top: 12px; left: 16px; right: 16px; height: 48px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.logo { width: 57.12px; height: 24px; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 2px; pointer-events: auto; }
.icon-button, .header-button { border: 0; color: #fff; background: transparent; cursor: pointer; }
.icon-button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border-radius: 999px; }
.icon-button img { width: 16px; height: 16px; }
.menu-button img { width: 24px; height: 24px; }
.header-button { height: 32px; padding: 0 8px; border-radius: 999px; font-size: 12px; line-height: 16px; }
.segmented { position: absolute; z-index: 5; top: 76px; left: 69px; width: 222px; height: 38px; display: flex; padding: 2px; border-radius: 999px; background: rgb(255 255 255 / .2); backdrop-filter: blur(10px); }
.tab { width: 100px; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-size: 14px; line-height: 18px; white-space: nowrap; cursor: pointer; }
.tab.is-selected { background: #fff; color: #1e1e20; font-weight: 500; }
.preview-cards { position: absolute; z-index: 5; left: 92px; top: 556px; display: flex; align-items: end; gap: 12px; }
.preview { position: relative; width: 48px; height: 48px; overflow: hidden; padding: 0; border: 0; border-radius: 8px; background: rgb(255 255 255 / .2); opacity: .5; cursor: pointer; }
.preview.active { width: 56px; height: 56px; opacity: 1; }
.preview-image { display: block; width: 100%; height: 100%; background-repeat: no-repeat; }
.preview .progress { position: absolute; inset: 0; background: rgb(255 255 255 / .2); opacity: 0; transform: scaleX(0); transform-origin: right center; }
.preview.active .progress { opacity: 1; animation: preview-progress 7.5s linear forwards; }
@keyframes preview-progress { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.bottom-curve { position: absolute; z-index: 4; right: 0; bottom: 0; width: 360px; height: 40px; border-radius: 28px 28px 0 0; background: #fff; pointer-events: none; }
@media (max-width: 359px) { .header-actions { gap: 1px; } .header-button { padding: 0 6px; font-size: 11px; } }
@media (min-width: 360px) and (max-width: 1024px) {
  html, body { width: 100%; height: 100%; overflow: hidden; overscroll-behavior: none; }
  body { display: block; min-height: 100dvh; background: #000; }
  .mega-banner { width: 100vw; height: 100dvh; min-height: 100svh; box-shadow: none; }
  .mega-banner { --drum-radius: 28.8675vw; }
  .drum-viewport { touch-action: none; }
  .drum { --drum-zoom: 1.14; }
  .header { top: 1.8%; left: 4.45%; right: 4.45%; }
  .segmented { top: 11.4%; left: 4.45%; width: 91.1%; }
  .tab { flex: 1 1 0; width: auto; }
  /* Positions compensate for the 1.14 drum zoom × inverse copy scale, so the
     visible gaps remain 24px rather than drifting toward the drum's centre. */
  .slide-copy h1 { top: calc(5.98% + 70.7px); left: 4.45%; width: 91.1%; font-size: clamp(28px, 4vw, 46px); line-height: 1.2; }
  .slide-copy button { top: auto; bottom: calc(12.14% + 27.4px); height: clamp(50px, 6.5vw, 64px); font-size: clamp(14px, 2vw, 18px); }
  .preview-cards { top: 83.2%; left: 50%; transform: translateX(-50%); }
  .bottom-curve { width: 100%; height: 6%; }
}
@media (max-width: 500px) {
  .slide.sport .slide-background { background-size: auto 100%; }
  .slide.vote .slide-background { background-size: auto 100%; }
  .slide.salary .slide-subject { background-size: auto 100%; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none !important; } }
