﻿:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent-color: #d32f2f;
    --accent-hover: #b71c1c;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

a {
    text-decoration: none;
    color: inherit;
    cursor: none;
    /* Ensure links also don't show cursor */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--accent-color);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(circle at center, #1a0505 0%, #000000 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1509248961158-e54f6934749c?q=80&w=2037&auto=format&fit=crop') no-repeat center center/cover;
    opacity: 0.2;
    z-index: 0;
    filter: grayscale(100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 15px rgba(211, 47, 47, 0.8));
    animation: fadeInDown 1s ease-out, pulseLogo 4s infinite alternate ease-in-out;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    animation: fadeInDown 1s ease-out 0.2s backwards, textGlowPulse 3s infinite alternate ease-in-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 15px;
    border-radius: 4px;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero-description {
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

.hero-description p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.hero-features {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #fff;
}

.hero-features i {
    color: var(--accent-color);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.8s backwards;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    box-shadow: 0 0 15px var(--accent-color);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

/* Sections General */
section {
    padding: 5rem 5%;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Warning Box */
.warning-box {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid var(--accent-color);
    padding: 1rem;
    border-radius: 5px;
    display: inline-block;
}

.warning-box p {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Channels Section */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
    justify-content: center;
}

.channel-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.channel-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(211, 47, 47, 0.2);
}

.channel-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.3);
    filter: invert(1) grayscale(1) contrast(1.2);
    transition: var(--transition);
}

.channel-card:hover img {
    filter: invert(0) grayscale(0) contrast(1);
    transform: scale(1.1);
}

.channel-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.channel-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.channel-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-link {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.btn-link:hover {
    border-bottom-color: var(--accent-color);
}

/* Collaborations Section */
.collab-section {
    background: #080808;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.collab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.collab-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.collab-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

/* Store Section */
.store-section {
    padding-bottom: 8rem;
}

.store-subtitle {
    text-align: center;
    margin-top: -2rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.product-image {
    height: 250px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.price {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.btn-buy {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: var(--transition);
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
}

.btn-buy:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Footer */
footer {
    background: #000;
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-email {
    margin-bottom: 1.5rem !important;
}

.contact-email a {
    color: var(--accent-color);
    font-weight: 600;
}

.contact-email a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.cart-content {
    background: #0a0a0a;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    border: 1px solid var(--accent-color);
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

.cart-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--accent-color);
}

.close-cart {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-secondary);
    transition: var(--transition);
    cursor: pointer;
}

.close-cart:hover {
    color: #fff;
}

.cart-items {
    margin-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-item-info h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.cart-item-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cart-item-remove {
    color: #d32f2f;
    font-size: 0.9rem;
    cursor: pointer;
}

.cart-total {
    font-size: 1.5rem;
    text-align: right;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseLogo {
    0% {
        filter: drop-shadow(0 0 15px rgba(211, 47, 47, 0.8));
        transform: scale(1);
    }

    100% {
        filter: drop-shadow(0 0 30px rgba(211, 47, 47, 1));
        transform: scale(1.05);
    }
}

@keyframes textGlowPulse {
    0% {
        text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
        transform: scale(1);
    }

    100% {
        text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 30px rgba(211, 47, 47, 0.6);
        transform: scale(1.02);
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: #fff;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff00c1;
    clip-path: inset(44% 0 61% 0);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00fff9;
    clip-path: inset(58% 0 43% 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip-path: inset(20% 0 80% 0);
    }

    20% {
        clip-path: inset(60% 0 10% 0);
    }

    40% {
        clip-path: inset(40% 0 50% 0);
    }

    60% {
        clip-path: inset(80% 0 5% 0);
    }

    80% {
        clip-path: inset(10% 0 70% 0);
    }

    100% {
        clip-path: inset(30% 0 20% 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip-path: inset(10% 0 60% 0);
    }

    20% {
        clip-path: inset(30% 0 10% 0);
    }

    40% {
        clip-path: inset(70% 0 50% 0);
    }

    60% {
        clip-path: inset(20% 0 20% 0);
    }

    80% {
        clip-path: inset(50% 0 80% 0);
    }

    100% {
        clip-path: inset(10% 0 40% 0);
    }
}

/* Fog Animation */
.fog-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
    /* Above background, below content */
    pointer-events: none;
}

.fog-img {
    position: absolute;
    height: 100vh;
    width: 300vw;
    z-index: 1;
    opacity: 0.5;
    background: url('fog_texture.png') repeat-x;
    background-size: contain;
    animation: fog 60s linear infinite;
}

.fog-two {
    z-index: 2;
    font-size: 0.9rem;
}

@keyframes fog {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-200vw, 0, 0);
    }
}

/* Thing Cursor */
#thing-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    /* Reduced size */
    height: auto;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    /* Ghost Effect: Screen blend mode makes black transparent. */
    mix-blend-mode: screen;
    /* Make the ghost hand itself more transparent/ethereal */
    opacity: 0.7;
}

#thing-cursor img {
    width: 100%;
    display: block;
    border-radius: 10px;
    /* 
       1. contrast/brightness: Push background to pure white so it inverts to pure black.
       2. invert: White BG -> Black BG (Transparent in Screen). Dark Hand -> Light Hand.
       3. grayscale: Remove any color artifacts.
    */
    filter: contrast(1.5) brightness(1.2) invert(1) grayscale(1);
}

#thing-cursor.walking {
    animation: walk 0.3s infinite alternate ease-in-out;
}

@keyframes walk {
    0% {
        transform: translate(-50%, -50%) rotate(-12deg) translateY(0) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) rotate(12deg) translateY(-5px) scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
        color: #fff;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    a {
        cursor: pointer;
    }
}

/* Evidence Section */
.evidence-section {
    background: #000;
    position: relative;
    z-index: 2;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
    justify-content: center;
}

.evidence-item {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.evidence-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(211, 47, 47, 0.2);
}

.evidence-info {
    padding: 1.5rem;
    text-align: center;
}

.evidence-info h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.evidence-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* TikTok Overlay */
.tiktok-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.evidence-item:hover .tiktok-overlay {
    opacity: 1;
}

.tiktok-overlay a {
    color: #fff;
    font-size: 3rem;
    transition: var(--transition);
}

.tiktok-overlay a:hover {
    color: var(--accent-color);
    transform: scale(1.2);
}

/* Glitch Image Container */
.glitch-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #000;
}

.glitch-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

.glitch-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.1s ease;
    filter: contrast(1.5) saturate(1.5) hue-rotate(90deg);
    mix-blend-mode: hard-light;
}

.evidence-item:hover .glitch-img-hover {
    opacity: 0.8;
    animation: glitch-anim-1 0.2s infinite;
}

/* Flashlight Effect */
#flashlight-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle 200px at var(--x, 50%) var(--y, 50%), transparent 0%, rgba(0, 0, 0, 0.98) 100%);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.flashlight-active #flashlight-overlay {
    opacity: 1;
}

/* Toggle Flashlight Button */
#toggle-flashlight a {
    color: var(--text-secondary);
    transition: var(--transition);
}

#toggle-flashlight a:hover,
body.flashlight-active #toggle-flashlight a {
    color: #ffeb3b;
    text-shadow: 0 0 10px #ffeb3b;
}

/* Jumpscare Overlay */
#jumpscare-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.1s ease;
}

#jumpscare-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#jumpscare-overlay img {
    max-width: 100%;
    max-height: 100%;
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}

.jumpscare-hidden {
    display: none !important;
}