﻿:root {
    --brand-dark: #0a0514;
    --brand-purple: #5b21b6;
    --brand-magenta: #c026d3;
    --brand-cyan: #06b6d4;
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    --text-muted-dark: #707172;
    --bg-light: #f8fafc;
    --text-light-theme: #0f172a;
    --text-muted-light: #475569;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    overflow-x: clip;
    min-height: 100vh;
}

/* Custom Grid System */
.container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 5%; }
.row { display: flex; flex-wrap: wrap; width: 100%; margin: 0 -15px; }
.align-items-center { align-items: center; }
.position-relative { position: relative; }
.mt-3 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.col-md-9 { width: 75%; padding: 0 15px; }
.col-lg-8 { width: 66.666667%; padding: 0 15px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

@media (max-width: 768px) {
    .col-md-9, .col-lg-8 { width: 100%; }
}

.color-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.15; /* Adjusted for dark theme visibility */
}

.blob {
    position: absolute;
    border-radius: 50%;
    animation: drift 15s infinite alternate ease-in-out;
}

.purple-blob {
    width: 50vw;
    height: 50vw;
    background: var(--brand-purple);
    top: -10%;
    left: -10%;
}

.cyan-blob {
    width: 40vw;
    height: 40vw;
    background: var(--brand-cyan);
    bottom: 0;
    right: -10%;
    animation-delay: -5s;
}

.magenta-blob {
    width: 45vw;
    height: 45vw;
    background: var(--brand-magenta);
    top: 30%;
    left: 30%;
    animation-delay: -10s;
}

.frost-pill-dark {
    display: inline-flex; align-items: center; gap: 12px;
    box-shadow: 0 0 10px rgba(212, 212, 212, 0.3); border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 20px; border-radius: 50px; font-size: 0.9rem; font-weight: 700; color: #000000; backdrop-filter: blur(10px);
}

.glowing-dot-cyan { width: 8px; height: 8px; background: var(--brand-cyan); border-radius: 50%; box-shadow: 0 0 10px var(--brand-cyan); }

.btn-dark-magnetic {
    display: inline-block; background: var(--brand-purple); color: #fff;
    padding: 18px 40px; border-radius: 100px; font-weight: 700; font-size: 1.05rem;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 15px 35px rgba(91, 33, 182, 0.2);
    border: none; cursor: pointer;
}
.btn-dark-magnetic:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(91, 33, 182, 0.4); }

/* =========================================
   2. INFINITE TEXT MARQUEE
   ========================================= */
.testimonial-marquee-section {
    padding: 0 0 150px 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .testimonial-marquee-section {
        padding: 0 0 40px 0;
    }
}

/* Gradients on the edges to fade out the scrolling text */
.testimonial-marquee-section::before,
.testimonial-marquee-section::after {
    content: ''; position: absolute; top: 0; width: 15%; height: 100%; z-index: 5; pointer-events: none;
}
.testimonial-marquee-section::before { left: 0; background: linear-gradient(to right, var(--bg-light) 0%, transparent 100%); }
.testimonial-marquee-section::after { right: 0; background: linear-gradient(to left, var(--bg-light) 0%, transparent 100%); }

.marquee-wrapper { width: 100vw; overflow: hidden; display: flex; }

.marquee-track {
    display: flex; gap: 30px; padding-left: 30px; width: max-content;
    will-change: transform;
}

/* The Premium Glass Review Cards */
.review-card {
    width: 420px; flex-shrink: 0;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.04), inset 0 4px 15px rgba(255,255,255,0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}
.review-card:hover { 
    transform: translateY(-8px) scale(1.02); 
    box-shadow: 0 40px 80px rgba(0,0,0,0.08), inset 0 4px 20px rgba(255,255,255,0.6); 
}

.quote-watermark {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 140px;
    color: rgba(6, 182, 212, 0.05); /* very subtle cyan tint */
    z-index: 1;
    pointer-events: none;
    transform: rotate(10deg);
}

.stars-pill {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 50px;
    color: #f59e0b;
    font-size: 0.85rem;
    gap: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    align-self: flex-start;
}

.review-card p {
    position: relative; z-index: 2;
    font-size: 1.15rem; color: var(--brand-dark); line-height: 1.7; font-weight: 600; margin-bottom: 35px;
    letter-spacing: -0.2px;
}

.author-zone {
    display: flex; align-items: center; gap: 15px;
    position: relative; z-index: 2;
}

.author-avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-weight: 800; font-size: 1.2rem; color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.avatar-purple { background: linear-gradient(135deg, var(--brand-purple), #9333ea); }
.avatar-cyan { background: linear-gradient(135deg, var(--brand-cyan), #22d3ee); }
.avatar-blue { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.avatar-magenta { background: linear-gradient(135deg, var(--brand-magenta), #e879f9); }
.avatar-dark { background: linear-gradient(135deg, var(--brand-dark), #475569); }

.author-details { display: flex; flex-direction: column; }
.author-details strong { font-size: 1.1rem; font-weight: 900; color: var(--brand-dark); }
.author-details span { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.text-purple { color: var(--brand-purple); } .text-cyan { color: var(--brand-cyan); } .text-blue { color: #0ea5e9; } .text-magenta { color: var(--brand-magenta); } .text-dark { color: var(--text-muted-light); }

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .review-card { width: 350px; padding: 30px; }
}

/* =========================================
   3. YOUTUBE SHORTS MASONRY GALLERY
   ========================================= */
.shorts-gallery-section {
    position: relative;
    padding: 150px 0;
    z-index: 10;
}

@media (max-width: 768px) {
    .shorts-gallery-section {
        padding: 60px 0;
    }
}

.shorts-section-header { max-width: 700px; margin-bottom: 60px; position: relative; z-index: 5; }

.g-theater-reveal { visibility: hidden; }

/* --- Masonry Grid ---
   Every card shares the 9/16 Shorts ratio, so a uniform grid already reads as a
   gapless masonry wall without needing experimental grid-template-rows: masonry. */
.shorts-masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 5;
}

@media (max-width: 1399px) {
    .shorts-masonry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .shorts-masonry-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
    .shorts-masonry-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* --- Shorts Card --- */
.shorts-card {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
    box-shadow: 0 20px 45px rgba(0,0,0,0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.shorts-card:hover,
.shorts-card:focus-visible {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.shorts-card:focus-visible { outline: 2px solid var(--brand-cyan); outline-offset: 3px; }

.shorts-thumb {
    width: 100%; height: 100%; object-fit: cover;
    filter: brightness(0.82);
    transition: filter 0.3s ease, transform 0.4s ease;
}
.shorts-card:hover .shorts-thumb { filter: brightness(0.6); transform: scale(1.04); }

/* Play Button Overlay */
.play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; pointer-events: none; }
.glass-play-btn {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem; padding-left: 6px; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.shorts-card .glass-play-btn { width: 60px; height: 60px; font-size: 1.15rem; }
.shorts-card:hover .glass-play-btn,
.shorts-card:focus-visible .glass-play-btn {
    background: var(--brand-cyan); border-color: var(--brand-cyan); transform: scale(1.1); box-shadow: 0 10px 30px rgba(6, 182, 212, 0.4);
}

/* --- Load More --- */
.load-more-wrap { display: flex; justify-content: center; margin-top: 60px; position: relative; z-index: 5; }
.load-more-wrap.is-hidden { display: none; }

.btn-load-more {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--brand-purple); color: #fff; border: none;
    padding: 16px 36px; border-radius: 100px; font-weight: 700; font-size: 1rem;
    font-family: var(--font-main); cursor: pointer;
    box-shadow: 0 15px 35px rgba(91, 33, 182, 0.25);
    transition: all 0.3s ease;
}
.btn-load-more:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(91, 33, 182, 0.4); background: var(--brand-magenta); }
.btn-load-more:focus-visible { outline: 2px solid var(--brand-cyan); outline-offset: 3px; }
.btn-load-more i { transition: transform 0.3s ease; }
.btn-load-more:hover i { transform: translateY(2px); }

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .shorts-section-header { margin-bottom: 40px; }
}

@media (max-width: 768px) {
    .load-more-wrap { margin-top: 40px; }
    .btn-load-more { padding: 14px 28px; font-size: 0.95rem; }
}

/* --- Video Modal --- */
.video-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.video-modal-overlay.active { opacity: 1; pointer-events: all; }
.video-modal-content {
    width: 90%; max-width: 1000px; aspect-ratio: 16/9;
    border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transform: scale(0.95); transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.video-modal-overlay.active .video-modal-content { transform: scale(1); }
.video-modal-content iframe { width: 100%; height: 100%; }
.video-modal-close {
    position: absolute; top: 30px; right: 40px; color: #fff; font-size: 2rem;
    cursor: pointer; transition: transform 0.3s;
}
.video-modal-close:hover { transform: scale(1.2) rotate(90deg); color: var(--brand-cyan); }