* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: black;
  color: white;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 16px;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

.navbar-inner {
  width: min(1200px, calc(100% - 40px));
  height: 58px;
  padding: 0 14px;
  background: rgba(15, 15, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.nav-right {
  justify-content: flex-end;
}

.brand,
.nav-link,
.dropbtn {
  white-space: nowrap;
}

.desktop-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.09);
}

.mobile-login {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-login:hover {
  background: rgba(255, 255, 255, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.navbar a.brand {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.brand:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(155, 209, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(46, 154, 255, 0.14);
}

.nav-left::after {
  content: "";
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.08);
  margin-left: 2px;
  margin-right: 2px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  padding: 90px 20px 20px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  width: min(520px, 100%);
  margin: 0 auto;
  background: rgba(15, 15, 18, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.mobile-accordion {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  cursor: pointer;
}

.mobile-accordion:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-accordion .nav-ico {
  transition: transform 0.15s ease;
}

.mobile-accordion.open .nav-ico {
  transform: rotate(90deg);
}

.mobile-submenu {
  display: none;
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu .mobile-link {
  padding-left: 34px;
  font-size: 13px;
  opacity: 0.92;
}

.mobile-link {
  display: block;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.mobile-link:first-child {
  border-top: none;
}

.mobile-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1050px) {
  .nav-left::after {
    display: none;
  }

  .nav-left .nav-link {
    display: none;
  }

  .desktop-actions {
    display: none;
  }

  .mobile-login {
    display: inline-flex;
  }

  .hamburger {
    display: inline-flex;
  }

  .navbar-inner {
    width: min(760px, calc(100% - 40px));
    padding: 0 10px;
  }
}

.logo {
  height: 28px;
  width: 28px;
  border-radius: 999px;
  object-fit: cover;
}

.server-name {
  font-weight: bold;
  font-size: 14px;
  color: #9bd1ff;
  line-height: 1;
  white-space: nowrap;
}

.navbar a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-ico {
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.nav-img {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  object-fit: contain;
  display: inline-block;
}

.navbar a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropbtn {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(15, 15, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  top: 44px;
  min-width: 200px;
  overflow: hidden;
}

.dropdown-content a {
  padding: 12px;
  display: block;
  border-radius: 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* LANGUAGE */
.lang {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  cursor: pointer;
  opacity: 0.9;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.15s ease;
}

.lang:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

/* LOGIN */
.login-btn {
  background: linear-gradient(180deg, rgba(46, 154, 255, 0.95), rgba(30, 144, 255, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  border-radius: 999px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.login-btn .nav-ico {
  opacity: 0.95;
}

body.logged-in .login-btn,
body.logged-in .mobile-login {
  display: none;
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.hero-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
  .hero-bg iframe {
    width: 100vw;
    height: 56.25vw;
  }
}

@media (max-aspect-ratio: 16/9) {
  .hero-bg iframe {
    width: 177.78vh;
    height: 100vh;
  }
}

.hero-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.main-btn {
  background: #1e90ff;
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  color: white;
  cursor: pointer;
  border-radius: 8px;
}
