/* Retro 90s Website Stylesheet */

/* Import classic web fonts */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Press+Start+2P&display=swap');

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

body {
    background-color: #000080;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50"><rect width="50" height="50" fill="%23000080"/><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.3"/></svg>');
    color: #00ff00;
    font-family: 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.6;
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><polygon points="0,0 0,14 4,10 7,16 9,15 6,9 12,9" fill="white" stroke="black"/></svg>'), auto;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    border: 3px ridge #gold;
    box-shadow: 0 0 20px #00ffff, inset 0 0 20px rgba(0,255,255,0.1);
}

/* Header with marquee */
.header {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    padding: 10px;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: #000;
    border-bottom: 3px ridge #c0c0c0;
}

marquee {
    font-weight: bold;
    text-shadow: 1px 1px 0 #fff;
}

/* Hit Counter */
.hit-counter {
    text-align: center;
    padding: 10px;
    background: #000;
    color: #0f0;
    font-family: 'VT323', monospace;
    font-size: 18px;
    border-bottom: 2px dashed #0f0;
}

/* Main table layout */
.main-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 10px;
}

/* Sidebar */
.sidebar {
    width: 200px;
    background: linear-gradient(180deg, #2d2d44 0%, #1a1a2e 100%);
    border: 2px inset #808080;
    padding: 10px;
}

.menu-box {
    background: #000;
    border: 2px ridge #00ffff;
    margin-bottom: 15px;
    padding: 10px;
}

.menu-title {
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    color: #000;
    text-align: center;
    font-weight: bold;
    padding: 5px;
    margin: -10px -10px 10px -10px;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
}

.nav-list {
    list-style: none;
}

.nav-list li {
    margin: 8px 0;
}

.nav-list a {
    color: #ffff00;
    text-decoration: none;
    font-family: 'VT323', monospace;
    font-size: 18px;
    transition: all 0.2s;
}

.nav-list a:hover {
    color: #ff00ff;
    text-decoration: underline;
    text-shadow: 0 0 10px #ff00ff;
}

.small-text {
    font-size: 12px;
    text-align: center;
    color: #aaa;
}

.badges {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

.badges img {
    image-rendering: pixelated;
    border: 1px solid #808080;
}

/* Content area */
.content {
    background: linear-gradient(180deg, #1a1a2e 0%, #0f0f23 100%);
    border: 2px inset #808080;
    padding: 20px;
}

.welcome-text {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

/* Rainbow text animation */
.rainbow {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #9400d3, #ff0000);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow 3s linear infinite;
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
}

@keyframes rainbow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Under construction */
.under-construction {
    background: repeating-linear-gradient(
        45deg,
        #000,
        #000 10px,
        #ffff00 10px,
        #ffff00 20px
    );
    color: #000;
    text-align: center;
    padding: 10px;
    font-weight: bold;
    font-size: 18px;
    margin: 20px 0;
    border: 3px solid #ff0000;
    animation: blink 1s infinite;
}

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

/* Section headers */
h2 {
    color: #00ffff;
    font-family: 'VT323', monospace;
    font-size: 28px;
    text-align: center;
    margin: 20px 0;
    text-shadow: 2px 2px 0 #ff00ff;
}

/* About section */
.about-table {
    width: 100%;
}

.avatar-frame {
    width: 100px;
    height: 100px;
    border: 3px ridge #c0c0c0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.avatar-placeholder {
    font-size: 48px;
    color: #00ff00;
}

/* Links */
a {
    color: #00ffff;
}

a:visited {
    color: #ff00ff;
}

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

/* Lists */
.project-list, .links-list {
    list-style: none;
    padding-left: 20px;
}

.project-list li, .links-list li {
    margin: 10px 0;
    font-family: 'VT323', monospace;
    font-size: 20px;
}

/* Fancy HR */
.fancy-hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00ffff, #ff00ff, #00ffff, transparent);
    margin: 30px 0;
}

/* Guestbook */
.guestbook-box {
    background: #000;
    border: 2px dashed #00ff00;
    padding: 20px;
    text-align: center;
    font-family: 'VT323', monospace;
}

/* Footer */
.footer {
    background: #000;
    border-top: 3px ridge #c0c0c0;
    padding: 20px;
    text-align: center;
    color: #808080;
    font-family: 'VT323', monospace;
}

.footer a {
    color: #ff00ff;
}

.disclaimer {
    font-size: 12px;
    margin-top: 15px;
    color: #666;
    font-style: italic;
}

/* Responsive (lol, old sites weren't responsive) */
@media (max-width: 700px) {
    .main-table {
        display: block;
    }
    
    .sidebar, .content {
        display: block;
        width: 100%;
    }
    
    .sidebar {
        border-bottom: 2px solid #00ffff;
    }
}

/* Cursor trail effect placeholder */
.stars {
    position: fixed;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

/* Selection color */
::selection {
    background: #ff00ff;
    color: #000;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
    border: 1px solid #00ffff;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00ffff, #ff00ff);
    border: 1px solid #fff;
}

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