/* ==========================================================================
   RAYWITHRAHA — GLASSMORPHISM FROSTED DESIGN SYSTEM
   ========================================================================== */

:root {
    --bg-main: #0B0B10;
    --text-main: #FFFFFF;
    --text-muted: #E2E2E2;
    --border-color: #CCFF00;

    /* Glass Accents */
    --glass-bg: rgba(22, 22, 32, 0.52);
    --glass-border: rgba(204, 255, 0, 0.25);
    --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.45);
    
    --accent-gold: #F7B52C;
    --accent-pink: #FF5A8D;
    --accent-violet: #CCFF00;
    --accent-lime: #CCFF00;
    --accent-cyan: #5CE1E6;

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Typography */
    --font-heading: 'Syne', 'Space Grotesk', sans-serif;
    --font-subheading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --------------------------------------------------------------------------
   1. Fixed Background Video Layer
   -------------------------------------------------------------------------- */
.video-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    overflow: hidden;
}

.video-bg-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.52) contrast(1.1);
    transform: scale(1.12);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 12, 0.78);
    backdrop-filter: blur(1.5px);
    z-index: -9;
}

.video-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.12;
    z-index: -8;
}

/* Custom Cursor */
.custom-cursor {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border-color);
    background: var(--accent-pink);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
    display: none;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--border-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    display: none;
}
@media (pointer: fine) {
    .custom-cursor, .cursor-dot { display: block; }
}

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

/* --------------------------------------------------------------------------
   2. Glassmorphic Announcement Header & Marquee
   -------------------------------------------------------------------------- */
.marquee-wrapper {
    background: rgba(255, 90, 141, 0.85);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    font-family: var(--font-subheading);
    font-weight: 800;
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    color: #FFFFFF;
    z-index: 20;
}
.marquee-track {
    display: inline-flex;
    animation: marqueeScroll 25s linear infinite;
}
.marquee-track span { padding-right: 2rem; }
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-divider {
    background: rgba(255, 90, 141, 0.85);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
    font-family: var(--font-subheading);
    font-weight: 800;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    color: #FFFFFF;
}
.marquee-track-reverse {
    display: inline-flex;
    animation: marqueeScrollReverse 28s linear infinite;
}
@keyframes marqueeScrollReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Glass Navbar */
.glass-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(12, 12, 18, 0.55);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding: 16px 0;
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.brand-logo-img { height: 48px; width: auto; object-fit: contain; }
.nav-controls { display: flex; align-items: center; gap: 12px; }

/* --------------------------------------------------------------------------
   3. CLEAN HERO LANDING MAIN & CONTAINERS (GLASS strictly on Nav & Footer)
   -------------------------------------------------------------------------- */
.hero-landing-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-section {
    position: relative;
    padding: 40px 0 70px;
    text-align: center;
    overflow: hidden;
    width: 100%;
}

.glass-hero-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: var(--radius-lg);
    padding: 20px 36px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
}

/* Glass Pills & Badges */
.glass-pill {
    display: inline-block;
    padding: 6px 16px;
    font-family: var(--font-subheading);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    color: var(--accent-lime);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.2);
}
.glass-pill-hot {
    background: rgba(255, 90, 141, 0.85);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-logo-box.glass-logo-box {
    margin: 0 auto 34px;
    display: inline-block;
    padding: 26px 48px;
    position: relative;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    border: 3px dashed #CCFF00;
    outline: 2px solid #FF5A8D;
    outline-offset: 6px;
    background: linear-gradient(135deg, rgba(204, 255, 0, 0.22) 0%, rgba(255, 90, 141, 0.25) 100%);
    box-shadow: 
        6px 6px 0px #FF5A8D,
        -4px -4px 0px #CCFF00,
        0 16px 36px rgba(204, 255, 0, 0.35);
    backdrop-filter: blur(8px);
    transform: rotate(-1.8deg);
    transition: transform 0.35s var(--ease-out-back), box-shadow 0.35s ease, background 0.35s ease;
}

.hero-logo-box.glass-logo-box:hover {
    transform: rotate(1.2deg) scale(1.04);
    background: linear-gradient(135deg, rgba(204, 255, 0, 0.32) 0%, rgba(255, 90, 141, 0.35) 100%);
    box-shadow: 
        8px 8px 0px #CCFF00,
        -6px -6px 0px #FF5A8D,
        0 20px 45px rgba(204, 255, 0, 0.45);
    outline-color: #CCFF00;
}

.hero-logo-box.glass-logo-box::before {
    content: '✨ 🎀';
    position: absolute;
    top: -18px;
    right: -18px;
    font-size: 1.3rem;
    background: #FF5A8D;
    color: #FFFFFF;
    border: 2px solid #CCFF00;
    padding: 2px 10px;
    border-radius: 12px;
    transform: rotate(12deg);
    box-shadow: 3px 3px 0px #CCFF00;
    pointer-events: none;
    animation: cuteSparkleFloat 2.5s ease-in-out infinite alternate;
}

.hero-logo-box.glass-logo-box::after {
    content: '💖 ⚡';
    position: absolute;
    bottom: -16px;
    left: -16px;
    font-size: 1.2rem;
    background: #CCFF00;
    color: #111111;
    border: 2px solid #FF5A8D;
    padding: 2px 10px;
    border-radius: 12px;
    transform: rotate(-10deg);
    box-shadow: 3px 3px 0px #FF5A8D;
    pointer-events: none;
    animation: cuteSparkleFloat 2.5s ease-in-out infinite alternate-reverse;
}

@keyframes cuteSparkleFloat {
    0% { transform: translateY(0) rotate(10deg); }
    100% { transform: translateY(-6px) rotate(16deg); }
}

.hero-logo-img { max-width: 380px; width: 100%; height: auto; display: block; }

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 4.2vw, 3.8rem);
    line-height: 1.2;
    max-width: 980px;
    margin: 0 auto 24px;
    letter-spacing: -0.02em;
}
.nowrap-text { white-space: nowrap; }
.highlight-text.glass-highlight {
    background: rgba(255, 90, 141, 0.9);
    color: #FFFFFF;
    padding: 2px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(255, 90, 141, 0.4);
    border-radius: var(--radius-sm);
    display: inline-block;
    transform: rotate(-1deg);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    max-width: 780px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.6;
}
.accent-word { color: var(--text-main); text-decoration: underline var(--accent-lime) 4px; text-underline-offset: 4px; }

.hero-cta-group { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }

/* Glass Buttons */
.neo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-subheading);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 12px 24px;
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    user-select: none;
}
.neo-btn:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.glass-cta-primary {
    background: rgba(255, 90, 141, 0.85);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
}
.glass-cta-primary:hover {
    background: rgba(255, 90, 141, 1);
}
.glass-cta-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--accent-lime);
}
.neo-btn-lg { padding: 16px 36px; font-size: 1.15rem; }

/* Floating Stickers (Glass) */
.floating-sticker.glass-sticker {
    position: absolute;
    z-index: 10;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-sm);
    font-family: var(--font-subheading);
    font-weight: 800;
    font-size: 0.85rem;
    backdrop-filter: blur(16px);
    cursor: grab;
    user-select: none;
}
.sticker-1 { top: 18%; left: 4%; transform: rotate(-8deg); color: #FF5A8D; }
.sticker-2 { top: 25%; right: 4%; transform: rotate(6deg); color: #00F0FF; }
.sticker-3 { bottom: 15%; left: 4%; transform: rotate(-4deg); color: #F7B52C; }
.sticker-cute-1 { bottom: 22%; right: 4%; transform: rotate(-5deg); color: #FF70A6; }

/* Cute Serotonin Mascot Glass Pill */
.cute-mascot-container { margin-bottom: 20px; display: inline-block; }
.cute-mascot-pill.glass-mascot-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 112, 166, 0.85);
    color: #FFFFFF;
    font-family: var(--font-subheading);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(255, 112, 166, 0.35);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(14px);
    cursor: pointer;
    transition: transform 0.2s;
}
.cute-mascot-pill.glass-mascot-pill:hover { transform: scale(1.08) rotate(-2deg); }

/* Mini Footer (Glass strictly on Navbar & Footer) */
.footer-mini.glass-footer {
    background: rgba(12, 12, 18, 0.55);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding: 24px 0;
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
    z-index: 100;
}
.footer-container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.copyright-text { font-family: var(--font-subheading); font-weight: 700; font-size: 0.9rem; }
.social-links-mini { display: flex; gap: 16px; }
.social-link { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: color 0.2s; }
.social-link:hover { color: var(--accent-pink); }

/* Modals & Toast */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box.glass-modal-box {
    background: rgba(24, 24, 34, 0.85);
    border: 1px solid var(--glass-border);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(24px);
    max-width: 540px;
    width: 100%;
    position: relative;
    padding: 40px 30px;
    transform: scale(0.9);
    transition: transform 0.3s var(--ease-out-back);
}
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 90, 141, 0.9);
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 800;
    cursor: pointer;
}

.quiz-card { text-align: center; }
.quiz-title { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; margin: 14px 0 20px; }
.quiz-options-grid { display: flex; flex-direction: column; gap: 12px; }
.quiz-opt-btn.glass-opt-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: transform 0.15s, background 0.2s;
}
.quiz-opt-btn.glass-opt-btn:hover {
    transform: translateY(-2px);
    background: rgba(204, 255, 0, 0.85);
    color: #111111;
}

/* Toast */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    background: rgba(204, 255, 0, 0.9);
    color: #111111;
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-family: var(--font-subheading);
    font-weight: 800;
    font-size: 0.9rem;
    backdrop-filter: blur(12px);
    animation: toastIn 0.3s var(--ease-out-back);
}
@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Heart Particle */
.heart-particle {
    position: fixed;
    pointer-events: none;
    font-size: 1.2rem;
    z-index: 9999;
    animation: floatHeart 1s ease-out forwards;
    user-select: none;
}
@keyframes floatHeart {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
    100% { transform: translate(-50%, -100px) scale(1.5) rotate(20deg); opacity: 0; }
}

/* Mobile Media Queries */
@media (max-width: 900px) {
    .floating-sticker { display: none; }
    .glass-hero-card { padding: 32px 20px; }
    .hero-logo-img { max-width: 260px; }
}
@media (max-width: 680px) {
    .nav-status { display: none; }
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.98rem; }
    .neo-btn-lg { width: 100%; padding: 14px 24px; font-size: 0.95rem; }
    .footer-container { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 1.45rem; }
    .nowrap-text { white-space: normal; }
}
