@import url("https://img1.wsimg.com/blobby/go/font/LeagueSpartan/league-spartan.css");

:root {
  --header: #ffffff;
  --ink: #1b1b1b;
  --navy: #020221;
  --deep-navy: #010117;
  --midnight: #191970;
  --muted: #9797bb;
  --white: #ffffff;
  font-family: Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background: var(--deep-navy);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--header);
}

.header-inner {
  width: min(984px, 100%);
  min-height: 88px;
  margin: 0 auto;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  justify-self: center;
  max-width: 100%;
  font-family: "League Spartan", Helvetica, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.45;
  color: #1b1b1b;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #191970;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.desktop-nav a,
.desktop-nav button {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: #191970;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.desktop-nav a:hover,
.desktop-nav button:hover {
  color: #000000;
}

.nav-menu {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 210px;
  padding: 10px 0;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.nav-menu:hover .nav-dropdown,
.nav-menu:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}

.nav-dropdown a {
  display: block;
  padding: 12px 18px;
  color: #575757;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.header-spacer {
  min-height: 1px;
}

.menu-button,
.drawer-close {
  display: none;
}

.notch,
.footer-notch {
  position: absolute;
  left: 50%;
  width: 53px;
  height: 24px;
  transform: translateX(-50%);
  color: #ffffff;
  z-index: 6;
}

.notch {
  bottom: -23px;
}

.notch::before,
.footer-notch::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 26.5px solid transparent;
  border-right: 26.5px solid transparent;
  border-top: 24px solid currentColor;
}

.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #010117;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://img1.wsimg.com/isteam/videos/jajB2l1") center / cover;
  z-index: -1;
}

.hero-overlay {
  background: #191970;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(984px, 80%);
  margin: 0 auto;
}

.hero-content p {
  width: min(470px, 40vw);
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: 1px;
  text-shadow: 2px 2px 2px rgb(255 255 255 / 20%);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.outline-button {
  min-height: 56px;
  min-width: 148px;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid currentColor;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.outline-button:hover {
  color: #000000;
  background: #ffffff;
  border-color: #ffffff;
}

.site-footer {
  position: relative;
  padding: 64px 24px;
  border-top: 1px solid #0f0f62;
  text-align: center;
  color: #9797bb;
  background: #020221;
}

.footer-notch {
  top: -1px;
  color: #020221;
  filter: drop-shadow(0 0 0 #4444dd);
  transform: translateX(-50%) rotate(180deg);
}

.social-link {
  display: inline-flex;
  margin-bottom: 24px;
  color: #e6e6e8;
}

.social-link:hover {
  color: #ffffff;
}

.social-link svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

.site-footer p {
  margin: 0;
  color: #9797bb;
  font-size: 12px;
  line-height: 1.33;
  font-weight: 400;
  letter-spacing: 0.083em;
  text-transform: uppercase;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: 400px;
  max-width: calc(100vw - 48px);
  max-height: 500px;
  padding: 24px;
  border-radius: 7px;
  overflow: auto;
  color: #e4e4e7;
  background: #010117;
  box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.is-hidden {
  opacity: 0;
  transform: translateY(calc(100% + 48px));
  pointer-events: none;
}

.cookie-banner h1 {
  margin: 0 0 8px;
  color: #e4e4e7;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 1px;
}

.cookie-banner p {
  max-height: 200px;
  margin: 0;
  overflow: auto;
  color: #e4e4e7;
  font-size: 16px;
  line-height: 1.75;
}

.cookie-accept {
  width: calc(50% - 12px);
  min-height: 40px;
  margin-top: 24px;
  padding: 4px 12px;
  border: 2px solid currentColor;
  color: #e4e4e7;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-accept:hover {
  color: #000000;
  background: #ffffff;
  border-color: #ffffff;
}

.mobile-drawer {
  display: none;
}

@media (max-width: 1023px) {
  .header-inner {
    min-height: 64px;
    padding: 8px 24px;
  }

  .desktop-nav,
  .header-spacer {
    display: none;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    padding: 8px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span {
    width: 24px;
    height: 2px;
    background: #191970;
  }

  .header-inner {
    grid-template-columns: 44px 1fr 44px;
  }

  .brand {
    font-size: 22px;
  }

  .mobile-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 120;
    width: min(400px, 100vw);
    padding: 72px 0 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background: #f6f6f6;
    transform: translateX(-105%);
    transition: transform 0.3s ease-in-out;
  }

  .mobile-drawer.is-open {
    transform: translateX(0);
  }

  .drawer-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #191970;
    background: transparent;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
  }

  .mobile-drawer a,
  .drawer-toggle {
    min-width: 200px;
    padding: 12px 24px 12px 48px;
    border: 0;
    border-bottom: 0 solid rgb(176 176 176 / 50%);
    color: #191970;
    background: transparent;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
  }

  .drawer-submenu a {
    padding-left: 56px;
    color: #575757;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .hero {
    min-height: 500px;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: calc(100vh - 64px);
    padding: 56px 0;
  }

  .hero-content {
    width: 100%;
    padding: 0 24px;
    text-align: center;
  }

  .hero-content p {
    width: min(85%, 520px);
    margin: 0 auto 8px;
  }

  .hero-actions {
    justify-content: center;
    gap: 24px;
    flex-direction: column;
    align-items: stretch;
    width: min(85%, 320px);
    margin: 40px auto 0;
  }

  .outline-button {
    width: 100%;
  }

  .site-footer {
    padding: 56px 24px 32px;
  }

  .cookie-banner {
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    border-radius: 0;
  }
}
