:root {
    --bg-1: #ffcfdf;
    --bg-2: #b0f3f1;
    --bg-3: #ffc3a0;
    --text-dark: #2d3436;
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.7);
    --primary-accent: #e17055;
    
    /* Brand Colors */
    --yt-red: #FF0000;
    --ig-pink: #E1306C;
    --fb-blue: #1877F2;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body { font-family: 'Outfit', sans-serif; color: var(--text-dark); overflow-x: hidden; background-color: #fdfbfb; min-height: 100vh; }

.cursor-dot { position: fixed; width: 8px; height: 8px; background-color: var(--text-dark); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }
.cursor-outline { position: fixed; width: 40px; height: 40px; border: 1px solid var(--text-dark); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s; }

.mesh-bg { position: fixed; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at 50% 50%, var(--bg-1) 0%, transparent 40%), radial-gradient(circle at 80% 20%, var(--bg-2) 0%, transparent 40%), radial-gradient(circle at 20% 80%, var(--bg-3) 0%, transparent 40%); filter: blur(80px); z-index: -1; animation: rotateGradient 20s infinite linear; }
@keyframes rotateGradient { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.hidden-video { position: fixed; top: -9999px; left: -9999px; opacity: 0; pointer-events: none; }

/* Mascot Layout */
.mascot-widget { position: fixed; bottom: 20px; right: 20px; z-index: 1000; pointer-events: none; width: 200px; height: 250px; display: flex; align-items: flex-end; justify-content: flex-end; }
#mascotCanvas { --base-scale: 1; --base-x: 0px; --base-y: 0px; position: relative; z-index: 5; width: 100%; max-width: 200px; max-height: 250px; object-fit: contain; height: auto; filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15)); transform: translate(var(--base-x), var(--base-y)) scale(var(--base-scale)); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); pointer-events: auto; }
#mascotCanvas:hover { transform: translate(var(--base-x), var(--base-y)) scale(calc(var(--base-scale) + 0.08)) rotate(-2deg); }
#mascotCanvas.pulse { transform: translate(var(--base-x), var(--base-y)) scale(calc(var(--base-scale) - 0.05)); transition: transform 0.1s; }

.mascot-audio-btn { position: absolute; bottom: 10px; left: -40px; width: 45px; height: 45px; border-radius: 50%; background: rgba(255, 255, 255, 0.95); color: var(--primary-accent); border: 2px solid var(--primary-accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(225, 112, 85, 0.25); transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 50; pointer-events: auto; }
.mascot-audio-btn:hover { transform: scale(1.15) rotate(5deg); background: var(--primary-accent); color: white; box-shadow: 0 12px 25px rgba(225, 112, 85, 0.4); }
.speech-bubble { position: absolute; bottom: 100%; right: 10px; margin-bottom: 25px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75)); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 1); padding: 14px 22px; border-radius: 25px; box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1); font-size: 0.95rem; font-weight: 600; color: var(--text-dark); min-width: 200px; text-align: center; animation: floatBubble 4s ease-in-out infinite; pointer-events: none; z-index: 20; }
.speech-bubble::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); border-width: 10px 10px 0; border-style: solid; border-color: rgba(255, 255, 255, 0.95) transparent; }
@keyframes floatBubble { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }

/* Layout Elements */
.glass-nav { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); width: 90%; max-width: 1200px; display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: var(--glass-bg); backdrop-filter: blur(12px); border: 1px solid var(--glass-border); border-radius: 50px; z-index: 100; box-shadow: 0 8px 32px rgba(0,0,0,0.05); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo { height: 75px; width: auto; border-radius: 50%; object-fit: cover; }
.logo { font-size: 1.5rem; font-weight: 700; }
.logo span { color: var(--primary-accent); font-family: 'Playfair Display', serif; font-style: italic; }
.premium-btn { background: var(--text-dark); color: white; padding: 0.8rem 2rem; border-radius: 30px; text-decoration: none; font-weight: 500; }
.marquee-container { margin-top: 120px; background: var(--text-dark); color: white; padding: 12px 0; overflow: hidden; white-space: nowrap; transform: rotate(-2deg) scale(1.1); display: flex; }
.marquee-content { display: flex; flex-shrink: 0; min-width: 100%; animation: marquee 25s linear infinite; font-weight: 500; letter-spacing: 2px; }
@keyframes marquee { 0% { transform: translateX(0%); } 100% { transform: translateX(-100%); } }
.container { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 50px auto; padding: 0 2rem; gap: 4rem; }
.hero-text { flex: 1; }
.tagline { text-transform: uppercase; letter-spacing: 3px; font-size: 0.9rem; font-weight: 700; color: var(--primary-accent); }
.hero-text h1 { font-size: 5rem; line-height: 1; margin: 10px 0 20px; }
.hero-text h1 i { font-family: 'Playfair Display', serif; color: var(--primary-accent); }
.desc { font-size: 1.2rem; line-height: 1.6; opacity: 0.8; margin-bottom: 30px; max-width: 400px; }

/* Social Handles */
.social-handles-container h3 { margin-bottom: 15px; font-weight: 500; font-size: 1.1rem; color: var(--text-dark); }
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 420px; }
.social-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15px 10px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 15px; text-decoration: none; color: var(--text-dark); backdrop-filter: blur(10px); transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); text-align: center; }
.social-card:hover { transform: translateY(-3px) scale(1.05) !important; box-shadow: 0 10px 20px rgba(0,0,0,0.08); background: white; }

.social-icon { display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.social-icon svg { transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.social-card:hover .social-icon svg { transform: scale(1.2) rotate(8deg); }

/* Brand Specific Colors Applied */
.yt-icon { color: var(--yt-red); }
.ig-icon { color: var(--ig-pink); }
.fb-icon { color: var(--fb-blue); }

.social-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.social-handle { font-size: 0.7rem; opacity: 0.7; font-weight: 500; }

/* Dynamic Playlist Queue */
.dynamic-playlist-container { margin-top: 35px; max-width: 420px; }
.playlist-title { margin-bottom: 15px; font-weight: 500; font-size: 1.1rem; }
.video-queue { max-height: 220px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-right: 8px; }
.video-queue::-webkit-scrollbar { width: 6px; }
.video-queue::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 10px; }

.queue-item { display: flex; align-items: center; gap: 12px; background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 8px; border-radius: 15px; cursor: pointer; transition: all 0.2s; backdrop-filter: blur(10px); }
.queue-item:hover { background: white; transform: translateX(5px); }
.queue-item.active { border-left: 4px solid var(--primary-accent); background: white; }
.queue-thumb { width: 70px; height: 50px; border-radius: 8px; object-fit: cover; }
.queue-info h4 { font-size: 0.85rem; line-height: 1.3; margin-bottom: 6px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.queue-badges { display: flex; gap: 6px; }
.badge { font-size: 0.65rem; font-weight: 700; padding: 2px 6px; border-radius: 8px; color: white; }
.badge.latest { background: var(--text-dark); }
.badge.hot { background: #ef4444; }

/* Phone Mockup */
.phone-wrapper { position: relative; flex: 1; display: flex; justify-content: center; }
.phone-mockup { width: 320px; height: 650px; background: #000; border-radius: 40px; border: 12px solid #fff; box-shadow: 0 30px 60px rgba(0,0,0,0.15); position: relative; overflow: hidden; z-index: 2; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 120px; height: 25px; background: #fff; border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; z-index: 10; }
.phone-mockup iframe { width: 100%; height: 100%; border: none; }
.phone-shadow { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); width: 250px; height: 30px; background: rgba(0,0,0,0.2); filter: blur(15px); border-radius: 50%; z-index: 1; }
.fade-up { opacity: 0; transform: translateY(40px); animation: fadeUpAnim 1s forwards; }
@keyframes fadeUpAnim { to { opacity: 1; transform: translateY(0); } }

/* =========================================
   COMPREHENSIVE MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 1024px) {
    .container { gap: 2rem; }
    .hero-text h1 { font-size: 4rem; }
}

@media (max-width: 900px) {
    .container { flex-direction: column; text-align: center; gap: 3.5rem; margin: 30px auto 100px auto; }
    .hero-text h1 { font-size: 3.8rem; }
    .desc { margin: 0 auto 30px auto; }
    
    .social-grid { margin: 0 auto; grid-template-columns: repeat(3, 1fr); max-width: 100%; }
    
    .dynamic-playlist-container { margin: 45px auto 0 auto; max-width: 100%; }
    
    #mascotCanvas { max-width: 150px; max-height: 180px; }
}

@media (max-width: 600px) {
    /* Responsive Navigation */
    .glass-nav { padding: 0.8rem 1.2rem; width: 92%; top: 15px; }
    .nav-logo { height: 55px; } /* Scales down logo slightly */
    .logo { font-size: 1.2rem; }
    .premium-btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; }
    .marquee-container { margin-top: 90px; }
    
    /* Responsive Hero Text */
    .hero-text h1 { font-size: 3rem; }
    .desc { font-size: 1rem; padding: 0 10px; }
    
    /* Responsive Social Cards */
    .social-grid { 
        grid-template-columns: 1fr; 
        max-width: 300px; 
        gap: 12px; 
    }
    .social-card { 
        display: grid; 
        grid-template-columns: auto auto; 
        grid-template-rows: auto auto; 
        justify-content: center; 
        align-content: center;
        text-align: left; 
        padding: 14px 20px; 
        column-gap: 18px; 
    }
    .social-icon { grid-column: 1; grid-row: 1 / span 2; margin: 0; align-self: center; }
    .social-name { grid-column: 2; grid-row: 1; align-self: flex-end; margin-bottom: 2px; }
    .social-handle { grid-column: 2; grid-row: 2; align-self: flex-start; }
    
    /* Responsive Playlist */
    .dynamic-playlist-container { 
        max-width: 300px; 
        margin-top: 50px; 
    }
    .video-queue { max-height: 180px; }
    .queue-item { padding: 8px; }
    
    /* Responsive Phone Player */
    .phone-mockup { width: 280px; height: 570px; border-width: 8px; border-radius: 35px; }
    .phone-notch { width: 100px; height: 20px; border-radius: 0 0 15px 15px; }
    .phone-shadow { width: 220px; }
    
    /* Responsive Mascot Widget */
    .mascot-widget { transform-origin: bottom right; transform: scale(0.7); bottom: 10px; right: 10px; }
}

/* Deep Mobile Fallback */
@media (max-width: 360px) {
    .phone-mockup { width: 250px; height: 500px; }
    .hero-text h1 { font-size: 2.5rem; }
    .mascot-widget { transform: scale(0.6); }
}