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

body {
    font-family: 'Comic Sans MS', cursive;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: #00ff00;
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.pixel {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 0, 255, 0.3);
    animation: float 3s infinite linear;
}

.pixel:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.pixel:nth-child(2) { top: 30%; left: 80%; animation-delay: 1s; }
.pixel:nth-child(3) { top: 70%; left: 20%; animation-delay: 2s; }
.pixel:nth-child(4) { top: 85%; left: 60%; animation-delay: 3s; }

.visitor-counter {
    background: #000;
    color: #ff00ff;
    padding: 5px;
    border: 3px dashed #00ffff;
    margin: 10px;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.container {
    max-width: 1000px;
    margin: 50px auto 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 8px double #ff00ff;
    padding: 20px;
    box-shadow: 0 0 50px #00ffff;
}

header {
    text-align: center;
    padding: 20px;
    border-bottom: 4px dotted #ffff00;
    margin-bottom: 20px;
}

.header-gif {
    width: 150px;
    height: 150px;
    border: 5px solid #00ffff;
    border-radius: 50%;
    animation: spin 10s linear infinite;
}

.neon-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 28px;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ffff00;
    margin: 15px 0;
    animation: neonBlink 2s infinite;
}

.blink {
    animation: blink 1s infinite;
    color: #ffff00;
    font-size: 18px;
    font-weight: bold;
}

.y2k-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding: 10px;
    background: linear-gradient(to right, #ff00ff, #00ffff);
    border: 3px outset #ffff00;
}

.y2k-nav a {
    color: #000;
    text-decoration: none;
    padding: 10px 15px;
    background: #ffff00;
    border: 2px inset #ff00ff;
    font-weight: bold;
    transition: all 0.3s;
}

.y2k-nav a:hover {
    background: #ff00ff;
    color: #fff;
    transform: scale(1.1);
}

.construction {
    background: #ff0000 !important;
    color: #fff !important;
    animation: pulse 1s infinite;
}

.content {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.left-column, .right-column {
    flex: 1;
}

.widget {
    background: linear-gradient(135deg, #0000ff, #ff00ff);
    border: 5px ridge #ffff00;
    margin-bottom: 20px;
    padding: 15px;
}

.widget h2 {
    color: #ffff00;
    border-bottom: 2px dashed #00ffff;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 18px;
}

.widget-content {
    color: #fff;
}

.avatar {
    width: 100px;
    height: 100px;
    float: left;
    margin-right: 15px;
    border: 3px solid #ff00ff;
}

.signature {
    clear: both;
    text-align: right;
    font-style: italic;
    margin-top: 15px;
}

.blink-list li {
    list-style: none;
    padding: 5px;
    margin: 5px 0;
    background: rgba(0, 255, 255, 0.2);
    border-left: 5px solid #ff00ff;
    animation: listGlow 3s infinite;
}

.news-ticker {
    background: #000;
    border: 2px inset #00ffff;
    padding: 10px;
    height: 200px;
    overflow: hidden;
}

.media-player {
    text-align: center;
}

.now-playing {
    color: #ffff00;
    font-weight: bold;
    margin: 10px 0;
}

.visualizer {
    height: 50px;
    background: #000;
    border: 2px solid #00ffff;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.visualizer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.5), transparent);
    animation: visualize 1s infinite linear;
}

footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 4px dotted #00ffff;
    text-align: center;
}

.footer-content {
    color: #ffff00;
}

.webring img {
    margin: 0 5px;
    border: 2px solid #ff00ff;
}

.footer-text {
    font-size: 12px;
    color: #00ffff;
    margin-top: 10px;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes neonBlink {
    0%, 100% { text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ffff00; }
    50% { text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 15px #ffff00; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-1000px) rotate(720deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes listGlow {
    0%, 100% { background: rgba(0, 255, 255, 0.2); }
    50% { background: rgba(255, 0, 255, 0.2); }
}

@keyframes visualize {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.blink-slow {
    animation: blink 2s infinite;
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }
    .neon-text {
        font-size: 18px;
    }
    .y2k-nav {
        flex-direction: column;
    }
}
