:root { 
    --pipe-color: #2ecc71; 
    --bg-color: #4facfe; 
    --accent: #fff; 
}

body { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
    margin: 0; 
    background: #0a0a0a; 
    font-family: 'Segoe UI', sans-serif; 
    color: white; 
    overflow: hidden; 
}

/* --- Game World --- */
#game-container { 
    position: relative; 
    width: 400px; 
    height: 600px; 
    background-color: var(--bg-color); 
    border: 4px solid var(--accent); 
    overflow: hidden; 
    transition: all 0.5s ease;
    background-size: cover;
    background-position: center;
}

#player { 
    position: absolute; 
    width: 45px; 
    height: 45px; 
    left: 50px; 
    top: 250px; 
    z-index: 100; 
    transition: transform 0.1s;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.pipe { 
    position: absolute; 
    width: 70px; 
    background: var(--pipe-color); 
    border: 3px solid #333; 
}

/* --- Themes --- */
/* Taco Update: Image Background & Colors */
.taco-theme { 
    --pipe-color: #f1c40f; 
    --accent: #ffffff; 
    background-image: url('taco.webp') !important; 
}

.landon-theme { --pipe-color: #000; --bg-color: #0d1df0; --accent: #000; }
.stephen-theme { --pipe-color: #0ff; --bg-color: #0d1df0; --accent: #1e90ff; }

/* --- Skins --- */
.skin-penguin { background-image: url('download-removebg-preview.png'); }
.skin-bat     { background-image: url('download__1_-removebg-preview.png'); }
.skin-fish    { background-image: url('download-removebg-preview (1).png'); }
.skin-dragon  { background-image: url('cute-cartoon-dragon-flying-icon-vector-illustration_1041162-386-removebg-preview.png'); }
.skin-owl     { background-image: url('images-removebg-preview.png'); }
.skin-taco    { background-image: url('download__2_-removebg-preview.png'); }

/* --- UI / Menus --- */
#hud { 
    position: absolute; top: 10px; left: 10px; z-index: 200; 
    font-size: 20px; font-weight: bold; text-shadow: 2px 2px #000; 
}

.menu { 
    position: absolute; inset: 0; background: rgba(0,0,0,0.85); 
    display: flex; flex-direction: column; align-items: center; 
    justify-content: center; z-index: 500; padding: 20px; text-align: center;
}

.diff-selector { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; justify-content: center; }

.diff-btn { 
    padding: 8px 12px; background: #333; cursor: pointer; border-radius: 5px; font-size: 14px; 
}

.diff-btn.selected { background: var(--pipe-color); color: black; font-weight: bold; }

.secret-btn { display: none; background: #ff4757; } /* Hidden until unlocked */

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

.skin-card { 
    background: #222; padding: 10px; border-radius: 8px; cursor: pointer; border: 2px solid transparent; 
}

.skin-card.active { border-color: #f1c40f; background: #333; }

.main-btn { 
    padding: 15px 40px; font-size: 20px; background: #2ecc71; border: none; 
    color: white; font-weight: bold; cursor: pointer; border-radius: 8px; 
}

/* --- Landing Page Overlay --- */
#landing-overlay {
    position: fixed; inset: 0;
    background: radial-gradient(circle, #1a1a2e 0%, #16213e 100%);
    display: flex; justify-content: center; align-items: center;
    z-index: 10000; text-align: center;
}

.overlay-card {
    background: rgba(255, 255, 255, 0.05); padding: 50px;
    border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px); max-width: 500px;
}

.gate-btn {
    margin-top: 20px; padding: 15px 30px; font-size: 18px;
    background: #4facfe; border: none; color: white;
    cursor: pointer; border-radius: 50px; font-weight: bold;
}