/* Streamer Support Section Styles */
.streamer-support-section {
    position: relative;
}

.streamer-support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.streamer-support-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
.streamer-support-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.title-section {
    flex: 1;
}

.main-title {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #9147ff, #ff69b4, #00d4ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    letter-spacing: -0.02em;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    letter-spacing: 0.02em;
}

/* Admin Controls */
.admin-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(147, 71, 255, 0.1);
    border: 1px solid rgba(147, 71, 255, 0.3);
    border-radius: 10px;
    color: #9147ff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.admin-btn:hover {
    background: rgba(147, 71, 255, 0.2);
    border-color: rgba(147, 71, 255, 0.5);
    color: #a855f7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(147, 71, 255, 0.2);
}

.admin-btn i {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .admin-controls {
        justify-content: center;
        margin-top: 15px;
    }
}

/* Info Icon and Tooltip */
.info-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.info-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-icon:hover {
    color: #9147ff;
    background: rgba(145, 71, 255, 0.08);
    border-color: rgba(145, 71, 255, 0.2);
    transform: scale(1.05);
}

/* Modern Tooltip Styles */
.modern-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 20, 0.98);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(147, 71, 255, 0.15);
    border-radius: 16px;
    padding: 0;
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 8px 16px rgba(145, 71, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-width: 320px;
    max-width: 380px;
    overflow: hidden;
}

.info-icon-wrapper:hover .modern-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

.tooltip-content {
    padding: 20px;
}

.tooltip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tooltip-header i {
    color: #9147ff;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.tooltip-header span {
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.01em;
}

.tooltip-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(15, 15, 20, 0.98);
}

.tooltip-arrow::before {
    content: '';
    position: absolute;
    top: -11px;
    left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(147, 71, 255, 0.15);
}

/* Streamers Showcase */
.streamers-showcase {
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow: hidden;
}

/* Empty State Styles */
.empty-supporters-state {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.empty-icon {
    margin-bottom: 20px;
}

.empty-icon i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.empty-supporters-state h3 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-supporters-state p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.admin-controls-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.admin-manage-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #9147ff, #7c3aed);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(145, 71, 255, 0.2);
}

.admin-manage-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 71, 255, 0.3);
    text-decoration: none;
    color: white;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.admin-manage-btn i {
    font-size: 1.1em;
}

.admin-actions {
    margin-top: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #9147ff, #ff69b4);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 71, 255, 0.3);
    text-decoration: none;
    color: white;
}

.btn i {
    font-size: 1.1em;
}

.btn-primary {
    background: linear-gradient(135deg, #9147ff, #7c3aed);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.streamer-row {
    width: 100%;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
}

.streamer-track {
    display: flex;
    gap: 30px;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    width: max-content;
    /* Animation duration will be set dynamically via JavaScript */
}

/* Animation directions */
.scroll-right .streamer-track {
    animation-name: scrollRight;
}

.scroll-left .streamer-track {
    animation-name: scrollLeft;
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollLeft {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Streamer Card Styles - New horizontal layout */
.streamer-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(147, 71, 255, 0.2);
    border-radius: 12px;
    transition: all 0.4s ease;
    min-width: 180px;
    max-width: 220px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.streamer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 71, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.streamer-card:hover::before {
    left: 100%;
}

.streamer-card:hover {
    border-color: rgba(147, 71, 255, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(147, 71, 255, 0.2);
}

.streamer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #9147ff, #ff69b4);
    padding: 2px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.streamer-card:hover .streamer-avatar {
    transform: scale(1.1);
}

.streamer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #2a2a2a;
}

.streamer-name {
    font-family: 'Unbounded', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    transition: all 0.3s ease;
}

.streamer-card:hover .streamer-name {
    background: linear-gradient(135deg, #9147ff 0%, #ff69b4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 768px) {
    .streamer-support-section {
        padding: 60px 0;
    }
    
    .streamer-support-header {
        margin-bottom: 40px;
    }
    
    .streamer-support-section .section-title {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
        gap: 10px;
    }
    
    .streamers-showcase {
        gap: 20px;
    }
    
    .streamer-track {
        gap: 20px;
    }
    
    .streamer-card {
        min-width: 160px;
        max-width: 200px;
        padding: 10px 14px;
    }
    
    .streamer-avatar {
        width: 35px;
        height: 35px;
    }
    
    .streamer-name {
        font-size: 0.8rem;
    }
    
    .streamer-support-section .tooltip {
        max-width: 250px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .streamer-support-section .container {
        padding: 0 15px;
    }
    
    .streamer-card {
        min-width: 140px;
        max-width: 180px;
        padding: 8px 12px;
    }
    
    .streamer-avatar {
        width: 30px;
        height: 30px;
    }
    
    .streamer-name {
        font-size: 0.75rem;
    }
}

/* Pause animation on hover for better UX */
.streamer-row:hover .streamer-track {
    animation-play-state: paused;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .streamer-track {
        animation: none;
    }
    
    .streamer-card:hover {
        transform: none;
    }
    
    .streamer-card:hover .streamer-avatar {
        transform: none;
    }
}
