/* =============================================================
   SKINVITA — Design System
   Tailwind (Play CDN) handles utilities. This file owns the
   design tokens (CSS variables) + reusable component classes.
   Brand primary: #7B004B
============================================================= */

/* ---- Design Tokens : Light (default) ---------------------- */
:root {
    --primary: #7B004B;
    --primary-light: #A11069;
    --primary-dark: #5C0038;
    --primary-glow: rgba(123, 0, 75, 0.10);
    --on-primary: #ffffff;

    --bg: #faf8f7;
    --surface: #ffffff;
    --surface-2: #f3eef1;
    --glass: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.55);

    --text-h: #141014;
    --text-b: #3a343a;
    --text-m: #786f78;
    --text-s: #a39ba3;

    --border: rgba(20, 0, 12, 0.09);
    --border-strong: rgba(20, 0, 12, 0.15);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 12px 40px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10), 0 24px 64px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 16px 48px rgba(123, 0, 75, 0.14), 0 4px 16px rgba(0, 0, 0, 0.08);

    --transition: 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: 0.18s ease;

    --wa: #25D366;
    --wa-dark: #1da554;
}

/* ---- Design Tokens : Dark --------------------------------- */
[data-theme="dark"] {
    --primary-light: #c43a8c;
    --primary-glow: rgba(196, 58, 140, 0.16);

    --bg: #100a0d;
    --surface: #1a1217;
    --surface-2: #241a20;
    --glass: rgba(26, 18, 23, 0.82);
    --glass-border: rgba(255, 255, 255, 0.08);

    --text-h: #f3ecf0;
    --text-b: #cfc4cb;
    --text-m: #8f828b;
    --text-s: #5f555d;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3), 0 12px 40px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4), 0 24px 64px rgba(0, 0, 0, 0.25);
    --shadow-card-hover: 0 16px 48px rgba(196, 58, 140, 0.22), 0 4px 16px rgba(0, 0, 0, 0.45);
}

/* ---- Base ------------------------------------------------- */
* {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text-b);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* =============================================================
   HEADER
============================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px clamp(20px, 6vw, 96px);
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition), border-color var(--transition);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    height: 64px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 600px) {
    .brand-logo {
        height: 52px;
    }
}

[data-theme="light"] .brand-logo,
:root .brand-logo {
    background: #0c0c0c;
    border-radius: 10px;
    padding: 6px 10px;
}

[data-theme="dark"] .brand-logo {
    background: transparent;
    padding: 0;
}

/* =============================================================
   NAVBAR (Mobile First Layout Fix)
============================================================= */
/* Base mobile styles to prevent layout breaking */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-h);
}

.nav-close {
    display: none; 
}

/* Mobile Dropdown Styling */
@media (max-width: 820px) {
    .main-nav {
        display: none; /* Hidden by default on mobile to fix the bug */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--surface);
        padding: 24px;
        box-shadow: var(--shadow-md);
        border-bottom: 1px solid var(--border);
        gap: 12px;
        z-index: 150;
    }

    /* Shows the menu if JS adds an active/open class */
    .main-nav.active, .main-nav.open, body.nav-open .main-nav {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }

    .theme-toggle {
        margin: 8px auto 0;
    }
}

.nav-link {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-m);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: var(--primary-glow);
}

.theme-toggle {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--text-m);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--primary);
    color: var(--on-primary);
    border-color: var(--primary);
    transform: rotate(20deg);
}

/* =============================================================
   REVIEW CARD 
============================================================= */
.review-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    height: 100%;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(123,0,75,0.20);
}

.review-stars {
    display: flex;
    gap: 4px;
    color: #CBA135; 
}

.review-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-m);
    flex-grow: 1; 
    margin: 0;
}

.review-client {
    display: flex !important;
    flex-direction: row !important; 
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: auto;
}

.client-photo {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-strong);
    background-color: var(--surface-2);
    flex-shrink: 0 !important; 
}

.client-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.client-name {
    font-family: var(--font-serif, 'Cormorant Garamond', serif);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-h);
    line-height: 1.2;
    margin: 0;
}

.client-company {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* =============================================================
   CLIENT LOGO MARQUEE
============================================================= */
.logo-marquee-wrapper {
    width: 100%;
}

.logo-marquee {
    animation: scroll-left 35s linear infinite;
    width: max-content;
}

.logo-marquee-wrapper:hover .logo-marquee {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-marquee > div {
    backface-visibility: hidden;
}

/* =============================================================
   BUTTONS
============================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--primary);
    color: var(--on-primary);
    box-shadow: 0 4px 20px rgba(123, 0, 75, 0.28);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(123, 0, 75, 0.38);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--text-b);
    border-color: var(--border-strong);
}

.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-glow);
}

.btn-light {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.26);
}

.btn-wa {
    background: var(--wa);
    color: #fff;
}

.btn-wa:hover {
    background: var(--wa-dark);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* =============================================================
   PRODUCT CARD
============================================================= */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(123, 0, 75, 0.20);
}

.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform var(--transition);
}

.product-card:hover .card-media img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-m);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

.card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.card-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.card-title {
    font-family: var(--font-serif, 'Cormorant Garamond', serif);
    font-size: 21px;
    font-weight: 400;
    color: var(--text-h);
    line-height: 1.3;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 13px;
    color: var(--text-m);
    line-height: 1.65;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
}

.card-actions .btn {
    flex: 1;
    padding: 11px 14px;
    font-size: 11px;
    letter-spacing: 1.2px;
}

.card-actions .btn-wa {
    flex: 0 0 auto;
    padding: 11px 14px;
}

.card-actions .btn-wa svg {
    width: 18px;
    height: 18px;
}

/* =============================================================
   WHATSAPP FLOATING BUTTON
============================================================= */
.wa-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--wa);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition), box-shadow var(--transition);
}

.wa-float:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.wa-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.wa-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: wa-ring 2s ease-out infinite;
}

@keyframes wa-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* =============================================================
   FOOTER
============================================================= */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 56px clamp(20px, 6vw, 96px) 32px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .brand-logo {
    height: 56px;
}

.footer-tagline {
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-m);
}

.footer-col-title {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-s);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-m);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-s);
}

/* =============================================================
   SHARED PAGE PRIMITIVES
============================================================= */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(64px, 12vw, 120px) clamp(20px, 6vw, 96px) clamp(48px, 8vw, 80px);
    border-bottom: 1px solid var(--border);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 760px;
    height: 380px;
    background: radial-gradient(ellipse, var(--primary-glow) 0%, transparent 70%);
    pointer-events: none;
}

.eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
}

.display-title {
    font-family: var(--font-serif, 'Cormorant Garamond', serif);
    font-weight: 300;
    color: var(--text-h);
    line-height: 1.1;
}

.display-title em {
    font-style: italic;
    color: var(--primary);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================================
   NAVBAR DESKTOP OVERRIDE FIX
   (Forces mobile elements to hide on desktop)
============================================================= */
@media (min-width: 821px) {
    .nav-toggle, 
    .nav-close, 
    .nav-backdrop {
        display: none !important;
    }
    
    .main-nav {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        transform: translateX(0) !important;
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        width: auto !important;
        gap: 4px !important;
    }
}

/* =============================================================
   SKINVITA CAROUSEL
============================================================= */
.carousel-section {
    background-color: var(--bg);
}

.skinvita-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--surface);
}

.carousel-track-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 7; /* Cinematic desktop ratio */
}

@media (max-width: 768px) {
    .carousel-track-container {
        aspect-ratio: 4 / 5; /* Taller ratio for mobile to show more image */
    }
}

.carousel-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.slide-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Minimal gradient overlay ensuring white text is always readable */
.slide-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(20, 16, 20, 0.5) 0%, transparent 50%);
}

.slide-caption-box {
    position: relative;
    z-index: 10;
    padding: 48px 32px;
    text-align: center;
    color: #ffffff;
}

.slide-caption-title {
    font-family: var(--font-serif, 'Cormorant Garamond', serif);
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 400;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.slide-caption-text {
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 400;
    margin: 0;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Controls */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-h);
    backdrop-filter: blur(8px);
    transition: all var(--transition-fast);
    z-index: 20;
}

.carousel-btn:hover {
    background: var(--surface);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn-left { left: 24px; }
.carousel-btn-right { right: 24px; }
.carousel-btn.hidden { opacity: 0; pointer-events: none; }

/* Pagination Dots */
.carousel-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.carousel-indicator {
    border: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.carousel-indicator.current-indicator {
    background: #ffffff;
    transform: scale(1.4);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

/* =============================================================
   VIDEO CAROUSEL (Premium Ultra-Smooth)
============================================================= */
/* =============================================================
   VIDEO CAROUSEL
============================================================= */
.video-track-container {
    margin: 0 calc(-1 * clamp(20px, 6vw, 96px));
    padding: 0 clamp(20px, 6vw, 96px) 60px; 
    
    /* ADDED: Flex centering to push the track to the middle */
    display: flex;
    justify-content: center;
}

.video-track {
    display: flex;
    gap: 32px; 
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; 
    -ms-overflow-style: none;  
    padding-bottom: 20px; 
    
    /* ADDED: Forces the track to only be as wide as the videos, then centers it */
    width: 100%;
    max-width: max-content;
    margin: 0 auto;
}

.video-track::-webkit-scrollbar {
    display: none;
}

.video-slide {
    flex: 0 0 clamp(280px, 22vw, 340px); /* Slightly wider cards */
    scroll-snap-align: center; /* Center-snapping feels much smoother */
    aspect-ratio: 9 / 16; 
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #050505;
    box-shadow: var(--shadow-md);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s ease;
    /* Forces hardware acceleration to prevent corner clipping bugs on Safari */
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.video-slide:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
}

/* Cinematic subtle zoom on the video itself when hovering the card */
.video-slide:hover .video-wrapper video {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 24px;
    transition: background 0.5s ease, opacity 0.5s ease;
    pointer-events: none; 
}

.video-info {
    position: relative;
    z-index: 10;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Lift the text slightly on hover */
.video-slide:hover .video-info {
    transform: translateY(-4px); 
}

.video-title {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0,0,0,0.8);
}

/* Premium Glassmorphism Play Button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: auto; 
}

.play-btn svg {
    width: 28px;
    height: 28px;
    margin-left: 4px; 
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.play-btn:hover {
    background: var(--primary);
    border-color: var(--primary-light);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 40px rgba(123, 0, 75, 0.4);
}

/* --- Playing State Transitions --- */
.video-wrapper.is-playing .video-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 30%);
}

.video-wrapper.is-playing .play-btn {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    pointer-events: none;
}

/* Aggressively hide any remaining default browser video controls */
video::-webkit-media-controls { display: none !important; }
video::-webkit-media-controls-enclosure { display: none !important; }