/* ============================================
   V I D E O L A N D   -   1999 STYLESHEET
   "Best viewed at 800x600 resolution"
   ============================================ */

/* Animated Starfield Background */
@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 20px #0088ff; }
    50% { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 40px #0088ff, 0 0 60px #0044ff; }
}

@keyframes neonPulse {
    0%, 100% { text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff, 0 0 20px #ff0088; }
    50% { text-shadow: 0 0 10px #ff00ff, 0 0 25px #ff00ff, 0 0 50px #ff0088, 0 0 80px #ff0044; }
}

@keyframes rainbowText {
    0% { color: #ff0000; }
    16% { color: #ff8800; }
    33% { color: #ffff00; }
    50% { color: #00ff00; }
    66% { color: #0088ff; }
    83% { color: #8800ff; }
    100% { color: #ff0000; }
}

@keyframes scanline {
    0% { top: -100%; }
    100% { top: 100%; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes blink {
    0%, 49% { visibility: visible; }
    50%, 100% { visibility: hidden; }
}

@keyframes slideIn {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fireBorder {
    0% { border-color: #ff0000; }
    25% { border-color: #ff8800; }
    50% { border-color: #ffff00; }
    75% { border-color: #ff8800; }
    100% { border-color: #ff0000; }
}

body {
    background-color: #000011;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 15% 85%, rgba(100,150,255,0.6), transparent),
        radial-gradient(1px 1px at 25% 35%, rgba(255,255,255,0.4), transparent),
        radial-gradient(2px 2px at 45% 55%, rgba(100,200,255,0.5), transparent),
        radial-gradient(1px 1px at 55% 75%, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 65% 15%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 75% 45%, rgba(150,100,255,0.4), transparent),
        radial-gradient(1px 1px at 85% 65%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 5% 50%, rgba(255,200,100,0.5), transparent),
        radial-gradient(1px 1px at 35% 90%, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 95% 25%, rgba(100,255,200,0.4), transparent);
    color: #cccccc;
    font-family: "MS Sans Serif", "Trebuchet MS", Verdana, Arial, sans-serif;
    font-size: 12px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* CRT Scanline overlay */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        transparent,
        transparent 2px,
        rgba(0,0,0,0.03) 2px,
        rgba(0,0,0,0.03) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

a { color: #00ff00; font-weight: bold; }
a:visited { color: #00cc00; }
a:hover { color: #ffff00; text-decoration: none; }

/* Main Container */
.main-container {
    width: 780px;
    margin: 0 auto;
    padding: 10px;
}

/* TOP BANNER */
.top-banner {
    background: linear-gradient(180deg, #000033 0%, #000066 40%, #000099 70%, #0000cc 100%);
    border: 3px ridge #4444ff;
    padding: 10px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    animation: scanline 3s linear infinite;
}

.site-title {
    font-family: "Impact", "Arial Black", sans-serif;
    font-size: 48px;
    color: #00ffff;
    animation: glow 2s ease-in-out infinite;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
}

.banner-logo {
    height: 70px;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    margin-bottom: 5px;
    vertical-align: middle;
}

.site-subtitle {
    font-family: "Comic Sans MS", "Trebuchet MS", cursive;
    font-size: 16px;
    color: #ffff00;
    animation: rainbowText 4s linear infinite;
}

/* Marquee bar */
.marquee-bar {
    background: linear-gradient(90deg, #cc0000, #ff0000, #ff4400, #ff0000, #cc0000);
    border-top: 2px ridge #ff6666;
    border-bottom: 2px ridge #ff6666;
    padding: 4px 0;
    font-weight: bold;
    color: #ffffff;
    font-size: 14px;
}

/* Navigation Bar */
.nav-bar {
    background: linear-gradient(180deg, #333366, #222244);
    border: 2px ridge #6666cc;
    padding: 8px;
    text-align: center;
    margin: 5px 0;
}

.nav-bar a {
    display: inline-block;
    background: linear-gradient(180deg, #4444aa, #222266);
    border: 2px outset #8888ff;
    color: #00ffff;
    padding: 5px 15px;
    margin: 2px 5px;
    text-decoration: none;
    font-family: "Verdana", sans-serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-bar a:hover {
    background: linear-gradient(180deg, #6666cc, #4444aa);
    border-style: inset;
    color: #ffff00;
}

.nav-bar a.active {
    background: linear-gradient(180deg, #6666cc, #4444aa);
    border-style: inset;
    color: #ffff00;
}

/* Content Area */
.content-area {
    background: rgba(0, 0, 30, 0.85);
    border: 2px ridge #444488;
    padding: 15px;
    margin: 5px 0;
}

/* Section Headers */
.section-header {
    background: linear-gradient(90deg, #000033, #000088, #000033);
    border: 1px ridge #4444cc;
    padding: 5px 10px;
    font-family: "Impact", "Arial Black", sans-serif;
    font-size: 20px;
    color: #ff00ff;
    animation: neonPulse 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* Movie Table */
.movie-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 2px;
    border: 3px ridge #666699;
}

.movie-table th {
    background: linear-gradient(180deg, #333399, #111166);
    color: #00ffff;
    font-family: "Verdana", sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 6px;
    border: 1px ridge #6666cc;
    text-transform: uppercase;
}

.movie-table td {
    background: rgba(0, 0, 50, 0.6);
    border: 1px solid #333366;
    padding: 5px;
    font-size: 11px;
    vertical-align: middle;
}

.movie-table tr:hover td {
    background: rgba(0, 0, 100, 0.6);
    border-color: #4444aa;
}

.movie-title {
    color: #ffffff;
    font-weight: bold;
    font-size: 12px;
}

.movie-synopsis {
    color: #aaaacc;
    font-style: italic;
    font-size: 10px;
}

.new-release-badge {
    display: inline-block;
    background: #ff0000;
    color: #ffffff;
    font-size: 9px;
    font-weight: bold;
    padding: 1px 4px;
    animation: blink 1s step-end infinite;
    border: 1px solid #ff6666;
}

.media-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 3px;
}

.media-vhs { background: #333333; color: #ffffff; border: 1px solid #666666; }
.media-dvd { background: #663399; color: #ffffff; border: 1px solid #9966cc; }
.media-n64 { background: #006600; color: #00ff00; border: 1px solid #00cc00; }
.media-ps1 { background: #003366; color: #66ccff; border: 1px solid #0066cc; }

/* Box Art Thumbnail */
.box-art {
    border: 2px ridge #666699;
    width: 60px;
    height: 85px;
    background: #111133;
}

/* Account Panel */
.account-panel {
    background: linear-gradient(180deg, #001133, #002266);
    border: 3px ridge #4488cc;
    padding: 15px;
    margin: 10px 0;
}

.account-panel h3 {
    color: #00ffff;
    font-family: "Impact", sans-serif;
    font-size: 22px;
    animation: glow 2s ease-in-out infinite;
    margin-top: 0;
}

.account-table {
    border-collapse: separate;
    border-spacing: 2px;
    width: 100%;
}

.account-table td {
    padding: 8px;
    border: 1px solid #334466;
}

.account-table td:first-child {
    background: rgba(0,0,80,0.5);
    color: #88aaff;
    font-weight: bold;
    width: 200px;
}

.account-table td:last-child {
    background: rgba(0,0,40,0.5);
}

.balance-amount {
    color: #ff4444;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 5px #ff0000;
}

.rewards-amount {
    color: #ffff00;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 5px #ffff00;
}

/* Login Form */
.login-form {
    background: linear-gradient(180deg, #111144, #000022);
    border: 3px ridge #6666cc;
    padding: 20px;
    text-align: center;
    margin: 20px auto;
    width: 400px;
}

.login-form input[type="text"] {
    background: #000033;
    border: 2px inset #6666cc;
    color: #00ff00;
    font-family: "Courier New", monospace;
    font-size: 16px;
    padding: 5px;
    width: 150px;
    text-align: center;
}

.login-form input[type="submit"] {
    background: linear-gradient(180deg, #4444cc, #222288);
    border: 2px outset #8888ff;
    color: #ffffff;
    font-family: "Verdana", sans-serif;
    font-weight: bold;
    font-size: 12px;
    padding: 5px 20px;
    cursor: pointer;
    text-transform: uppercase;
}

.login-form input[type="submit"]:hover {
    background: linear-gradient(180deg, #6666ee, #4444aa);
}

.login-form input[type="submit"]:active {
    border-style: inset;
}

/* Footer */
.footer-bar {
    background: linear-gradient(180deg, #222244, #111122);
    border: 2px ridge #444466;
    padding: 10px;
    text-align: center;
    margin-top: 5px;
    font-size: 10px;
    color: #666688;
}

.footer-bar img { vertical-align: middle; }

/* Animated Dividers */
.fire-divider {
    height: 10px;
    background: linear-gradient(90deg,
        transparent, #ff0000, #ff4400, #ffaa00, #ffff00,
        #ffaa00, #ff4400, #ff0000, transparent);
    margin: 5px 0;
    animation: fireBorder 2s ease-in-out infinite;
    border: none;
}

/* Animated "NEW!" text */
.blink-new {
    animation: blink 0.8s step-end infinite;
    color: #ff0000;
    font-weight: bold;
    font-size: 10px;
}

/* Sidebar Widgets */
.widget {
    background: linear-gradient(180deg, #111133, #000011);
    border: 2px ridge #444488;
    padding: 8px;
    margin-bottom: 8px;
}

.widget-title {
    background: linear-gradient(90deg, #000044, #000088, #000044);
    color: #ff00ff;
    font-family: "Verdana", sans-serif;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 8px;
    margin: -8px -8px 8px -8px;
    text-transform: uppercase;
    border-bottom: 1px ridge #444488;
}

/* Hit Counter */
.hit-counter {
    display: inline-block;
    background: #000000;
    border: 2px inset #444444;
    padding: 2px 5px;
    font-family: "Courier New", monospace;
    font-size: 14px;
    color: #00ff00;
    letter-spacing: 2px;
}

/* Webring */
.webring {
    background: linear-gradient(180deg, #222222, #111111);
    border: 2px ridge #444444;
    padding: 5px;
    text-align: center;
    font-size: 10px;
}

/* Availability indicator */
.avail-high { color: #00ff00; }
.avail-med { color: #ffff00; }
.avail-low { color: #ff4444; }
.avail-none { color: #ff0000; font-weight: bold; animation: blink 1s step-end infinite; }

/* Cursor trail effect container */
.cursor-sparkle {
    position: fixed;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
}
