/**
 * MSU Radio Hero Section Styles
 */

.msu-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Animated Background */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.sound-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    border-radius: 45%;
    opacity: 0.1;
    animation: wave 20s infinite linear;
}

.wave-1 {
    background: radial-gradient(circle, #0046be 0%, transparent 70%);
    top: -50%;
    left: -50%;
    animation-duration: 25s;
}

.wave-2 {
    background: radial-gradient(circle, #fabe1f 0%, transparent 70%);
    top: -30%;
    right: -50%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.wave-3 {
    background: radial-gradient(circle, #0046be 0%, transparent 70%);
    bottom: -50%;
    left: -30%;
    animation-duration: 35s;
}

.wave-4 {
    background: radial-gradient(circle, #fabe1f 0%, transparent 70%);
    bottom: -30%;
    right: -50%;
    animation-duration: 28s;
    animation-direction: reverse;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    animation: float 15s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation-delay: 3s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 15%;
    left: 50%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-30px) translateX(20px); }
    50% { transform: translateY(-60px) translateX(-20px); }
    75% { transform: translateY(-30px) translateX(10px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 70, 190, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 80px 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-main {
    color: white;
}

.live-badge-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    animation: slideInLeft 1s ease-out;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 0, 0, 0.9);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.4);
}

.live-pulse {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.frequency-badge {
    background: rgba(250, 190, 31, 0.9);
    color: #000;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(250, 190, 31, 0.4);
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 500;
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.95);
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-tagline {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 40px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInLeft 1s ease-out 0.6s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-player {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    animation: slideInLeft 1s ease-out 0.8s both;
}

.play-button {
    position: relative;
    background: linear-gradient(135deg, #0046be 0%, #0056d6 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 70, 190, 0.4);
    overflow: hidden;
    margin-bottom: 20px;
}

.play-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 70, 190, 0.6);
}

.play-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.play-button.playing .play-icon {
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.play-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

.now-playing-info {
    margin-bottom: 20px;
}

.np-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.np-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 3px;
}

.np-artist {
    font-size: 14px;
    color: #fabe1f;
    font-weight: 600;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 15px;
}

.volume-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.volume-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fabe1f;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(250, 190, 31, 0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    animation: slideInLeft 1s ease-out 1s both;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0046be 0%, #fabe1f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-number {
    font-size: 28px;
    font-weight: 900;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    animation: slideInLeft 1s ease-out 1.2s both;
}

.cta-button {
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-primary {
    background: white;
    color: #0046be;
}

.cta-primary:hover {
    background: #fabe1f;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(250, 190, 31, 0.4);
}

.cta-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-secondary:hover {
    background: white;
    color: #0046be;
    transform: translateY(-3px);
}

.hero-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.5s ease-out 0.5s both;
}

.visualizer-container {
    position: relative;
    width: 400px;
    height: 400px;
}

#audio-visualizer {
    width: 100%;
    height: 100%;
}

.visualizer-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.vinyl-record {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 50%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotate 10s linear infinite;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.vinyl-label {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0046be 0%, #fabe1f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 4;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 24px;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-visualizer {
        order: -1;
    }
    
    .visualizer-container {
        width: 300px;
        height: 300px;
    }
    
    .vinyl-record {
        width: 150px;
        height: 150px;
    }
    
    .vinyl-label {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .visualizer-container {
        width: 250px;
        height: 250px;
    }
}
