/* Documentary-Style Investigation Website - June 2025 Premium Design */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@200;300;400;500;600;700&family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&family=JetBrains+Mono:wght@300;400;500;600&display=swap');

/* CSS Variables with Dark Documentary Theme */
:root {
    --blood-red: #8B0000;
    --danger-red: #DC143C;
    --warning-orange: #FF4500;
    --dark-bg: #0A0A0A;
    --darker-bg: #000000;
    --gray-900: #111111;
    --gray-800: #1A1A1A;
    --gray-700: #2A2A2A;
    --gray-600: #3A3A3A;
    --gray-500: #666666;
    --gray-400: #999999;
    --gray-300: #CCCCCC;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    
    /* Documentary Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Crimson Text', serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Animation Timings */
    --transition-fast: 150ms;
    --transition-base: 300ms;
    --transition-slow: 500ms;
    --transition-slower: 1000ms;
    
    /* Shadows and Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
    --shadow-glow-red: 0 0 20px rgba(220, 20, 60, 0.5);
    
    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--gray-300);
    background-color: var(--darker-bg);
    overflow-x: hidden;
    position: relative;
}

/* Documentary-style noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 1;
    pointer-events: none;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,.03) 2px, rgba(255,255,255,.03) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(255,255,255,.02) 2px, rgba(255,255,255,.02) 4px);
}

/* All content should be above the noise texture */
body > * {
    position: relative;
    z-index: 2;
}

/* Typography - Documentary Style */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--gray-100);
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.3;
}

/* Dramatic text effects */
.text-blood {
    color: var(--blood-red);
    text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.text-danger {
    color: var(--danger-red);
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.6);
}

.text-warning {
    color: var(--warning-orange);
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.4);
}

/* Glitch effect for headings */
@keyframes glitch {
    0%, 100% {
        text-shadow: 
            0.05em 0 0 rgba(255, 0, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
        text-shadow: 
            0.05em 0 0 rgba(255, 0, 0, 0.75),
            -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
            0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
            0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
            -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 
            0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
            0.05em 0 0 rgba(0, 255, 0, 0.75),
            0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
        text-shadow: 
            0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
            0.05em 0 0 rgba(0, 255, 0, 0.75),
            0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

.glitch-text {
    position: relative;
    animation: glitch 2s infinite;
}

/* Header with glass morphism effect */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Navigation styles */
nav a {
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: all var(--transition-base);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--danger-red), var(--blood-red));
    transition: width var(--transition-base);
}

nav a:hover {
    color: var(--white);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--danger-red);
}

/* Hero Section - Cinematic Style */
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0) 0%, 
        rgba(0,0,0,0.7) 50%, 
        rgba(0,0,0,0.9) 100%
    );
}

/* Animated background with moving particles */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 0, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(220, 20, 60, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 69, 0, 0.1) 0%, transparent 50%);
    animation: floatingGradient 20s ease-in-out infinite;
}

@keyframes floatingGradient {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, -20px) scale(1.05); }
    66% { transform: translate(20px, -10px) scale(0.95); }
}

/* Portrait image with dramatic effect */
.portrait-container {
    position: relative;
    display: inline-block;
}

.portrait-image {
    border-radius: 50%;
    border: 3px solid var(--blood-red);
    box-shadow: 
        0 0 0 10px rgba(139, 0, 0, 0.1),
        0 0 0 20px rgba(139, 0, 0, 0.05),
        0 0 50px rgba(139, 0, 0, 0.3);
    transition: all var(--transition-slow);
}

.portrait-image:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 0 15px rgba(139, 0, 0, 0.2),
        0 0 0 30px rgba(139, 0, 0, 0.1),
        0 0 80px rgba(139, 0, 0, 0.5);
}

/* Pulsing warning effect */
@keyframes pulse-warning {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

.pulse-warning {
    animation: pulse-warning 2s ease-in-out infinite;
}

/* Cards with glass effect */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    transition: all var(--transition-base);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Evidence cards with dramatic hover */
.evidence-card {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.1) 0%, 
        rgba(0, 0, 0, 0.3) 100%
    );
    border: 1px solid rgba(139, 0, 0, 0.3);
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.evidence-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.evidence-card:hover::before {
    opacity: 1;
}

.evidence-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--danger-red);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

/* Updated TikTok Video Styles for 2025 */
.video-play-button {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.video-play-button.tiktok-ready {
    transform: scale(1);
}

.video-play-button.tiktok-ready:hover {
    transform: scale(1.05);
    z-index: 10;
}

/* Play indicator overlay */
.play-indicator {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-play-button:hover .play-indicator {
    opacity: 1;
}

.play-indicator i {
    font-size: 4rem;
    color: var(--danger-red);
    filter: drop-shadow(0 0 20px rgba(220, 20, 60, 0.8));
    animation: pulse 2s ease-in-out infinite;
}

/* Webview container styles */
.tiktok-webview {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #000;
    border-radius: 0.5rem;
    overflow: hidden;
}

.webview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: #1a1a1a;
    border-bottom: 1px solid #333;
}

.webview-title {
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.webview-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.webview-close:hover {
    color: #fff;
}

.webview-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.webview-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.webview-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #1a1a1a;
    border-top: 1px solid #333;
}

.webview-external {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--danger-red);
    color: #fff;
    text-decoration: none;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.2s;
}

.webview-external:hover {
    background: var(--blood-red);
    transform: translateY(-1px);
}

/* Updated modal styles */
.video-modal-content {
    width: 90%;
    max-width: 600px;
    height: 90vh;
    max-height: 800px;
    display: flex;
    flex-direction: column;
}

.video-modal-content .modal-header {
    flex-shrink: 0;
}

.video-modal-content .video-container {
    flex: 1;
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-modal-content .modal-footer {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Video loading state */
.video-loading {
    text-align: center;
    color: #fff;
}

.video-loading .spinner {
    margin: 0 auto 1rem;
}

.video-loading p {
    color: #999;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Video error state */
.video-error {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.video-error i {
    font-size: 3rem;
    color: var(--danger-red);
    margin-bottom: 1rem;
    display: block;
}

.video-error p {
    color: #ccc;
    margin-bottom: 1.5rem;
}

/* Refresh button */
.refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Video status indicator */
.video-status {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .video-modal-content {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        border-radius: 0;
    }
    
    .play-indicator i {
        font-size: 3rem;
    }
    
    .webview-header,
    .webview-footer {
        padding: 0.75rem;
    }
}

/* Swiper customizations for Bekah slider */
#bekahSlider .swiper-slide {
    height: auto;
}

#bekahSlider .swiper-pagination-bullet {
    background: rgba(220, 20, 60, 0.3);
    opacity: 1;
}

#bekahSlider .swiper-pagination-bullet-active {
    background: var(--danger-red);
}

/* Evidence badge for slider */
.evidence-badge {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: var(--blood-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    z-index: 10;
    pointer-events: none;
}

/* Modal open body state */
body.modal-open {
    overflow: hidden;
}

/* Ensure modals are above everything */
#videoModal {
    z-index: 10000;
}

/* Timeline/Evidence Section */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--blood-red) 10%,
        var(--blood-red) 90%,
        transparent
    );
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--blood-red);
    border: 4px solid var(--dark-bg);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(139, 0, 0, 0.5);
}

/* Warning Banners */
.warning-banner {
    background: linear-gradient(135deg, 
        rgba(139, 0, 0, 0.2) 0%, 
        rgba(220, 20, 60, 0.1) 100%
    );
    border: 2px solid var(--blood-red);
    border-radius: 0.5rem;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.warning-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(220, 20, 60, 0.2),
        transparent
    );
    animation: warningPulse 3s ease-in-out infinite;
}

@keyframes warningPulse {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Quote Blocks */
.quote-block {
    border-left: 4px solid var(--danger-red);
    padding-left: 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-300);
    position: relative;
}

.quote-block::before {
    content: '"';
    position: absolute;
    left: -0.5rem;
    top: -1rem;
    font-size: 4rem;
    color: var(--blood-red);
    opacity: 0.3;
    font-family: var(--font-display);
}

/* Interactive Elements */
.interactive-button {
    background: linear-gradient(135deg, var(--blood-red), var(--danger-red));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
}

.interactive-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.interactive-button:hover::before {
    width: 300px;
    height: 300px;
}

.interactive-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.4);
}

/* Stats Counter Animation */
.stat-counter {
    font-family: var(--font-mono);
    font-size: 3rem;
    font-weight: 700;
    color: var(--danger-red);
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
}

/* Loading States */
.skeleton-loader {
    background: linear-gradient(
        90deg,
        var(--gray-800) 25%,
        var(--gray-700) 50%,
        var(--gray-800) 75%
    );
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 2rem;
    }
    
    .timeline-marker {
        left: 2rem;
    }
    
    .timeline-item {
        padding-left: 4rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .no-print {
        display: none !important;
    }
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

:focus {
    outline: 2px solid var(--danger-red);
    outline-offset: 2px;
}

/* Skip to main content */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--blood-red);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* Dark scrollbar */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-900);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-700);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gray-700) var(--gray-900);
}

/* Evidence Image Gallery */
.evidence-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.evidence-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    background: var(--gray-900);
    cursor: pointer;
    transition: all var(--transition-base);
}

.evidence-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all var(--transition-slow);
}

.evidence-image:hover img {
    transform: scale(1.1);
    filter: brightness(0.7) contrast(1.2);
}

.evidence-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.evidence-image:hover .evidence-image-overlay {
    opacity: 1;
}

/* Typewriter effect for dramatic reveals */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typewriter 3s steps(40, end) forwards;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Parallax scrolling effect */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-element {
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Modern CSS Features - Container Queries */
@container (max-width: 500px) {
    .responsive-text {
        font-size: 0.875rem;
    }
}

/* CSS Grid for complex layouts */
.investigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

/* Backdrop blur for overlays */
.blur-overlay {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(0, 0, 0, 0.7);
}

/* 3D Transform Effects */
.card-3d {
    transform-style: preserve-3d;
    transition: transform var(--transition-base);
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(-5deg);
}

/* Gradient text animation */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text-animated {
    background: linear-gradient(45deg, 
        var(--danger-red), 
        var(--blood-red), 
        var(--warning-orange), 
        var(--danger-red)
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

/* Premium hover effects */
.premium-hover {
    position: relative;
    overflow: hidden;
}

.premium-hover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform var(--transition-slow);
}

.premium-hover:hover::after {
    transform: scale(1);
}

/* Modern scroll snap for galleries */
.scroll-snap-container {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scroll-snap-item {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* CSS-only loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(220, 20, 60, 0.1);
    border-radius: 50%;
    border-top-color: var(--danger-red);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Subtle animations for micro-interactions */
.micro-interaction {
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.micro-interaction:active {
    transform: scale(0.98);
}

/* Modern focus styles */
:focus-visible {
    outline: 2px dashed var(--danger-red);
    outline-offset: 4px;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark mode is default, but provide light mode for accessibility */
@media (prefers-color-scheme: light) {
    :root {
        /* You could provide light mode variables here if needed */
    }
}

/* Custom video player controls */
.custom-video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.tiktok-container:hover .custom-video-controls {
    transform: translateY(0);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --danger-red: #FF0000;
        --gray-300: #FFFFFF;
        --gray-900: #000000;
    }
}

/* Page transitions */
.page-transition-enter {
    opacity: 0;
    transform: translateY(20px);
}

.page-transition-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: all var(--transition-slow);
}

/* Sticky positioning for important warnings */
.sticky-warning {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: var(--dark-bg);
    padding: 1rem 0;
}

/* CSS Shapes for unique layouts */
.shape-outside-circle {
    shape-outside: circle(50%);
    float: left;
    margin-right: 2rem;
}

/* Advanced blend modes for dramatic effects */
.blend-overlay {
    mix-blend-mode: overlay;
}

.blend-multiply {
    mix-blend-mode: multiply;
}

.blend-screen {
    mix-blend-mode: screen;
}

/* Gradient borders */
.gradient-border {
    position: relative;
    background: var(--dark-bg);
    padding: 2px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(45deg, var(--danger-red), var(--blood-red));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* YouTube Evidence Video Section */
.youtube-evidence-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #000;
    overflow: hidden;
}

.video-horror-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Horror overlay effects */
.video-blood-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(139, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 2;
}

.video-static-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    z-index: 3;
    pointer-events: none;
    background-image: 
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 3px
        );
    animation: static-shift 0.2s steps(4) infinite;
}

@keyframes static-shift {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* YouTube container */
.youtube-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 
        0 0 100px rgba(139, 0, 0, 0.5),
        0 0 200px rgba(139, 0, 0, 0.3),
        inset 0 0 50px rgba(0, 0, 0, 0.9);
    z-index: 10;
}

/* Video poster/thumbnail */
.video-poster {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0000 50%, #000 100%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.video-poster.active {
    opacity: 1;
}

.poster-content {
    text-align: center;
    z-index: 20;
}

.video-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--danger-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 
        0 0 20px rgba(220, 20, 60, 0.8),
        0 0 40px rgba(220, 20, 60, 0.5);
}

.video-subtitle {
    font-size: 1.25rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Horror play button */
.horror-play-button {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.horror-play-button:hover {
    transform: scale(1.1);
}

.play-button-outer {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
}

.play-button-inner {
    width: 100%;
    height: 100%;
    background: var(--blood-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 50px rgba(139, 0, 0, 0.8),
        0 0 100px rgba(139, 0, 0, 0.5),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.play-button-inner i {
    font-size: 3rem;
    color: #fff;
    margin-left: 0.5rem;
}

.pulse-horror {
    animation: pulse-horror 2s ease-in-out infinite;
}

@keyframes pulse-horror {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 0 50px rgba(139, 0, 0, 0.8),
            0 0 100px rgba(139, 0, 0, 0.5),
            inset 0 0 30px rgba(0, 0, 0, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 0 80px rgba(220, 20, 60, 1),
            0 0 150px rgba(139, 0, 0, 0.8),
            inset 0 0 40px rgba(0, 0, 0, 0.7);
    }
}

.play-text {
    display: block;
    color: var(--danger-red);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.video-warning {
    color: #666;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Video iframe wrapper */
.video-iframe-wrapper {
    position: absolute;
    inset: 0;
    z-index: 30;
}

.video-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 40;
}

.scroll-text {
    color: var(--gray-400);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.scroll-arrow {
    font-size: 2rem;
    color: var(--danger-red);
}

.bounce {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .youtube-container {
        max-width: 95%;
    }
    
    .video-title {
        font-size: 2rem;
    }
    
    .play-button-outer {
        width: 100px;
        height: 100px;
    }
    
    .play-button-inner i {
        font-size: 2.5rem;
    }
}

/* TikTok Embed Styles */
.tiktok-embed-container {
    position: relative;
    transition: transform 0.3s ease;
}

.tiktok-embed-container:hover {
    transform: translateY(-5px);
}

.tiktok-slide-container {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.lazy-tiktok-placeholder {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(139, 0, 0, 0.2) 100%);
    border: 2px solid rgba(220, 20, 60, 0.3);
    transition: all 0.3s ease;
}

.lazy-tiktok-placeholder:hover {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.2) 0%, rgba(139, 0, 0, 0.3) 100%);
    border-color: var(--danger-red);
    cursor: pointer;
}

.lazy-tiktok-placeholder.loaded {
    display: none;
}

/* TikTok iframe styling */
.tiktok-embed-container iframe,
.tiktok-slide-container iframe {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Loading animation for TikTok placeholders */
.lazy-tiktok-placeholder i {
    animation: tiktok-pulse 2s infinite;
}

@keyframes tiktok-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

/* Responsive video container */
@media (max-width: 640px) {
    .tiktok-embed-container {
        max-width: 100%;
    }
    
    .tiktok-slide-container {
        max-width: 250px;
    }
}

/* Swiper customizations for TikTok slider */
#bekahSlider .swiper-slide {
    height: auto;
}

#bekahSlider .swiper-pagination-bullet {
    background: var(--gray-600);
    opacity: 0.5;
}

#bekahSlider .swiper-pagination-bullet-active {
    background: var(--danger-red);
    opacity: 1;
}

#bekahSlider .swiper-button-prev,
#bekahSlider .swiper-button-next {
    color: var(--danger-red) !important;
}

/* Video error states */
.tiktok-error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    text-align: center;
    padding: 2rem;
    border-radius: 0.5rem;
}

.tiktok-error i {
    font-size: 3rem;
    color: var(--danger-red);
    margin-bottom: 1rem;
} 