/* Y2K room vibes */
body {
    background: url('https://kennababy123.neocities.org/cute/pinkroom.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="20" font-size="20">✦</text></svg>'), auto;
}

.y2k-room {
    max-width: 1000px;
    margin: 0 auto;
}

/* Tiny floating header */
header {
    text-align: center;
    margin-bottom: 15px;
}

h1 {
    color: #ff006e;
    font-size: 1.4em;
    text-shadow: 2px 2px 0px #fff, 3px 3px 0px #00bbf9;
    margin: 0;
    display: inline;
}

header p {
    color: #ff006e;
    font-size: 0.75em;
    margin: 5px 0 0 0;
    opacity: 0.8;
}

/* The room box */
.room-scene {
    width: 100%;
    height: 600px;
    border: 5px solid #ff006e;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

/* Fairy lights */
.fairy-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    z-index: 30;
    pointer-events: none;
}

.light-bulb {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: twinkle 1.5s infinite alternate;
}

.light-bulb:nth-child(1) { left: 5%; top: 15px; background: #ff9a9e; animation-delay: 0s; }
.light-bulb:nth-child(2) { left: 15%; top: 25px; background: #00bbf9; animation-delay: 0.2s; }
.light-bulb:nth-child(3) { left: 25%; top: 10px; background: #fee440; animation-delay: 0.4s; }
.light-bulb:nth-child(4) { left: 35%; top: 30px; background: #caffbf; animation-delay: 0.1s; }
.light-bulb:nth-child(5) { left: 45%; top: 15px; background: #ff006e; animation-delay: 0.6s; }
.light-bulb:nth-child(6) { left: 55%; top: 25px; background: #9d4edd; animation-delay: 0.3s; }
.light-bulb:nth-child(7) { left: 65%; top: 10px; background: #ff9a9e; animation-delay: 0.5s; }
.light-bulb:nth-child(8) { left: 75%; top: 30px; background: #00bbf9; animation-delay: 0.7s; }
.light-bulb:nth-child(9) { left: 85%; top: 15px; background: #fee440; animation-delay: 0.2s; }
.light-bulb:nth-child(10) { left: 95%; top: 25px; background: #caffbf; animation-delay: 0.4s; }

@keyframes twinkle {
    0% { opacity: 0.4; transform: scale(0.8); box-shadow: 0 0 5px currentColor; }
    100% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 15px currentColor, 0 0 25px currentColor; }
}

/* Light string line */
.fairy-lights::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        #dcb4c8 8px,
        #dcb4c8 10px
    );
    opacity: 0.6;
}

/* Decorative room items (bed, lamp) - no links */
.room-item {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    transition: transform 0.3s;
}

.room-item img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* Bed positioning - bottom left */
.bed {
    bottom: 5%;
    left: 5%;
    width: 280px;
}

/* Lamp positioning - near the bed or corner */
.lamp {
    bottom: 15%;
    left: 35%;
    width: 120px;
}

/* Hotspot base */
.hotspot {
    position: absolute;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    z-index: 10;
}

.hotspot:hover {
    transform: scale(1.1);
    z-index: 20;
}

/* TV image container */
.tv-image {
    position: absolute;
    width: 180px;
    pointer-events: none;
    z-index: 5;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.tv-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* DVD player image container */
.dvd-image {
    position: absolute;
    width: 100px;
    pointer-events: none;
    z-index: 5;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.dvd-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* The glowing dot/icon */
.hotspot-glow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, #ff006e 70%);
    box-shadow: 0 0 20px #ff006e, 0 0 40px #ff006e;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotspot-glow::after {
    content: '✦';
    color: #fff;
    font-size: 24px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Label that appears on hover */
.label {
    background: #fff;
    color: #ff006e;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s;
    border: 2px solid #ff006e;
    box-shadow: 2px 2px 0px #00bbf9;
    pointer-events: none;
}

.hotspot:hover .label {
    opacity: 1;
    transform: translateY(0);
}

/* Positioning - adjust these to move items around! */
.computer { top: 30%; left: 10%; }
.tv { top: 38%; right: 8%; width: 200px; height: 200px; }
.dvd-player { bottom: 30%; right: 15%; width: 120px; height: 120px; }
.crafts { bottom: 25%; left: 20%; }
.wall { top: 15%; left: 40%; }
.phone { bottom: 20%; right: 25%; }

/* Different colors for each hotspot */
.computer .hotspot-glow { background: radial-gradient(circle, #fff 0%, #00bbf9 70%); box-shadow: 0 0 20px #00bbf9, 0 0 40px #00bbf9; }
.tv .hotspot-glow { background: radial-gradient(circle, #fff 0%, #9d4edd 70%); box-shadow: 0 0 20px #9d4edd, 0 0 40px #9d4edd; }
.dvd-player .hotspot-glow { background: radial-gradient(circle, #fff 0%, #ff9a9e 70%); box-shadow: 0 0 20px #ff9a9e, 0 0 40px #ff9a9e; }
.crafts .hotspot-glow { background: radial-gradient(circle, #fff 0%, #caffbf 70%); box-shadow: 0 0 20px #caffbf, 0 0 40px #caffbf; }
.wall .hotspot-glow { background: radial-gradient(circle, #fff 0%, #ff006e 70%); }
.phone .hotspot-glow { background: radial-gradient(circle, #fff 0%, #ff9a9e 70%); box-shadow: 0 0 20px #ff9a9e, 0 0 40px #ff9a9e; }

/* Music player */
.music-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid #ff006e;
    border-radius: 15px;
    padding: 12px 15px;
    box-shadow: 3px 3px 0px #00bbf9;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8em;
}

.music-player .note {
    font-size: 1.5em;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.music-player audio {
    width: 180px;
    height: 30px;
}

.music-player audio::-webkit-media-controls-panel {
    background: #fff;
}

footer {
    text-align: center;
    margin-top: 15px;
    color: #ff006e;
    font-weight: bold;
    text-shadow: 1px 1px 0px #fff;
    font-size: 0.85em;
}

/* Sparkle trail particles */
.sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 14px;
    animation: sparkleFade 0.8s forwards;
}

@keyframes sparkleFade {
    0% { opacity: 1; transform: scale(1) rotate(0deg); }
    100% { opacity: 0; transform: scale(0) rotate(180deg) translateY(-20px); }
}

/* Mobile: stack instead of room */
@media (max-width: 600px) {
    body {
        background-attachment: scroll;
        cursor: auto;
    }
    
    .room-scene {
        height: auto;
        min-height: 600px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 50px 20px 40px;
    }
    
    .hotspot {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: auto !important;
        height: auto !important;
    }
    
    .room-item {
        display: none;
    }
    
    .tv-image {
        display: none;
    }
    
    .dvd-image {
        display: none;
    }
    
    .fairy-lights {
        display: none;
    }
    
    .music-player {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 15px auto;
        width: fit-content;
    }
}