.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.25);
    transition: var(--transition) !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fb923c 0%, var(--primary) 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(249, 115, 22, 0.4);
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle) !important;
    color: var(--text-main) !important;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: var(--radius);
    transition: var(--transition) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-strong) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.nav-link-custom {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px !important;
    border-radius: 10px;
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.92rem;
    transition: var(--transition);
    background: transparent;
    border: 1px solid transparent;
}

.nav-link-custom:hover,
.nav-link-custom:focus,
.nav-link-custom[aria-expanded="true"] {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.07);
}

.nav-link-custom.active {
    color: var(--primary) !important;
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.2);
}

.nav-link-telegram {
    color: #38bdf8 !important;
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(14, 165, 233, 0.18);
}

.nav-link-telegram:hover {
    background: rgba(14, 165, 233, 0.15) !important;
    border-color: rgba(14, 165, 233, 0.4) !important;
    color: #7dd3fc !important;
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.2);
}

.nav-link-login {
    background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
    font-weight: 600;
}

.nav-link-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4) !important;
}

.nav-link-user {
    background: rgba(88, 101, 242, 0.08);
    border: 1px solid rgba(88, 101, 242, 0.25);
    color: #a5b4fc !important;
    font-weight: 600;
}

.nav-link-user:hover,
.nav-link-user[aria-expanded="true"] {
    background: rgba(88, 101, 242, 0.18) !important;
    border-color: rgba(88, 101, 242, 0.45) !important;
    color: #c7d2fe !important;
    box-shadow: 0 0 16px rgba(88, 101, 242, 0.25);
}

.dropdown-menu {
    background: rgba(14, 12, 11, 0.94) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
    margin-top: 8px !important;
    animation: dropdownFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    color: var(--text-main);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.dropdown-item i {
    width: 1.25rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(249, 115, 22, 0.12);
    color: var(--primary);
    transform: translateX(3px);
}

.dropdown-header {
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    font-weight: 700;
    padding: 10px 14px 4px;
}

.dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin: 4px 0;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(12, 10, 9, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 14px;
        margin-top: 10px;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    }

    .nav-link-custom {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 16px !important;
    }
}

.platform-segment-control {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 4px;
    gap: 4px;
}

.platform-segment-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none !important;
    transition: var(--transition);
    border: 1px solid transparent;
}

.platform-segment-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.platform-segment-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, #ea580c 100%);
    color: #fff !important;
    box-shadow: 0 2px 12px var(--primary-glow);
    border-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .dropdown-menu {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #141110 !important;
    }
}