/* Header CSS */
.main-header {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
  }
  
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .header-left {
    display: flex;
    align-items: center;
  }
  
  .logo-link {
    margin-right: 1rem;
  }
  
  .ankama-logo {
    width: 100px;
    height: 30px;
    object-fit: contain;
  }
  
  .main-nav {
    display: none;
  }
  
  .nav-list {
    display: flex;
    gap: 1rem;
  }
  
  .nav-link {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
  }
  
  .nav-link:hover {
    color: var(--primary);
  }
  
  .download-nav-link {
    color: var(--primary);
    font-weight: 600;
  }
  
  .download-nav-link:hover {
    color: var(--primary-hover);
  }
  
  .header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .account-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .mobile-menu-toggle {
    display: block;
    margin-left: 1rem;
  }
  
  #menuToggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 1.5rem;
    height: 1.25rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  #menuToggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    transition: all 0.3s;
  }
  
  /* Mobile Menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--background);
    z-index: 100;
    overflow-y: auto;
    display: none;
  }
  
  .mobile-menu.active {
    display: block;
  }
  
  .mobile-menu-container {
    padding: 1rem;
  }
  
  .mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .close-menu {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .mobile-nav ul {
    margin-bottom: 1.5rem;
  }
  
  .mobile-nav ul li {
    border-bottom: 1px solid var(--border);
  }
  
  .mobile-nav ul li a {
    display: block;
    padding: 0.75rem 0;
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
  }
  
  .has-submenu .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
  }
  
  .toggle-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
  }
  
  .chevron-down {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s;
  }
  
  .submenu {
    display: none;
    padding-left: 1rem;
  }
  
  .submenu.active {
    display: block;
  }
  
  .submenu li {
    border-bottom: none;
  }
  
  .submenu li a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }
  
  .mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  /* Auth Header */
  .auth-header {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
  }
  
  .logo-center {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  
  .logo-center a {
    display: inline-block;
  }
  
  .dofinia-logo-large {
    width: 300px;
    height: 150px;
    object-fit: contain;
    margin: 0 auto;
  }
  
  /* Responsive */
  @media (min-width: 768px) {
    .main-nav {
      display: flex;
    }
  
    .mobile-menu-toggle {
      display: none;
    }
  }
  