/* Premium Help Button & Modal */

/* Premium Floating Help Button */
.premium-help-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    border: none;
    border-radius: 50px;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
    min-width: 60px;
    height: 60px;
}

.premium-help-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.premium-help-btn:hover::before {
    opacity: 1;
}

.premium-help-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.5);
    min-width: 120px;
}

.help-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    position: relative;
    color: white;
    font-weight: 600;
    gap: 0.5rem;
}

.help-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.premium-help-btn:hover .help-icon {
    transform: scale(1.1);
}

.help-text {
    font-size: 1rem;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.premium-help-btn:hover .help-text {
    opacity: 1;
    max-width: 100px;
}

.help-status-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #4ade80;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: pulse-help 2s infinite;
}

@keyframes pulse-help {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.2);
    }
}

/* Premium Help Modal */
.premium-help-modal {
    max-width: 600px;
    width: 85vw;
    max-height: 75vh;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-header.premium {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.support-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.status-dot.online {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
    animation: pulse-dot 2s infinite;
}

.modal-close.premium {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close.premium:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body.premium {
    padding: 2rem;
}

.help-intro {
    margin-bottom: 2rem;
    text-align: center;
}

.help-intro p {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}

.help-options.premium-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.help-option.premium {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.help-option.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.help-option.premium:hover::before {
    opacity: 0.05;
}

.help-option.premium:hover {
    border-color: #0066cc;
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 102, 204, 0.15);
}

.help-option.vip {
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    position: relative;
    overflow: hidden;
}

.help-option.vip::after {
    content: '👑';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 1.5rem;
    opacity: 0.1;
    transform: rotate(15deg);
}

.help-option.vip:hover {
    border-color: #f59e0b;
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.3);
}

.help-option.telegram {
    border: 2px solid #0088cc;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.help-option.telegram:hover {
    border-color: #0088cc;
    box-shadow: 0 12px 25px rgba(0, 136, 204, 0.2);
}

.help-option.knowledge {
    border: 2px solid #8b5cf6;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.help-option.knowledge:hover {
    border-color: #7c3aed;
    box-shadow: 0 12px 25px rgba(139, 92, 246, 0.2);
}

.help-option.priority {
    border: 2px solid #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    animation: glow-priority 3s ease-in-out infinite alternate;
}

.help-option.priority:hover {
    border-color: #dc2626;
    box-shadow: 0 12px 25px rgba(239, 68, 68, 0.3);
}

@keyframes glow-priority {
    0% { box-shadow: 0 0 5px rgba(239, 68, 68, 0.2); }
    100% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.4); }
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.help-option-icon {
    font-size: 2rem;
}

.option-status {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.option-status.live {
    background: #dcfce7;
    color: #166534;
}

.option-status.available {
    background: #dbeafe;
    color: #1e40af;
}

.option-status {
    background: #f1f5f9;
    color: #475569;
}

.option-status.vip {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #92400e;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.option-status.premium {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    font-weight: 600;
}

.option-status.priority {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-weight: 600;
    animation: pulse-priority 2s infinite;
}

@keyframes pulse-priority {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.option-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.help-option-icon {
    font-size: 1.5rem;
}

.option-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-status.vip {
    background: #ffd700;
    color: #92400e;
}

.option-status.live {
    background: #0088cc;
    color: white;
}

.option-status.premium {
    background: #8b5cf6;
    color: white;
}

.option-status.priority {
    background: #ef4444;
    color: white;
}

.option-content {
    flex: 1;
    min-width: 0;
}

.help-option.premium h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    color: #1e293b;
    position: relative;
    z-index: 1;
}

.help-option.premium p {
    color: #64748b;
    margin: 0;
    line-height: 1.3;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.option-meta {
    position: relative;
    z-index: 1;
}

.option-meta span {
    font-size: 0.85rem;
    color: #0066cc;
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
}

.option-meta span:last-child {
    margin-bottom: 0;
}

.help-footer {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.quick-tips h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: #1e293b;
}

.quick-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-tips li {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.quick-tips li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .premium-help-btn {
        bottom: 1rem;
        right: 1rem;
        min-width: 50px;
        height: 50px;
    }
    
    .premium-help-btn:hover {
        min-width: 100px;
    }
    
    .premium-help-modal {
        width: 95vw;
        max-height: 85vh;
    }
    
    .help-options.premium-grid {
        gap: 0.5rem;
    }
    
    .help-option.premium {
        padding: 0.5rem 0.75rem;
        gap: 0.75rem;
    }
    
    .help-option-icon {
        font-size: 1.25rem;
    }
    
    .modal-header.premium {
        padding: 1.5rem;
    }
    
    .modal-body.premium {
        padding: 1.5rem;
    }
}

/* Help Footer */
.help-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.quick-contact p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
}

.quick-contact strong {
    color: #0066cc;
    font-weight: 600;
}
