/* TICKSTRIKE website. Fonts are bundled (SIL Open Font License), no external requests. */
@font-face { font-family: "Slab"; src: url("assets/fonts/AlfaSlabOne-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Nunito"; font-weight: 700; src: url("assets/fonts/Nunito-Bold.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Nunito"; font-weight: 800; src: url("assets/fonts/Nunito-ExtraBold.ttf") format("truetype"); font-display: swap; }

:root {
  --ink: #130e3a;
  --violet: #3a1f8f;
  --violet-deep: #24125f;
  --night: #170c45;
  --yellow: #ffc61a;
  --orange: #ff7a1a;
  --red: #f0392b;
  --pink: #ff4fa3;
  --mint: #3fd6a0;
  --blue: #3aa0ff;
  --paper: #fff7e6;
  --outline: 4px solid var(--ink);
  --shadow: 0 8px 0 var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 700;
  color: #fff;
  background: var(--night);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h2, h3, p { margin: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  transition: background .25s, box-shadow .25s;
}
.nav--solid { background: rgba(23, 12, 69, .94); box-shadow: 0 4px 0 var(--ink); }
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: none; }
.nav__links a { margin: 0 14px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 15px; }
.nav__links a:hover { color: var(--yellow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Slab", serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 14px 26px;
  border: var(--outline);
  border-radius: 16px;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .12s, box-shadow .12s, filter .12s;
  font-size: 18px;
  text-align: center;
}
.btn:hover { transform: translateY(-3px) rotate(-1deg); box-shadow: 0 9px 0 var(--ink); filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn--yellow { background: linear-gradient(#ffe25a, var(--yellow) 55%, #ff9d1a); color: var(--ink); }
.btn--ghost { background: rgba(19, 14, 58, .7); color: #fff; }
.btn--small { padding: 8px 14px; font-size: 14px; border-width: 3px; border-radius: 12px; box-shadow: 0 4px 0 var(--ink); }
.btn--big { font-size: 22px; padding: 16px 30px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 96px 16px 110px;
}
.hero__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 24s ease-in-out infinite alternate; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(23,12,69,.15) 0%, rgba(23,12,69,.72) 70%),
    linear-gradient(to bottom, rgba(23,12,69,.55) 0%, rgba(23,12,69,0) 30%, rgba(23,12,69,.9) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 900px; }
.hero__logo {
  width: min(86vw, 640px); margin: 0 auto 10px;
  filter: drop-shadow(0 8px 0 rgba(19,14,58,.9));
  animation: logo-pop .9s cubic-bezier(.2, 1.6, .4, 1) both, logo-bob 4s ease-in-out 1s infinite;
}
.hero__claim {
  font-family: "Slab", serif; text-transform: uppercase;
  font-size: clamp(24px, 5.2vw, 46px); line-height: 1.1;
  text-shadow: 0 4px 0 var(--ink), 0 0 24px rgba(19,14,58,.8);
}
.hero__claim span { color: var(--yellow); display: inline-block; animation: wiggle 2.2s ease-in-out infinite; }
.hero__sub { margin: 14px auto 24px; max-width: 560px; font-size: clamp(16px, 2.6vw, 20px); text-shadow: 0 2px 0 var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; }
.hero__cta .btn { margin: 8px; }

.burst {
  position: absolute; z-index: 1; width: 62vmax; height: 62vmax; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,198,26,.20) 0 8deg, transparent 8deg 16deg);
  -webkit-mask: radial-gradient(circle, #000 0, transparent 68%);
          mask: radial-gradient(circle, #000 0, transparent 68%);
  animation: spin 40s linear infinite;
  pointer-events: none;
}
.burst--a { top: -22vmax; left: -22vmax; }
.burst--b { bottom: -26vmax; right: -24vmax; animation-direction: reverse;
  background: repeating-conic-gradient(from 0deg, rgba(255,79,163,.18) 0 8deg, transparent 8deg 16deg); }

.ticker {
  position: absolute; left: -2vw; right: -2vw; bottom: 22px; z-index: 3;
  background: var(--yellow); color: var(--ink);
  border-top: var(--outline); border-bottom: var(--outline);
  transform: rotate(-1.6deg); overflow: hidden;
}
.ticker__track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.ticker span, .ticker i { font-family: "Slab", serif; font-style: normal; font-size: 18px; padding: 9px 14px; white-space: nowrap; }
.ticker i { color: var(--red); }

/* ---------- Sections ---------- */
.section { position: relative; padding: 84px 16px; overflow: hidden; }
.section--violet {
  background:
    radial-gradient(circle at 12% 18%, rgba(255,79,163,.28), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(58,160,255,.28), transparent 40%),
    linear-gradient(160deg, var(--violet), var(--violet-deep));
}
.section--orange {
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 12%, rgba(255,255,255,.45), transparent 36%),
    linear-gradient(150deg, var(--yellow), var(--orange) 55%, var(--red));
}
.section--orange::before, .section--violet::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14;
  background-image: radial-gradient(currentColor 2px, transparent 2.5px);
  background-size: 22px 22px;
}
.section--night { background: linear-gradient(180deg, var(--night), #2a1670); }

.title {
  font-family: "Slab", serif; text-transform: uppercase; text-align: center;
  font-size: clamp(30px, 6vw, 56px); line-height: 1.05;
  text-shadow: 0 5px 0 var(--ink);
  position: relative;
}
.title em { font-style: normal; color: var(--yellow); display: inline-block; transform: rotate(-3deg); }
.title--dark { color: var(--paper); }
.title--dark em { color: var(--ink); text-shadow: 0 4px 0 rgba(255,255,255,.55); }
.lead { text-align: center; max-width: 640px; margin: 14px auto 0; font-size: clamp(16px, 2.4vw, 20px); position: relative; }
.lead--dark { color: var(--ink); }

/* ---------- Striker cards ---------- */
.strikers {
  position: relative;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  max-width: 1180px; margin: 44px auto 0;
}
.card {
  position: relative; background: var(--night);
  border: var(--outline); border-radius: 22px; box-shadow: var(--shadow);
  padding: 0 12px 16px; text-align: center;
  transition: transform .18s cubic-bezier(.2, 1.4, .4, 1), box-shadow .18s;
}
.card:hover { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 16px 0 var(--ink); }
.card:nth-child(even):hover { transform: translateY(-10px) rotate(1.5deg); }
.card__art {
  height: 230px; margin: 0 -12px 10px; border-radius: 18px 18px 0 0; overflow: hidden;
  background:
    repeating-conic-gradient(from 0deg at 50% 78%, rgba(255,255,255,.16) 0 10deg, transparent 10deg 20deg),
    linear-gradient(to bottom, var(--c), color-mix(in srgb, var(--c) 55%, #000));
  border-bottom: var(--outline);
  display: flex; align-items: flex-end; justify-content: center;
}
.card__art img { height: 92%; width: auto; max-width: 92%; object-fit: contain; object-position: 50% 100%; transform-origin: 50% 100%; transition: transform .25s cubic-bezier(.2, 1.6, .4, 1); filter: drop-shadow(0 6px 0 rgba(19,14,58,.45)); }
.card:hover .card__art img { transform: scale(1.06); }
.card h3 { font-family: "Slab", serif; font-size: 24px; text-transform: uppercase; color: var(--c); text-shadow: 0 3px 0 var(--ink); }
.card__role { color: var(--yellow); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin: 2px 0 8px; }
.card__text { font-size: 14px; line-height: 1.4; color: #e8e2ff; }
.card__badge {
  position: absolute; top: -12px; right: -8px; z-index: 2;
  background: var(--pink); color: #fff; font-family: "Slab", serif; font-size: 14px;
  padding: 5px 10px; border: 3px solid var(--ink); border-radius: 10px; transform: rotate(8deg);
  box-shadow: 0 4px 0 var(--ink); animation: wiggle 1.8s ease-in-out infinite;
}

/* ---------- Modes ---------- */
.modes {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 18px;
  max-width: 1180px; margin: 44px auto 0;
}
.mode {
  background: var(--paper); color: var(--ink);
  border: var(--outline); border-radius: 22px; box-shadow: var(--shadow);
  padding: 22px 18px 20px; text-align: center; position: relative;
  transition: transform .18s cubic-bezier(.2, 1.4, .4, 1);
}
.mode:hover { transform: translateY(-8px) scale(1.02); }
.mode img { height: 104px; width: auto; margin: 0 auto 8px; animation: float 3.4s ease-in-out infinite; filter: drop-shadow(0 6px 0 rgba(19,14,58,.25)); }
.mode:nth-child(2) img { animation-delay: -.8s; }
.mode:nth-child(3) img { animation-delay: -1.6s; }
.mode:nth-child(4) img { animation-delay: -2.4s; }
.mode h3 { font-family: "Slab", serif; font-size: 24px; text-transform: uppercase; }
.mode p { margin: 8px 0 14px; font-size: 15px; line-height: 1.4; }
.mode__tag { display: inline-block; background: var(--violet); color: #fff; padding: 5px 12px; border: 3px solid var(--ink); border-radius: 999px; font-weight: 800; font-size: 13px; text-transform: uppercase; }

/* ---------- Trailer ---------- */
.trailer { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; max-width: 1040px; margin: 0 auto; }
.trailer__phone {
  width: min(78vw, 320px); margin: 0 auto; aspect-ratio: 9 / 16;
  border: 6px solid var(--ink); border-radius: 34px; overflow: hidden;
  box-shadow: 0 12px 0 var(--ink), 0 0 0 6px var(--yellow), 0 0 60px rgba(255,198,26,.35);
  transform: rotate(-3deg); background: #000;
}
.trailer__phone video { width: 100%; height: 100%; object-fit: cover; }
.trailer__text .title, .trailer__text .lead { text-align: center; }
.trailer__text .btn { display: block; width: max-content; margin: 22px auto 0; }
.checks { list-style: none; padding: 0; margin: 20px auto 0; max-width: 420px; }
.checks li { position: relative; padding: 8px 0 8px 40px; font-size: 17px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--mint); color: var(--ink);
  border: 3px solid var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 15px;
}

/* ---------- Features ---------- */
.features { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: 40px auto 0; }
.feature { background: rgba(19,14,58,.72); border: var(--outline); border-radius: 20px; padding: 18px 14px; text-align: center; box-shadow: 0 6px 0 var(--ink); transition: transform .18s; }
.feature:hover { transform: translateY(-6px) rotate(1deg); }
.feature img { height: 62px; width: auto; margin: 0 auto 8px; }
.feature h3 { font-family: "Slab", serif; text-transform: uppercase; font-size: 18px; color: var(--yellow); }
.feature p { font-size: 14px; line-height: 1.4; margin-top: 6px; color: #e8e2ff; }

/* ---------- Call to action ---------- */
.cta { position: relative; padding: 96px 16px; text-align: center; overflow: hidden; border-top: var(--outline); }
.cta__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slow-zoom 22s ease-in-out infinite alternate; }
.cta__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(23,12,69,.55), rgba(23,12,69,.9)); }
.cta__content { position: relative; z-index: 2; }
.cta__logo { width: min(70vw, 420px); margin: 0 auto 12px; filter: drop-shadow(0 6px 0 rgba(19,14,58,.9)); }
.stores { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.store {
  margin: 8px; min-width: 210px; padding: 12px 22px; text-align: left;
  background: var(--ink); border: 4px solid var(--yellow); border-radius: 16px;
  box-shadow: 0 6px 0 rgba(0,0,0,.55); transition: transform .12s, box-shadow .12s;
}
.store:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 10px 0 rgba(0,0,0,.55); }
.store small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #cfc6ff; }
.store b { font-family: "Slab", serif; font-size: 24px; font-weight: 400; }
.store--off { border-color: #7d74b8; opacity: .8; cursor: default; }
.cta__note { margin-top: 14px; font-size: 14px; color: #e8e2ff; min-height: 1em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); text-align: center; padding: 34px 16px 40px; }
.footer img { height: 44px; width: auto; margin: 0 auto 14px; }
.footer nav a { display: inline-block; margin: 4px 12px; color: #cfc6ff; font-size: 15px; }
.footer nav a:hover { color: var(--yellow); }
.footer p { margin-top: 14px; font-size: 13px; color: #8d84c4; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px) scale(.96); transition: opacity .55s ease, transform .55s cubic-bezier(.2, 1.4, .4, 1); }
.reveal--in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes logo-pop { from { transform: scale(.3) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes logo-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg) scale(1); } 50% { transform: rotate(3deg) scale(1.06); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes slow-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }

/* ---------- Wider screens ---------- */
@media (min-width: 720px) {
  .nav { padding: 12px 28px; }
  .nav__links { display: block; }
  .strikers { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .card__art { height: 270px; }

  .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trailer { grid-template-columns: 340px 1fr; }
  .trailer__text .title, .trailer__text .lead { text-align: left; margin-left: 0; }
  .trailer__text .btn { margin-left: 0; }
  .checks { margin-left: 0; }
}
@media (min-width: 1040px) {
  .modes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
