:root {
  --bg-dark: #061327;
  --bg-darker: #040d1d;
  --primary: #f0b63a;
  --primary-hover: #ffcb5b;
  --text: #ffffff;
  --muted: #b6c3d1;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

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

html,
body {
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    linear-gradient(rgba(6, 19, 39, 0.78), rgba(4, 13, 29, 0.96)),
    url("https://images.unsplash.com/photo-1511512578047-dfb367046420?q=80&w=1920&auto=format&fit=crop") center/cover no-repeat fixed;
}

body {
  position: relative;
  overflow-x: hidden;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 196, 71, 0.08), transparent 25%),
    radial-gradient(circle at 80% 25%, rgba(88, 101, 242, 0.12), transparent 25%),
    linear-gradient(to bottom, rgba(7, 20, 38, 0.2), rgba(4, 10, 22, 0.88));
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.05));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

/* ACCESSIBILITY */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 18, 38, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.logo {
  font-size: 1.12rem;
  font-weight: 800;
  color: #eef4ff;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo i {
  color: #f4f7ff;
  font-size: 1.35rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #d4dcea;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid transparent;
  min-height: 46px;
}

.nav-links a i {
  font-size: 1rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255,255,255,0.06);
}

.nav-links a.nav-login {
  background: rgba(240, 182, 58, 0.12);
  border: 1px solid rgba(240, 182, 58, 0.28);
  color: #ffe3a0;
}

.nav-links a.nav-login:hover {
  background: rgba(240, 182, 58, 0.22);
  color: #fff1cc;
}

/* LANGUAGE */
.lang-switch {
  display: flex;
  align-items: center;
}

.select-wrap {
  position: relative;
  min-width: 160px;
}

.select-wrap i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #d8dfeb;
  font-size: 0.85rem;
}

.lang-switch select {
  width: 100%;
  min-height: 46px;
  padding: 0 42px 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.lang-switch select:hover {
  background: rgba(255,255,255,0.1);
}

.lang-switch select:focus {
  border-color: rgba(240, 182, 58, 0.4);
  box-shadow: 0 0 0 3px rgba(240, 182, 58, 0.12);
}

.lang-switch select option {
  color: #111;
}

/* HERO */
.hero {
  padding-top: 70px;
  min-height: calc(100vh - 80px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 90px;
}

.status {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
  border-radius: 26px;
}

.status-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.45rem;
  color: white;
  flex-shrink: 0;
}

.icon.discord {
  color: #a8b8ff;
}

.small-label {
  font-size: 0.82rem;
  color: #9db3ca;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.big-text {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.big-text.offline {
  color: #86b8ff;
}

.sub-text {
  color: #d9e3ef;
  font-size: 1rem;
  opacity: 0.86;
}

.center-logo {
  border-radius: 30px;
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 240px;
}

.logo-box {
  width: 142px;
  height: 142px;
  border-radius: 34px;
  background: linear-gradient(145deg, #353535, #111111);
  display: grid;
  place-items: center;
  font-size: 4.3rem;
  font-weight: 900;
  color: #ffb300;
  text-shadow: 0 0 20px rgba(255, 179, 0, 0.35);
  box-shadow:
    inset 0 3px 10px rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.45);
}

/* CONTENT */
.content-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 100px;
}

.welcome-box h1 {
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.12;
  margin-bottom: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.welcome-box h1 span {
  color: var(--primary);
}

.welcome-box p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
  max-width: 650px;
  margin-bottom: 28px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  padding: 15px 24px;
  font-weight: 700;
  transition: 0.25s ease;
  min-height: 52px;
}

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

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

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-discord {
  background: rgba(88, 101, 242, 0.16);
  color: #dfe5ff;
  border: 1px solid rgba(88, 101, 242, 0.28);
}

.btn-discord:hover {
  background: rgba(88, 101, 242, 0.28);
}

.btn-login {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  min-height: 210px;
  transition: 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.15);
}

.feature-card.full {
  grid-column: 1 / -1;
  max-width: 62%;
  margin: 0 auto;
}

.feature-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  color: #f4f7ff;
  background: rgba(255, 255, 255, 0.06);
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.75;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(3, 9, 20, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-inner {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 6px;
  color: #dfe9f8;
}

.footer-copy {
  color: #8aa0b7;
  font-size: 0.95rem;
}

.socials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #cbd6e4;
  font-size: 1.1rem;
  transition: 0.25s ease;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.04);
}

.socials a:hover {
  color: var(--primary);
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    margin-bottom: 70px;
  }

  .status {
    justify-content: center;
  }

  .status-text {
    align-items: center;
  }

  .content-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .welcome-box {
    text-align: center;
  }

  .welcome-box p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .feature-card.full {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 34px;
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .logo {
    justify-content: center;
    text-align: center;
    width: 100%;
    font-size: 1.5rem;
    padding-top: 6px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    justify-content: center;
    min-height: 58px;
    font-size: 1.05rem;
    border-radius: 22px;
    background: rgba(34, 53, 87, 0.45);
    border: 1px solid rgba(255,255,255,0.04);
  }

  .nav-links a.nav-login {
    min-height: 60px;
  }

  .lang-switch {
    width: 100%;
  }

  .select-wrap {
    width: 100%;
    min-width: 0;
  }

  .lang-switch select {
    width: 100%;
    min-height: 58px;
    font-size: 1rem;
    border-radius: 18px;
    background: rgba(34, 53, 87, 0.45);
  }

  .hero-grid {
    gap: 20px;
    margin-bottom: 44px;
  }

  .status {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    border-radius: 28px;
  }

  .status-text {
    align-items: center;
  }

  .big-text {
    font-size: 1.9rem;
  }

  .center-logo {
    min-height: 220px;
  }

  .logo-box {
    width: 135px;
    height: 135px;
    font-size: 4rem;
  }

  .content-section {
    gap: 32px;
    padding-bottom: 64px;
  }

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

  .feature-card.full {
    grid-column: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    min-height: 56px;
    border-radius: 18px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(94%, 1200px);
  }

  .logo {
    font-size: 1.15rem;
  }

  .welcome-box h1 {
    font-size: 2rem;
  }

  .welcome-box p {
    font-size: 1rem;
    line-height: 1.75;
  }

  .big-text {
    font-size: 1.55rem;
  }

  .sub-text {
    font-size: 0.95rem;
  }

  .feature-card {
    padding: 26px 18px;
    min-height: 0;
  }

  .status {
    padding: 24px 16px;
  }

  .small-label {
    letter-spacing: 1.5px;
  }

  .nav-links a,
  .lang-switch select {
    min-height: 54px;
  }

  .select-wrap i {
    right: 14px;
  }
}