/* =========================================
   1. VARIABLES & FONTS
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Roboto:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    /* Palette */
    --color-bg: #0a0a0a;
    --color-bg-dark: #050505;
    --color-bg-card: #1a1a1a;

    --color-blood: #8B0000;
    --color-blood-bright: #DC143C;

    --color-purple: #2d1b4e;
    --color-purple-light: #4a2c82;

    --color-fog: #2c2c2c;
    --color-fog-light: #4a4a4a;

    --color-accent-orange: #FF6600;
    --color-accent-green: #39FF14;

    --color-text: #e0e0e0;
    --color-text-muted: #a0a0a0;

    /* Fonts */
    --font-heading: 'Creepster', cursive;
    --font-body: 'Roboto', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

/* =========================================
   2. RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   3. FOG ANIMATION
   ========================================= */
.fog-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.fog-img,
.fog-img-2 {
    position: absolute;
    height: 100vh;
    width: 300vw;
    background: url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog1.png') repeat-x;
    background-size: contain;
    animation: fog 60s linear infinite;
}

.fog-img-2 {
    background: url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog2.png') repeat-x;
    background-size: contain;
    animation: fog 40s linear infinite;
    z-index: -1;
    top: 30%;
}

@keyframes fog {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-200vw, 0, 0);
    }
}

/* =========================================
   4. NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 1000;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    justify-content: center;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 0.5rem 2rem;
    border-bottom: 1px solid var(--color-blood);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 60px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(139, 0, 0, 0.5));
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(-2deg);
    filter: drop-shadow(0 0 15px var(--color-blood-bright));
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blood-bright);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--color-blood);
}

.nav-links a:hover {
    color: var(--color-blood-bright);
    text-shadow: 0 0 10px var(--color-blood);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: var(--color-text);
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--color-bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        border-left: 1px solid var(--color-blood);
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    position: relative;
    margin-top: 60px;
    /* Offset fixed navbar */
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-blood);
    text-shadow: 4px 4px 0 #000, 0 0 20px rgba(139, 0, 0, 0.5);
    margin-bottom: 1rem;
    animation: pulse 3s infinite alternate;
}

.hero p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn-random {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-blood);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    border-radius: 4px;
    border: 1px solid var(--color-blood-bright);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-random:hover {
    background: transparent;
    color: var(--color-blood-bright);
    box-shadow: 0 0 30px rgba(220, 20, 60, 0.6);
    transform: translateY(-3px);
}

/* =========================================
   6. COMPONENTS (Cards, Titles, etc.)
   ========================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-text);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background: var(--color-blood);
    margin: 0.5rem auto 0;
    box-shadow: 0 0 10px var(--color-blood);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--color-bg-card);
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-blood);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
    width: 100%;
    max-width: 1000px;
    /* Limit maximum width for large screens */
    margin: 0 auto;
    /* Center horizontally */
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.3);
    /* Add glow */
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.thumbnail-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #000;
}

.thumbnail-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .thumbnail-container img {
    transform: scale(1.1);
    filter: grayscale(100%) sepia(50%) hue-rotate(-50deg) saturate(300%);
    /* Red tint effect */
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(139, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 20px;
    border-color: transparent transparent transparent #fff;
    margin-left: 4px;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1);
}

.card-content {
    padding: 1.5rem;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--color-blood-bright);
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    margin-bottom: 0;
    line-height: 1.4;
    color: var(--color-text);
}

/* =========================================
   7. FOOTER & LEGAL
   ========================================= */
footer {
    background: #000;
    padding: 3rem 1rem;
    text-align: center;
    border-top: 1px solid #222;
    margin-top: 4rem;
}

footer a {
    color: var(--color-text-muted);
    margin: 0 15px;
    font-size: 0.9rem;
}

footer a:hover {
    color: var(--color-blood-bright);
}

/* =========================================
   8. COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    border-top: 2px solid var(--color-blood);
    padding: 2rem;
    text-align: center;
    z-index: 2000;
    transition: bottom 0.5s ease;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-buttons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-accept,
.btn-reject {
    padding: 10px 25px;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--color-blood);
    color: white;
}

.btn-accept:hover {
    background: var(--color-blood-bright);
    box-shadow: 0 0 15px var(--color-blood);
}

.btn-reject {
    background: transparent;
    border: 1px solid #555;
    color: #aaa;
}

.btn-reject:hover {
    border-color: #fff;
    color: #fff;
}

/* =========================================
   9. UTILITIES & ANIMATIONS
   ========================================= */
@keyframes pulse {
    from {
        text-shadow: 0 0 10px var(--color-blood), 4px 4px 0 #000;
    }

    to {
        text-shadow: 0 0 30px var(--color-blood-bright), 4px 4px 0 #000;
    }
}

.text-glitch {
    position: relative;
}

.text-glitch::before,
.text-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
}

.text-glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.text-glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    5% {
        clip: rect(80px, 9999px, 90px, 0);
    }

    10% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    15% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    100% {
        clip: rect(60px, 9999px, 30px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(10px, 9999px, 80px, 0);
    }

    5% {
        clip: rect(30px, 9999px, 10px, 0);
    }

    10% {
        clip: rect(80px, 9999px, 90px, 0);
    }

    15% {
        clip: rect(50px, 9999px, 20px, 0);
    }

    20% {
        clip: rect(10px, 9999px, 40px, 0);
    }

    100% {
        clip: rect(40px, 9999px, 60px, 0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .nav-container {
        flex-direction: row;
    }
}

/* =========================================
   10. STORY PAGE STYLES
   ========================================= */
.story-container {
    max-width: 800px;
    margin: 120px auto 4rem;
    padding: 2rem;
    background: rgba(13, 13, 13, 0.9);
    border: 1px solid #333;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border-radius: 8px;
}

.story-header {
    text-align: center;
    margin-bottom: 3rem;
}

.story-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-blood);
    text-shadow: 0 0 20px rgba(139, 0, 0, 0.4);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.story-meta {
    color: var(--color-text-muted);
    font-style: italic;
    border-bottom: 1px solid #333;
    padding-bottom: 2rem;
    display: inline-block;
}

.story-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 2rem;
    border: 1px solid #333;
}

.story-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text);
}

.story-content p {
    margin-bottom: 1.5rem;
}

.story-content h2,
.story-content h3 {
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.back-btn {
    display: inline-block;
    margin-top: 3rem;
    color: var(--color-blood);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.back-btn:hover {
    text-shadow: 0 0 10px var(--color-blood);
    transform: translateX(-5px);
    color: var(--color-blood-bright);
}

/* =========================================
   11. CATEGORY FILTER & BADGES
   ========================================= */
.category-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--color-text-muted);
    color: var(--color-text-muted);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--color-blood);
    color: var(--color-blood-bright);
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.3);
}

.category-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(139, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    font-family: var(--font-body);
}

/* =========================================
   12. CTA SECTION
   ========================================= */
.cta-section {
    margin-top: 6rem;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0), rgba(139, 0, 0, 0.1));
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-blood);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 0 #000;
}

.cta-section p {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-text);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* =========================================
   13. CONTACT PAGE STYLES
   ========================================= */
.contact-container {
    max-width: 600px;
    margin: 150px auto 4rem;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--color-blood);
    text-align: center;
    box-shadow: 0 0 30px rgba(139, 0, 0, 0.2);
    border-radius: 8px;
}

.contact-container h1 {
    color: var(--color-blood);
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0 #000;
}

.contact-container p {
    color: var(--color-text);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.email-box {
    background: #222;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #444;
    display: inline-block;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.email-box:hover {
    border-color: var(--color-blood);
    box-shadow: 0 0 15px rgba(139, 0, 0, 0.3);
}

.email-link {
    color: var(--color-text);
    font-size: 1.5rem;
    text-decoration: none;
    font-family: var(--font-serif);
}

.email-link:hover {
    color: var(--color-blood-bright);
}

/* =========================================
   14. LEGAL PAGES STYLES
   ========================================= */
.legal-container {
    max-width: 800px;
    margin: 150px auto 4rem;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #333;
    color: var(--color-text);
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.legal-container h1 {
    color: var(--color-blood);
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 0 #000;
}

.legal-container h2 {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-container p,
.legal-container li {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.legal-container ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

/* =========================================
   15. ENGAGEMENT ELEMENTS
   ========================================= */
.quote-container {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('imagenes/bg-quote.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 4rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    box-shadow: inset 0 0 50px #000;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quote-author {
    font-family: var(--font-heading);
    color: var(--color-blood);
    font-size: 1.2rem;
}

.counters-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 4rem 2rem;
    background: linear-gradient(to right, rgba(10, 10, 10, 0.9), rgba(45, 27, 78, 0.3), rgba(10, 10, 10, 0.9));
    margin: 4rem 0;
}

.counter-item {
    text-align: center;
    margin: 1rem;
}

.counter-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-blood-bright);
    display: block;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.5);
}

.counter-label {
    font-family: var(--font-body);
    color: var(--color-text-muted);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   16. FOOTER STYLES
   ========================================= */
.site-footer {
    background: #050505;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid #222;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--color-blood);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section p {
    color: #888;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--color-blood-bright);
    padding-left: 5px;
}

.farewell {
    font-family: var(--font-heading);
    color: var(--color-purple-light);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1a1a1a;
    color: #444;
    font-size: 0.8rem;
}

.social-icons a {
    display: inline-block;
    margin-right: 1rem;
    color: #fff;
    font-size: 1.2rem;
}/* =========================================
   8. COOKIE BANNER & MODAL (GDPR)
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    /* Hidden by default */
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    border-top: 2px solid var(--color-blood);
    padding: 1.5rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8);
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-icon {
    font-size: 2.5rem;
    animation: float 3s ease-in-out infinite;
}

.cookie-text h3 {
    font-family: var(--font-heading);
    color: var(--color-blood-bright);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.cookie-text p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--color-blood-bright);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    border: 1px solid var(--color-blood);
    background: transparent;
    color: #fff;
    font-family: var(--font-body);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    flex: 1;
    max-width: 200px;
    text-align: center;
}

.btn-cookie:hover {
    background: var(--color-blood);
    box-shadow: 0 0 15px var(--color-blood);
}

.btn-cookie.accept {
    background: var(--color-blood);
    color: #fff;
}

.btn-cookie.accept:hover {
    background: #a00000;
}

/* Modal Styles */
.cookie-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: #151515;
    border: 1px solid var(--color-blood);
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(139, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    border-radius: 8px 8px 0 0;
}

.modal-header h3 {
    color: var(--color-text);
    margin: 0;
    font-size: 1.2rem;
}

.close-modal {
    background: none;
    border: none;
    color: #aaa;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: #fff;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #222;
}

.cookie-option:last-child {
    border-bottom: none;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-header span {
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
}

.option-desc {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--color-blood);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--color-blood);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    background: #1a1a1a;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cookie {
        width: 100%;
        max-width: none;
    }
}

/* YouTube Placeholder */
.youtube-placeholder {
    width: 100%;
    height: 100%;
    background: #111;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 2rem;
    border: 1px solid #333;
}

.youtube-placeholder h3 {
    color: var(--color-blood-bright);
    margin-bottom: 1rem;
}

.youtube-placeholder p {
    color: #aaa;
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.btn-accept-yt {
    background: #ff0000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-accept-yt:hover {
    background: #cc0000;
}

/* Config Trigger (Footer) */
.cookie-config-trigger {
    cursor: pointer;
    color: #aaa;
    font-size: 0.9rem;
    text-decoration: underline;
    margin-top: 1rem;
    display: inline-block;
}

.cookie-config-trigger:hover {
    color: #fff;
}