/* 90s/00s Retro Theme - 30th Birthday Party */

:root {
    /* Windows 98/2000 inspired colors */
    --bg-primary: #008080;          /* Teal - classic Windows */
    --bg-secondary: #c0c0c0;        /* Silver - window background */
    --bg-window: #ffffff;
    --border-light: #dfdfdf;
    --border-dark: #808080;
    --border-darker: #404040;
    --text-primary: #000000;
    --text-secondary: #000080;      /* Navy blue links */
    --text-link: #0000ff;
    --text-visited: #800080;
    --accent: #000080;              /* Navy accent */
    --button-face: #c0c0c0;
    --highlight: #ffff00;           /* Yellow highlight */

    /* Fonts */
    --font-system: 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
    --font-mono: 'Courier New', monospace;

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
}

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

/* Base */
html {
    font-size: 16px;
}

body {
    font-family: var(--font-system);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.4;
}

/* Classic Windows-style window container */
.window {
    background: var(--bg-secondary);
    border: 2px solid;
    border-color: var(--border-light) var(--border-darker) var(--border-darker) var(--border-light);
    margin: var(--spacing-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.window-title {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-title-buttons {
    display: flex;
    gap: 2px;
}

.window-btn {
    width: 16px;
    height: 14px;
    background: var(--button-face);
    border: 1px solid;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.window-content {
    background: var(--bg-window);
    padding: var(--spacing-md);
}

/* Typography */
h1, h2, h3 {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.2rem;
    border-bottom: 2px solid var(--accent);
    padding-bottom: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--text-link);
}

a:visited {
    color: var(--text-visited);
}

a:hover {
    color: var(--text-link);
    text-decoration: underline;
}

/* Classic button style */
.btn {
    display: inline-block;
    background: var(--button-face);
    border: 2px solid;
    border-color: var(--border-light) var(--border-darker) var(--border-darker) var(--border-light);
    padding: var(--spacing-xs) var(--spacing-md);
    font-family: var(--font-system);
    font-size: 14px;
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
}

.btn:hover {
    background: #d4d4d4;
}

.btn:active {
    border-color: var(--border-darker) var(--border-light) var(--border-light) var(--border-darker);
}

/* Retro icon buttons (for nav) */
.icon-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    padding: var(--spacing-sm);
    min-width: 80px;
}

.icon-link:hover {
    background: rgba(0, 0, 128, 0.1);
}

.icon-link img,
.icon-link .icon-placeholder {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-xs);
}

.icon-placeholder {
    background: var(--button-face);
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Retro program-style icons */

/* Total Commander style - blue two-panel */
.icon-tc {
    background: linear-gradient(180deg, #000080 0%, #0000aa 100%);
    border: 1px solid #000066;
    position: relative;
    overflow: hidden;
}

.icon-tc::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 26px;
    bottom: 4px;
    background: #00ffff;
    border: 1px solid #008080;
}

.icon-tc::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 26px;
    right: 4px;
    bottom: 4px;
    background: #00ffff;
    border: 1px solid #008080;
}

/* Alcohol120 style - CD disc */
.icon-disc {
    background: radial-gradient(circle, #e0e0e0 20%, #c0c0c0 40%, #a0a0a0 60%, #808080 80%);
    border: 2px solid #606060;
    border-radius: 50%;
    position: relative;
}

.icon-disc::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #404040;
    border-radius: 50%;
    border: 2px solid #303030;
}

.icon-disc::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
}

/* uTorrent style - green arrow */
.icon-torrent {
    background: linear-gradient(180deg, #8bc34a 0%, #4caf50 100%);
    border: 1px solid #2e7d32;
    border-radius: 4px;
    position: relative;
}

.icon-torrent::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid white;
}

.icon-torrent::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 12px;
    background: white;
}

/* Winamp style - orange/yellow EQ */
.icon-winamp {
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid #444;
    position: relative;
    overflow: hidden;
}

.icon-winamp::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 6px;
    width: 6px;
    height: 20px;
    background: linear-gradient(180deg, #00ff00 0%, #ffff00 50%, #ff6600 100%);
    box-shadow: 10px 0 0 #00ff00, 10px 6px 0 transparent,
                20px 0 0 #ffff00, 20px 10px 0 transparent,
                30px 0 0 #00ff00, 30px 4px 0 transparent;
}

.icon-winamp::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 16px;
    width: 6px;
    height: 28px;
    background: linear-gradient(180deg, #00ff00 0%, #ffff00 50%, #ff6600 100%);
}

/* Smaller icon variant */
.icon-small {
    width: 40px !important;
    height: 40px !important;
}

.icon-link span {
    font-size: 12px;
    text-align: center;
}

/* Navigation grid */
.nav-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) 0;
}

/* Section styling */
.section {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-dark);
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Welcome message */
.welcome-message {
    background: #ffffcc;
    border: 1px solid #cccc00;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

/* Schedule/Timetable */
.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-xs) 0;
    border-bottom: 1px dotted var(--border-dark);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-time {
    font-weight: bold;
    font-family: var(--font-mono);
}

/* Winamp-style player */
.winamp-player {
    background: #232323;
    color: #00ff00;
    font-family: var(--font-mono);
    padding: var(--spacing-sm);
    font-size: 12px;
    border: 2px inset #444;
}

.winamp-title {
    color: #00ff00;
    margin-bottom: var(--spacing-xs);
    overflow: hidden;
    white-space: nowrap;
}

.winamp-marquee {
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Total Commander style (for menu) */
.tc-window {
    background: #000080;
    color: #00ffff;
    font-family: var(--font-mono);
    font-size: 14px;
}

.tc-header {
    background: #00ffff;
    color: #000080;
    padding: 2px var(--spacing-sm);
    font-weight: bold;
}

.tc-list {
    list-style: none;
    padding: var(--spacing-xs);
}

.tc-item {
    padding: 2px var(--spacing-sm);
    display: flex;
    justify-content: space-between;
}

.tc-item:hover {
    background: #00ffff;
    color: #000080;
}

.tc-item-name {
    flex: 1;
}

.tc-item-size {
    text-align: right;
    min-width: 80px;
}

/* Hidden content (for reveals) */
.hidden {
    display: none !important;
}

.revealed {
    display: block !important;
}

/* Bar prices (blur until revealed) */
.price-hidden {
    filter: blur(8px);
    user-select: none;
}

.price-revealed {
    filter: none;
}

/* Footer */
.footer {
    text-align: center;
    padding: var(--spacing-md);
    font-size: 12px;
    color: var(--border-dark);
}

.footer a {
    color: var(--border-dark);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Session info (RPG style) */
.session-info {
    font-family: var(--font-mono);
    background: #000;
    color: #0f0;
    padding: 2px 8px;
    display: inline-block;
    font-size: 12px;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .window {
        margin: var(--spacing-sm);
    }

    .window-content {
        padding: var(--spacing-sm);
    }

    .nav-grid {
        gap: var(--spacing-xs);
    }

    .icon-link {
        min-width: 70px;
        padding: var(--spacing-xs);
    }

    .icon-link img,
    .icon-link .icon-placeholder {
        width: 40px;
        height: 40px;
    }
}

/* Pre-reveal state - coming soon */
.coming-soon {
    text-align: center;
    padding: var(--spacing-xl);
}

.coming-soon h1 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

/* Under construction GIF placeholder */
.under-construction {
    max-width: 200px;
    margin: var(--spacing-md) auto;
}

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

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

/* Two-column nav grid */
.nav-grid-2 {
    justify-content: center;
    gap: var(--spacing-lg);
}

/* Attractions list */
.attractions-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.attraction-card {
    background: linear-gradient(135deg, #e8e8e8, #f8f8f8);
    border: 2px solid;
    border-color: var(--border-light) var(--border-darker) var(--border-darker) var(--border-light);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.attraction-card:hover {
    background: linear-gradient(135deg, #f0f0f0, #ffffff);
}

.attraction-icon {
    font-size: 20px;
}

.attraction-text {
    font-size: 12px;
    font-weight: bold;
    color: var(--accent);
}

.attraction-highlight {
    background: linear-gradient(135deg, #fffacd, #fff8dc);
    border-color: #ffd700 #b8860b #b8860b #ffd700;
}

.attraction-highlight .attraction-text {
    color: #8b4513;
}

/* Photo upload section */
.photo-upload-box {
    background: #f0f8ff;
    border: 2px dashed #4169e1;
    padding: var(--spacing-md);
    text-align: center;
}

.photo-upload-box p {
    margin-bottom: var(--spacing-md);
    color: #333;
}

/* Footer link styling */
.footer-link {
    display: inline-block;
    background: var(--button-face);
    border: 2px solid;
    border-color: var(--border-light) var(--border-darker) var(--border-darker) var(--border-light);
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: 12px;
    color: var(--text-primary) !important;
    text-decoration: none;
}

.footer-link:hover {
    background: #d4d4d4;
    text-decoration: none !important;
}

/* Now Playing Box - Classic CD Player style */
.now-playing-box {
    background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
    border: 2px inset #444;
    padding: 12px;
    color: #00ff00;
    font-family: var(--font-mono);
}

.now-playing-content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    font-size: 12px;
}

.now-playing-content a {
    color: inherit;
    text-decoration: none;
}

.now-playing-content a:hover {
    text-decoration: underline;
}

/* Animated equalizer bars */
.now-playing-indicator {
    display: flex;
    gap: 3px;
    height: 20px;
    align-items: flex-end;
    justify-content: center;
    margin: 8px 0;
}

.eq-bar {
    width: 4px;
    background: linear-gradient(to top, #00ff00, #ffff00, #ff6600);
    animation: eq-bounce 0.5s ease-in-out infinite;
}

@keyframes eq-bounce {
    0%, 100% { height: 4px; }
    50% { height: 20px; }
}

.now-playing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #333;
}

.spotify-link {
    color: #1DB954;
    text-decoration: none;
}

.spotify-link:hover {
    text-decoration: underline;
    color: #1ed760;
}

.contributors {
    color: #888;
}

