@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Orbitron:wght@400;700&display=swap');

:root {
    /* Color Palette - Harmonized with Parrot Logo */
    --bg-dark: #050505;
    --bg-card: rgba(15, 15, 15, 0.7);
    --neon-magenta: #ff00ff;
    --neon-cyan: #00ffff;
    --brand-green: #2ecc71; /* Matching the parrot */
    --neon-purple: #9d00ff;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Effects */
    --neon-glow-magenta: 0 0 15px rgba(255, 0, 255, 0.4), 0 0 30px rgba(255, 0, 255, 0.2);
    --neon-glow-cyan: 0 0 15px rgba(0, 255, 255, 0.4), 0 0 30px rgba(0, 255, 255, 0.2);
    --neon-glow-green: 0 0 15px rgba(46, 204, 113, 0.4), 0 0 30px rgba(46, 204, 113, 0.2);
    --glass-blur: blur(20px);
    
    /* Layout */
    --header-height: 80px;
    --player-height: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3, .neon-text {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

/* Glassmorphism Utility */
.glass {
    background: var(--bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.glass:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 40px rgba(0,0,0,0.7);
    transform: translateY(-5px);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--neon-cyan);
    text-shadow: var(--neon-glow-cyan);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    z-index: 1001;
}

.logo-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--brand-green);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.3);
    background: #000;
}

.logo-bird {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.logo:hover .logo-bird {
    filter: drop-shadow(0 0 8px var(--neon-cyan));
}

.logo:hover .logo-wrapper {
    box-shadow: 0 0 20px var(--neon-cyan);
    transform: scale(1.1) rotate(5deg);
    transition: 0.3s;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-magenta);
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--neon-magenta);
    text-shadow: var(--neon-glow-magenta);
}

/* Hero Section Redesign */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, #1a0033 0%, #050505 100%);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.05) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.05) 0%, transparent 40%);
    animation: mesh-move 20s linear infinite;
}

@keyframes mesh-move {
    0% { transform: translate(-25%, -25%) rotate(0deg); }
    100% { transform: translate(-25%, -25%) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.neon-text-glitch {
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 900;
    background: linear-gradient(to right, var(--neon-cyan), var(--brand-green), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.15));
    letter-spacing: 10px;
    margin-bottom: 10px;
}

.hero-divider {
    width: 100px;
    height: 4px;
    background: var(--brand-green);
    margin: 20px auto;
    border-radius: 2px;
    box-shadow: var(--neon-glow-green);
}

.hero-subtitle {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 5px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.hero-badges span {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-green);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.6rem;
    letter-spacing: 3px;
    opacity: 0.6;
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--brand-green);
    border-radius: 50%;
    animation: mouse-scroll 2s infinite;
}

@keyframes mouse-scroll {
    0% { opacity: 1; top: 5px; }
    100% { opacity: 0; top: 25px; }
}

.btn-play {
    padding: 15px 40px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    background: transparent;
    border: 2px solid var(--neon-magenta);
    border-radius: 50px;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: var(--neon-glow-magenta);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-play:hover {
    background: var(--neon-magenta);
    box-shadow: 0 0 30px var(--neon-magenta);
    transform: scale(1.05);
}

/* Sticky Player */
.sticky-player {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    height: var(--player-height);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 999;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 1px rgba(255,255,255,0.1);
    transition: all 0.5s ease;
}

.sticky-player:hover {
    border-color: var(--brand-green);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 20px rgba(46, 204, 113, 0.1);
}

.track-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.track-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #000;
    border: 2px solid var(--brand-green);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.2);
    overflow: hidden;
    position: relative;
    transition: 0.5s;
}

.btn-play.playing i, .control-btn.playing i {
    color: var(--brand-green);
    text-shadow: var(--neon-glow-green);
}

.playing .track-img {
    animation: rotate 10s linear infinite, pulse-glow-green 2s infinite alternate;
}

@keyframes pulse-glow-green {
    from { box-shadow: 0 0 10px var(--brand-green); }
    to { box-shadow: 0 0 30px var(--brand-green); }
}

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

.track-details h4 {
    font-size: 0.9rem;
    color: var(--neon-cyan);
}

.track-details p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
}

.control-btn:hover {
    color: var(--neon-cyan);
}

/* --- RESPONSIVE DESIGN & MOBILE MENU --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex !important;
        position: fixed;
        right: 20px;
        top: 20px;
        width: 50px;
        height: 50px;
        background: rgba(0, 255, 255, 0.1);
        border: 2px solid var(--neon-cyan);
        border-radius: 50%;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        color: var(--neon-cyan);
        text-shadow: var(--neon-glow-cyan);
        box-shadow: 0 0 15px var(--neon-cyan);
        z-index: 9999; /* ABOVE EVERYTHING */
        cursor: pointer;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
        z-index: 9000;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        width: 100%;
    }

    nav a {
        font-size: 1.8rem;
        font-family: 'Orbitron', sans-serif;
        color: var(--text-primary);
        text-shadow: 0 0 10px rgba(255,255,255,0.2);
    }

    nav a:hover {
        color: var(--neon-cyan);
        text-shadow: var(--neon-glow-cyan);
    }

    /* Hero adjustments */
    .hero h1 {
        font-size: 3rem !important;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* Sections adjustments */
    .programming-grid {
        grid-template-columns: 1fr;
    }

    /* Player adjustments */
    .sticky-player {
        width: 95%;
        padding: 0 15px;
        bottom: 10px;
        height: 85px;
    }
    
    .track-details {
        display: none;
    }

    .player-controls {
        gap: 15px;
    }

    /* TV & Chat adjustments */
    .tv-grid {
        grid-template-columns: 1fr !important;
    }
    
    .chat-container {
        height: 500px !important;
    }
}

/* TV Section Styles */
.tv-section {
    padding: 100px 5%;
    background: linear-gradient(to bottom, #050505, #0a0a0a);
}

.tv-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.tv-player-container {
    overflow: hidden;
    position: relative;
}

.iframe-wrapper {
    position: relative;
    padding-top: 56.25%;
    width: 100%;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.chat-container {
    height: 600px;
    overflow: hidden;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.neon-text-green {
    font-family: 'Orbitron', sans-serif;
    color: var(--brand-green);
    text-shadow: var(--neon-glow-green);
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.live-dot {
    width: 12px;
    height: 12px;
    background: #ff0000;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff0000;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Footer Styles */
.footer {
    padding: 80px 5% 120px;
    background: #000;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 25px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.2);
}

.social-icon.fb:hover { color: #1877f2; }
.social-icon.ig:hover { color: #e4405f; }
.social-icon.tt:hover { color: #fff; text-shadow: 2px 2px #ff0050, -2px -2px #00f2ea; }
.social-icon.wa:hover { color: #25d366; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .tv-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-container {
        height: 500px;
    }
    
    .neon-text-glitch {
        font-size: 3.5rem;
        letter-spacing: 5px;
    }
}

@media (max-width: 480px) {
    .neon-text-glitch {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        letter-spacing: 3px;
    }
    
    .btn-play {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

/* Scroll Animations */
.reveal-init {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-init.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback if JS fails */
.no-js .reveal-init {
    opacity: 1;
    transform: none;
}
