/* 🚀 TOM RULEZ ULTIMATE RETRO GAMING SHRINE CSS 🚀 */
/* Prepare for maximum nostalgia overload! */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Neue', 'Comic Sans MS', cursive;
    background: #000;
    color: #00ff00;
    overflow-x: hidden;
    min-height: 100vh;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="8" fill="none" stroke="%2300ff00" stroke-width="2"/><line x1="0" y1="16" x2="32" y2="16" stroke="%2300ff00" stroke-width="2"/><line x1="16" y1="0" x2="16" y2="32" stroke="%2300ff00" stroke-width="2"/></svg>'), crosshair;
    position: relative;
}

/* Tiled Background */
.tiled-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            #001100 0px,
            #001100 2px,
            #000000 2px,
            #000000 10px
        ),
        radial-gradient(circle at 25% 25%, #330066 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, #660033 0%, transparent 50%);
    z-index: -3;
    animation: tiled-pulse 4s ease-in-out infinite;
}

@keyframes tiled-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Matrix Rain Background */
#matrixRain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.1;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000033, #000066, #003300);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: loading-fade 3s ease-out 3s forwards;
}

.loading-content {
    text-align: center;
    max-width: 600px;
    padding: 40px;
    border: 3px solid #00ff00;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 0;
    box-shadow: 
        0 0 50px #00ff00,
        inset 0 0 30px rgba(0, 255, 0, 0.1);
}

.loading-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00;
    margin-bottom: 30px;
    animation: loading-pulse 1s ease-in-out infinite;
}

.loading-bar {
    width: 100%;
    height: 30px;
    background: #000;
    border: 2px solid #00ff00;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.loading-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00);
    width: 0%;
    animation: loading-progress 3s ease-out forwards;
}

.loading-text {
    font-family: 'Courier New', monospace;
    color: #ffff00;
    margin: 20px 0;
    font-size: 1.2rem;
    animation: loading-text-change 3s steps(1) infinite;
}

.loading-ascii {
    font-family: 'Courier New', monospace;
    color: #00ff00;
    font-size: 0.8rem;
    white-space: pre;
    margin: 20px 0;
}

.loading-tip {
    color: #ff00ff;
    font-style: italic;
    margin-top: 20px;
}

@keyframes loading-fade {
    0% { opacity: 1; visibility: visible; }
    90% { opacity: 1; visibility: visible; }
    100% { opacity: 0; visibility: hidden; }
}

@keyframes loading-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes loading-progress {
    0% { width: 0%; }
    20% { width: 15%; }
    40% { width: 45%; }
    60% { width: 70%; }
    80% { width: 90%; }
    100% { width: 100%; }
}

/* Energy Drink Meter */
.energy-meter {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #ffff00;
    padding: 10px;
    border-radius: 0;
    box-shadow: 0 0 20px #ffff00;
    font-family: 'Courier New', monospace;
}

.energy-label {
    color: #ffff00;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
}

.energy-bar {
    width: 120px;
    height: 15px;
    background: #000;
    border: 1px solid #ffff00;
    margin: 5px 0;
    position: relative;
    overflow: hidden;
}

.energy-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #ffff00, #00ff00);
    transition: width 0.5s ease;
    animation: energy-pulse 2s ease-in-out infinite;
}

.energy-percent {
    color: #ffff00;
    font-size: 0.8rem;
    text-align: center;
}

@keyframes energy-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Achievement Popup */
.achievement-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 9999;
    background: linear-gradient(45deg, #ffff00, #ff8800);
    color: #000;
    padding: 20px;
    border: 3px solid #000;
    border-radius: 0;
    box-shadow: 0 0 30px #ffff00;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Orbitron', monospace;
    opacity: 0;
    transition: all 0.3s ease;
}

.achievement-popup.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.achievement-icon {
    font-size: 3rem;
    animation: achievement-bounce 0.5s ease-out;
}

.achievement-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.achievement-desc {
    font-size: 1rem;
}

@keyframes achievement-bounce {
    0% { transform: scale(0.5); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Music Toggle */
.music-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 0, 255, 0.9);
    color: #fff;
    padding: 10px 15px;
    border: 2px solid #fff;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    animation: music-bounce 2s ease-in-out infinite;
    box-shadow: 0 0 20px #ff00ff;
}

.music-toggle:hover {
    background: rgba(255, 255, 0, 0.9);
    color: #000;
    transform: scale(1.1);
}

@keyframes music-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Main Container */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Main Banner */
.main-banner {
    text-align: center;
    padding: 60px 0;
    background: 
        linear-gradient(45deg, rgba(255, 0, 0, 0.1), rgba(0, 255, 0, 0.1)),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 0, 0.1) 2px, rgba(0, 255, 0, 0.1) 4px);
    border: 3px solid #00ff00;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.main-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: banner-shine 3s linear infinite;
}

.banner-glow {
    position: relative;
    z-index: 2;
}

.explosive-title {
    font-family: 'Orbitron', monospace;
    text-shadow: 
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 30px #00ff00;
    margin-bottom: 30px;
}

.title-line1 {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #ff0000;
    animation: title-flicker 2s ease-in-out infinite;
}

.title-line2 {
    display: block;
    font-size: clamp(4rem, 8vw, 8rem);
    color: #00ff00;
    font-weight: 900;
    margin: 20px 0;
    animation: title-pulse 1.5s ease-in-out infinite;
}

.title-line3 {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: #ff00ff;
    animation: title-slide 3s ease-in-out infinite;
}

.clan-war-timer {
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 0, 0, 0.2);
    border: 2px solid #ff0000;
    border-radius: 0;
}

.clan-war-timer h3 {
    color: #ffff00;
    font-family: 'Orbitron', monospace;
    margin-bottom: 15px;
    animation: timer-blink 1s ease-in-out infinite;
}

.countdown-display {
    font-family: 'Courier New', monospace;
    font-size: 3rem;
    color: #ff0000;
    font-weight: bold;
    text-shadow: 0 0 20px #ff0000;
    margin: 10px 0;
}

.timer-subtitle {
    color: #ffff00;
    font-style: italic;
    margin-top: 10px;
}

.visitor-counter {
    margin-top: 30px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00ffff;
    display: inline-block;
    font-family: 'Courier New', monospace;
}

.counter-number {
    color: #00ffff;
    font-weight: bold;
    font-size: 1.5rem;
    animation: counter-increment 0.1s ease-in-out infinite;
}

.retro-gif {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 10px;
    border: 1px solid #00ffff;
}

/* Section Styling */
.content-section {
    margin: 60px 0;
    animation: section-fade-in 1s ease-out;
}

.section-frame {
    border: 3px outset #666;
    background: linear-gradient(135deg, rgba(0, 50, 0, 0.3), rgba(0, 0, 50, 0.3));
    padding: 2px;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin: 30px 0;
    font-weight: 900;
    color: #ffff00;
    text-shadow: 
        0 0 10px #ffff00,
        0 0 20px #ffff00;
    animation: section-title-glow 2s ease-in-out infinite;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border: 2px inset #666;
}

.content-box {
    background: rgba(0, 0, 0, 0.9);
    border: 2px inset #666;
    padding: 30px;
    position: relative;
}

/* About Section */
.tom-portrait {
    float: left;
    margin: 0 30px 30px 0;
}

.portrait-frame {
    width: 200px;
    height: 200px;
    border: 4px outset #666;
    background: linear-gradient(45deg, #330066, #660033);
    position: relative;
    animation: portrait-glow 3s ease-in-out infinite;
}

.portrait-skull {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    animation: skull-rotate 5s linear infinite;
}

.portrait-caption {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #ff0000;
    padding: 5px 10px;
    border: 1px solid #ff0000;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    white-space: nowrap;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.bio-text h3 {
    color: #00ffff;
    font-family: 'Orbitron', monospace;
    margin: 30px 0 15px;
    text-shadow: 0 0 10px #00ffff;
}

.bio-text h4 {
    color: #ff00ff;
    margin: 25px 0 10px;
    animation: heading-pulse 2s ease-in-out infinite;
}

.achievement-list {
    list-style: none;
    margin: 20px 0;
}

.achievement-list li {
    padding: 10px 0;
    border-left: 3px solid #ffff00;
    padding-left: 15px;
    margin: 10px 0;
    background: rgba(255, 255, 0, 0.1);
    position: relative;
    animation: achievement-slide 0.5s ease-out;
}

.achievement-list li::before {
    content: '🏆';
    position: absolute;
    left: -15px;
    background: #000;
    padding: 0 5px;
}

.quote-box {
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0;
    font-style: italic;
    text-align: center;
    animation: quote-glow 3s ease-in-out infinite;
}

/* Games Section */
.game-review {
    background: rgba(0, 0, 0, 0.8);
    border: 2px outset #666;
    padding: 25px;
    margin: 30px 0;
    position: relative;
}

.game-review h3 {
    color: #ff6600;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 0 0 15px #ff6600;
    animation: game-title-flicker 1.5s ease-in-out infinite;
}

.game-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
}

.stat {
    background: #000;
    color: #00ff00;
    padding: 5px 10px;
    border: 1px solid #00ff00;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    animation: stat-pulse 2s ease-in-out infinite;
}

.game-review p {
    margin: 15px 0;
    line-height: 1.6;
}

.game-review strong {
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
}

/* Downloads Section */
.under-construction {
    text-align: center;
    padding: 20px;
    background: linear-gradient(45deg, #ff0000, #ffff00);
    color: #000;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    margin-bottom: 30px;
    animation: construction-blink 1s ease-in-out infinite;
}

.construction-gif {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.download-item {
    background: rgba(0, 0, 0, 0.9);
    border: 2px outset #666;
    padding: 25px;
    position: relative;
    transition: transform 0.3s ease;
}

.download-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.3);
}

.download-item h4 {
    color: #00ffff;
    margin-bottom: 15px;
    font-family: 'Orbitron', monospace;
}

.download-stats {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #ffff00;
}

.download-btn {
    background: linear-gradient(45deg, #ff0000, #ff6600);
    color: #fff;
    border: 2px outset #666;
    padding: 10px 20px;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.download-btn:hover {
    background: linear-gradient(45deg, #ffff00, #ff00ff);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 0 20px #ffff00;
}

.download-btn:active {
    border: 2px inset #666;
    transform: scale(0.95);
}

.patch-notes ul {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    color: #00ff00;
}

.patch-notes li {
    margin: 5px 0;
    padding-left: 20px;
}

.shareware-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.shareware-btn {
    background: #000;
    color: #00ff00;
    border: 2px solid #00ff00;
    padding: 8px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shareware-btn:hover {
    background: #00ff00;
    color: #000;
}

/* Clan Section */
.clan-motto {
    text-align: center;
    padding: 30px;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.2), rgba(0, 0, 255, 0.2));
    border: 2px solid #ffff00;
    margin-bottom: 40px;
}

.clan-motto h3 {
    color: #ffff00;
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 0 0 15px #ffff00;
}

.clan-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.member-card {
    background: rgba(0, 0, 0, 0.9);
    border: 2px outset #666;
    padding: 25px;
    position: relative;
    transition: transform 0.3s ease;
}

.member-card.leader {
    border-color: #ffff00;
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.5);
    animation: leader-glow 2s ease-in-out infinite;
}

.member-card:hover {
    transform: scale(1.05);
}

.member-avatar {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 15px;
    animation: avatar-bounce 2s ease-in-out infinite;
}

.member-info h4 {
    color: #00ffff;
    font-family: 'Orbitron', monospace;
    text-align: center;
    margin-bottom: 15px;
}

.member-stats {
    display: flex;
    justify-content: space-around;
    margin: 15px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.member-stats span {
    background: #000;
    color: #00ff00;
    padding: 5px 8px;
    border: 1px solid #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}

.member-awards {
    margin-top: 15px;
}

.award {
    display: block;
    background: rgba(255, 255, 0, 0.2);
    color: #ffff00;
    padding: 5px;
    margin: 5px 0;
    border-left: 3px solid #ffff00;
    font-size: 0.9rem;
    animation: award-shine 3s ease-in-out infinite;
}

.clan-screenshots {
    margin-top: 50px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.fake-screenshot {
    width: 100%;
    height: 200px;
    background: 
        linear-gradient(45deg, #000033, #003300),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 255, 0, 0.1) 2px, rgba(0, 255, 0, 0.1) 4px);
    border: 2px solid #00ff00;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.screenshot-content {
    text-align: center;
    font-family: 'Courier New', monospace;
    color: #00ff00;
}

.score-display {
    font-size: 1.2rem;
    margin: 10px 0;
    font-weight: bold;
}

.map-name {
    color: #ffff00;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Memes Section */
.meme-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.meme-item {
    background: rgba(0, 0, 0, 0.9);
    border: 2px outset #666;
    padding: 25px;
    text-align: center;
}

.fake-meme {
    background: #fff;
    color: #000;
    padding: 20px;
    border: 2px solid #000;
    margin-bottom: 15px;
    position: relative;
}

.meme-text {
    font-family: 'Arial Black', Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

.meme-text.top {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.meme-text.bottom {
    font-size: 1.2rem;
    margin-top: 20px;
}

.meme-center {
    font-size: 4rem;
    margin: 20px 0;
}

.ascii-art-display {
    background: #000;
    color: #00ff00;
    padding: 20px;
    border: 2px solid #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    overflow-x: auto;
    margin-bottom: 15px;
}

.leet-speak-guide {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffff00;
    padding: 20px;
    margin-bottom: 15px;
}

.leet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.leet-item {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    background: rgba(255, 255, 0, 0.1);
    border: 1px solid #ffff00;
}

.normal {
    color: #fff;
}

.leet {
    color: #ffff00;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.quote-collection {
    text-align: left;
}

.quotes {
    margin-top: 15px;
}

.quote {
    background: rgba(0, 255, 255, 0.1);
    border-left: 3px solid #00ffff;
    padding: 15px;
    margin: 15px 0;
    font-style: italic;
    color: #e0e0e0;
}

/* Guestbook Section */
.guestbook-form {
    background: rgba(0, 0, 0, 0.9);
    border: 2px outset #666;
    padding: 30px;
    margin-bottom: 40px;
}

.guestbook-form h3 {
    color: #ff00ff;
    font-family: 'Orbitron', monospace;
    margin-bottom: 25px;
    text-align: center;
}

.form-row {
    margin: 20px 0;
}

.form-row label {
    display: block;
    color: #ffff00;
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 10px;
    background: #000;
    color: #00ff00;
    border: 2px inset #666;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 10px #00ffff;
}

.form-row textarea {
    height: 100px;
    resize: vertical;
}

.sign-btn {
    background: linear-gradient(45deg, #ff00ff, #8000ff);
    color: #fff;
    border: 2px outset #666;
    padding: 15px 30px;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    display: block;
    margin: 0 auto;
}

.sign-btn:hover {
    background: linear-gradient(45deg, #ffff00, #ff6600);
    color: #000;
    transform: scale(1.05);
}

.guestbook-entries {
    margin-top: 40px;
}

.guestbook-entries h3 {
    color: #00ffff;
    font-family: 'Orbitron', monospace;
    margin-bottom: 25px;
    text-align: center;
}

.guestbook-entry {
    background: rgba(0, 0, 0, 0.8);
    border: 2px inset #666;
    padding: 20px;
    margin: 20px 0;
    animation: entry-fade-in 0.5s ease-out;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.entry-name {
    color: #ffff00;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.entry-date {
    color: #888;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.entry-message {
    color: #e0e0e0;
    line-height: 1.6;
    font-family: 'Comic Neue', cursive;
}

/* Links Section */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.link-category {
    background: rgba(0, 0, 0, 0.9);
    border: 2px outset #666;
    padding: 25px;
}

.link-category h3 {
    color: #ff6600;
    font-family: 'Orbitron', monospace;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px #ff6600;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
}

.link-item:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    transform: translateX(10px);
}

.link-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.link-item a {
    color: #00ffff;
    text-decoration: none;
    font-weight: bold;
    flex: 1;
}

.link-item a:hover {
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
}

.link-desc {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.webring {
    background: rgba(0, 0, 0, 0.9);
    border: 2px outset #666;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.webring h3 {
    color: #ff00ff;
    font-family: 'Orbitron', monospace;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #ff00ff;
}

.webring-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.webring-btn {
    background: linear-gradient(45deg, #0066ff, #00ffff);
    color: #fff;
    border: 2px outset #666;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.webring-btn:hover {
    background: linear-gradient(45deg, #ffff00, #ff6600);
    color: #000;
}

.webring-info {
    color: #ffff00;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.webring-desc {
    color: #888;
    font-style: italic;
    margin-top: 15px;
}

/* System Requirements Section */
.sysreq-content {
    background: rgba(0, 0, 0, 0.9);
    border: 2px inset #666;
    padding: 30px;
}

.sysreq-content h3 {
    color: #ff6600;
    font-family: 'Orbitron', monospace;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 15px #ff6600;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.req-category {
    background: rgba(0, 50, 0, 0.3);
    border: 2px solid #00ff00;
    padding: 25px;
}

.req-category h4 {
    color: #ffff00;
    font-family: 'Orbitron', monospace;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px #ffff00;
}

.req-category ul {
    list-style: none;
}

.req-category li {
    padding: 8px 0;
    border-bottom: 1px dotted #333;
    color: #e0e0e0;
    position: relative;
    padding-left: 30px;
}

.req-category li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00ff00;
}

.compatibility-note {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff0000;
    padding: 25px;
    margin-top: 30px;
    text-align: center;
}

.compatibility-note h4 {
    color: #ff0000;
    font-family: 'Orbitron', monospace;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #ff0000;
    animation: warning-blink 1s ease-in-out infinite;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 50, 0, 0.9));
    border-top: 3px solid #00ff00;
    margin-top: 100px;
    position: relative;
    padding: 40px 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ffff00, #ff00ff);
    animation: footer-rainbow 3s linear infinite;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-ascii {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #00ff00;
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border: 2px solid #00ff00;
    margin-bottom: 30px;
    white-space: pre;
    overflow-x: auto;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: #00ffff;
    text-decoration: none;
    margin: 0 15px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffff00;
    text-shadow: 0 0 10px #ffff00;
}

.footer-links span {
    color: #666;
    margin: 0 10px;
}

.footer-disclaimer {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Hidden Console */
.hidden-console {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 600px;
    height: 400px;
    background: #000;
    border: 3px solid #00ff00;
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.hidden-console.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.console-header {
    background: #00ff00;
    color: #000;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.console-header button {
    background: #ff0000;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: bold;
}

.console-content {
    height: calc(100% - 40px);
    display: flex;
    flex-direction: column;
}

.console-output {
    flex: 1;
    background: #000;
    color: #00ff00;
    padding: 15px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.4;
}

.console-input {
    background: #000;
    color: #00ff00;
    padding: 10px;
    border-top: 1px solid #00ff00;
    display: flex;
    align-items: center;
}

.console-input input {
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    flex: 1;
    outline: none;
    margin-left: 5px;
}

/* Do Not Click Button */
.do-not-click {
    position: fixed;
    bottom: 100px;
    left: 20px;
    background: linear-gradient(45deg, #ff0000, #ff6600);
    color: #fff;
    border: 3px solid #fff;
    padding: 15px 25px;
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1000;
    animation: do-not-click-pulse 1s ease-in-out infinite;
    text-transform: uppercase;
    box-shadow: 0 0 20px #ff0000;
}

.do-not-click:hover {
    background: linear-gradient(45deg, #ffff00, #ff00ff);
    color: #000;
    animation: do-not-click-shake 0.1s ease-in-out infinite;
}

/* Tooltip */
.tooltip {
    position: fixed;
    background: rgba(0, 0, 0, 0.9);
    color: #ffff00;
    padding: 10px 15px;
    border: 2px solid #ffff00;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    z-index: 10001;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 300px;
    box-shadow: 0 0 20px #ffff00;
}

.tooltip.show {
    opacity: 1;
}

/* Animations */
@keyframes banner-shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes title-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes title-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes title-slide {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

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

@keyframes counter-increment {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes section-fade-in {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes section-title-glow {
    0%, 100% { text-shadow: 0 0 10px #ffff00, 0 0 20px #ffff00; }
    50% { text-shadow: 0 0 20px #ffff00, 0 0 30px #ffff00, 0 0 40px #ffff00; }
}

@keyframes portrait-glow {
    0%, 100% { box-shadow: 0 0 20px #330066; }
    50% { box-shadow: 0 0 40px #660033, 0 0 60px #330066; }
}

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

@keyframes heading-pulse {
    0%, 100% { color: #ff00ff; }
    50% { color: #ffff00; }
}

@keyframes achievement-slide {
    0% { transform: translateX(-20px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes quote-glow {
    0%, 100% { border-color: #00ffff; box-shadow: 0 0 10px #00ffff; }
    50% { border-color: #ffff00; box-shadow: 0 0 20px #ffff00; }
}

@keyframes game-title-flicker {
    0%, 100% { opacity: 1; }
    25% { opacity: 0.8; }
    75% { opacity: 0.9; }
}

@keyframes stat-pulse {
    0%, 100% { background: #000; color: #00ff00; }
    50% { background: #00ff00; color: #000; }
}

@keyframes construction-blink {
    0%, 100% { background: linear-gradient(45deg, #ff0000, #ffff00); }
    50% { background: linear-gradient(45deg, #ffff00, #ff0000); }
}

@keyframes leader-glow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 255, 0, 0.5); }
    50% { box-shadow: 0 0 50px rgba(255, 255, 0, 0.8); }
}

@keyframes avatar-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes award-shine {
    0%, 100% { background: rgba(255, 255, 0, 0.2); }
    50% { background: rgba(255, 255, 0, 0.4); }
}

@keyframes entry-fade-in {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes warning-blink {
    0%, 100% { color: #ff0000; }
    50% { color: #ffff00; }
}

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

@keyframes do-not-click-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes do-not-click-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .main-banner {
        padding: 30px 0;
    }

    .title-line2 {
        font-size: 3rem;
    }

    .downloads-grid,
    .clan-members,
    .meme-gallery,
    .links-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .portrait-frame {
        width: 150px;
        height: 150px;
    }

    .portrait-skull {
        font-size: 4rem;
    }

    .tom-portrait {
        float: none;
        text-align: center;
        margin: 0 0 30px 0;
    }

    .hidden-console {
        width: 95%;
        height: 300px;
    }

    .game-stats {
        flex-direction: column;
        gap: 10px;
    }

    .webring-nav {
        flex-direction: column;
        gap: 15px;
    }

    .entry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000;
    border: 1px solid #00ff00;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ff00, #008800);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00ff00, #00aa00);
}

/* Special Effects */
.glitch-text {
    position: relative;
    color: #00ff00;
}

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

.glitch-text::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0040;
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(2px, 2px); }
    20% { transform: translate(-2px, -2px); }
    30% { transform: translate(2px, -2px); }
    40% { transform: translate(-2px, 2px); }
}

/* Cursor Effects */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="8" fill="none" stroke="%2300ff00" stroke-width="2"/><line x1="0" y1="16" x2="32" y2="16" stroke="%2300ff00" stroke-width="2"/><line x1="16" y1="0" x2="16" y2="32" stroke="%2300ff00" stroke-width="2"/></svg>'), crosshair;
}

a, button, .download-btn, .sign-btn, .shareware-btn, .webring-btn {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><circle cx="16" cy="16" r="12" fill="none" stroke="%23ff0000" stroke-width="3"/><line x1="8" y1="16" x2="24" y2="16" stroke="%23ff0000" stroke-width="2"/><line x1="16" y1="8" x2="16" y2="24" stroke="%23ff0000" stroke-width="2"/><text x="16" y="20" text-anchor="middle" fill="%23ff0000" font-size="8">💀</text></svg>'), pointer;
}

/* Easter Egg Styles */
.lan-party-mode {
    animation: lan-party-chaos 0.1s linear infinite;
}

@keyframes lan-party-chaos {
    0% { filter: hue-rotate(0deg) brightness(1); }
    25% { filter: hue-rotate(90deg) brightness(1.5); }
    50% { filter: hue-rotate(180deg) brightness(0.8); }
    75% { filter: hue-rotate(270deg) brightness(1.2); }
    100% { filter: hue-rotate(360deg) brightness(1); }
}

.comic-sans-mode {
    font-family: 'Comic Sans MS', cursive !important;
}

.comic-sans-mode * {
    font-family: 'Comic Sans MS', cursive !important;
    color: #ff69b4 !important;
    background: linear-gradient(45deg, #ffb6c1, #ffc0cb) !important;
}

/* Screen shake effect */
.screen-shake {
    animation: screen-shake 0.5s ease-in-out;
}

@keyframes screen-shake {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-5px); }
    20% { transform: translateX(5px); }
    30% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    50% { transform: translateX(-5px); }
    60% { transform: translateX(5px); }
    70% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
    90% { transform: translateX(-5px); }
}