:root {
  --primary-color: #fec200;
  --primary-light: #feda00;
  --primary-dark: #e6ac00;
  --dark-900: #111827;
  --dark-800: #1f2937;
  --dark-700: #374151;
  --dark-600: #4b5563;
  --dark-500: #6b7280;
  --dark-400: #9ca3af;
  --dark-300: #d1d5db;
  --light-100: #f3f4f6;
  --light-200: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease;
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --font-main: 'Montserrat', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(254, 194, 0, 0.2);
    padding: 0.5rem 0;
}

img {
  max-width: 25px;
  height: auto;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    position: relative;
    color: var(--light-100);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.discord-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.discord-link:hover {
    color: var(--primary-light);
}

.invite-btn {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: var(--dark-900);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.invite-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-800);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 0;
    color: var(--light-100);
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

.mobile-invite-btn {
    display: block;
    text-align: center;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    color: var(--dark-900);
    padding: 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}

.mobile-invite-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown toggle button */
.dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2a2f3b;
  color: #fff;
  border: 2px solid #2a2f3b;
  border-radius: 0.5em;
  padding: 0.75em 1em;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 150px;
  font-size: 1rem;
  gap: 0.5rem;
}

.dropdown-toggle:hover {
  background: #323741;
  border-color: #323741;
}

.dropdown-toggle:focus {
  outline: none;
  border-color: #26489a;
  box-shadow: 0 0 0 2px rgba(38, 72, 154, 0.3);
}

/* Dropdown caret icon */
.dropdown-caret {
  width: 12px;
  height: 12px;
  color: currentColor;
  transition: transform 0.2s ease;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-caret {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 100%;
  padding: 0.5em 0;
  margin: 0.25em 0 0;
  list-style: none;
  background: #323741;
  border: 1px solid #363a43;
  border-radius: 0.5em;
  box-shadow: 0 0.5em 1em rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
}

.dropdown-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items */
.dropdown-item {
  display: block;
  padding: 0.5em 1em;
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #2a2d35;
  outline: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dropdown {
    width: 100%;
  }
  
  .dropdown-toggle {
    width: 100%;
    justify-content: center;
  }
  
  .dropdown-menu {
    width: 100%;
    position: static;
    margin-top: 0.5em;
    display: none;
  }
  
  .dropdown-menu[aria-hidden="false"] {
    display: block;
  }
}