/* ===== KILLER TRENDZ MEDIA - VHS HORROR THEME ===== */

:root {
    --blood-red: #8a0303;
    --dark-red: #4a0000;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --off-white: #e0d5c5;
    --blood-drip: #b30000;
    --neon-red: #ff0033;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Special Elite', cursive;
    background-color: var(--black);
    color: var(--off-white);
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">🔪</text></svg>'), auto;
}

/* ===== VHS OVERLAY ===== */
.vhs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    animation: scanline-flicker 0.1s infinite;
}

.noise {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.08"/></svg>');
    animation: noise-move 0.5s steps(10) infinite;
    opacity: 0.4;
}

.tracking-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    animation: tracking 4s linear infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.6) 100%);
}

@keyframes scanline-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

@keyframes noise-move {
    0% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -5%); }
    20% { transform: translate(-10%, 5%); }
    30% { transform: translate(5%, -10%); }
    40% { transform: translate(-5%, 15%); }
    50% { transform: translate(-10%, 5%); }
    60% { transform: translate(15%, 0); }
    70% { transform: translate(0, 10%); }
    80% { transform: translate(-15%, 0); }
    90% { transform: translate(10%, 5%); }
    100% { transform: translate(5%, 0); }
}

@keyframes tracking {
    0% { top: -5%; }
    100% { top: 105%; }
}

/* ===== SPLASH SCREEN ===== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(ellipse at center, #1a0000 0%, #000000 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1s ease, visibility 1s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: flicker 3s infinite;
}

.splash-logo {
    width: 280px;
    max-width: 80vw;
    border: 3px solid var(--blood-red);
    box-shadow: 0 0 30px rgba(138, 3, 3, 0.6), inset 0 0 30px rgba(138, 3, 3, 0.3);
    margin-bottom: 20px;
    filter: contrast(1.2) brightness(0.9);
}

.splash-title {
    font-family: 'Nosifer', cursive;
    font-size: 3rem;
    color: var(--blood-red);
    text-shadow: 
        0 0 10px rgba(138, 3, 3, 0.8),
        0 0 20px rgba(138, 3, 3, 0.5),
        3px 3px 0px #000;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.splash-subtitle {
    font-family: 'Creepster', cursive;
    font-size: 1.5rem;
    color: var(--off-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
    opacity: 0.8;
}

.enter-btn {
    font-family: 'Nosifer', cursive;
    font-size: 1.2rem;
    padding: 15px 40px;
    background: transparent;
    color: var(--neon-red);
    border: 2px solid var(--neon-red);
    cursor: pointer;
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
    box-shadow: 0 0 20px rgba(255, 0, 51, 0.2), inset 0 0 20px rgba(255, 0, 51, 0.05);
    transition: all 0.3s ease;
    letter-spacing: 3px;
}

.enter-btn:hover {
    background: var(--neon-red);
    color: var(--black);
    box-shadow: 0 0 40px rgba(255, 0, 51, 0.6), inset 0 0 40px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.splash-warning {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #666;
    font-family: 'Special Elite', cursive;
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.4; }
}

/* ===== MAIN CONTENT ===== */
.main-content {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.main-content.visible {
    opacity: 1;
}

.main-content.hidden {
    display: none;
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 2px solid var(--blood-red);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 70px;
    filter: drop-shadow(0 0 10px rgba(138, 3, 3, 0.5));
}

.main-nav {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-family: 'Creepster', cursive;
    font-size: 1.3rem;
    color: var(--off-white);
    text-decoration: none;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

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

.main-nav a:hover {
    color: var(--neon-red);
    text-shadow: 0 0 15px rgba(255, 0, 51, 0.5);
}

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

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: 
        linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(74,0,0,0.4) 50%, rgba(10,10,10,0.9) 100%),
        url('assets/logo-killer-trendz-media.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.1) 2px,
        rgba(0, 0, 0, 0.1) 4px
    );
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding: 40px;
}

.hero-title {
    font-family: 'Nosifer', cursive;
    font-size: 4.5rem;
    color: var(--blood-red);
    text-shadow: 
        0 0 20px rgba(138, 3, 3, 0.8),
        0 0 40px rgba(138, 3, 3, 0.4),
        4px 4px 0px #000,
        -2px -2px 0px rgba(255, 0, 0, 0.3);
    margin-bottom: 15px;
    animation: blood-pulse 3s ease-in-out infinite;
    letter-spacing: 4px;
}

.hero-tagline {
    font-family: 'Creepster', cursive;
    font-size: 1.8rem;
    color: var(--off-white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    font-family: 'Nosifer', cursive;
    font-size: 1.1rem;
    padding: 15px 50px;
    background: var(--blood-red);
    color: var(--off-white);
    text-decoration: none;
    border: 2px solid var(--dark-red);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 30px rgba(138, 3, 3, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.cta-btn:hover {
    background: var(--neon-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 0, 51, 0.5);
}

.blood-drip {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--blood-red));
    opacity: 0.6;
}

@keyframes blood-pulse {
    0%, 100% { text-shadow: 0 0 20px rgba(138, 3, 3, 0.8), 0 0 40px rgba(138, 3, 3, 0.4), 4px 4px 0px #000; }
    50% { text-shadow: 0 0 30px rgba(138, 3, 3, 1), 0 0 60px rgba(138, 3, 3, 0.6), 4px 4px 0px #000, 0 0 100px rgba(255, 0, 0, 0.2); }
}

/* ===== SHOP SECTION ===== */
.shop-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Nosifer', cursive;
    font-size: 3rem;
    color: var(--blood-red);
    text-align: center;
    text-shadow: 
        0 0 20px rgba(138, 3, 3, 0.6),
        3px 3px 0px #000;
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.section-subtitle {
    font-family: 'Creepster', cursive;
    font-size: 1.5rem;
    text-align: center;
    color: var(--off-white);
    margin-bottom: 50px;
    opacity: 0.8;
}

.price {
    color: var(--neon-red);
    font-family: 'Nosifer', cursive;
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.5);
}

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

.product-card {
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid var(--dark-red);
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 3, 3, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    border-color: var(--neon-red);
    box-shadow: 0 0 30px rgba(255, 0, 51, 0.2), inset 0 0 30px rgba(255, 0, 51, 0.05);
    transform: translateY(-5px);
}

.product-images {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid var(--dark-red);
}

.product-art, .product-mock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.product-mock {
    opacity: 0;
}

.product-card:hover .product-art {
    opacity: 0;
}

.product-card:hover .product-mock {
    opacity: 1;
}

.product-title {
    font-family: 'Creepster', cursive;
    font-size: 1.4rem;
    color: var(--off-white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    margin-bottom: 5px;
    text-align: center;
}

.product-price {
    font-family: 'Nosifer', cursive;
    font-size: 1.2rem;
    color: var(--neon-red);
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.4);
    margin-bottom: 10px;
}

.add-cart {
    width: 100%;
    padding: 10px;
    font-family: 'Creepster', cursive;
    font-size: 1.1rem;
    background: transparent;
    color: var(--blood-red);
    border: 2px solid var(--blood-red);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 2px;
}

.add-cart:hover {
    background: var(--blood-red);
    color: var(--off-white);
    box-shadow: 0 0 20px rgba(138, 3, 3, 0.4);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--black) 0%, rgba(74, 0, 0, 0.3) 100%);
    border-top: 2px solid var(--blood-red);
    position: relative;
    overflow: hidden;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.contact-info {
    padding: 40px;
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid var(--dark-red);
    box-shadow: 0 0 30px rgba(138, 3, 3, 0.2);
}

.contact-item {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-family: 'Creepster', cursive;
}

.contact-label {
    color: var(--blood-red);
    text-shadow: 0 0 10px rgba(138, 3, 3, 0.5);
}

.contact-link {
    color: var(--off-white);
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.2);
}

.contact-link:hover {
    color: var(--neon-red);
    text-shadow: 0 0 15px rgba(255, 0, 51, 0.5);
}

.contact-blood {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(138, 3, 3, 0.1) 100%);
    pointer-events: none;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 40px 20px;
    text-align: center;
    background: var(--black);
    border-top: 2px solid var(--blood-red);
}

.footer-logo {
    height: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(138, 3, 3, 0.5));
}

.site-footer p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.footer-tag {
    font-family: 'Creepster', cursive;
    color: var(--blood-red) !important;
    font-size: 1.1rem !important;
    text-shadow: 0 0 10px rgba(138, 3, 3, 0.4);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 20000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--dark-gray);
    border: 3px solid var(--blood-red);
    padding: 30px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 0 50px rgba(138, 3, 3, 0.4);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--blood-red);
    cursor: pointer;
    text-shadow: 0 0 10px rgba(138, 3, 3, 0.5);
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--neon-red);
    transform: scale(1.2);
}

.modal-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.modal-images img {
    width: 100%;
    border: 2px solid var(--dark-red);
}

#modal-title {
    font-family: 'Creepster', cursive;
    font-size: 2rem;
    color: var(--off-white);
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

#modal-price {
    font-family: 'Nosifer', cursive;
    font-size: 1.5rem;
    color: var(--neon-red);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 0, 51, 0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .splash-title { font-size: 2rem; }
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    .header-logo { height: 50px; }
    .main-nav { gap: 15px; }
    .main-nav a { font-size: 1rem; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
    .modal-images { grid-template-columns: 1fr; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--blood-red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-red);
}

/* ===== CHROMATIC ABERRATION TEXT EFFECT ===== */
.chromatic {
    text-shadow: 
        2px 0 0 rgba(255, 0, 0, 0.4),
        -2px 0 0 rgba(0, 255, 255, 0.4);
}

/* ===== GLITCH EFFECT ===== */
.glitch {
    position: relative;
}

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

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-1 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% { clip: rect(20px, 9999px, 50px, 0); }
    20% { clip: rect(80px, 9999px, 120px, 0); }
    40% { clip: rect(10px, 9999px, 60px, 0); }
    60% { clip: rect(90px, 9999px, 130px, 0); }
    80% { clip: rect(40px, 9999px, 80px, 0); }
    100% { clip: rect(70px, 9999px, 110px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(60px, 9999px, 100px, 0); }
    20% { clip: rect(10px, 9999px, 50px, 0); }
    40% { clip: rect(100px, 9999px, 140px, 0); }
    60% { clip: rect(30px, 9999px, 70px, 0); }
    80% { clip: rect(120px, 9999px, 160px, 0); }
    100% { clip: rect(50px, 9999px, 90px, 0); }
}
