:root {
  --purple: #2E0854;
  --purple-deep: #1E043A;
  --purple-mid: #43107A;
  --purple-soft: #5B2796;
  --orange: #FF8C00;
  --orange-light: #FFB347;
  --cream: #FFF4E5;
  --ink: #2A1245;
  --muted: #B9A5D6;
  --radius: 18px;
  --font: "Trebuchet MS", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--purple-deep);
  color: #FFFFFF;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }
svg { display: block; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn-main { background: var(--orange); color: var(--purple-deep); box-shadow: 0 6px 18px rgba(255, 140, 0, 0.35); }
.btn-main:hover { background: var(--orange-light); transform: translateY(-1px); }
.btn-line { border-color: rgba(255, 255, 255, 0.4); color: #FFFFFF; }
.btn-line:hover { border-color: var(--orange); color: var(--orange-light); }
.btn-ghost { border-color: var(--orange); color: var(--orange-light); height: 38px; padding: 0 18px; }
.btn-ghost:hover { background: var(--orange); color: var(--purple-deep); }

/* Header */
.top { background: var(--purple); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.top-in { display: flex; align-items: center; height: 64px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.logo-svg { width: 36px; height: 36px; }
.lg-bg { fill: var(--orange); }
.lg-sun { fill: #FFE2B0; }
.lg-line { stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; fill: none; }
.lg-tree { stroke: var(--purple); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.menu { display: flex; gap: 4px; margin: 0 auto; }
.menu a { padding: 8px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; color: #E6D8F7; transition: background 0.15s ease, color 0.15s ease; white-space: nowrap; }
.menu a:hover { background: rgba(255, 255, 255, 0.1); color: #FFFFFF; }
.top-right { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: #E6D8F7; }
.globe { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.chev { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero {
  text-align: center;
  padding: 28px 0 40px;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 140, 0, 0.22), transparent 70%),
    linear-gradient(180deg, var(--purple) 0%, var(--purple-deep) 100%);
}
.eyebrow { display: inline-block; padding: 4px 14px; border-radius: 999px; background: rgba(255, 140, 0, 0.16); color: var(--orange-light); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hero h1 { margin-top: 12px; font-size: clamp(30px, 4.6vw, 56px); line-height: 1.08; font-weight: 700; letter-spacing: -0.01em; }
.hero h1 span { color: var(--orange); }
.lead { margin: 10px auto 0; max-width: 560px; font-size: 18px; color: #DCCBF2; }
.actions { display: flex; justify-content: center; gap: 12px; margin-top: 18px; }

/* Live element */
.live { display: flex; align-items: center; justify-content: center; gap: 32px; margin: 26px auto 0; max-width: 820px; text-align: left; }
.wheel { flex: 0 0 auto; width: 150px; }
.wheel-svg { width: 150px; height: 150px; overflow: visible; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45)); }
.wheel-spin { transform-origin: 100px 100px; }
.rim { fill: var(--orange); }
.c1 { fill: #FF8C00; }
.c2 { fill: #7A2FC4; }
.c3 { fill: #FFB347; }
.c4 { fill: #43107A; }
.peg { fill: #FFF4E5; }
.hub { fill: var(--purple-deep); stroke: var(--orange); stroke-width: 4; }
.hub-dot { fill: var(--orange); }
.pointer { fill: #FFFFFF; stroke: var(--purple-deep); stroke-width: 2; stroke-linejoin: round; }

.panel { flex: 1 1 auto; max-width: 560px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); padding: 12px 18px 8px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 6px; }
.panel-head h2 { font-size: 17px; font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: #E5254B; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #FFFFFF; }
.matches { display: block; }
.match { display: grid; grid-template-columns: 1fr auto 1fr 52px; align-items: center; gap: 10px; padding: 9px 8px; border-top: 1px solid rgba(255, 255, 255, 0.1); border-radius: 10px; font-size: 15px; }
.team { font-weight: 700; text-align: right; }
.team.away { text-align: left; }
.score { display: inline-flex; align-items: center; gap: 6px; padding: 2px 12px; border-radius: 8px; background: var(--purple-deep); font-size: 16px; }
.score b { min-width: 12px; text-align: center; color: var(--orange-light); }
.score i { font-style: normal; color: var(--muted); }
.minute { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; font-size: 14px; font-weight: 700; color: var(--orange-light); font-variant-numeric: tabular-nums; }
.minute .dot { width: 6px; height: 6px; background: #E5254B; }
.match.goal { background: rgba(255, 140, 0, 0.22); }

/* Stats strip */
.strip { background: var(--orange); color: var(--purple-deep); }
.strip-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 22px; padding-bottom: 22px; text-align: center; }
.stat strong { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 30px; line-height: 1.1; }
.stat span { font-size: 14px; font-weight: 700; opacity: 0.8; }
.star { width: 22px; height: 22px; fill: var(--purple-deep); }

/* Features, three blocks stacked */
.features { padding: 64px 0 24px; background: var(--purple-deep); }
.sec-title { text-align: center; font-size: clamp(26px, 3vw, 36px); margin-bottom: 32px; }
.card { display: flex; align-items: center; gap: 28px; margin-bottom: 18px; padding: 24px 28px; border-radius: 24px; background: linear-gradient(100deg, var(--purple-mid), var(--purple)); border: 1px solid rgba(255, 255, 255, 0.1); }
.card:nth-of-type(even) { background: linear-gradient(100deg, var(--purple), var(--purple-mid)); }
.icon { flex: 0 0 auto; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: var(--orange); }
.icon svg { width: 40px; height: 40px; fill: none; stroke: var(--purple-deep); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.card-text { flex: 1 1 auto; }
.card h3 { font-size: 22px; margin-bottom: 4px; }
.card p { color: #DCCBF2; max-width: 620px; }
.more { flex: 0 0 auto; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--orange); color: var(--orange-light); font-weight: 700; font-size: 14px; white-space: nowrap; }
.more:hover { background: var(--orange); color: var(--purple-deep); }

/* Testimonials */
.voices { padding: 40px 0; }
.voices-in { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote { padding: 26px 28px; border-radius: var(--radius); background: var(--cream); color: var(--ink); }
.quote blockquote { font-size: 18px; line-height: 1.5; font-style: italic; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-weight: 700; font-size: 15px; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--purple); color: var(--orange-light); font-size: 17px; }

/* App badges */
.apps { padding: 8px 0 56px; }
.apps-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; padding-bottom: 28px; border-radius: 24px; background: var(--purple); border: 1px solid rgba(255, 255, 255, 0.1); max-width: 1112px; }
.apps h2 { font-size: 24px; }
.apps p { color: #DCCBF2; }
.badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 16px; border-radius: 12px; background: #000000; border: 1px solid #8C7AA8; }
.store svg { width: 26px; height: 26px; fill: #FFFFFF; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 10px; letter-spacing: 0.04em; color: #D8CCE8; }
.store b { font-size: 17px; }
.store:hover { border-color: var(--orange); }

/* Footer */
.foot { background: #130224; padding: 48px 0 32px; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fcol h3 { margin-bottom: 12px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: #FFFFFF; }
.fcol a { display: block; padding: 4px 0; font-size: 15px; }
.fcol a:hover { color: var(--orange-light); }
.legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-weight: 700; color: #FFFFFF; }
.copy { margin-top: 4px; font-size: 14px; }

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .wheel-spin { animation: spin 24s linear infinite; }
  .dot { animation: blink 1.6s ease-in-out infinite; }
  .match { transition: background 0.6s ease; }
  .card { transition: transform 0.2s ease; }
  .card:hover { transform: translateY(-3px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* Layout */
@media (max-width: 900px) {
  .menu { display: none; }
  .top-right { margin-left: auto; }
  .live { flex-direction: column; gap: 20px; }
  .strip-in { grid-template-columns: repeat(2, 1fr); }
  .card { flex-wrap: wrap; }
  .voices-in { grid-template-columns: 1fr; }
  .apps-in { flex-direction: column; align-items: flex-start; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .actions { flex-direction: column; align-items: center; }
  .match { grid-template-columns: 1fr auto 1fr; }
  .minute { display: none; }
  .brand { font-size: 18px; }
}

@media (min-width: 1600px) {
  body { font-size: 18px; }
  .wrap { max-width: 1400px; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 72px; }
  .lead { max-width: 680px; font-size: 22px; }
  .wheel, .wheel-svg { width: 210px; height: 210px; }
  .live { max-width: 1040px; gap: 48px; }
  .panel { max-width: 720px; padding: 16px 24px 12px; }
  .match { font-size: 18px; padding: 12px 10px; }
  .apps-in { max-width: 1352px; }
}

/* Short windows, such as 960 by 540: keep the live element on the first screen */
@media (max-height: 640px) and (min-width: 700px) {
  .hero { padding: 16px 0 28px; }
  .eyebrow { display: none; }
  .hero h1 { margin-top: 0; font-size: clamp(28px, 4vw, 42px); }
  .lead { margin-top: 6px; font-size: 16px; }
  .actions { margin-top: 12px; }
  .live { margin-top: 16px; }
  .match { padding: 6px 8px; }
  .panel-head { padding-bottom: 2px; }
}
