/* ================================================
   TELEGRAM DROPDOWN - FXCYCM
   Luxury Design Integration
   ================================================ */

/* Dropdown Wrapper */
.telegram-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

/* Trigger Button */
.telegram-dropdown-trigger {
    cursor: pointer;
    border: none;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
}

.telegram-dropdown-trigger:hover {
    background: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.telegram-dropdown-trigger.active {
    background: var(--gold);
    color: var(--black);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Dropdown Menu */
.telegram-dropdown {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.telegram-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Dropdown Arrow */
.telegram-dropdown-arrow {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: rgba(15, 15, 15, 0.98);
    border-right: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

/* Dropdown Items */
.telegram-dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.telegram-dropdown-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.telegram-dropdown-item:hover {
    transform: translateX(5px);
}

.telegram-dropdown-item:hover::before {
    opacity: 1;
}

.telegram-dropdown-item:first-of-type {
    margin-bottom: 4px;
}

/* Dropdown Icon */
.telegram-dropdown-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--gold);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.telegram-dropdown-item:hover .telegram-dropdown-icon {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Dropdown Text */
.telegram-dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    z-index: 1;
}

.telegram-dropdown-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.telegram-dropdown-item:hover .telegram-dropdown-title {
    color: var(--gold);
}

.telegram-dropdown-desc {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 0.3px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .telegram-dropdown {
        min-width: 200px;
        padding: 6px;
        bottom: calc(100% + 12px);
    }
    
    .telegram-dropdown-item {
        padding: 12px 14px;
        gap: 12px;
    }
    
    .telegram-dropdown-icon {
        width: 36px;
        height: 36px;
    }
    
    .telegram-dropdown-title {
        font-size: 12px;
    }
    
    .telegram-dropdown-desc {
        font-size: 10px;
    }
}
