/* FYC Radio Premium CSS Design System
   Theme: Cyberpunk Glassmorphic Dark
   Font Families: Montserrat (body), Outfit (headings)
*/

:root {
    /* Color Palette */
    --bg-color: hsla(220, 20%, 8%, 1);
    --bg-color-rgb: 20, 22, 27;
    --primary-accent: hsla(280, 85%, 60%, 1);
    --primary-accent-glow: hsla(280, 85%, 60%, 0.4);
    --secondary-accent: hsla(200, 95%, 55%, 1);
    --secondary-accent-glow: hsla(200, 95%, 55%, 0.4);
    
    --text-main: hsla(210, 15%, 96%, 1);
    --text-sub: hsla(210, 10%, 70%, 1);
    
    /* Glassmorphism settings */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-border-hover: 1px solid rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.6);
    
    /* Layout */
    --max-width: 1200px;
    --transition-speed: 0.3s;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* Reset and Globals */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Ambient Background Animation */
.background-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7; /* Soft glow, not distracting */
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.25;
    animation: drift 25s infinite alternate ease-in-out;
}

.blob-purple {
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-accent) 0%, transparent 70%);
}

.blob-blue {
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary-accent) 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-magenta {
    top: 35%;
    left: 20%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, hsla(320, 95%, 55%, 0.18) 0%, transparent 70%);
    animation: drift-magenta 20s infinite alternate ease-in-out;
    animation-delay: -10s;
}

@keyframes drift-magenta {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-12%, 10%) scale(1.2);
    }
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow: hidden;
}

.grid-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to bottom, transparent, rgba(0, 191, 255, 0.02), rgba(186, 85, 211, 0.04), rgba(0, 191, 255, 0.02), transparent);
    animation: gridSweep 18s infinite linear;
    pointer-events: none;
}

@keyframes gridSweep {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(500%);
    }
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(8%, 8%) scale(1.15);
    }
}

/* Glassmorphism Component Base */
.glass-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: border var(--transition-speed) ease, box-shadow var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.glass-card:hover {
    border: 1px solid rgba(0, 191, 255, 0.25);
    box-shadow: 0 20px 48px 0 rgba(0, 0, 0, 0.7), 
                0 0 25px rgba(0, 191, 255, 0.15),
                0 0 10px rgba(186, 85, 211, 0.1);
    transform: translateY(-5px);
}

/* Navigation Header */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(var(--bg-color-rgb), 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 24px;
    transition: all var(--transition-speed) ease;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
    transition: transform var(--transition-speed) ease;
}

.logo-img:hover {
    transform: scale(1.03);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 24px;
    cursor: pointer;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-sub);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    transition: width var(--transition-speed) ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-main);
    text-shadow: 0 0 10px var(--secondary-accent-glow);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Main Layout Grid */
.main-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Typography elements */
.hero-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 30%, var(--secondary-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-sub);
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: var(--secondary-accent);
}

.text-center {
    text-align: center;
    justify-content: center;
}

/* Live Player Section Card */
.hero-player {
    display: flex;
    justify-content: center;
    align-items: center;
}

.player-card {
    width: 100%;
    max-width: 650px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.player-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Now Playing Metadata Card */
.song-metadata-card {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 18px;
    border-radius: 50px;
    margin-top: 18px;
    max-width: 320px;
    width: 90%;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.song-metadata-card:hover {
    border-color: rgba(0, 191, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.now-playing-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--secondary-accent);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.spin-icon {
    animation: rotateDisc 3s linear infinite;
}

.playing-state .spin-icon {
    animation: rotateDisc 1.5s linear infinite;
}

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

.song-scroller {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    position: relative;
    display: flex;
}

.song-title-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    display: inline-block;
    width: 100%;
    text-align: left;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Blinking Live indicator */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.live-indicator .dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
}

.blink-anim {
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

/* Custom Player Interface */
.custom-player {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* Visualizer Sphere and GIF */
.visualizer-container {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.3) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8),
                0 0 30px rgba(var(--secondary-accent-glow), 0.1);
    overflow: hidden;
}

.fyc-logo-holder {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid rgba(255, 255, 255, 0.05);
    background: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.fyc-logo {
    width: 110%;
    height: 110%;
    object-fit: cover;
}

.visualizer-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Breathing visual glow effect when active */
.playing-state .fyc-logo-holder {
    animation: pulseArtwork 2.5s infinite alternate ease-in-out;
    border-color: var(--secondary-accent);
}

@keyframes pulseArtwork {
    0% {
        box-shadow: 0 0 15px var(--secondary-accent-glow);
        border-color: rgba(255, 255, 255, 0.1);
        transform: scale(0.98);
    }
    100% {
        box-shadow: 0 0 35px var(--secondary-accent-glow), 0 0 15px var(--primary-accent-glow);
        border-color: var(--secondary-accent);
        transform: scale(1.02);
    }
}

/* Audio Controls Layout */
.player-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.btn-play-pause {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary-accent) 100%);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 24px var(--primary-accent-glow),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow var(--transition-speed) ease;
}

.btn-play-pause:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px var(--primary-accent-glow),
                0 0 15px var(--secondary-accent);
}

.btn-play-pause:active {
    transform: scale(0.95);
}

.btn-play-pause i {
    transition: transform 0.2s ease;
}

/* Volume Slider styling */
.volume-container {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 280px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50px;
}

.btn-mute {
    background: none;
    border: none;
    color: var(--text-sub);
    font-size: 16px;
    cursor: pointer;
    width: 24px;
    transition: color var(--transition-speed) ease;
}

.btn-mute:hover {
    color: var(--text-main);
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary-accent);
    cursor: pointer;
    box-shadow: 0 0 8px var(--secondary-accent-glow);
    margin-top: -5px;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    background: #fff;
}

/* App Download section */
.app-downloads {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.app-pitch {
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 16px;
}

.stores-flex {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.store-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: var(--glass-border);
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

.store-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border: var(--glass-border-hover);
    transform: translateY(-2px);
}

.store-button i {
    font-size: 24px;
    color: var(--secondary-accent);
}

.ios-button i {
    color: var(--text-main);
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-sub {
    font-size: 9px;
    color: var(--text-sub);
    font-weight: 600;
    letter-spacing: 0.5px;
}

.store-main {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
}

/* About Us Card */
.about-card {
    padding: 40px;
}

.about-text {
    font-size: 15px;
    color: var(--text-sub);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-main);
}

/* Gallery Section */
.gallery-subtitle {
    font-size: 14px;
    color: var(--text-sub);
    text-align: center;
    margin-top: -16px;
    margin-bottom: 32px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.gallery-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    transition: transform var(--transition-speed) ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-top-left-radius: 23px;
    border-top-right-radius: 23px;
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease, transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
    opacity: 1;
    transform: scale(1.03);
}

.gallery-caption {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Contact Us Section */
.contact-card {
    padding: 40px;
    text-align: center;
}

.contact-desc {
    color: var(--text-sub);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.contact-channels {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.email-btn {
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--secondary-accent) 100%);
    box-shadow: 0 4px 15px var(--primary-accent-glow);
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-accent-glow);
}

.instagram-btn {
    background: linear-gradient(135deg, #405DE6 0%, #C13584 50%, #FD1D1D 100%);
    box-shadow: 0 4px 15px rgba(193, 53, 132, 0.4);
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 53, 132, 0.7);
}

/* Footer Section Styling */
.footer-bar {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(var(--bg-color-rgb), 0.9);
    padding: 30px 24px;
    text-align: center;
    font-size: 12px;
    color: var(--text-sub);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.developer-tag {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
}

/* Mobile responsive media queries (Mobile First) */
@media (max-width: 780px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(var(--bg-color-rgb), 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 24px;
    }
    
    .nav-menu.open {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .player-card {
        padding: 24px 16px;
    }
    
    .visualizer-container {
        width: 200px;
        height: 200px;
    }
    
    .fyc-logo-holder {
        width: 130px;
        height: 130px;
    }
    
    .about-card, .contact-card {
        padding: 24px 16px;
    }
}
