:root {
  --bg: #040509;
  --bg-soft: #090b12;

  --panel: #0d1018;
  --panel-2: #151924;

  --text: #ffffff;
  --soft: #a8afbf;

  --red: #ff2438;
  --red-dark: #b90016;

  --blue: #146cff;
  --blue-dark: #073e9e;

  --border: rgba(255,255,255,.11);

  --radius: 18px;

  --shadow:
    0 20px 55px rgba(0,0,0,.48);
}


* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {
  margin: 0;

  min-height: 100vh;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  color: var(--text);

  background:
    radial-gradient(
      circle at 15% 5%,
      rgba(255,36,56,.15),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 8%,
      rgba(20,108,255,.10),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #07090e 0%,
      #030407 100%
    );
}


button,
input,
select {
  font: inherit;
}


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


.container {
  width:
    min(
      1180px,
      calc(100% - 32px)
    );

  margin-inline: auto;
}


/* ==========================================================
   TOP BAR
========================================================== */

.topbar {
  position: sticky;
  top: 0;

  z-index: 100;

  background:
    rgba(4,5,9,.95);

  backdrop-filter: blur(16px);

  border-bottom:
    1px solid rgba(255,255,255,.10);

  box-shadow:
    0 8px 30px rgba(0,0,0,.32);
}


.topbar-inner {
  min-height: 78px;

  display: flex;

  align-items: center;

  gap: 22px;
}


.brand {
  flex: 0 0 auto;

  padding: 0;

  border: 0;

  display: flex;

  align-items: center;

  gap: 12px;

  color: white;

  background: transparent;

  cursor: pointer;
}


.brand-icon {
  width: 48px;
  height: 48px;

  overflow: hidden;

  display: grid;

  place-items: center;

  border-radius: 13px;

  background:
    linear-gradient(
      145deg,
      #191d27,
      #080a0f
    );

  border:
    1px solid rgba(255,255,255,.14);

  box-shadow:
    0 8px 25px rgba(0,0,0,.35);
}


.brand-icon img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


.brand-icon span {
  color: white;

  font-weight: 900;
}


.brand-text {
  text-align: start;
}


.brand-text strong {
  display: block;

  font-size: 18px;

  font-weight: 900;
}


.brand-text small {
  display: block;

  margin-top: 3px;

  color: var(--soft);

  font-size: 11px;
}


/* ==========================================================
   NAVIGATION
========================================================== */

.main-nav {
  flex: 1;

  display: flex;

  justify-content: center;

  gap: 7px;
}


.nav-button {
  min-height: 42px;

  padding: 0 16px;

  border-radius: 11px;

  border:
    1px solid transparent;

  color: var(--soft);

  background: transparent;

  font-weight: 800;

  cursor: pointer;

  transition:
    .2s ease;
}


.nav-button:hover {
  color: white;

  background:
    rgba(255,255,255,.055);
}


.nav-button.active {
  color: white;

  background:
    linear-gradient(
      135deg,
      rgba(255,36,56,.22),
      rgba(185,0,22,.13)
    );

  border-color:
    rgba(255,36,56,.45);

  box-shadow:
    0 0 20px
    rgba(255,36,56,.08);
}


.language-select {
  height: 42px;

  padding-inline: 12px;

  border-radius: 11px;

  border:
    1px solid var(--border);

  color: white;

  outline: none;

  background:
    #10131b;

  cursor: pointer;
}


/* ==========================================================
   PAGE SYSTEM
========================================================== */

.page {
  display: none;

  min-height:
    calc(100vh - 135px);
}


.page.active {
  display: block;

  animation:
    pageFade .20s ease;
}


@keyframes pageFade {

  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


.page-content {
  padding:
    68px 0 80px;
}


/* ==========================================================
   HOME
========================================================== */

.home-content {
  min-height:
    calc(100vh - 150px);

  padding:
    50px 0 70px;

  display: flex;

  align-items: flex-start;
  justify-content: center;
}


.home-card {
  width: 100%;

  min-height: 370px;

  padding: 42px 28px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-align: center;

  border-radius: 28px;

  border:
    1px solid rgba(255,255,255,.12);

  background:
    radial-gradient(
      circle at 25% 20%,
      rgba(255,36,56,.16),
      transparent 36%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(20,108,255,.09),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #121620,
      #090b11
    );

  box-shadow:
    var(--shadow);
}


.home-logo {
  font-size:
    clamp(50px,9vw,92px);

  line-height: .95;

  font-weight: 950;

  letter-spacing: -4px;

  color: white;
}


.home-logo span {
  color: var(--red);

  text-shadow:
    0 0 28px
    rgba(255,36,56,.28);
}


.home-logo b {
  margin-inline-start: 8px;

  color: white;

  font-size: .43em;

  letter-spacing: 0;
}


.home-subtitle {
  margin-top: 21px;

  color: #d0d4dc;

  font-size: 17px;
}


.home-line {
  width: 95px;
  height: 4px;

  margin-top: 20px;

  border-radius: 10px;

  background:
    linear-gradient(
      90deg,
      var(--red),
      var(--blue)
    );
}


.home-dynamic-content {
  width: 100%;

  margin-top: 20px;
}


/* ==========================================================
   SECTION HEADER
========================================================== */

.section-header {
  max-width: 720px;

  margin-bottom: 34px;
}


.section-tag {
  display: inline-flex;

  padding: 7px 13px;

  border-radius: 999px;

  color: #ffffff;

  background:
    rgba(255,36,56,.13);

  border:
    1px solid rgba(255,36,56,.38);

  font-size: 13px;

  font-weight: 800;
}


.section-header h1 {
  margin:
    15px 0 10px;

  font-size:
    clamp(31px,5vw,46px);
}


.section-header p {
  margin: 0;

  color: var(--soft);

  line-height: 1.8;
}


/* ==========================================================
   ACTIVATION
========================================================== */

.activation-card {
  width:
    min(650px,100%);

  padding: 29px;

  border-radius: var(--radius);

  border:
    1px solid rgba(255,255,255,.12);

  background:
    linear-gradient(
      150deg,
      #131722,
      #0a0d13
    );

  box-shadow:
    var(--shadow);
}


.form-group {
  margin-bottom: 18px;
}


.form-group label {
  display: block;

  margin-bottom: 9px;

  font-size: 14px;

  font-weight: 800;
}


.form-group input {
  width: 100%;

  height: 55px;

  padding-inline: 16px;

  border-radius: 13px;

  border:
    1px solid rgba(255,255,255,.13);

  outline: none;

  color: white;

  background:
    #07090e;

  direction: ltr;

  text-align: left;
}


.form-group input:focus {
  border-color:
    rgba(255,36,56,.85);

  box-shadow:
    0 0 0 3px
    rgba(255,36,56,.12);
}


.primary-button {
  width: 100%;

  min-height: 52px;

  margin-top: 4px;

  border: 0;

  border-radius: 13px;

  color: white;

  background:
    linear-gradient(
      135deg,
      #ff3045,
      #bd0018
    );

  box-shadow:
    0 12px 30px
    rgba(255,36,56,.22);

  font-weight: 900;

  cursor: pointer;
}


.primary-button:hover {
  filter: brightness(1.08);
}


.form-message {
  min-height: 22px;

  margin-top: 14px;

  color: var(--soft);

  font-size: 13px;
}


/* ==========================================================
   APPS
========================================================== */

.download-grid {
  display: grid;

  grid-template-columns:
    repeat(3,minmax(0,1fr));

  gap: 18px;
}


.download-card {
  padding: 23px;

  border-radius: 17px;

  border:
    1px solid rgba(255,255,255,.11);

  background:
    linear-gradient(
      145deg,
      #121620,
      #0b0e14
    );

  box-shadow:
    0 14px 35px
    rgba(0,0,0,.22);
}


.platform-icon {
  width: 50px;
  height: 50px;

  margin-bottom: 18px;

  display: grid;

  place-items: center;

  border-radius: 14px;

  background:
    linear-gradient(
      145deg,
      #242936,
      #0b0d12
    );

  border:
    1px solid rgba(255,255,255,.12);

  color: white;

  font-weight: 900;
}


.download-card:nth-child(odd)
.platform-icon {
  border-color:
    rgba(255,36,56,.35);
}


.download-card:nth-child(even)
.platform-icon {
  border-color:
    rgba(20,108,255,.32);
}


.download-card h3 {
  margin:
    0 0 7px;
}


.download-card p {
  min-height: 22px;

  margin:
    0 0 18px;

  color: var(--soft);
}


.download-button {
  width: 100%;

  min-height: 42px;

  border-radius: 11px;

  border:
    1px solid var(--border);

  color: var(--soft);

  background:
    rgba(255,255,255,.035);
}


/* ==========================================================
   SUPPORT
========================================================== */

.support-grid {
  display: grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap: 16px;
}


.support-card {
  min-height: 125px;

  padding: 21px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  gap: 8px;

  border-radius: 17px;

  border:
    1px solid rgba(255,255,255,.11);

  background:
    linear-gradient(
      145deg,
      #121620,
      #0b0e14
    );

  transition:
    .20s ease;
}


.support-card:hover {
  transform:
    translateY(-3px);

  border-color:
    rgba(255,36,56,.5);
}


.support-card strong {
  font-size: 18px;
}


.support-card span {
  color: var(--soft);

  font-size: 13px;
}


/* ==========================================================
   FOOTER
========================================================== */

.footer {
  padding:
    22px 0;

  border-top:
    1px solid rgba(255,255,255,.09);

  color: var(--soft);

  background:
    rgba(0,0,0,.18);
}


.footer-inner {
  display: flex;

  justify-content:
    space-between;

  gap: 15px;

  font-size: 13px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

  .topbar-inner {
    flex-wrap: wrap;

    padding:
      11px 0;
  }


  .brand {
    order: 1;
  }


  .language-select {
    order: 2;

    margin-inline-start: auto;
  }


  .main-nav {
    order: 3;

    flex-basis: 100%;

    justify-content:
      flex-start;

    overflow-x: auto;
  }


  .nav-button {
    white-space: nowrap;
  }


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


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

}


/* ==========================================================
   PHONE
========================================================== */

@media (max-width: 560px) {

  .container {
    width:
      calc(100% - 24px);
  }


  .brand-text small {
    display: none;
  }


  .language-select {
    max-width: 115px;
  }


  .home-content {
    padding-top: 34px;
  }


  .home-card {
    min-height: 310px;

    padding:
      26px 18px;
  }


  .home-logo {
    font-size: 50px;
  }


  .page-content {
    padding-top: 42px;
  }


  .activation-card {
    padding: 19px;
  }


  .download-grid,
  .support-grid {
    grid-template-columns:
      1fr;
  }


  .footer-inner {
    flex-direction: column;

    text-align: center;
  }

}


/* SUPER OSN HOME SLIDER */

.home-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  margin: 28px auto 0;
  overflow: hidden;
  border-radius: 22px;
  background: #05070c;
  box-shadow:
    0 18px 55px rgba(0,0,0,.45),
    0 0 28px rgba(0,120,255,.18);
}

.home-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 1s ease,
    transform 4.5s ease;
}

.home-slide.active {
  opacity: 1;
  transform: scale(1);
}

@media (max-width: 768px) {
  .home-slider {
    border-radius: 14px;
    margin-top: 18px;
  }
}
