* { box-sizing: border-box; }

body {
    background-color: #000;
    color: #fff;
    font-family: 'Special Elite', system-ui, serif; 
    margin: 0;
    text-align: center;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://upload.wikimedia.org/wikipedia/commons/b/b1/TV_static.gif');
    opacity: 0.04;
    z-index: 1500; 
    pointer-events: none;
}

header {
    padding: 80px 20px;
    border-bottom: 1px solid #222;
    position: relative;
}

.site-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 120px;
    filter: grayscale(100%) brightness(1.2);
}

.glitch-text {
    font-family: 'Metal Mania', cursive;
    font-size: clamp(2rem, 8vw, 4rem); 
    letter-spacing: 10px;
    margin: 0;
    animation: flicker 5s infinite;
    text-shadow: 2px 2px 0px #333;
}

.glitch-text:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    transition: 0.5s;
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.2; }
}

.filter-menu {
    padding: 20px;
    position: sticky;
    top: 0;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    border-bottom: 2px solid #333;
    backdrop-filter: blur(5px);
}

.filter-btn, .submit-btn {
    background: none;
    border: 1px solid #444;
    color: #888;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    font-family: 'Special Elite', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.filter-btn:hover, .filter-btn.active, .submit-btn:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 30px;
    padding: 40px;
}

.product-card {
    border: 1px solid #222;
    padding: 15px;
    transition: 0.4s;
    cursor: pointer;
    background: #050505;
}

.product-card:hover {
    border-color: #fff;
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 350px; 
    object-fit: cover; 
    filter: grayscale(100%); 
    transition: 0.3s ease-in-out;
    border-bottom: 1px solid #222;
}

.product-card:hover img {
    filter: grayscale(0%) brightness(1.1); 
}

.product-card h3 {
    font-family: 'Metal Mania', cursive;
    margin: 15px 0 5px 0;
    letter-spacing: 2px;
}

.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.98);
    overflow-y: auto;
}

.modal-content {
    display: flex;
    flex-wrap: wrap;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 1100px;
    background: #000;
    border: 1px solid #333;
}

.modal-gallery { flex: 1.5; min-width: 300px; }
.modal-info { flex: 1; min-width: 300px; padding: 40px; text-align: left; }

#mainModalImg { 
    width: 100%; 
    max-height: 500px; 
    object-fit: contain; 
    border: 1px solid #222;
}

.thumbnail-row {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
    z-index: 2100; 
}

.thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid #444;
    cursor: pointer;
}

.thumb:hover { filter: grayscale(0%); border-color: #fff; }

.close-modal {
    position: absolute;
    top: 20px; right: 40px;
    color: #fff; font-size: 50px; cursor: pointer;
}

.about-area, .contact-area {
    padding: 100px 20px;
    border-top: 1px solid #222;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    text-align: center;
}

.ghoul-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.ghoul-pic {
    width: 80%;
    height: 250px;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.pic-1 { transform: rotate(-3deg); }
.pic-2 { transform: rotate(2deg); margin-top: 20px; }
.pic-3 { transform: rotate(-1deg); grid-column: 1 / 3; width: 300px ;height: 350px; }

.ghoul-pic:hover { transform: rotate(0deg) scale(1.05); z-index: 10; }

.shop-features span {
    font-size: 0.7rem;
    border: 1px solid #444;
    padding: 5px 10px;
    margin-right: 10px;
}

.horror-form {
    max-width: 600px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group { display: flex; gap: 20px; }

.horror-form input, .horror-form select, .horror-form textarea {
    background: #000;
    border: 1px solid #444;
    color: #fff;
    padding: 15px;
    font-family: 'Special Elite', monospace;
}

.submit-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 20px;
}

footer {
    padding: 60px 20px;
    background: #050505;
    border-top: 1px solid #222;
}

.social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    border: 1px solid #333;
    padding: 5px 10px;
    font-size: 0.8rem;
}

@media (max-width: 900px) {
    .about-container { flex-direction: column; text-align: center; }
    .form-group { flex-direction: column; }
}

.buy-now-btn {
    display: block;
    background: #fff;
    color: #000;
    text-decoration: none;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 5px;
    font-family: 'Metal Mania', cursive;
    font-size: 1.2rem;
    margin-top: 30px;
    border: 2px solid #fff;
    transition: 0.3s;
}

.buy-now-btn:hover {
    background: #aa0000; 
    color: #fff;
    border-color: #aa0000;
    box-shadow: 0 0 20px rgba(170, 0, 0, 0.5);
}

.prop-desc {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
    border-left: 2px solid #333;
    padding-left: 15px;
    margin-top: 20px;
}

.site-info-bar {
    background: #111;
    color: #666;
    padding: 15px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    gap: 30px;
    border-top: 1px solid #222;
}

.contact-hint {
    margin-top: 20px;
    font-size: 0.7rem;
    color: #444;
}

.contact-hint a { color: #888; text-decoration: none; border-bottom: 1px solid #444; }

@media (max-width: 768px) {
    
    header {
        padding: 40px 20px; 
        display: flex;
        flex-direction: column; 
        align-items: center;
    }

    .site-logo {
        position: static; 
        margin-bottom: 20px;
        width: 80px; 
    }

    .glitch-text {
        font-size: 2.2rem; 
        letter-spacing: 5px;
    }

    .shop-features {
        display: flex;
        flex-direction: column; 
        gap: 15px;
        align-items: center;
    }

    .shop-features span {
        width: 90%;
        margin-right: 0;
        display: block;
        padding: 10px;
    }

    .pic-3 {
        width: 100% !important; 
    }
}

/* TERMS PAGE STYLING */
.terms-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
    text-align: left; /* Legal text is easier to read left-aligned */
    line-height: 1.6;
}

.terms-section {
    margin-bottom: 40px;
}

.terms-section h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #222;
    padding-bottom: 5px;
}

.terms-section ul {
    list-style-type: square;
    margin-top: 10px;
    color: #ccc;
}

.terms-section li {
    margin-bottom: 10px;
}