body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 100%);
    position: relative;
    height: 100vh;
}

/* Clouds */
.cloud {
    position: absolute;
    background: white;
    border-radius: 100px;
    opacity: 0.7;
    animation: floatCloud linear infinite;
    overflow: hidden;
}

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

.cloud-1 {
    width: 100px;
    height: 40px;
    top: 20%;
    left: -100px;
    animation-duration: 25s;
}

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

.cloud-1::after {
    width: 60px;
    height: 40px;
    top: -20px;
    right: 10px;
}

.cloud-2 {
    width: 120px;
    height: 45px;
    top: 40%;
    left: -120px;
    animation-duration: 30s;
    animation-delay: 5s;
}

.cloud-2::before {
    width: 55px;
    height: 55px;
    top: -28px;
    left: 15px;
}

.cloud-2::after {
    width: 65px;
    height: 45px;
    top: -22px;
    right: 15px;
}

.cloud-3 {
    width: 90px;
    height: 35px;
    top: 60%;
    left: -90px;
    animation-duration: 28s;
    animation-delay: 10s;
}

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

.cloud-3::after {
    width: 50px;
    height: 35px;
    top: -18px;
    right: 12px;
}

@keyframes floatCloud {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(100vw + 200px));
    }
}

/* Game Header */
.game-header {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.game-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-stats {
    display: flex;
    gap: 25px;
    align-items: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 800;
}

.stat-item i {
    font-size: 1.4rem;
}

.stat-item.score {
    color: #DBAD2B;
}

.stat-item.timer {
    color: #3B82F6;
}

.stat-item.level {
    color: #10B981;
}

.game-controls {
    display: flex;
    gap: 10px;
}

.btn-control {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-pause {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.btn-pause:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.btn-back {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-back:hover {
    border-color: #DBAD2B;
    color: #DBAD2B;
}

/* Game Area */
.game-area {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

/* Balloon */
.balloon {
    position: absolute;
    cursor: pointer;
    transition: transform 0.1s ease;
    user-select: none;
    animation: floatUp linear;
}

.balloon:hover {
    transform: scale(1.1);
}

.balloon-body {
    width: 80px;
    height: 100px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: inset -10px -10px 20px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.2);
}

.balloon-string {
    position: absolute;
    bottom: -40px;
    left: 50%;
    width: 2px;
    height: 40px;
    background: #64748b;
    transform-origin: top;
    animation: swingString 2s ease-in-out infinite;
}

@keyframes swingString {

    0%,
    100% {
        transform: translateX(-50%) rotate(-5deg);
    }

    50% {
        transform: translateX(-50%) rotate(5deg);
    }
}

@keyframes floatUp {
    from {
        bottom: -150px;
        opacity: 1;
    }

    to {
        bottom: 100vh;
        opacity: 0;
    }
}

/* Balloon Colors */
.balloon-red .balloon-body {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

.balloon-blue .balloon-body {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
}

.balloon-green .balloon-body {
    background: linear-gradient(135deg, #10B981, #059669);
}

.balloon-yellow .balloon-body {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.balloon-purple .balloon-body {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
}

.balloon-pink .balloon-body {
    background: linear-gradient(135deg, #EC4899, #DB2777);
}

.balloon-gold .balloon-body {
    background: linear-gradient(135deg, #DBAD2B, #F5D876);
    animation: goldPulse 1s ease-in-out infinite;
}

@keyframes goldPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(219, 173, 43, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(219, 173, 43, 0.8);
    }
}

/* Pop Animation */
@keyframes popEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.pop-particle {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFly 0.6s ease-out forwards;
}

@keyframes particleFly {
    to {
        transform: translate(var(--tx), var(--ty)) scale(0);
        opacity: 0;
    }
}

/* Start Screen */
.start-screen,
.game-over-screen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    overflow: hidden;
    max-width: 100%;
}

.start-content,
.game-over-content {
    background: white;
    border-radius: 40px;
    padding: 10px 25px;
    text-align: center;
    max-width: 600px;
    width: 90%;
    animation: zoomIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.start-icon {
    font-size: 5rem;
    margin-bottom: 0px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.start-content h1,
.game-over-content h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: #1e293b;
}

.start-content p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.8;
}

.difficulty-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn-difficulty {
    padding: 20px 40px;
    border: 3px solid transparent;
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.btn-easy {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.btn-medium {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.btn-hard {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

.btn-difficulty:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-start {
    background: linear-gradient(135deg, #DBAD2B, #F5D876);
    color: white;
    padding: 12px 50px;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(219, 173, 43, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.btn-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(219, 173, 43, 0.4);
}

/* Game Over */
.game-over-content {
    padding: 50px 40px;
}

.final-score {
    font-size: 2rem;
    font-weight: 900;
    color: #DBAD2B;
    margin: 20px 0;
}

.game-over-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: linear-gradient(135deg, rgba(219, 173, 43, 0.1), rgba(245, 216, 118, 0.1));
    padding: 20px;
    border-radius: 20px;
    border: 2px solid rgba(219, 173, 43, 0.2);
}

.stat-box-label {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 8px;
}

.stat-box-value {
    font-size: 2rem;
    font-weight: 900;
    color: #1e293b;
}

.game-over-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-restart,
.btn-menu {
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-restart {
    background: linear-gradient(135deg, #DBAD2B, #F5D876);
    color: white;
}

.btn-menu {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-restart:hover,
.btn-menu:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .game-title {
        font-size: .8rem;
    }

    .game-stats {
        gap: 5px;
    }

    .stat-item {
        font-size: .6rem;
    }

    .start-content h1 {
        font-size: 1.6rem;
    }

    .balloon-body {
        width: 60px;
        height: 75px;
    }

    .final-score {
        font-size: 3.5rem;
    }

    .game-over-stats {
        grid-template-columns: 1fr 1fr;
    }
}


@media(max-width:991px) {
    .start-content, .game-over-content {
        padding: 20px 10px;
    }

    .btn-difficulty {
        font-size: 1rem;
        padding: 5px 0px;
    }

    .btn-start {
        font-size: 1rem;

        padding: 10px 41px;
    }

    .game-header {
        top: 80px;
        padding: 2px 0px;
        flex-wrap: nowrap;
    }

    .btn-control {
        padding: 0px 8px;
        font-weight: 800;
        font-size: .8rem;
    }

    .stat-item i {
        font-size: 1rem;
    }
    .game-header{
        justify-content: flex-start;
    }
    .stat-box{
        padding: 10px;
    }
    .final-score{
        font-size: 1.5rem;
        margin: 0;
    }
    .stat-box-value{
        font-size: 1rem;
    }
    .btn-restart, .btn-menu {
    padding: 10px 23px;
    font-size: 1rem;
    gap: 2px;
}
.game-over-content h1 {
    font-size: 1rem;
}
.stat-box-label{
    font-size: 13px;
}
}
