﻿:root {
  --blue: #1557e8;
  --ink: #07101f;
  --muted: #aab6cd;
  --line: rgba(255,255,255,.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #040a15;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
}

.site-header {
  height: 92px;
  background: #fff;
  color: #07101f;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(22px, 4vw, 64px);
  position: relative;
  z-index: 4;
}

.brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: .8;
  letter-spacing: -1.5px;
  color: #0a1324;
  text-decoration: none;
  display: grid;
  justify-items: center;
}

.brand > span:last-child {
  border-bottom: 3px solid #12205f;
  padding-bottom: 4px;
}

.brand span span {
  color: #1557e8;
}

.brand-ship {
  height: 23px;
  font-size: 24px;
  color: #1b2947;
  transform: rotate(-14deg);
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  gap: 24px;
  height: 100%;
}

.main-nav a {
  color: #0a1020;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1px;
  display: grid;
  place-items: center;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav .active {
  color: var(--blue);
  border-color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.icon-button {
  border: 0;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
}

.button {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .2px;
  font-size: 12px;
  font-weight: 800;
  padding: 14px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 4px;
  transition: .2s;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.13);
}

.button-small {
  font-size: 10px;
  padding: 9px 17px;
}

.button-outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.app-option {
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 5px rgba(0,0,0,.9), 0 0 10px rgba(0,0,0,.9);
  font-weight: 900;
  box-shadow: inset 0 0 0 999px rgba(0,0,0,.58);
}

.app-option:hover,
.app-option.is-selected {
  filter: brightness(1.08);
  box-shadow: 0 0 0 2px rgba(255,255,255,.22), 0 0 18px rgba(21,87,232,.9), inset 0 0 0 999px rgba(0,0,0,.58);
}

.menu-toggle {
  display: none;
}

.hero {
  height: calc(100vh - 92px);
  min-height: 560px;
  max-height: 720px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 74% 54%, #172b60 0, #071327 20%, transparent 43%), linear-gradient(108deg, #010611 0%, #061226 57%, #020711 100%);
}

.stars,
.stars:after {
  position: absolute;
  inset: 0;
  content: '';
  background-image: radial-gradient(#fff 1px, transparent 1.5px), radial-gradient(#82a9ff 1px, transparent 1px), radial-gradient(#fff 1px, transparent 1px);
  background-size: 70px 70px, 113px 113px, 179px 179px;
  background-position: 20px 15px, 50px 24px, 25px 80px;
  opacity: .65;
}

.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1,6,17,.22) 35%, transparent 75%), linear-gradient(0deg, #040a15, transparent 20%);
}

.death-star {
  position: absolute;
  width: min(61vw, 730px);
  right: -4vw;
  top: -8%;
  z-index: 1;
  filter: drop-shadow(0 5px 30px #000);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(48px, 9vw, 112px) clamp(28px, 7vw, 110px);
  max-width: 760px;
}

.eyebrow {
  color: #6ca0ff;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  margin: 0 0 12px;
}

.hero h1,
.hero h2 {
  font-family: 'Barlow Condensed', Impact, sans-serif;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: .4px;
}

.hero h1 {
  font-size: clamp(48px, 5.7vw, 76px);
  line-height: .91;
}

.hero h1 span {
  color: #fff;
}

.hero-lede {
  font-size: 15px;
  margin: 19px 0 22px;
  color: #e6ebf7;
}

.stats {
  display: flex;
  gap: 23px;
  margin-bottom: 26px;
}

.stats div {
  display: grid;
  grid-template-columns: 26px auto;
  column-gap: 7px;
  align-items: center;
}

.stats i {
  grid-row: span 2;
  color: #2865f0;
  font-size: 20px;
}

.stats b {
  font-size: 10px;
  text-transform: uppercase;
}

.stats span {
  font-size: 9px;
  color: #c1cadd;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  gap: 12px;
}

.content-wrap {
  max-width: 1420px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 56px);
  padding-right: clamp(20px, 4vw, 56px);
}

.category-section {
  margin-top: -14px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.category {
  height: 133px;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  transition: .22s;
}

.category:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,.9), rgba(0,0,0,.02) 80%);
}

.category:hover {
  transform: translateY(-5px);
  border-color: #7194fc;
}

.category span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  display: flex;
  gap: 8px;
  align-items: center;
}

.category i {
  color: #6f98ff;
}

.category b {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #14a845;
  border-radius: 9px;
  padding: 3px 8px;
  font-size: 9px;
  text-transform: uppercase;
}

.television {
  background-image: radial-gradient(circle, #f1e539 0 5%, #e66454 7% 12%, #5dccea 14% 19%, #241c2f 22% 35%, #161414 39%);
}

.sport {
  background-image: linear-gradient(125deg, #112745, #b32726);
}

.movies {
  background-image: linear-gradient(135deg, #182339, #40628e);
}

.series {
  background-image: linear-gradient(135deg, #1c0905, #745735);
}

.kids {
  background-image: linear-gradient(135deg, #fb861e, #5bc8f7);
}

.catchup {
  background-image: url('image/appz.jpg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0c1730;
}

.catchup .apps-icon {
  display: none;
}

.trending {
  padding-top: 32px;
  padding-bottom: 55px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-heading h2,
.plans h2 {
  font-size: 32px;
  line-height: .9;
}

.section-heading a {
  color: #779cff;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.poster-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(105px, 1fr));
  gap: 11px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.poster {
  height: 220px;
  min-width: 105px;
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  background-size: cover;
  transition: .2s;
}

.poster:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0,0,0,.94), rgba(0,0,0,.03) 65%);
}

.poster:hover {
  transform: scale(1.04);
  z-index: 1;
}

.poster > span {
  font: 800 16px 'Barlow Condensed';
  color: #fff8;
}

.poster h3 {
  font: 800 19px 'Barlow Condensed';
  text-transform: uppercase;
  margin: 3px 0 0;
  line-height: .85;
}

.poster small {
  font-size: 7px;
  letter-spacing: 1px;
  color: #b7c8ef;
}

.dune {
  background-image: linear-gradient(20deg, #612715, #e08439);
}

.godzilla {
  background-image: linear-gradient(150deg, #bac9ca, #1b2942);
}

.fast {
  background-image: linear-gradient(160deg, #12152a, #e8523c);
}

.last {
  background-image: linear-gradient(160deg, #1e2b25, #79684d);
}

.spider {
  background-image: linear-gradient(150deg, #e81d34, #191d69);
}

.mario {
  background-image: linear-gradient(150deg, #d43636, #eda52d);
}

.john {
  background-image: linear-gradient(150deg, #121b24, #4f6b84);
}

.opp {
  background-image: linear-gradient(150deg, #2a1708, #e2792a);
}

.plans {
  margin-bottom: 54px;
  border: 1px solid #1a376d;
  border-radius: 10px;
  background: linear-gradient(110deg, #091635, #0e3aa2);
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plans h2 {
  font-size: 37px;
}

footer {
  text-align: center;
  color: #74819a;
  font-size: 11px;
  padding: 28px;
  background: #020611;
  border-top: 1px solid #15203a;
}

@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 9px;
  }

  .death-star {
    right: -16vw;
    opacity: .7;
  }

  .category-section {
    grid-template-columns: repeat(3, 1fr);
  }

  .poster-row {
    grid-template-columns: repeat(8, 140px);
  }
}

@media (max-width: 670px) {
  .app-grid {
    grid-template-columns: 1fr !important;
  }

  .site-header {
    height: 68px;
    padding: 0 18px;
    gap: 15px;
  }

  .brand {
    font-size: 24px;
  }

  .brand-ship {
    font-size: 18px;
    height: 17px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    border: 0;
    background: none;
    font-size: 18px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    height: auto;
    padding: 12px 20px;
    background: #fff;
    grid-template-columns: repeat(3, 1fr);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 10px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    height: 590px;
    min-height: 0;
  }

  .death-star {
    width: 620px;
    right: -275px;
    top: 5%;
    opacity: .58;
  }

  .hero-copy {
    padding: 72px 25px;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 8px;
  }

  .hero-buttons .button {
    padding: 13px 15px;
    font-size: 10px;
  }

  .category-section {
    margin-top: 0;
    grid-template-columns: repeat(2, 1fr);
    padding: 14px 20px;
    gap: 9px;
  }

  .category {
    height: 105px;
  }

  .catchup {
    background-image: url('image/appz.jpg.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .trending {
    padding-top: 24px;
  }

  .poster-row {
    grid-template-columns: repeat(8, 130px);
  }

  .plans {
    margin: 0 20px 36px;
    padding: 25px;
    display: block;
  }

  .plans .button {
    margin-top: 20px;
  }
}
