/* ═══════════════════════════════════════════════════════════════
   ★ RETRO 2000s PERSONAL WEBSITE STYLESHEET ★
   Masculine Edition — No rainbows, no hearts
   ═══════════════════════════════════════════════════════════════ */

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

/* --- CSS Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-green: #39ff14;
    --neon-cyan: #00ffff;
    --neon-yellow: #ffff00;
    --neon-orange: #ff8800;
    --neon-blue: #4d4dff;
    --electric-blue: #3388ff;
    --steel-blue: #6688cc;
    --amber: #ffaa00;
    --bg-dark: #000033;
    --bg-darker: #000022;
    --box-bg: rgba(0, 0, 50, 0.85);
    --box-border: #6666ff;
    --text-primary: #ccccff;
    --text-secondary: #aaaadd;
    --link-color: #00ffff;
    --link-hover: #ffaa00;
    --font-pixel: 'Press Start 2P', monospace;
    --font-terminal: 'VT323', monospace;
    --font-silk: 'Silkscreen', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-terminal);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><circle cx="8" cy="8" r="6" fill="%2300ffff" opacity="0.7"/></svg>') 8 8, auto;
}

/* --- Starfield Background --- */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #000011 0%, #000033 40%, #110022 70%, #000022 100%);
}

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

/* ═══════════════════════════════════════
   TOP BANNER
   ═══════════════════════════════════════ */
.top-banner {
    text-align: center;
    padding: 20px 10px;
    background: linear-gradient(180deg, rgba(0,0,80,0.8) 0%, rgba(0,0,40,0.6) 100%);
    border: 3px ridge var(--neon-blue);
    border-radius: 4px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 255, 0.03) 2px,
        rgba(0, 0, 255, 0.03) 4px
    );
    pointer-events: none;
}

.banner-stars {
    color: var(--neon-yellow);
    font-family: var(--font-terminal);
    font-size: 18px;
    letter-spacing: 4px;
    animation: twinkle 2s ease-in-out infinite alternate;
}

.premium-title {
    font-family: var(--font-pixel);
    font-size: 28px;
    margin: 10px 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--neon-cyan);
    text-shadow: 
        0 0 10px var(--neon-cyan),
        0 0 20px rgba(0, 255, 255, 0.5),
        0 0 40px rgba(0, 255, 255, 0.2),
        2px 2px 0px #000066;
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% { 
        text-shadow: 
            0 0 10px var(--neon-cyan),
            0 0 20px rgba(0, 255, 255, 0.5),
            0 0 40px rgba(0, 255, 255, 0.2),
            2px 2px 0px #000066;
    }
    100% { 
        text-shadow: 
            0 0 15px var(--neon-cyan),
            0 0 30px rgba(0, 255, 255, 0.6),
            0 0 60px rgba(0, 255, 255, 0.3),
            2px 2px 0px #000066;
    }
}

.premium-subtitle {
    font-family: var(--font-terminal);
    font-size: 18px;
    color: var(--steel-blue);
    letter-spacing: 6px;
    text-transform: uppercase;
}

.banner-accent-line {
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, var(--neon-blue), var(--neon-cyan), var(--neon-blue), transparent
    );
    margin: 0 auto;
    width: 80%;
    opacity: 0.6;
}

.banner-content {
    padding: 8px 0;
}

/* --- Marquee --- */
.marquee-container {
    margin-bottom: 8px;
}

.marquee-border-top, .marquee-border-bottom {
    height: 3px;
    background: linear-gradient(90deg, 
        #0044ff, #00aaff, #00ffff, #00aaff, #0044ff
    );
    background-size: 200% 100%;
    animation: blue-slide 3s linear infinite;
}

@keyframes blue-slide {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.retro-marquee {
    background: rgba(0, 0, 20, 0.9);
    color: var(--neon-green);
    font-family: var(--font-pixel);
    font-size: 11px;
    padding: 8px 0;
    letter-spacing: 2px;
}

/* ═══════════════════════════════════════
   CONTENT LAYOUT (Table-like)
   ═══════════════════════════════════════ */
.content-layout {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 8px;
    margin-bottom: 8px;
}

/* ═══════════════════════════════════════
   SIDEBARS
   ═══════════════════════════════════════ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-box {
    background: var(--box-bg);
    border: 2px ridge var(--box-border);
    border-radius: 3px;
    overflow: hidden;
}

.box-title {
    background: linear-gradient(180deg, #333399 0%, #191966 100%);
    color: var(--neon-yellow);
    font-family: var(--font-pixel);
    font-size: 8px;
    padding: 6px 8px;
    text-align: center;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--box-border);
    text-shadow: 1px 1px 0px #000;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    padding: 8px;
}

.nav-links li {
    margin-bottom: 4px;
}

.nav-link {
    color: var(--link-color);
    text-decoration: none;
    font-family: var(--font-terminal);
    font-size: 16px;
    display: block;
    padding: 4px 6px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--link-hover);
    background: rgba(255, 170, 0, 0.1);
    border: 1px inset var(--amber);
    text-shadow: 0 0 8px var(--amber);
}

.site-info {
    padding: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.site-info p {
    margin-bottom: 4px;
}

/* Weather Widget */
.weather-widget {
    padding: 10px;
    text-align: center;
}

.weather-icon {
    font-size: 32px;
    animation: bounce 2s ease-in-out infinite;
}

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

.weather-text {
    font-size: 14px;
    color: var(--neon-yellow);
    margin-top: 4px;
}

/* Construction Box */
.construction-box {
    text-align: center;
    padding: 10px;
    background: repeating-linear-gradient(
        45deg,
        rgba(255, 200, 0, 0.1),
        rgba(255, 200, 0, 0.1) 10px,
        rgba(0, 0, 0, 0.2) 10px,
        rgba(0, 0, 0, 0.2) 20px
    );
}

.construction-icon {
    font-size: 24px;
}

/* Blink animation */
.blink {
    animation: blinker 1s step-start infinite;
    color: var(--neon-yellow);
    font-family: var(--font-pixel);
    font-size: 9px;
    margin: 6px 0;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* ═══════════════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════════════ */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.content-box {
    background: var(--box-bg);
    border: 2px ridge var(--box-border);
    border-radius: 3px;
    overflow: hidden;
}

.content-title {
    background: linear-gradient(180deg, #333399 0%, #191966 100%);
    color: var(--neon-cyan);
    font-family: var(--font-pixel);
    font-size: 11px;
    padding: 10px 12px;
    text-align: center;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--box-border);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.title-decoration {
    color: var(--steel-blue);
    font-size: 10px;
}

/* ═══════════════════════════════════════
   ABOUT SECTION
   ═══════════════════════════════════════ */
.about-section {
    padding: 15px;
    display: flex;
    gap: 15px;
}

.crt-monitor {
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.5));
}

.crt-bezel {
    width: 100%;
    height: 120px;
    background: #d4d4d4;
    border: 4px outset #ffffff;
    border-radius: 12px 12px 0 0;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.crt-screen {
    width: 100%;
    height: 100%;
    background: #000033;
    border: 4px inset #666666;
    border-radius: 20px / 10px; /* Slight curvature */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
}

.crt-scanlines {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    ), linear-gradient(90deg, 
        rgba(255, 0, 0, 0.06), 
        rgba(0, 255, 0, 0.02), 
        rgba(0, 0, 255, 0.06)
    );
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 2;
}

.crt-initials {
    font-family: var(--font-pixel);
    font-size: 32px;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
    z-index: 1;
}

.crt-cursor {
    font-family: var(--font-pixel);
    font-size: 32px;
    color: var(--neon-green);
    margin-left: 2px;
    animation: blinker 1s step-start infinite;
    z-index: 1;
}

.crt-bottom {
    width: 100%;
    height: 25px;
    background: #d4d4d4;
    border: 4px outset #ffffff;
    border-top: none;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.crt-led {
    width: 6px;
    height: 6px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff00, inset 1px 1px 2px rgba(255,255,255,0.8);
    border: 1px solid #005500;
}

.crt-brand {
    font-family: Arial, sans-serif;
    font-size: 7px;
    font-weight: bold;
    color: #666;
    letter-spacing: 1px;
}

.crt-buttons {
    display: flex;
    gap: 3px;
}

.crt-btn {
    width: 8px;
    height: 4px;
    background: #b0b0b0;
    border: 1px outset #fff;
    border-radius: 1px;
}

.crt-stand {
    width: 60px;
    height: 20px;
    background: #c0c0c0;
    border: 3px outset #ffffff;
    border-top: none;
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
    margin-top: -2px;
}

.about-text {
    flex: 1;
}

.greeting {
    font-size: 20px;
    margin-bottom: 8px;
}

.highlight-name {
    color: var(--neon-green);
    font-weight: bold;
    text-shadow: 0 0 10px var(--neon-green);
    font-family: var(--font-silk);
    font-size: 20px;
}

.about-text p {
    margin-bottom: 4px;
    font-size: 18px;
}

.info-line {
    font-size: 16px;
}

.info-label {
    color: var(--neon-cyan);
    font-weight: bold;
}

.sparkle-divider {
    color: var(--steel-blue);
    text-align: center;
    margin: 8px 0;
    letter-spacing: 2px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--box-border), transparent);
}

.motto {
    color: var(--amber);
    font-size: 16px;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.4);
}

/* ═══════════════════════════════════════
   PLAYLISTS SECTION
   ═══════════════════════════════════════ */
.playlists-section {
    padding: 15px;
}

.playlist-intro {
    text-align: center;
    margin-bottom: 12px;
    font-size: 18px;
    color: var(--neon-yellow);
}

.playlist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.playlist-card {
    background: linear-gradient(135deg, rgba(20, 0, 60, 0.6), rgba(0, 0, 60, 0.6));
    border: 2px ridge var(--neon-blue);
    border-radius: 4px;
    padding: 12px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.playlist-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.playlist-card:hover::before {
    opacity: 1;
}

.playlist-card:hover {
    border-color: var(--amber);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.3),
                inset 0 0 15px rgba(255, 170, 0, 0.1);
    transform: translateY(-2px);
}

.playlist-icon {
    font-size: 32px;
    margin-bottom: 6px;
}

.playlist-name {
    color: var(--neon-cyan);
    font-family: var(--font-silk);
    font-size: 14px;
    margin-bottom: 4px;
    text-shadow: 0 0 5px var(--neon-cyan);
}

.playlist-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.playlist-link {
    display: inline-block;
    background: linear-gradient(180deg, #444499, #222266);
    color: var(--neon-green);
    font-family: var(--font-pixel);
    font-size: 9px;
    padding: 6px 16px;
    border: 2px outset #6666aa;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.playlist-link:hover {
    background: linear-gradient(180deg, #555599, #333377);
    border-style: inset;
    color: var(--neon-yellow);
    text-shadow: 0 0 5px var(--neon-yellow);
}

.playlist-link:active {
    transform: translateY(1px);
}

.playlist-note {
    color: #666699;
    font-size: 11px;
    margin-top: 6px;
    font-style: italic;
}

.add-playlist-hint {
    margin-top: 12px;
    text-align: center;
    padding: 8px;
    background: rgba(57, 255, 20, 0.05);
    border: 1px dashed var(--neon-green);
    border-radius: 3px;
}

.add-playlist-hint p {
    color: var(--neon-green);
    font-size: 13px;
}

/* ═══════════════════════════════════════
   MY GARAGE SECTION
   ═══════════════════════════════════════ */
.garage-section {
    padding: 15px;
}

.garage-intro {
    text-align: center;
    margin-bottom: 12px;
    font-size: 18px;
    color: var(--neon-yellow);
}

.garage-subtitle {
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--neon-green);
    margin: 20px 0 10px 0;
    text-shadow: 1px 1px 0px #000;
}

.my-car-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.my-car-card {
    width: 60%;
    margin: 0 auto;
}

.my-car-image-container {
    height: 250px;
    overflow: hidden;
}

.my-car-image-container .car-image {
    object-position: center 85%; /* Shifts camera up to reveal the car front */
}

.garage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.car-card {
    background: linear-gradient(180deg, rgba(0, 0, 60, 0.8) 0%, rgba(0, 0, 30, 0.9) 100%);
    border: 2px ridge var(--neon-blue);
    border-radius: 4px;
    padding: 14px 12px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.car-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.car-card:hover::before {
    opacity: 1;
}

.car-card:hover {
    border-color: var(--amber);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.25),
                inset 0 0 15px rgba(255, 170, 0, 0.08);
    transform: translateY(-2px);
}

.car-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.car-brand {
    font-family: var(--font-pixel);
    font-size: 8px;
    color: var(--neon-green);
    letter-spacing: 2px;
    text-shadow: 0 0 6px var(--neon-green);
}

.car-year {
    font-family: var(--font-terminal);
    font-size: 16px;
    color: #666699;
}

.car-name {
    font-family: var(--font-silk);
    font-size: 16px;
    color: var(--neon-cyan);
    margin-bottom: 8px;
    text-shadow: 0 0 5px var(--neon-cyan);
}

.car-image-container {
    width: 100%;
    height: 100px;
    background: #000;
    border: 2px inset #666699;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated;
}

.car-specs {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 10px;
    padding: 10px 0;
    border-top: 1px solid #333366;
    border-bottom: 1px solid #333366;
}

.spec {
    text-align: center;
    flex: 1;
}

.spec-value {
    font-family: var(--font-pixel);
    font-size: 14px;
    color: var(--neon-yellow);
    text-shadow: 0 0 6px var(--neon-yellow);
    line-height: 1;
    margin-bottom: 6px;
}

.spec-label {
    font-family: var(--font-terminal);
    font-size: 13px;
    color: #666699;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.car-tag {
    font-family: var(--font-terminal);
    font-size: 14px;
    color: var(--steel-blue);
    letter-spacing: 1px;
}

.garage-hint {
    margin-top: 12px;
    text-align: center;
    padding: 8px;
    background: rgba(57, 255, 20, 0.05);
    border: 1px dashed var(--neon-green);
    border-radius: 3px;
}

.garage-hint p {
    color: var(--neon-green);
    font-size: 13px;
}

/* ═══════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════ */
.contact-section {
    padding: 15px;
    text-align: center;
}

.contact-section > p {
    margin-bottom: 10px;
    font-size: 18px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.contact-item {
    color: var(--link-color);
    text-decoration: none;
    font-size: 17px;
    padding: 4px 12px;
    border: 1px solid transparent;
    transition: all 0.2s;
    display: inline-block;
}

.contact-item:hover {
    color: var(--amber);
    border-color: var(--amber);
    background: rgba(255, 170, 0, 0.1);
    text-shadow: 0 0 8px var(--amber);
}

/* ═══════════════════════════════════════
   GUESTBOOK SECTION
   ═══════════════════════════════════════ */
.guestbook-section {
    padding: 15px;
}

.guestbook-form {
    margin-bottom: 15px;
    text-align: center;
}

.guestbook-form p {
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--neon-yellow);
}

.retro-input, .retro-textarea {
    width: 100%;
    max-width: 400px;
    padding: 8px 10px;
    margin-bottom: 6px;
    background: #111133;
    color: var(--neon-green);
    border: 2px inset #6666aa;
    font-family: var(--font-terminal);
    font-size: 16px;
    outline: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.retro-input:focus, .retro-textarea:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.retro-textarea {
    resize: vertical;
    min-height: 60px;
}

.retro-button {
    background: linear-gradient(180deg, #444499, #222266);
    color: var(--neon-green);
    font-family: var(--font-pixel);
    font-size: 10px;
    padding: 8px 24px;
    border: 3px outset #6666aa;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
}

.retro-button:hover {
    background: linear-gradient(180deg, #555599, #333377);
    color: var(--neon-yellow);
    text-shadow: 0 0 5px var(--neon-yellow);
}

.retro-button:active {
    border-style: inset;
    transform: translateY(1px);
}

.guestbook-entries {
    border-top: 1px dashed var(--box-border);
    padding-top: 10px;
}

.guest-entry {
    background: rgba(0, 0, 40, 0.5);
    border: 1px solid #333366;
    border-radius: 3px;
    padding: 8px 10px;
    margin-bottom: 6px;
}

.guest-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.guest-name {
    color: var(--neon-cyan);
    font-family: var(--font-silk);
    font-size: 14px;
}

.guest-date {
    color: #666699;
    font-size: 13px;
}

.guest-msg {
    color: var(--text-primary);
    font-size: 15px;
}

/* ═══════════════════════════════════════
   VISITOR COUNTER
   ═══════════════════════════════════════ */
.visitor-counter {
    padding: 10px;
    text-align: center;
}

.counter-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.counter-display {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin: 6px 0;
}

.counter-digit {
    background: #111111;
    color: var(--neon-green);
    font-family: var(--font-pixel);
    font-size: 14px;
    width: 22px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px inset #444444;
    text-shadow: 0 0 5px var(--neon-green);
}

/* ═══════════════════════════════════════
   CLOCK WIDGET
   ═══════════════════════════════════════ */
.clock-widget {
    padding: 10px;
    text-align: center;
}

.clock-time {
    color: var(--neon-green);
    font-family: var(--font-pixel);
    font-size: 14px;
    text-shadow: 0 0 8px var(--neon-green);
    margin-bottom: 4px;
    letter-spacing: 2px;
}

.clock-date {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ═══════════════════════════════════════
   MUSIC WIDGET
   ═══════════════════════════════════════ */
.music-widget {
    padding: 10px;
    text-align: center;
}

.now-playing {
    color: var(--amber);
    font-size: 13px;
    margin-bottom: 4px;
}

.song-name {
    color: var(--neon-cyan);
    font-family: var(--font-silk);
    font-size: 13px;
    margin-bottom: 8px;
    animation: song-scroll 5s ease-in-out infinite;
}

@keyframes song-scroll {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.music-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    margin-bottom: 8px;
}

.bar {
    width: 6px;
    background: var(--neon-green);
    border-radius: 1px 1px 0 0;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.bar1 { height: 10px; }
.bar2 { height: 20px; }
.bar3 { height: 15px; }
.bar4 { height: 25px; }
.bar5 { height: 12px; }
.bar6 { height: 18px; }
.bar7 { height: 8px; }

.music-bars.playing .bar {
    opacity: 1;
    animation: bar-dance 0.8s ease-in-out infinite alternate;
}

.music-bars.playing .bar1 { animation-delay: 0s; }
.music-bars.playing .bar2 { animation-delay: 0.1s; }
.music-bars.playing .bar3 { animation-delay: 0.2s; }
.music-bars.playing .bar4 { animation-delay: 0.3s; }
.music-bars.playing .bar5 { animation-delay: 0.4s; }
.music-bars.playing .bar6 { animation-delay: 0.5s; }
.music-bars.playing .bar7 { animation-delay: 0.6s; }

@keyframes bar-dance {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

.music-play-btn {
    display: block;
    width: 100%;
    background: linear-gradient(180deg, #444499, #222266);
    color: var(--neon-green);
    font-family: var(--font-pixel);
    font-size: 9px;
    padding: 6px 12px;
    border: 2px outset #6666aa;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 1px;
    text-shadow: 0 0 5px var(--neon-green);
}

.music-play-btn:hover {
    background: linear-gradient(180deg, #555599, #333377);
    color: var(--neon-yellow);
    text-shadow: 0 0 5px var(--neon-yellow);
    border-style: inset;
}

.music-play-btn:active {
    transform: translateY(1px);
}

/* ═══════════════════════════════════════
   WEBRING
   ═══════════════════════════════════════ */
.webring {
    padding: 10px;
    text-align: center;
    font-size: 13px;
}

.webring-link {
    color: var(--link-color);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.webring-link:hover {
    color: var(--link-hover);
}

.webring-name {
    display: block;
    color: var(--neon-yellow);
    margin: 4px 0;
    font-family: var(--font-silk);
    font-size: 12px;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.retro-footer {
    background: var(--box-bg);
    border: 2px ridge var(--box-border);
    border-radius: 3px;
    overflow: hidden;
}

.footer-line {
    height: 3px;
    background: linear-gradient(90deg, 
        #0044ff, #00aaff, #00ffff, #00aaff, #0044ff
    );
    background-size: 200% 100%;
    animation: blue-slide 3s linear infinite;
}

.footer-content {
    padding: 15px;
    text-align: center;
}

.footer-content p {
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-made {
    font-size: 12px;
    margin-top: 6px;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 10px 0 8px;
}

.badge {
    background: linear-gradient(180deg, #333399, #191966);
    color: var(--text-primary);
    font-family: var(--font-pixel);
    font-size: 7px;
    padding: 4px 10px;
    border: 2px outset #6666aa;
    letter-spacing: 1px;
}

.badge-cool {
    background: linear-gradient(180deg, #996633, #664400);
    color: var(--neon-yellow);
    animation: twinkle 1.5s ease-in-out infinite alternate;
}

.footer-decoration {
    color: var(--steel-blue);
    letter-spacing: 2px;
    font-size: 14px;
    animation: twinkle 2s ease-in-out infinite alternate;
}

/* ═══════════════════════════════════════
   CURSOR TRAIL
   ═══════════════════════════════════════ */
#cursor-trail {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.trail-star {
    position: fixed;
    pointer-events: none;
    font-size: 14px;
    animation: trail-fade 1s ease-out forwards;
    z-index: 9999;
}

@keyframes trail-fade {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translate(0, 20px) scale(0) rotate(180deg);
    }
}

/* ═══════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════ */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #111133;
    border: 1px solid #333366;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #444499, #222266);
    border: 1px outset #6666aa;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #555599, #333377);
}

/* --- Selection --- */
::selection {
    background: var(--amber);
    color: #000;
}

/* --- Twinkle --- */
@keyframes twinkle {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .left-sidebar, .right-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .premium-title {
        font-size: 18px;
    }

    .about-section {
        flex-direction: column;
        align-items: center;
    }

    .playlist-grid {
        grid-template-columns: 1fr;
    }

    .my-car-card {
        width: 100%;
    }

    .garage-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .left-sidebar, .right-sidebar {
        grid-template-columns: 1fr;
    }

    .premium-title {
        font-size: 14px;
    }

    .content-title {
        font-size: 9px;
    }

    .retro-marquee {
        font-size: 9px;
    }
}
