/* ===========================================
   BASE STYLES
   =========================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #7EC8E8 0%, #7EC8E8 70%, #90EE90 70%, #90EE90 100%);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* ===========================================
   ROAD
   =========================================== */
.road {
    position: absolute;
    bottom: 100px;
    width: 100%;
    height: 150px;
    background: #333;
    overflow: hidden;
}

.road-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 10px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #FFF 40%, transparent 40%);
    background-size: 200px 100%;
    animation: roadMove 2s linear infinite;
    z-index: 2;
}

@keyframes roadMove {
    from { background-position: 0 0; }
    to { background-position: -200px 0; }
}

/* ===========================================
   VEHICLE CONTAINER (shared)
   =========================================== */
.vehicle-container {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 0.5s ease-in-out infinite alternate;
    z-index: 10;
}

@keyframes bounce {
    from { transform: translateX(-50%) translateY(0); }
    to { transform: translateX(-50%) translateY(-5px); }
}

.vehicle {
    display: none;
    position: relative;
}

.vehicle.active {
    display: block;
}

/* ===========================================
   SEMI TRUCK
   =========================================== */
.vehicle-semi {
    width: 500px;
    height: 120px;
}

.vehicle-semi > * {
    position: absolute;
}

/* Semi Cab */
.semi-cab {
    width: 140px;
    height: 120px;
    background: #FF6B6B;
    border-radius: 10px 10px 5px 5px;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.semi-cab:active {
    filter: brightness(1.1);
}

.semi-window {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #4ECDC4;
    border-radius: 5px;
}

.semi-exhaust {
    position: absolute;
    width: 8px;
    height: 60px;
    background: #555;
    bottom: 50px;
    left: -15px;
    border-radius: 4px;
}

.semi-exhaust2 {
    position: absolute;
    width: 8px;
    height: 60px;
    background: #555;
    bottom: 50px;
    left: -25px;
    border-radius: 4px;
}

.semi-mirror {
    position: absolute;
    width: 15px;
    height: 20px;
    background: #333;
    top: 40px;
    left: -10px;
    border-radius: 50% 0 0 50%;
}

.semi-door-line {
    position: absolute;
    width: 2px;
    height: 80px;
    background: #E55555;
    left: 50px;
    top: 20px;
}

.semi-side-step {
    position: absolute;
    width: 30px;
    height: 8px;
    background: #666;
    left: 40px;
    bottom: 5px;
    border-radius: 2px;
}

.semi-headlight {
    position: absolute;
    width: 8px;
    height: 12px;
    background: #ffff99;
    right: -4px;
    border-radius: 2px;
    cursor: pointer;
    z-index: 5;
}

.semi-headlight-top { bottom: 45px; }
.semi-headlight-bottom { bottom: 25px; }

.semi-headlight-beam {
    display: none;
    position: absolute;
    right: -400px;
    bottom: -35px;
    width: 400px;
    height: 100px;
    background: linear-gradient(90deg, rgba(255, 255, 150, 0.6), rgba(255, 255, 150, 0.2) 40%, transparent);
    clip-path: polygon(0 0%, 100% 30%, 100% 100%, 0 50%);
    pointer-events: none;
    z-index: -1;
}

/* Semi Trailer */
.semi-trailer {
    width: 340px;
    height: 120px;
    background: #FFE66D;
    top: 0;
    left: 0;
    border-radius: 5px;
    cursor: pointer;
}

.semi-trailer:active {
    filter: brightness(1.05);
}

.semi-trailer-stripe {
    position: absolute;
    width: 100%;
    height: 20px;
    background: #FF6B6B;
    top: 50%;
    transform: translateY(-50%);
}

.semi-trailer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Arial, sans-serif;
    font-size: 48px;
    font-weight: bold;
    color: #333;
    text-shadow: 2px 2px 0px #FFF;
    letter-spacing: 4px;
    cursor: pointer;
}

.semi-trailer-text:hover {
    color: #555;
}

/* Semi Wheels */
.semi-wheel {
    position: absolute;
    width: 35px;
    height: 35px;
    background: #333;
    border-radius: 50%;
    bottom: -22px;
    border: 5px solid #666;
    animation: wheelRotate 1s linear infinite;
}

.semi-wheel::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes wheelRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.semi-wheel1 { right: 100px; }
.semi-wheel2 { right: 50px; width: 40px; border-width: 6px; }
.semi-wheel3 { right: 10px; width: 40px; border-width: 6px; }
.semi-wheel4 { left: 50px; width: 40px; border-width: 6px; }
.semi-wheel5 { left: 120px; width: 40px; border-width: 6px; }
.semi-wheel6 { left: 190px; width: 40px; border-width: 6px; }
.semi-wheel7 { left: 260px; width: 40px; border-width: 6px; }

/* Semi lights on state */
.vehicle-semi.lights-on .semi-cab {
    box-shadow: 0 0 30px rgba(255, 255, 150, 0.5);
}

.vehicle-semi.lights-on .semi-window {
    background: linear-gradient(180deg, #FFFDE7, #FFE082);
}

.vehicle-semi.lights-on .semi-headlight {
    background: #ffffcc;
    box-shadow: 0 0 10px #ffffaa, 0 0 20px #ffff88;
}

.vehicle-semi.lights-on .semi-headlight-beam {
    display: block;
}

/* ===========================================
   GARBAGE TRUCK
   =========================================== */
.vehicle-garbage {
    width: 400px;
    height: 140px;
}

.vehicle-garbage > * {
    position: absolute;
}

/* Garbage Cab */
.garbage-cab {
    width: 100px;
    height: 110px;
    background: #4CAF50;
    border-radius: 8px 8px 5px 5px;
    right: 0;
    bottom: 10px;
    cursor: pointer;
}

.garbage-cab:active {
    filter: brightness(1.1);
}

.garbage-window {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 50px;
    background: #B2DFDB;
    border-radius: 5px;
}

/* Garbage Body */
.garbage-body {
    width: 280px;
    height: 130px;
    background: #388E3C;
    top: 0;
    left: 0;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    clip-path: polygon(0% 20%, 100% 0%, 100% 100%, 15% 100%, 0% 70%);
}

.garbage-body:active {
    filter: brightness(1.05);
}

.garbage-body-stripe {
    position: absolute;
    width: 100%;
    height: 20px;
    background: #81C784;
    top: 50%;
    transform: translateY(-50%);
}

.garbage-body-text {
    position: absolute;
    top: 40%;
    left: 55%;
    transform: translate(-50%, -50%);
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 0px #2E7D32;
    letter-spacing: 2px;
}

/* Garbage Wheels */
.garbage-wheel {
    position: absolute;
    width: 45px;
    height: 45px;
    background: #333;
    border-radius: 50%;
    bottom: -20px;
    border: 6px solid #666;
    animation: wheelRotate 1s linear infinite;
}

.garbage-wheel::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #999;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.garbage-wheel1 { left: 30px; }
.garbage-wheel2 { left: 100px; }
.garbage-wheel3 { right: 20px; }

/* ===========================================
   CYBERTRUCK
   =========================================== */
.vehicle-cybertruck {
    position: relative;
    width: 20rem;
    height: 9.5rem;
}

.vehicle-cybertruck > * {
    position: absolute;
}

.cybertruck-top {
    z-index: 5;
    top: -4rem;
    left: 0.25rem;
    border-top: 5rem solid transparent;
    border-left: 12rem solid transparent;
    border-right: 8rem solid transparent;
    border-bottom: 4rem solid #FF69B4;
    transform: rotate(3deg);
}

.cybertruck-window {
    position: absolute;
    width: 12rem;
    height: 4rem;
    background: black;
    top: 1rem;
    left: -8rem;
    transform: rotate(-3deg);
    clip-path: polygon(20% 35%, 68% 0, 100% 50%, 20% 50%);
}

.cybertruck-break {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(white, transparent 80%);
    filter: blur(1px);
    opacity: 1;
}

.cybertruck-break-1 {
    width: 1.2rem;
    height: 1.2rem;
    top: 1.75rem;
    left: -2.25rem;
}

.cybertruck-break-2 {
    width: 1rem;
    height: 1rem;
    top: 1.3rem;
    left: -0.25rem;
}

.cybertruck-middle {
    z-index: 4;
    top: 4rem;
    width: 20rem;
    height: 4.5rem;
    border-bottom: 1rem solid #0A0A0A;
    background: #FF69B4;
    clip-path: polygon(0 9%, 100% 33%, 100% 100%, 0% 100%);
}

.cybertruck-wheel {
    z-index: 6;
    width: 6rem;
    height: 5rem;
    background: #0A0A0A;
    clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 0 50%);
}

.cybertruck-wheel-left {
    top: 6rem;
    left: 0.5rem;
}

.cybertruck-wheel-right {
    top: 5.5rem;
    right: 0.5rem;
}

.cybertruck-tire {
    z-index: 7;
    width: 3.25rem;
    height: 3.25rem;
    box-shadow: inset 0px 0px 5px 0 #1a1f24;
    background: #242A30;
    border-radius: 50%;
}

.cybertruck-tire-left {
    top: 6.5rem;
    left: 1.75rem;
}

.cybertruck-tire-right {
    top: 6.5rem;
    right: 1.75rem;
}

/* ===========================================
   SCENE ELEMENTS - CLOUDS
   =========================================== */
.cloud {
    position: absolute;
    background: white;
    border-radius: 100px;
    opacity: 0.8;
    z-index: 2;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 100px;
}

.cloud1 {
    width: 100px;
    height: 40px;
    top: 20%;
    right: -100px;
    animation: cloudMove 60s linear infinite;
}

.cloud1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud1::after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 10px;
}

.cloud2 {
    width: 80px;
    height: 35px;
    top: 10%;
    right: -80px;
    animation: cloudMove 75s linear infinite;
    animation-delay: 15s;
}

.cloud2::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 15px;
}

.cloud2::after {
    width: 50px;
    height: 35px;
    top: -10px;
    right: 15px;
}

.cloud3 {
    width: 90px;
    height: 38px;
    top: 30%;
    right: -90px;
    animation: cloudMove 90s linear infinite;
    animation-delay: 30s;
}

.cloud3::before {
    width: 45px;
    height: 45px;
    top: -22px;
    left: 12px;
}

.cloud3::after {
    width: 55px;
    height: 38px;
    top: -12px;
    right: 12px;
}

@keyframes cloudMove {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100vw - 200px)); }
}

/* ===========================================
   SCENE ELEMENTS - SUN/MOON
   =========================================== */
.sun {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #FFD93D;
    border-radius: 50%;
    top: 50px;
    right: 50px;
    box-shadow: 0 0 50px #FFD93D;
    cursor: pointer;
    z-index: 1;
}

.sun:active {
    transform: scale(0.95);
}

/* ===========================================
   SCENE ELEMENTS - TITLE
   =========================================== */
h1 {
    text-align: center;
    color: #333;
    font-family: Arial, sans-serif;
    margin-top: 20px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* ===========================================
   SCENE ELEMENTS - BIRDS
   =========================================== */
.bird {
    position: absolute;
    font-size: 20px;
    color: #333;
    animation: birdFly 15s linear infinite;
    left: 100%;
    z-index: 5;
}

.bird1 {
    top: 15%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.bird2 {
    top: 25%;
    animation-delay: 3s;
    animation-duration: 20s;
}

.bird3 {
    top: 8%;
    animation-delay: 7s;
    animation-duration: 16s;
}

@keyframes birdFly {
    from {
        left: 100%;
        transform: rotate(-35deg) translateY(0);
    }
    25% {
        transform: rotate(-35deg) translateY(-10px);
    }
    50% {
        transform: rotate(-35deg) translateY(5px);
    }
    75% {
        transform: rotate(-35deg) translateY(-5px);
    }
    to {
        left: -50px;
        transform: rotate(-35deg) translateY(0);
    }
}

/* ===========================================
   SCENE ELEMENTS - UFO
   =========================================== */
.ufo {
    position: absolute;
    font-size: 28px;
    top: 12%;
    left: -50px;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    animation: ufoFly 25s linear infinite;
    animation-delay: 8s;
}

@keyframes ufoFly {
    0% {
        left: -50px;
        top: 12%;
        opacity: 0;
        transform: rotate(0deg);
    }
    5% {
        opacity: 1;
    }
    25% {
        top: 8%;
    }
    50% {
        top: 18%;
        transform: rotate(10deg);
    }
    75% {
        top: 5%;
        transform: rotate(-5deg);
    }
    95% {
        opacity: 1;
    }
    100% {
        left: 110%;
        top: 15%;
        opacity: 0;
        transform: rotate(0deg);
    }
}

/* ===========================================
   SCENE ELEMENTS - TREES
   =========================================== */
.tree {
    position: absolute;
    bottom: 250px;
    width: 60px;
    animation: treeMove 10s linear infinite;
    z-index: 1;
    left: 100%;
}

.tree-trunk {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 40px;
    background: #8B4513;
    border-radius: 2px;
}

.tree-leaves {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #228B22;
}

.tree-leaves::after {
    content: '';
    position: absolute;
    top: 25px;
    left: -25px;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 35px solid #228B22;
}

.tree1 { animation-delay: 0s; }
.tree2 { animation-delay: 2.5s; }
.tree3 { animation-delay: 5s; }
.tree4 { animation-delay: 7.5s; }

@keyframes treeMove {
    from { left: 100%; }
    to { left: -100px; }
}

/* ===========================================
   UI - HONK EFFECT
   =========================================== */
.honk {
    position: absolute;
    font-size: 3em;
    font-weight: bold;
    color: #FF6B6B;
    animation: honkAnimation 1s ease-out forwards;
    pointer-events: none;
    z-index: 40;
}

@keyframes honkAnimation {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg) translateY(-100px);
        opacity: 0;
    }
}

/* ===========================================
   UI - INSTRUCTIONS
   =========================================== */
.instructions {
    position: absolute;
    left: 30px;
    top: 80px;
    padding: 26px 30px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(255, 223, 138, 0.95));
    border-radius: 36px;
    border: 4px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.18);
    color: #4d2f13;
    font-family: 'Baloo 2', 'Comic Sans MS', sans-serif;
    z-index: 20;
    max-width: 320px;
}

.instructions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.instructions-title {
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #d45a00;
}

.instructions-toggle {
    background: none;
    border: none;
    font-size: 1em;
    color: #d45a00;
    cursor: pointer;
    padding: 0 4px;
    transition: transform 0.3s ease;
}

.instructions.collapsed .instructions-toggle {
    transform: rotate(-90deg);
}

.instructions-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    max-height: 500px;
    opacity: 1;
    margin-top: 14px;
}

.instructions.collapsed .instructions-content {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.instructions-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.4em;
    font-weight: 600;
}

.instructions-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffe082, #ffca28);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.6), inset 0 -6px 10px rgba(214, 140, 0, 0.35);
    font-size: 1.8em;
}

.instructions-text {
    flex: 1;
    line-height: 1.1;
}

/* Show/hide based on device type */
.touch-only {
    display: none;
}

@media (hover: none) and (pointer: coarse) {
    .desktop-only {
        display: none;
    }
    .touch-only {
        display: inline;
    }
}

/* ===========================================
   UI - VEHICLE SELECTOR
   =========================================== */
.vehicle-selector {
    position: absolute;
    right: 30px;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
}

.vehicle-option {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.8);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 223, 138, 0.9));
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vehicle-option:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.vehicle-option:active {
    transform: scale(0.95);
}

.vehicle-option.active {
    border-color: #ffca28;
    box-shadow: 0 0 0 3px rgba(255, 202, 40, 0.5), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vehicle-icon {
    line-height: 1;
}

/* ===========================================
   UI - MODAL
   =========================================== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(255, 223, 138, 0.95));
    border-radius: 24px;
    padding: 24px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-family: 'Baloo 2', 'Comic Sans MS', sans-serif;
    max-width: 320px;
    width: 90%;
}

.modal-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #4d2f13;
    margin-bottom: 16px;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    border: 3px solid #ffca28;
    border-radius: 12px;
    outline: none;
    font-family: Arial, sans-serif;
    letter-spacing: 2px;
    box-sizing: border-box;
}

.modal-input:focus {
    border-color: #d45a00;
}

.modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
}

.modal-btn {
    padding: 10px 24px;
    font-size: 1.1em;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Baloo 2', 'Comic Sans MS', sans-serif;
    transition: transform 0.1s, box-shadow 0.1s;
}

.modal-btn:active {
    transform: scale(0.95);
}

.modal-btn-cancel {
    background: #ccc;
    color: #555;
}

.modal-btn-ok {
    background: linear-gradient(145deg, #ffe082, #ffca28);
    color: #4d2f13;
    box-shadow: 0 4px 12px rgba(255, 202, 40, 0.4);
}

.modal-btn-ok:hover {
    box-shadow: 0 6px 16px rgba(255, 202, 40, 0.5);
}

/* ===========================================
   NIGHT MODE
   =========================================== */
body.night-mode {
    background: linear-gradient(to bottom, #1a1a2e 0%, #1a1a2e 70%, #2d4a3e 70%, #2d4a3e 100%);
}

/* Stars */
.stars {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    pointer-events: none;
}

body.night-mode .stars {
    display: block;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
}

.star:nth-child(odd) {
    animation-duration: 1.5s;
}

.star:nth-child(3n) {
    animation-duration: 2.5s;
    animation-delay: 0.5s;
}

.star:nth-child(4n) {
    width: 2px;
    height: 2px;
}

.star:nth-child(5n) {
    width: 4px;
    height: 4px;
}

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

body.night-mode .sun {
    background: #f0f0f0;
    box-shadow: 0 0 30px #f0f0f0, 0 0 60px rgba(240, 240, 240, 0.3);
}

body.night-mode .sun .crater {
    position: absolute;
    background: rgba(150, 150, 150, 0.3);
    border-radius: 50%;
}

body.night-mode .sun .crater1 {
    top: 12px;
    right: 15px;
    width: 14px;
    height: 14px;
}

body.night-mode .sun .crater2 {
    bottom: 18px;
    left: 20px;
    width: 18px;
    height: 18px;
}

body.night-mode .sun .crater3 {
    top: 35px;
    left: 12px;
    width: 10px;
    height: 10px;
}

body.night-mode .sun .crater4 {
    bottom: 25px;
    right: 22px;
    width: 8px;
    height: 8px;
}

body.night-mode .sun .crater5 {
    top: 20px;
    left: 30px;
    width: 12px;
    height: 12px;
}

body.night-mode h1 {
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

body.night-mode .cloud {
    background: #3a3a5a;
    opacity: 0.5;
}

body.night-mode .cloud::before,
body.night-mode .cloud::after {
    background: #3a3a5a;
}

/* Day/night flyers */
.night-flyer {
    display: none;
}

.ufo .day-flyer {
    display: inline-block;
    transform: rotate(-45deg);
}

body.night-mode .day-flyer {
    display: none;
}

body.night-mode .night-flyer {
    display: inline;
}

body.night-mode .tree-leaves {
    border-bottom-color: #1a3a2a;
}

body.night-mode .tree-leaves::after {
    border-bottom-color: #1a3a2a;
}

body.night-mode .instructions {
    background: linear-gradient(150deg, rgba(40, 40, 60, 0.94), rgba(60, 50, 40, 0.95));
    color: #e0d0c0;
}

body.night-mode .instructions-title {
    color: #ffbf70;
}

body.night-mode .vehicle-option {
    background: linear-gradient(145deg, rgba(60, 60, 80, 0.95), rgba(80, 70, 60, 0.95));
    border-color: rgba(200, 200, 200, 0.4);
}

body.night-mode .vehicle-option.active {
    border-color: #ffaa44;
    box-shadow: 0 0 0 3px rgba(255, 170, 68, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 600px) {
    h1 {
        font-size: 1.4em;
        margin-top: 10px;
    }

    .instructions {
        left: 50%;
        top: 60px;
        transform: translateX(-50%);
        max-width: 85vw;
        padding: 16px 20px;
        border-radius: 24px;
    }

    .instructions-item {
        font-size: 1.1em;
        gap: 10px;
    }

    .instructions-icon {
        width: 40px;
        height: 40px;
        font-size: 1.4em;
    }

    .vehicle-container {
        transform: translateX(-50%) scale(0.6);
        bottom: 180px;
    }

    @keyframes bounce {
        from { transform: translateX(-50%) scale(0.6) translateY(0); }
        to { transform: translateX(-50%) scale(0.6) translateY(-5px); }
    }

    .road {
        height: 100px;
        bottom: 160px;
    }

    .tree {
        bottom: 260px;
        transform: scale(0.7);
    }

    .sun {
        width: 50px;
        height: 50px;
        top: 30px;
        right: 20px;
    }

    .vehicle-selector {
        right: 15px;
        top: auto;
        bottom: 20px;
        flex-direction: row;
        gap: 10px;
    }

    .vehicle-option {
        width: 52px;
        height: 52px;
        font-size: 1.6em;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 1.1em;
    }

    .instructions {
        top: 50px;
        padding: 12px 16px;
    }

    .instructions-item {
        font-size: 1em;
        gap: 8px;
    }

    .instructions-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2em;
    }

    .vehicle-container {
        transform: translateX(-50%) scale(0.45);
        bottom: 150px;
    }

    @keyframes bounce {
        from { transform: translateX(-50%) scale(0.45) translateY(0); }
        to { transform: translateX(-50%) scale(0.45) translateY(-5px); }
    }

    .road {
        height: 80px;
        bottom: 135px;
    }

    .tree {
        bottom: 215px;
        transform: scale(0.5);
    }

    .sun {
        width: 40px;
        height: 40px;
        top: 20px;
        right: 15px;
    }

    .vehicle-selector {
        right: 10px;
        bottom: 15px;
        gap: 8px;
    }

    .vehicle-option {
        width: 44px;
        height: 44px;
        font-size: 1.4em;
        border-width: 3px;
    }
}
