* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Righteous', cursive;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
}

/* VHS Noise Effect */
.vhs-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: 
        linear-gradient(
            0deg,
            rgba(255, 0, 0, 0.03),
            rgba(255, 0, 0, 0.05),
            rgba(255, 0, 0, 0.03)
        );
    background-size: 100% 4px;
    animation: scanlines 8s linear infinite;
    z-index: 9999;
}

@keyframes scanlines {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 4px;
    }
}

/* TV Static Background */
.static-container {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #ff006e, #00d9ff, #ffbe0b, #8338ec);
    animation: colorShift 4s ease-in-out infinite;
    margin-bottom: 20px;
}

.tv-static {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,0,110,0.4) 0.5px, transparent 0.5px),
        radial-gradient(circle at 60% 70%, rgba(0,217,255,0.4) 0.5px, transparent 0.5px),
        radial-gradient(circle at 50% 50%, rgba(255,190,11,0.4) 0.5px, transparent 0.5px);
    background-size: 50px 50px, 80px 80px, 100px 100px;
    animation: flicker 0.15s infinite;
}

@keyframes colorShift {
    0%, 100% { background: linear-gradient(135deg, #ff006e, #00d9ff); }
    50% { background: linear-gradient(135deg, #ffbe0b, #8338ec); }
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
    }
    20%, 24%, 55% {
        opacity: 0.8;
    }
}

/* Header Styles */
header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(180deg, #000, #1a0033);
    border-bottom: 5px solid #ff006e;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.main-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 4rem;
    font-weight: bold;
    color: #00ff00;
    text-shadow: 3px 3px 0 #ff006e, 6px 6px 0 #00d9ff;
    margin: 20px 0;
    line-height: 1.2;
    letter-spacing: 2px;
    animation: titleBounce 2s ease-in-out infinite;
}

@keyframes titleBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Glitch effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-1 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
    color: #ff006e;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite reverse;
    color: #00d9ff;
    z-index: -2;
}

@keyframes glitch-1 {
    0% {
        clip-path: rect(0, 900px, 0, 0);
    }
    5% {
        clip-path: rect(10px, 9999px, 25px, 0);
    }
    10% {
        clip-path: rect(5px, 9999px, 15px, 0);
    }
    15% {
        clip-path: rect(2px, 9999px, 8px, 0);
    }
    20% {
        clip-path: rect(0, 9999px, 0, 0);
    }
    100% {
        clip-path: rect(0, 9999px, 0, 0);
    }
}

@keyframes glitch-2 {
    0% {
        clip-path: rect(0, 0, 0, 0);
    }
    5% {
        clip-path: rect(25px, 9999px, 30px, 0);
    }
    10% {
        clip-path: rect(15px, 9999px, 20px, 0);
    }
    15% {
        clip-path: rect(8px, 9999px, 10px, 0);
    }
    20% {
        clip-path: rect(0, 0, 0, 0);
    }
    100% {
        clip-path: rect(0, 0, 0, 0);
    }
}

.sale-banner {
    background: linear-gradient(90deg, #ff006e, #ffbe0b, #00d9ff, #ff006e);
    background-size: 200% 200%;
    padding: 20px;
    border: 3px solid #00ff00;
    border-radius: 10px;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 0 20px rgba(255, 190, 11, 0.8);
    margin: 20px auto;
    max-width: 600px;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.sale-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 2.5rem;
    color: #000;
    text-shadow: 2px 2px 0 #fff;
    font-weight: bold;
}

.tagline {
    font-size: 1.2rem;
    color: #000;
    margin-top: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}

/* Main Content */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(0, 217, 255, 0.2));
    border: 3px dashed #ff006e;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.4);
}

.hero h2 {
    font-size: 2rem;
    color: #ffbe0b;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.3rem;
    color: #00d9ff;
    margin-bottom: 20px;
    font-style: italic;
}

.pulse-box {
    background: #ff006e;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.3rem;
    animation: pulse 1.5s ease-in-out infinite;
    display: inline-block;
    margin-top: 15px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 110, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 0, 110, 0); }
}

/* Products Grid */
.products {
    margin: 50px 0;
}

.products > h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    color: #00d9ff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: rgba(255, 0, 110, 0.1);
    border: 3px solid #00d9ff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.6), 0 0 20px rgba(255, 0, 110, 0.4);
}

.product-image {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-bottom: 3px solid #00d9ff;
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.product-card h3 {
    padding: 15px 10px 5px;
    font-size: 1.2rem;
    color: #ffbe0b;
    text-transform: uppercase;
}

.product-desc {
    padding: 0 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.price {
    padding: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #00ff00;
}

.sale-price {
    color: #ff006e;
    font-size: 1.3rem;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.5; }
}

/* Features Section */
.features {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.2), rgba(0, 217, 255, 0.2));
    padding: 40px 20px;
    border: 3px solid #8338ec;
    border-radius: 15px;
    margin: 40px 0;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    color: #8338ec;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #8338ec;
    transition: transform 0.3s;
}

.feature:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(131, 56, 236, 0.6);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.feature h3 {
    color: #ffbe0b;
    margin: 10px 0;
    text-transform: uppercase;
}

.feature p {
    color: #00d9ff;
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(90deg, #ff006e, #fb5607, #ffbe0b);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 0 40px rgba(255, 190, 11, 0.8);
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(255, 190, 11, 0.8); }
    50% { box-shadow: 0 0 60px rgba(255, 190, 11, 1); }
}

.cta h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 2rem;
    color: #000;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 #fff;
}

.cta-text {
    font-size: 1.2rem;
    color: #000;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 1px 1px 0 #fff;
    animation: wiggle 0.5s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
}

.cta-button {
    background: #000;
    color: #ffbe0b;
    border: 3px solid #000;
    padding: 15px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    text-transform: uppercase;
    transition: all 0.3s;
    font-family: 'Righteous', cursive;
    box-shadow: 0 5px 0 rgba(255, 190, 11, 0.5);
    animation: buttonGlow 2s ease-in-out infinite;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 0 rgba(255, 190, 11, 0.7);
    color: #fff;
    background: #333;
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 rgba(255, 190, 11, 0.5);
}

@keyframes buttonGlow {
    0%, 100% { color: #ffbe0b; }
    50% { color: #ff006e; }
}

.small-text {
    font-size: 0.8rem;
    color: #000;
    margin-top: 15px;
    font-style: italic;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #000, #1a0033);
    padding: 30px 20px;
    text-align: center;
    border-top: 5px solid #00d9ff;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    color: #00d9ff;
    margin: 10px 0;
    font-size: 0.95rem;
}

footer hr {
    border: 0;
    border-top: 2px solid #ff006e;
    margin: 20px 0;
}

.footer-disclaimer {
    color: #ffbe0b;
    font-weight: bold;
    font-size: 1rem;
}

.copyright {
    color: #8338ec;
    font-size: 0.85rem;
}

.legal-disclaimer {
    color: #888;
    font-size: 0.8rem;
    font-style: italic;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .sale-text {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta h2 {
        font-size: 1.3rem;
    }

    .cta-button {
        padding: 10px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 0.9rem;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .sale-text {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}