:root {
  --accent: #0095b9;
  --accent-light: #3fd0f5;
  --navy: #030f1a;
  --navy-2: #051a2d;
  --navy-3: #09294c;
  --text: #fff;
  --muted: #b9c6d2;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: var(--text);
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.5px;
}

.logo svg {
  width: 38px;
  height: 38px;
  color: var(--accent);
}

.menu {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 16px;
  transition: background 0.4s ease, padding 0.4s ease;
}

.menu.scrolled {
  background: rgba(3, 15, 26, 0.92);
  backdrop-filter: blur(8px);
  padding-block: 8px;
}

.menu .links a {
  margin: 0 28px;
  font-size: 16px;
  font-weight: 700;
  transition: color 0.5s ease;
}

.menu .links a:hover,
.menu .other a:hover,
footer a:hover {
  color: var(--accent);
}

.menu .other {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  padding-right: 80px;
  font-size: 14px;
  font-weight: 300;
}

.menu .other a {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.5s ease;
}

.menu .other svg {
  width: 19px;
  height: 16px;
  fill: currentColor;
}

.lang {
  position: relative;
}

.lang button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 400;
}

.lang button svg {
  width: 10px;
  height: 6px;
}

.lang-drop {
  position: absolute;
  top: 130%;
  left: -10px;
  display: none;
  min-width: 60px;
  padding: 6px 0;
  background: var(--navy-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.lang.open .lang-drop {
  display: block;
}

.lang-drop a {
  display: block;
  padding: 4px 14px;
}

.header {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}

.bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 45% 70% at 25% 55%, #4a3a33 0%, transparent 70%),
    radial-gradient(ellipse 40% 75% at 75% 50%, #1d4560 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, #2a3640 0%, transparent 70%),
    #1e2a35;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(3, 15, 26, 0.7) 100%),
    linear-gradient(rgba(10, 30, 45, 0.35), rgba(10, 30, 45, 0.55));
}

.smoke {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}

.s1 {
  width: 55vw;
  height: 70vh;
  left: -10vw;
  top: 10vh;
  background: #6b4d3d;
  animation: drift1 26s ease-in-out infinite alternate;
}

.s2 {
  width: 50vw;
  height: 80vh;
  right: -8vw;
  top: 0;
  background: #22587a;
  animation: drift2 32s ease-in-out infinite alternate;
}

.s3 {
  width: 70vw;
  height: 45vh;
  left: 15vw;
  bottom: -15vh;
  background: #3b4a55;
  animation: drift1 40s ease-in-out infinite alternate-reverse;
}

.emblem {
  position: absolute;
  top: 50%;
  width: 46vw;
  max-width: 820px;
  opacity: 0.24;
  filter: blur(3px) grayscale(0.2);
  transform: translateY(-50%);
}

.emblem.t {
  left: -6vw;
  animation: drift1 30s ease-in-out infinite alternate;
}

.emblem.ct {
  right: -6vw;
  animation: drift2 36s ease-in-out infinite alternate;
}

.noise {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: fog 60s linear infinite alternate;
}

@keyframes drift1 {
  to {
    transform: translate(8vw, -4vh) scale(1.15);
  }
}

@keyframes drift2 {
  to {
    transform: translate(-6vw, 6vh) scale(1.1);
  }
}

@keyframes fog {
  to {
    transform: translate(-6%, 3%) scale(1.08);
  }
}

.killfeed {
  position: absolute;
  z-index: 4;
  top: 88px;
  right: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
}

.kill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid transparent;
  border-radius: 3px;
  animation: killin 0.25s ease-out;
  transition: opacity 0.6s ease;
}

.kill.local {
  border-color: #e0403a;
}

.kill.out {
  opacity: 0;
}

.kill .ct {
  color: #9cc4ff;
}

.kill .t {
  color: #ead18a;
}

.kill img {
  height: 18px;
}

.kill img.gun {
  height: 20px;
  max-width: 76px;
}

@keyframes killin {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
}

.header-all {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 0 16px;
  text-align: center;
}

.big-text {
  font-size: 68px;
  line-height: 1.5;
  font-weight: 900;
  color: #eceae6;
  letter-spacing: -0.5px;
}

.big-text span {
  color: var(--accent-light);
}

.small-text {
  margin-top: 30px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.small-text b {
  font-weight: 700;
}

.button {
  margin-top: 80px;
}

.button a,
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  font-weight: 900;
  color: #fff;
  background: var(--accent);
  transition: box-shadow 0.5s ease, filter 0.5s ease;
}

.button a {
  width: 240px;
  height: 68px;
  font-size: 16px;
  background: #097593;
}

.button a:hover,
.btn:hover {
  box-shadow: 0 0 60px 10px rgba(255, 255, 255, 0.2);
  filter: brightness(1.25);
}

.scroll-down {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 36px;
  width: 26px;
  margin-left: -13px;
  color: rgba(255, 255, 255, 0.6);
  animation: bob 2s ease-in-out infinite;
}

@keyframes bob {
  50% {
    transform: translateY(8px);
  }
}

.prod {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  padding: 50px 10%;
  overflow: hidden;
}

.prod-gun {
  position: absolute;
  top: 50%;
  width: min(640px, 55vw);
  opacity: 0.16;
  transform: translateY(-50%) rotate(-8deg);
  pointer-events: none;
}

.cs2 .prod-gun {
  right: 6%;
}

.csgo .prod-gun {
  left: 4%;
  transform: translateY(-50%) rotate(8deg) scaleX(-1);
}

.prod-inner {
  position: relative;
  max-width: 560px;
}

.prod.cs2 {
  background:
    linear-gradient(90deg, rgba(162, 68, 23, 0.47), transparent),
    linear-gradient(135deg, rgba(217, 111, 34, 0.56), rgba(244, 105, 3, 0.15) 40%, #794a0dc7),
    #2a1408;
}


.prod.csgo {
  justify-content: flex-end;
  text-align: right;
  background:
    linear-gradient(240deg, rgba(5, 21, 70, 0.3), transparent),
    linear-gradient(135deg, rgba(3, 169, 244, 0.3), rgba(3, 169, 244, 0.7) 40%, #082c4c),
    #06223b;
}


.prod-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
}

.prod-desc {
  margin: 10px 0 30px;
  font-size: 18px;
  font-weight: 300;
}

.prod .btn {
  height: 54px;
  padding: 0 34px;
  font-size: 15px;
}

.prod.cs2 .btn {
  background: #d93939;
}

.prod.csgo .btn {
  background: #4da9d7;
}

.we {
  padding: 120px 0;
  background: linear-gradient(180deg, #000 0, var(--navy) 61%, var(--navy-3));
}

.we .container {
  width: min(1140px, 85%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.we-ico {
  display: block;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  background: var(--accent-light);
  -webkit-mask: var(--ico) left center / contain no-repeat;
  mask: var(--ico) left center / contain no-repeat;
}

.we h3 {
  font-size: 18px;
  line-height: 27px;
  font-weight: 900;
}

.we p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 21px;
  font-weight: 400;
  color: #e9eef2;
}

footer {
  padding-top: 30px;
  background: var(--navy-2);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  padding: 30px 16px;
}

.footer-links .col {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  justify-self: stretch;
}

footer .col a {
  font-size: 18px;
  line-height: 27px;
  font-weight: 300;
  transition: color 0.5s ease;
}

footer .col p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}

.social {
  display: flex;
  gap: 14px;
  margin-top: 8px;
}

.social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.copy {
  padding: 50px 0 25px;
  font-size: 11px;
  color: #d3d3d3;
  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 5, 10, 0.75);
  backdrop-filter: blur(4px);
}

.modal[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: min(440px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 38px 34px 32px;
  background: var(--navy);
  border: 1px solid rgba(0, 149, 185, 0.35);
  border-radius: 6px;
  box-shadow: 0 0 80px rgba(0, 149, 185, 0.18);
  text-align: center;
}

.modal-card.wide {
  width: min(720px, 100%);
  text-align: left;
}

.x {
  position: absolute;
  top: 8px;
  right: 14px;
  font-size: 28px;
  color: var(--muted);
}

.modal h2 {
  font-size: 24px;
  font-weight: 900;
}

.modal p {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: #d5dde4;
}

.modal .btn {
  margin-top: 24px;
  height: 46px;
  padding: 0 28px;
  font-size: 14px;
}

.modal .lockicon {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  color: var(--accent);
}

.invite {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}

.invite input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  font: inherit;
  color: #fff;
  background: #071a2b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  outline: none;
}

.invite input:focus {
  border-color: var(--accent);
}

.invite .btn {
  margin-top: 0;
}

.err {
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  color: #ff6b6b;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.plan {
  padding: 16px 10px;
  text-align: center;
  background: #071a2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.plan:hover,
.plan.sel {
  border-color: var(--accent);
}

.plan b {
  display: block;
  font-size: 15px;
}

.plan span {
  display: block;
  margin-top: 6px;
  font-size: 20px;
  font-weight: 900;
  color: var(--accent-light);
}

.feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 20px;
  margin-top: 16px;
  list-style: none;
  font-size: 14px;
  color: #d5dde4;
}

.feats li::before {
  content: "+ ";
  color: var(--accent-light);
  font-weight: 900;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #4ade80;
}

.status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 30px;
  padding: 14px 22px;
  font-size: 14px;
  background: var(--navy-2);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .menu {
    grid-template-columns: auto 1fr;
  }

  .menu .links {
    display: none;
  }

  .menu .other {
    padding-right: 0;
    gap: 18px;
  }

  .big-text {
    font-size: 44px;
  }

  .killfeed {
    top: 70px;
    font-size: 12px;
  }

  .kill:nth-child(n + 4) {
    display: none;
  }

  .emblem {
    width: 70vw;
  }

  .button {
    margin-top: 50px;
  }

  .prod-title {
    font-size: 30px;
  }

  .we {
    padding: 60px 0;
  }

  .we .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 28px;
    justify-items: start;
  }

  .footer-links .col {
    padding-left: 0;
    border-left: 0;
  }

  .plans,
  .feats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .logo span,
  .lang {
    display: none;
  }

  .big-text {
    font-size: 34px;
  }

  .prod {
    padding: 40px 16px;
  }
}
