/* Premium Base Styles & Aesthetic Variables */
:root {
    --bg-dark: #070a10; /* Deep midnight blue base */
    --panel-bg: rgba(20, 25, 40, 0.45); /* Premium Frosted glass */
    --panel-border: rgba(255, 255, 255, 0.08);
    --warm-glow: #ff9d00; /* Lamp orange */
    --cool-glow: #4a90e2; /* Night window blue */
    --text-main: #f0f2f5;
    --text-muted: #a0a5b5;
    --logo-border: rgba(255, 157, 0, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    font-weight: 300;
}

/* Atmospheric Overlays */
.background-atmosphere {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Rain Effect - Subtle CSS Overlay */
.rain-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    opacity: 0.1; /* Almost invisible */
    background-image: linear-gradient(#0a1120 1px, transparent 1px), linear-gradient(90deg, #0a1120 1px, transparent 1px);
    background-size: 2px 30px;
    animation: rain 0.6s infinite linear;
}

@keyframes rain {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: pulseGlow 8s infinite alternate ease-in-out;
}

.warm-lamp {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--warm-glow), transparent 70%);
    top: -100px;
    right: -100px;
}

.cool-night {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--cool-glow), transparent 70%);
    bottom: -100px;
    left: -100px;
    animation-delay: -4s;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.2; }
    100% { transform: scale(1.1); opacity: 0.4; }
}

/* Navigation - Blurs and Sticks */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(7, 10, 16, 0.88);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid var(--panel-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--warm-glow);
    box-shadow: 0 0 15px rgba(255, 157, 0, 0.3);
}

.logo b {
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-subscribe {
    background: #ff0000;
    color: white !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-subscribe:hover {
    background: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

/* Cinematic Hero Backdrop (Full Screen) */
.hero {
    min-height: 100vh;
    padding: 120px 6% 60px 6%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cinematic-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* YOU must provide this image file and rename it in your folder! */
    background-image: url('cozy_study_background.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Creates premium parallax feel */
    opacity: 0.6; /* Sets it as a deep void base */
}

.cinematic-backdrop::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(7, 10, 16, 0.7));
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text {
    max-width: 500px;
    text-align: left;
}

.hero h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(to right, #ff9d00, #ffc837);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Premium Player and Glass Panels */
.glass-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--panel-border);
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}

.player-wrapper {
    width: 100%;
    max-width: 600px;
    padding: 15px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Highly Stylized Status Card */
.live-status-card {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    background: rgba(20, 25, 40, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 0, 0, 0.4);
    color: #ff4d4d;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #ff4d4d;
    border-radius: 50%;
    box-shadow: 0 0 15px #ff4d4d;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Advanced About Section ( Hub aesthetic) */
.about-section {
    padding: 100px 6%;
    display: flex;
    justify-content: center;
    background-color: var(--bg-dark); /* Fades backdrop image */
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 900px;
    padding: 60px;
    text-align: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--warm-glow);
    margin: 0 auto 40px auto;
    border-radius: 3px;
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.action-buttons {
    margin-top: 50px;
}

.btn-primary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 40px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--warm-glow);
    color: var(--warm-glow);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 157, 0, 0.2);
}

/* Footer - Minimalist */
footer {
    text-align: center;
    padding: 50px;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid var(--panel-border);
}

/* Micro-Animations for JS Reveal */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.2s forwards ease-out;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-up.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Sophisticated Mobile Adjustments */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        text-align: center;
        max-width: 700px;
        margin-bottom: 40px;
    }
    .hero h1 { font-size: 3.2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .about-content { padding: 40px 25px; }
}