:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --background-color: #292f36;
    --text-color: #f7fff7;
    --accent-color: #ffd166;
}

body {
    font-family: 'VT323', monospace;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    width: 95%;
    margin: auto;
    overflow: hidden;
}

header {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 1rem 0;
    text-align: center;
}

.glitch-title {
    font-family: 'Silkscreen', cursive;
    font-size: 3rem;
    color: var(--text-color);
    text-shadow: 
        0.05em 0 0 rgba(255,0,0,.75),
        -0.025em -0.05em 0 rgba(0,255,0,.75),
        0.025em 0.05em 0 rgba(0,0,255,.75);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 
            0.05em 0 0 rgba(255,0,0,.75),
            -0.05em -0.025em 0 rgba(0,255,0,.75),
            -0.025em 0.05em 0 rgba(0,0,255,.75);
    }
    14% {
        text-shadow: 
            0.05em 0 0 rgba(255,0,0,.75),
            -0.05em -0.025em 0 rgba(0,255,0,.75),
            -0.025em 0.05em 0 rgba(0,0,255,.75);
    }
    15% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(255,0,0,.75),
            0.025em 0.025em 0 rgba(0,255,0,.75),
            -0.05em -0.05em 0 rgba(0,0,255,.75);
    }
    49% {
        text-shadow: 
            -0.05em -0.025em 0 rgba(255,0,0,.75),
            0.025em 0.025em 0 rgba(0,255,0,.75),
            -0.05em -0.05em 0 rgba(0,0,255,.75);
    }
    50% {
        text-shadow: 
            0.025em 0.05em 0 rgba(255,0,0,.75),
            0.05em 0 0 rgba(0,255,0,.75),
            0 -0.05em 0 rgba(0,0,255,.75);
    }
    99% {
        text-shadow: 
            0.025em 0.05em 0 rgba(255,0,0,.75),
            0.05em 0 0 rgba(0,255,0,.75),
            0 -0.05em 0 rgba(0,0,255,.75);
    }
    100% {
        text-shadow: 
            -0.025em 0 0 rgba(255,0,0,.75),
            -0.025em -0.025em 0 rgba(0,255,0,.75),
            -0.025em -0.05em 0 rgba(0,0,255,.75);
    }
}

nav {
    display: flex;
    justify-content: space-around;
    padding: 1rem 0;
    background-color: var(--accent-color);
}

nav a {
    color: var(--background-color);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

nav a:hover {
    border-color: var(--background-color);
    background-color: var(--background-color);
    color: var(--accent-color);
}

.retro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.retro-card {
    background-color: var(--primary-color);
    border: 4px solid var(--secondary-color);
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.retro-card::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--accent-color), var(--secondary-color), var(--primary-color));
    z-index: -1;
    filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.retro-card:hover::before {
    opacity: 1;
}

.retro-card img {
    max-width: 100%;
    height: auto;
    border: 2px solid var(--text-color);
}

.retro-btn {
    background-color: var(--accent-color);
    color: var(--background-color);
    border: none;
    padding: 0.5rem 1rem;
    font-family: 'Silkscreen', cursive;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.retro-btn:hover {
    background-color: var(--background-color);
    color: var(--accent-color);
    transform: scale(1.1);
}

#featured {
    background-color: var(--secondary-color);
    color: var(--background-color);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
}

#about, #faq, #contact, #history {
    padding: 2rem 0;
}

form input, form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    background-color: var(--text-color);
    color: var(--background-color);
    border: 2px solid var(--primary-color);
}

footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: var(--background-color);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid var(--accent-color);
    width: 80%;
    max-width: 500px;
}

.close {
    color: var(--accent-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: var(--text-color);
    text-decoration: none;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .retro-grid {
        grid-template-columns: 1fr;
    }
}