/* Classic 2000s Website Styles */
:root {
    --main-purple: #800080;
    --main-blue: #000080;
    --highlight: #ffff00;
    --link-color: #0000ff;
}

body {
    margin: 0;
    padding: 20px;
    font-family: "Comic Sans MS", cursive, sans-serif;
    color: #000080;
    text-align: center;
    background-color: #000000;
    background-image: linear-gradient(45deg, #000033 25%, #000066 25%, #000066 50%, #000033 50%, #000033 75%, #000066 75%, #000066 100%);
    background-size: 20px 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px solid #800080;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Welcome Text Animation */
.welcome-text {
    padding: 10px;
    overflow: hidden;
}

.welcome-text .rainbow-text {
    display: block;
    animation: slide 10s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Rainbow Text Animation */
@keyframes rainbow {
    0% { color: red; }
    14% { color: orange; }
    28% { color: yellow; }
    42% { color: green; }
    57% { color: blue; }
    71% { color: indigo; }
    85% { color: violet; }
    100% { color: red; }
}

.rainbow-text {
    font-size: 24px;
    font-weight: bold;
    animation: rainbow 5s infinite;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

/* Menu Styling */
.menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    padding: 10px;
    background: linear-gradient(to bottom, #000080, #0000ff);
    border: 2px solid #ffffff;
    border-radius: 5px;
}

.menu-item a {
    color: #ffffff;
    text-decoration: none;
    padding: 5px 15px;
    font-weight: bold;
    text-shadow: 1px 1px 2px #000000;
}

.menu-item a:hover {
    color: #ffff00;
    text-decoration: underline;
}

/* Content Boxes */
.content-box {
    background: linear-gradient(to bottom, #ffffff, #f0f0ff);
    border: 2px solid #800080;
    border-radius: 8px;
    margin: 20px 0;
    padding: 15px;
}

/* Construction Banner */
.construction-banner {
    background: repeating-linear-gradient(
        45deg,
        #ffff00,
        #ffff00 10px,
        #000000 10px,
        #000000 20px
    );
    color: #ff0000;
    font-weight: bold;
    padding: 10px;
    margin: 15px 0;
    text-shadow: 1px 1px 2px #ffffff;
    animation: blink 1s infinite;
}

h2, h3 {
    color: #800080;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Dotted Line */
hr.dotted {
    border: none;
    border-top: 2px dotted #800080;
    margin: 15px 0;
}

/* Updates Section */
.updates {
    text-align: left;
    padding: 10px;
}

.updates ul {
    list-style-type: none;
    padding-left: 20px;
}

.updates li::before {
    content: "→";
    color: #800080;
    margin-right: 10px;
}

/* Blink Animation */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

blink {
    animation: blink 1s infinite;
    color: #ff0000;
    font-weight: bold;
}

/* Counter */
.counter {
    background: #000000;
    color: #00ff00;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
}

.counter-number {
    font-family: "Courier New", monospace;
    font-size: 24px;
    letter-spacing: 2px;
}

/* Footer */
footer {
    margin-top: 30px;
    border-top: 2px solid #800080;
    padding-top: 20px;
}

/* Badges */
.badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.badge {
    background: linear-gradient(to bottom, #cccccc, #999999);
    border: 1px solid #666666;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-family: "Arial", sans-serif;
    color: #000000;
    text-shadow: 1px 1px 1px #ffffff;
}

/* Music Player */
.music-player {
    background: #000000;
    padding: 10px;
    border-radius: 5px;
}

audio {
    width: 100%;
    max-width: 300px;
}

/* Links Page Styles */
.link-categories {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.link-category {
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 5px;
    border: 1px dashed var(--main-purple);
}

.cool-links {
    list-style-type: none;
    padding: 0;
}

.cool-links li {
    margin: 10px 0;
    padding: 5px;
}

.new-badge {
    background: #ff0000;
    color: #ffffff;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 0.8em;
    animation: blink 1s infinite;
}

.button-88 {
    background: linear-gradient(to bottom, #4CAF50, #45a049);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin: 10px 0;
    display: inline-block;
    cursor: pointer;
    text-shadow: 1px 1px 1px black;
}

.link-code {
    width: 100%;
    height: 80px;
    background: #000000;
    color: #00ff00;
    font-family: monospace;
    padding: 10px;
    border: 1px solid #666;
    border-radius: 3px;
    margin-top: 10px;
}

/* Guestbook Styles */
.guestbook-form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin: 15px 0;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--main-purple);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--main-purple);
    border-radius: 3px;
    background: #f8f8ff;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-button {
    background: linear-gradient(to bottom, #4CAF50, #45a049);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-shadow: 1px 1px 1px black;
}

.guestbook-entries {
    text-align: left;
}

.guestbook-entry {
    margin: 15px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    color: var(--main-purple);
    margin-bottom: 5px;
}

.entry-date {
    font-size: 0.9em;
    color: #666;
}

.visitor-location {
    font-size: 0.9em;
    color: #666;
}

/* Profile Styles */
.profile-info {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 20px 0;
}

.profile-pic {
    width: 100px;
    height: 100px;
    background: var(--main-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
}

.profile-details {
    text-align: left;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin: 15px 0;
}

.interest-item {
    background: linear-gradient(to bottom, #f0f0ff, #e0e0ff);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid var(--main-purple);
}

.music-list {
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.music-list li {
    margin: 10px 0;
    padding: 5px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
}

.mood-box {
    display: inline-block;
    min-width: 200px;
}

.mood-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

/* Games grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.game-card {
    background: linear-gradient(to bottom, #ffffff, #f8f8ff);
    border: 1px solid var(--main-purple);
    padding: 12px;
    border-radius: 6px;
    text-align: left;
}

.game-card h4 {
    margin: 0 0 8px 0;
    color: var(--main-blue);
}

.game-link {
    display: inline-block;
    margin-top: 8px;
    color: #ffffff;
    background: linear-gradient(to bottom, #ff6600, #cc5200);
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
}

.game-link:hover { text-decoration: underline; }

/* Social badge inside footer */
.social-badge {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.social-badge:hover { color: #ff00ff; }

.mood-emoji {
    font-size: 2em;
}

.divider {
    color: var(--main-purple);
    margin: 20px 0;
    font-size: 1.2em;
}

/* Links */
a {
    color: #0000ff;
    text-decoration: none;
}

a:hover {
    color: #ff00ff;
    text-decoration: underline;
}