/*
Theme Name: PureLust
Theme URI: https://purelust.net
Description: Premium Erotic Storytelling Theme
Version: 1.0
Author: PureLust
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: purelust
*/

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0B0C14;
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Utilities */
.text-glow { text-shadow: 0 0 30px rgba(220, 38, 38, 0.4); }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

/* Search Overlay Transition */
#search-overlay {
    transition: opacity 0.3s ease, visibility 0.3s;
}
#search-overlay.hidden-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Image Masking for Hero */
.hero-mask {
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
#mobile-menu.closed {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

/* Age Verification Modal */
#age-modal {
    transition: opacity 0.3s ease-in-out;
}
#age-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Button Glow Effect */
.btn-glow {
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.3);
}
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.5);
}

/* Carousel Styles */
.hero-slide {
    transition: opacity 1.2s ease-in-out;
    opacity: 0;
    z-index: 0;
    position: absolute;
    inset: 0;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
    position: relative;
}
.hero-slide { position: absolute; width: 100%; height: 100%; }

.slide-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease-out 0.5s;
}
.hero-slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-img {
    transform: scale(1.1);
    transition: transform 6s ease-out;
}
.hero-slide.active .slide-img {
    transform: scale(1);
}

/* Unique Indicator Styles */
.indicator-track {
    width: 50px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

@media (min-width: 768px) {
    .indicator-track {
        width: 2px;
        height: 50px;
        border-radius: 2px;
    }
}

.indicator-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #E50914;
    transition: width 0.1s linear;
}

@media (min-width: 768px) {
    .indicator-fill {
        width: 100%;
        height: 0%;
        transition: height 0.1s linear;
    }
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Glass Card Hover */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}
.glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(229, 9, 20, 0.3);
    transform: translateY(-5px);
}

/* Accordion Categories */
.cat-item {
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-item:hover {
    flex: 3.5;
}
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

/* Premium Button Hover Animations */
@keyframes buttonGlowPulse {
    0%, 100% { 
        box-shadow: 0 0 15px rgba(229, 9, 20, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.05);
    }
    50% { 
        box-shadow: 0 0 30px rgba(229, 9, 20, 0.8), inset 0 0 15px rgba(255, 255, 255, 0.15);
    }
}

/* Primary Button Animation - Text Glow & Smooth Pulse */
.btn-hover-glow {
    position: relative;
    transition: all 0.3s ease;
}

.btn-hover-glow:hover {
    animation: buttonGlowPulse 0.6s ease-in-out forwards;
    text-shadow: 0 0 12px rgba(255, 46, 99, 0.7);
}

/* Sliding Overlay Effect */
.btn-overlay {
    position: relative;
    overflow: hidden;
}

.btn-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-overlay:hover::before {
    transform: translateX(100%);
}

/* Secondary Button Animation - Smooth Border & Background */
@keyframes secondaryGlow {
    0%, 100% { 
        box-shadow: inset 0 0 0 1px rgba(229, 9, 20, 0.3);
        background-color: transparent;
    }
    50% { 
        box-shadow: inset 0 0 10px rgba(229, 9, 20, 0.4), 0 0 15px rgba(229, 9, 20, 0.3);
        background-color: rgba(229, 9, 20, 0.05);
    }
}

.btn-secondary:hover {
    animation: secondaryGlow 0.6s ease-in-out forwards;
    border-color: #E50914;
}

/* Cookie Banner Slide In */
#cookie-banner {
    transform: translateX(-140%);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}
#cookie-banner.cookie-visible {
    transform: translateX(0);
    opacity: 1;
}

/* Border width utility */
.border-3 {
    border-width: 3px;
}

/* Fixed background for parallax */
.fixed-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
