:root{
  --bg:#070b10;
  --panel:#0d131c;
  --panel-2:#111a25;
  --text:#f4f8fb;
  --muted:#9aa9b9;
  --line:#1d2a37;
  --accent:#08c7e8;
  --accent-2:#00aeca;
  --max:1120px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,Arial,sans-serif;
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

/* ---------- Header ---------- */

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:var(--max);
  margin:auto;
  padding:18px 22px;
  background:rgba(7,11,16,.9);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:.06em;
}

.brand-mark{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:2px solid var(--accent);
  border-radius:10px;
  color:var(--accent);
  font-weight:800;
}

.nav{
  display:flex;
  gap:20px;
  align-items:center;
  font-size:13px;
  color:var(--muted);
}

.nav a:hover,
.footer a:hover{
  color:var(--accent);
}

.menu-toggle{
  display:none;
  background:none;
  border:0;
  padding:8px;
  cursor:pointer;
  color:inherit;
}

.menu-toggle span{
  display:block;
  width:25px;
  height:2px;
  background:#fff;
  margin:5px;
  border-radius:3px;
}

/* ---------- Hero ---------- */

.hero{
  overflow-x:clip;
  min-height:540px;
  max-width:var(--max);
  margin:auto;
  padding:55px 30px 45px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  align-items:center;
  gap:40px;
}

.eyebrow{
  font-size:12px;
  font-weight:800;
  letter-spacing:.18em;
  color:var(--accent);
  margin:0 0 8px;
}

h1,
h2,
h3{
  line-height:1.1;
  margin-top:0;
}

h1{
  font-size:clamp(30px,7.5vw,84px);
  letter-spacing:-.065em;
  margin:0 0 18px;
  white-space:nowrap;
}

h1 span{
  color:var(--accent);
}

h2{
  font-size:clamp(30px,4vw,46px);
  letter-spacing:-.04em;
  margin:0;
}

.hero-text{
  max-width:600px;
  color:var(--muted);
  font-size:18px;
  margin:0 0 24px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  padding:14px 23px;
  font-weight:800;
  border:1px solid transparent;
  transition:.2s transform,.2s background;
}

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

.btn-primary{
  background:var(--accent);
  color:#031016;
}

.btn-primary:hover{
  background:#39d8ef;
}

.btn-secondary{
  border-color:var(--accent);
  color:var(--accent);
  background:transparent;
}

/* ---------- Hero Device ---------- */

.hero-device{
  display:grid;
  place-items:center;
  position:relative;
}

.hero-device::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:min(125%,560px);
  aspect-ratio:1;
  pointer-events:none;
  border-radius:50%;
  background:
    radial-gradient(
      circle,
      rgba(8,199,232,.16),
      rgba(8,199,232,.05) 45%,
      transparent 68%
    );
  z-index:0;
}

.phone{
  --accent:#3b82ff;
  --accent-2:#2563eb;
  --red:#ff2d55;

  position:relative;
  z-index:1;

  font-size:15px;
  width:19.5em;
  height:39em;

  border:.45em solid #202b35;
  border-radius:2.6em;
  background:#040712;

  padding:.4em;
  overflow:hidden;

  box-shadow:
    0 30px 80px rgba(0,0,0,.65),
    0 0 80px rgba(8,199,232,.14);
}

.phone-notch{
  position:absolute;
  top:.75em;
  left:50%;
  transform:translateX(-50%);
  width:5em;
  height:1.3em;
  border-radius:1em;
  background:#02030a;
  z-index:3;
}

.app{
  position:relative;
  height:100%;
  border-radius:2.1em;
  overflow:hidden;

  background:
    radial-gradient(
      120% 55% at 50% 0,
      #14265a 0,
      #0a1233 55%,
      #060b1d 100%
    );

  padding:2.6em 1em 0;
}

.app-bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.5em;
}

.app-ic{
  display:grid;
  place-items:center;
  width:2.1em;
  height:2.1em;
  border-radius:50%;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(80,125,255,.4);
  color:#dfe8ff;
}

.app-ic svg,
.app-nav svg{
  width:1.05em;
  height:1.05em;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.app-logo{
  display:flex;
  align-items:center;
  gap:.4em;
  font-weight:800;
  font-size:.85em;
  letter-spacing:.05em;
}

.app-logo svg{
  width:1.7em;
  height:1.7em;
}

.app-banner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:.8em;
  padding:.45em .8em;
  border:1px solid rgba(80,125,255,.5);
  border-radius:1em;
  background:rgba(40,80,200,.14);
  font-size:.66em;
  font-weight:600;
}

.app-title{
  display:flex;
  align-items:center;
  gap:.45em;
  margin:1.1em 0 .25em;
  font-size:1.45em;
  letter-spacing:-.02em;
}

.app-title i{
  width:.2em;
  height:1em;
  border-radius:3px;
  background:var(--accent);
}

.app-sub{
  margin:0 0 .8em;
  font-size:.68em;
  color:var(--muted);
}

.app-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:.6em;
}

.app-stats div{
  display:flex;
  align-items:center;
  gap:.5em;
  padding:.55em .7em;
  border:1px solid rgba(80,125,255,.35);
  border-radius:1em;
  background:rgba(255,255,255,.03);
  font-size:.68em;
  color:#c8d4f2;
}

.app-stats b{
  font-size:1.9em;
  line-height:1;
  color:#fff;
}

.app-pills{
  display:flex;
  gap:.5em;
  margin:.8em 0 .9em;
  font-size:.64em;
  font-weight:700;
  white-space:nowrap;
}

.app-pills span{
  padding:.5em 1em;
  border:1px solid rgba(80,125,255,.4);
  border-radius:2em;
  color:#c8d4f2;
}

.app-pills .on{
  background:var(--accent-2);
  border-color:var(--accent);
  color:#fff;
}

.app-label{
  display:flex;
  align-items:center;
  gap:.5em;
  margin:0 0 .55em;
  font-size:.62em;
  font-weight:800;
  letter-spacing:.1em;
  color:#c8d4f2;
}

.app-label::before{
  content:"";
  width:.25em;
  height:1.1em;
  border-radius:3px;
  background:var(--accent);
}

.app-label.live{
  color:#ff6a85;
}

.app-label.live::before{
  background:var(--red);
}

.app-match{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:.4em;

  margin-bottom:.7em;
  padding:.8em .7em;

  border:1px solid rgba(80,125,255,.35);
  border-radius:1.1em;

  background:
    linear-gradient(
      160deg,
      rgba(30,60,150,.28),
      rgba(8,16,41,.7)
    );

  text-align:center;
  font-size:.66em;
}

.app-match .team{
  display:grid;
  justify-items:center;
  gap:.4em;
  font-weight:700;
}

.app-match .crest{
  display:grid;
  place-items:center;
  width:3em;
  height:3em;
  border-radius:50%;
  background:#14214b;
  border:1px solid rgba(120,160,255,.35);
  font-size:.85em;
  font-weight:800;
  color:#dfe8ff;
}

.app-match .mid{
  display:grid;
  gap:.2em;
  justify-items:center;
}

.app-match .chip{
  padding:.15em .8em;
  border-radius:2em;
  background:#050914;
  font-size:.85em;
  font-weight:700;
}

.app-match .time{
  font-size:1.5em;
  font-weight:800;
  color:#8db4ff;
}

.app-match .state{
  font-size:.9em;
  font-weight:800;
  color:#ff6a85;
}

.app-match .state.soon{
  color:var(--muted);
  font-weight:600;
}

.app-nav{
  position:absolute;
  left:.6em;
  right:.6em;
  bottom:.6em;

  display:flex;
  justify-content:space-around;

  padding:.55em .3em;
  border-radius:1.4em;

  background:rgba(10,18,48,.96);
  border:1px solid rgba(80,125,255,.25);

  font-size:.58em;
  color:#8fa0c8;
}

.app-nav span{
  display:grid;
  justify-items:center;
  gap:.3em;
  padding:.45em 1em;
  border-radius:1.2em;
  font-weight:600;
}

.app-nav svg{
  width:2em;
  height:2em;
}

.app-nav .on{
  background:rgba(59,130,255,.22);
  color:#fff;
}

/* ---------- Flags ---------- */

.flag{
  display:block;
  width:3em;
  height:3em;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.25);
  font-size:.85em;
}

.flag-hr{
  background:
    linear-gradient(
      #ff2a2a 33.3%,
      #fff 33.3% 66.6%,
      #1a3b9c 66.6%
    );
}

.flag-es{
  background:
    linear-gradient(
      #c60b1e 25%,
      #ffc400 25% 75%,
      #c60b1e 75%
    );
}

.flag-en{
  background:
    linear-gradient(#ce1124,#ce1124)
    center/100% 24% no-repeat,
    linear-gradient(#ce1124,#ce1124)
    center/24% 100% no-repeat,
    #fff;
}

.flag-cz{
  background:
    linear-gradient(
      115deg,
      #11457e 0 40%,
      transparent 40%
    ),
    linear-gradient(
      #fff 50%,
      #d7141a 50%
    );
}

.app-match .date{
  font-size:.85em;
  color:#8fa0c8;
}

.app-match .state.end{
  color:#dfe8ff;
  font-weight:700;
}

.app-sub .tz{
  display:inline-block;
  margin-left:.2em;
  padding:.05em .6em;
  border:1px solid rgba(80,125,255,.4);
  border-radius:2em;
}

/* ---------- Sections ---------- */

/*
  Reduced section spacing.
  This is the main change for the index page.
*/

.section{
  max-width:var(--max);
  margin:auto;
  padding:55px 30px;
}

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

.row-heading{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:20px;
}

.section-note,
.muted,
.hint{
  color:var(--muted);
  font-size:13px;
}

/* ---------- Carousel ---------- */

.carousel{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:12px;
}

.carousel-window{
  overflow:hidden;
  border-radius:22px;
}

.carousel-track{
  display:flex;
  transition:transform .4s ease;
}

.slide{
  min-width:100%;
  padding:8px;
  flex:0 0 100%;
}

.placeholder-screen{
  height:450px;
  display:grid;
  place-items:center;
  border:1px dashed #3a5262;
  border-radius:18px;
  background:linear-gradient(145deg,#0e1822,#081017);
  color:#607586;
  font-weight:700;
}

.carousel-btn{
  width:48px;
  height:48px;
  border-radius:50%;
  border:1px solid var(--accent);
  background:#0b151e;
  color:var(--accent);
  font-size:32px;
  line-height:1;
  cursor:pointer;
}

.carousel-btn:hover{
  background:var(--accent);
  color:#031016;
}

.dots{
  display:flex;
  justify-content:center;
  gap:4px;
  margin-top:8px;
}

.dot{
  width:24px;
  height:24px;
  padding:0;
  border:0;
  background:none;
  cursor:pointer;
  display:grid;
  place-items:center;
}

.dot::before{
  content:'';
  width:8px;
  height:8px;
  border-radius:50%;
  background:#34434e;
  transition:transform .2s,background .2s;
}

.dot.active::before{
  background:var(--accent);
  transform:scale(1.4);
}

.slide img{
  display:block;
  width:100%;
  height:560px;
  object-fit:contain;
  border-radius:18px;
  background:#081017;
}

/* ---------- Matches ---------- */

.matches{
  display:grid;
  gap:10px;
}

.match-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:20px 22px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:15px;
}

.match-card h3{
  margin:5px 0 0;
  font-size:19px;
}

.match-card h3 b{
  color:var(--accent);
  font-size:12px;
  margin:0 8px;
}

.match-card a{
  color:var(--accent);
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  padding:8px 0;
}

.match-card a:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.match-card.live{
  border-color:rgba(8,199,232,.55);
}

.match-date{
  font-size:11px;
  color:var(--muted);
  letter-spacing:.08em;
}

.match-date.live{
  color:var(--accent);
  font-weight:800;
}

.center{
  text-align:center;
  margin-top:22px;
}

/* ---------- Movies ---------- */

.movie-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.poster{
  aspect-ratio:2/3;
  border-radius:13px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  overflow:hidden;
  background:#101922;
}

.poster span{
  font-size:10px;
  letter-spacing:.15em;
  color:#a7b6c1;
}

.poster img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.poster-1{
  background:linear-gradient(145deg,#173c4b,#0b1119);
}

.poster-2{
  background:linear-gradient(145deg,#3c283a,#101018);
}

.poster-3{
  background:linear-gradient(145deg,#3d3a21,#0e1113);
}

.poster-4{
  background:linear-gradient(145deg,#203e30,#09110f);
}

.movie-card h3{
  font-size:14px;
  margin:9px 0 2px;
}

.movie-card p{
  color:var(--muted);
  font-size:12px;
  margin:0;
}

/* ---------- Install ---------- */

.install{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;

  list-style:none;
  margin:0;
  padding:0;
}

.steps li{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:15px;
  padding:22px;
}

.steps span{
  color:var(--accent);
  font-weight:800;
}

.steps h3{
  margin:10px 0 6px;
}

.steps p,
.info-panel p,
.faq p{
  color:var(--muted);
  font-size:14px;
}

/* ---------- Support ---------- */

.info-panel,
.faq details{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:15px;
  padding:22px;
}

.compact{
  max-width:850px;
}

.info-panel{
  padding:30px;
}

/* ---------- FAQ ---------- */

.faq{
  display:grid;
  gap:8px;
}

.faq details{
  padding:0;
}

.faq summary{
  cursor:pointer;
  padding:17px 20px;
  font-weight:700;
  list-style:none;
  display:flex;
  justify-content:space-between;
  gap:16px;
}

.faq summary::-webkit-details-marker{
  display:none;
}

.faq summary::after{
  content:'+';
  color:var(--accent);
  font-size:22px;
  line-height:1;
}

.faq details[open]{
  border-color:rgba(8,199,232,.4);
}

.faq details[open] summary::after{
  content:'\2212';
}

.faq p{
  padding:0 20px 17px;
  margin:0;
}

/* ---------- Download CTA ---------- */

.download-cta{
  max-width:var(--max);
  margin:15px auto 60px;
  padding:40px 40px;

  border:1px solid rgba(8,199,232,.4);
  border-radius:24px;

  background:
    linear-gradient(
      120deg,
      #0b1921,
      #0b1118
    );

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.download-cta h2{
  margin-bottom:8px;
}

.download-cta p{
  color:var(--muted);
}

/* ---------- Footer ---------- */

.footer{
  max-width:var(--max);
  margin:auto;
  padding:25px 30px;

  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:center;

  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
}

.footer strong{
  color:var(--text);
}

.footer nav{
  display:flex;
  gap:18px;
}

.back-link{
  font-size:13px;
  color:var(--muted);
}

.back-link:hover{
  color:var(--accent);
}

/* ---------- Legal ---------- */

.legal{
  min-height:70vh;
  max-width:850px;
}

.legal h1{
  font-size:55px;
}

.legal h2{
  font-size:25px;
  margin-top:40px;
}

.legal p{
  color:var(--muted);
}

code{
  color:var(--accent);
}

/* ---------- Accessibility ---------- */

:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:3px;
  border-radius:6px;
}

.btn:focus-visible{
  outline-offset:4px;
}

.skip-link{
  position:absolute;
  left:12px;
  top:-60px;
  z-index:50;

  background:var(--accent);
  color:#031016;
  font-weight:800;

  padding:10px 16px;
  border-radius:10px;

  transition:top .15s;
}

.skip-link:focus{
  top:12px;
}

section[id],
#top{
  scroll-margin-top:84px;
}

.nav a{
  padding:6px 0;
  border-bottom:2px solid transparent;
}

.nav a.active{
  color:var(--accent);
  border-bottom-color:var(--accent);
}

.hero-meta{
  margin:12px 0 0;
  font-size:13px;
  color:var(--muted);
}

.hero-meta a{
  color:var(--accent);
  text-decoration:underline;
  text-underline-offset:3px;
}

.empty{
  color:var(--muted);
  font-size:14px;
  margin:0;
  grid-column:1/-1;
}

/* ---------- Tablet ---------- */

@media(max-width:850px){

  .menu-toggle{
    display:block;
  }

  .nav{
    display:none;
    position:absolute;
    top:72px;
    left:0;
    right:0;

    background:#080d13;
    border-bottom:1px solid var(--line);

    padding:14px 22px;

    flex-direction:column;
    align-items:flex-start;
  }

  .nav.open{
    display:flex;
  }

  .nav a{
    padding:9px 0;
    width:100%;
  }

  .hero{
    grid-template-columns:1fr;
    min-height:auto;
    padding:35px 20px 30px;
    text-align:center;
    gap:25px;
  }

  .hero-text{
    margin-left:auto;
    margin-right:auto;
  }

  .hero-device{
    order:-1;
  }

  .phone{
    font-size:12.5px;
  }

  .row-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:6px;
  }

  .section{
    padding:38px 20px;
  }

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

  .placeholder-screen{
    height:360px;
  }

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

  .steps{
    grid-template-columns:1fr 1fr;
  }

  .download-cta{
    margin:15px 20px 50px;
    padding:30px 25px;
    flex-direction:column;
    align-items:flex-start;
  }

  .footer{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer nav{
    flex-wrap:wrap;
  }

  .slide img{
    height:480px;
  }
}

/* ---------- Mobile ---------- */

@media(max-width:520px){

  h1{
    font-size:clamp(30px,8.8vw,42px);
    letter-spacing:-.065em;
    white-space:nowrap;
    margin-bottom:14px;
  }

  h2{
    font-size:32px;
  }

  .hero{
    padding:28px 16px 25px;
    gap:20px;
  }

  .hero-text{
    font-size:16px;
    margin-bottom:18px;
  }

  .hero-meta{
    margin-top:10px;
  }

  .carousel{
    gap:7px;
  }

  .carousel-btn{
    width:40px;
    height:40px;
    font-size:26px;
  }

  .slide{
    padding:5px;
  }

  .placeholder-screen{
    height:300px;
  }

  .section{
    padding:32px 16px;
  }

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

  .row-heading{
    gap:4px;
  }

  .match-card{
    align-items:flex-start;
    flex-direction:column;
  }

  .steps{
    grid-template-columns:1fr;
  }

  .movie-grid{
    gap:12px;
  }

  .slide img{
    height:400px;
  }

  .download-cta{
    margin:12px 16px 40px;
    padding:28px 22px;
  }

  .footer{
    padding:22px 20px;
  }
}

/* ---------- Reduced Motion ---------- */

@media(prefers-reduced-motion:reduce){

  html{
    scroll-behavior:auto;
  }

  *,
  *::before,
  *::after{
    transition-duration:.01ms!important;
    animation-duration:.01ms!important;
  }
}

/* ---------- Forced Colors ---------- */

@media(forced-colors:active){

  .btn,
  .carousel-btn{
    border:2px solid ButtonText;
  }
}
