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

html, body {
  width: 100%;
  overflow-x: hidden;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  width: 100%;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  padding-inline: 1.5rem;
}

.nav-item {
  position: relative;
}

.nav-trigger,
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 6px;
  transition: color 0.15s ease, background-color 0.15s ease;
  line-height: 1;
}

.nav-trigger:hover,
.nav-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  opacity: 0.6;
}

.nav-trigger[aria-expanded="true"] .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-trigger[aria-expanded="true"] {
  color: #fff;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 260px;
  background: #101113;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 10px 30px -4px rgba(0,0,0,0.1);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown--simple {
  min-width: 200px;
  padding: 6px;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 7px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #9ca3af;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.nav-dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
}

.nav-dropdown-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8F8F8F;
  transition: color 0.12s ease;
}

.nav-dropdown-link:hover .nav-dropdown-link-icon {
  color: #E7BC09;
}

.platform-inner {
  display: flex;
  min-height: 205px;
}

.nav-dropdown--platform {
  left: 0;
  transform: translateY(4px);
  min-width: 420px;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}

.nav-dropdown--platform.open {
  transform: translateY(0);
}

.platform-inner {
  display: flex;
}

.platform-tabs {
  width: 160px;
  flex-shrink: 0;
  padding: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  text-align: left;
  transition: background-color 0.12s ease, color 0.12s ease;
}

.platform-tab svg {
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.12s ease;
  color: #9ca3af;
}

.platform-tab:hover {
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.platform-tab.active {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.platform-tab.active svg {
  opacity: 1;
}

.platform-panel {
  display: none;
  flex-direction: column;
  width: 260px;
  padding: 8px;
  overflow-y: auto;
}

.platform-panel.active {
  display: flex;
}

.platform-item {
  display: block;
  padding: 8px 12px;
  border-radius: 7px;
  text-decoration: none;
  transition: background-color 0.12s ease;
}

.platform-item:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

.platform-item-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.3;
}

.platform-item-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  color: #9ca3af;
  line-height: 1.4;
  margin-top: 2px;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 9999px;
  background: rgba(255, 208, 0, 0.18);
  color: #E7BC09;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-login {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: none;
  padding: 0 8px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.nav-login:hover {
  color: #fff;
}

.nav-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.nav-btn-outline:hover {
 background-color: #ffffff;
 border-color: #d1d5db;
}
.nav-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #E7BC09;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.nav-btn-primary:hover {
  background-color: #d4ac08;
}

.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #9ca3af;
  transition: color 0.15s ease, background-color 0.15s ease;
  padding: 0;
}

.nav-mobile-toggle:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-mobile-toggle .icon-close { display: none; }
.nav-mobile-toggle.active .icon-menu { display: none; }
.nav-mobile-toggle.active .icon-close { display: block; }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #060709;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
}

.mobile-group {
  display: flex;
  flex-direction: column;
  padding: 16px 0;
}

.mobile-group:first-child {
  padding-top: 0;
}

.mobile-group--bordered {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-group-label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin-bottom: 8px;
}

.mobile-group-links {
  display: flex;
  flex-direction: column;
}

.mobile-plain-link {
  display: block;
  padding: 8px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}

.mobile-plain-link:hover {
  color: #ffffff;
}

.mobile-icon-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.15s;
}

.mobile-icon-link:hover {
  color: #ffffff;
}

.mobile-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8F8F8F;
  transition: color 0.15s;
}

.mobile-icon-link:hover .mobile-icon-wrap {
  color: #E7BC09;
}

.mobile-cta-outline,
.mobile-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.15s, color 0.15s;
  cursor: pointer;
  margin-top: 6px;
}

.mobile-cta-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
}

.mobile-cta-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-cta-primary {
  border: 1px solid transparent;
  background: #E7BC09;
  color: #0f172a;
}

.mobile-cta-primary:hover {
  background: #d4ac08;
}

@media (max-width: 1024px) {
  .nav-desktop { display: none; }

  .nav-right .nav-login,
  .nav-right .nav-btn-outline,
  .nav-right .nav-btn-primary {
    display: none;
  }

  .nav-mobile-toggle { display: flex; }
}