.site-settings {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-left: 20px;
}

.setting-group {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.setting-btn {
    background: transparent;
    border: none;
    color: var(--secondary);
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.setting-btn:hover {
    color: #fff;
}

.setting-btn.active {
    background: var(--accent);
    color: #fff;
}

/* Search Bar */
.search-container {
    margin: 20px 0;
    position: relative;
    max-width: 500px;
}

.search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 20px 12px 45px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.1);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary);
    font-size: 14px;
    pointer-events: none;
    transition: color 0.3s;
}

.search-input:focus+.search-icon {
    color: var(--accent);
}

.discord-join-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 15px;
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
}

.contact-method-item:hover .discord-join-btn {
    background: #5865F2;
    color: #fff;
}

/* Responsive Navbar & Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    padding: 8px;
    transition: transform 0.3s;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    overflow-y: auto;
}

.mobile-overlay.active {
    transform: translateX(0);
}

.mobile-overlay .nav-link {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: #fff;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    transition: color 0.3s;
}

.mobile-overlay .nav-link:hover {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .nav-links {
        display: none !important;
    }

    .menu-toggle {
        display: block !important;
    }

    .site-settings {
        margin: 40px 0 0 0;
        width: 100%;
        justify-content: center;
    }

    /* Ensure it works well inside the mobile menu */
    .mobile-overlay .site-settings {
        display: flex !important;
    }

    /* Hide the original switcher on mobile if it's not in the overlay */
    nav>.site-settings {
        display: none !important;
    }
}

@media (max-width: 600px) {

    /* Responsive Typography */
    .hero h1,
    h1 {
        font-size: 36px !important;
        letter-spacing: -1px;
    }

    .hero-title,
    h2 {
        font-size: 28px !important;
    }

    .hero p {
        font-size: 16px !important;
        padding: 0 10px;
    }

    .search-input {
        font-size: 16px;
        /* Prevents auto-zoom on iOS */
    }

    .container {
        padding: 0 16px;
    }
}