/* =========================================================
   CUGINIPARTY - SCOPPIA I PALLONCINI
========================================================= */


/* =========================================================
   START
========================================================= */

.balloons-page {
    overflow-x: hidden;
}

.balloons-start-screen {
    width: 100%;
    max-width: 950px;

    margin: 0 auto;
    padding: 25px 20px;

    text-align: center;
}


/* =========================================================
   HERO
========================================================= */

.balloons-hero {
    position: relative;

    width: 250px;
    height: 115px;

    margin: 0 auto 18px;
}

.balloons-hero .balloon {
    position: absolute;

    width: 64px;
    height: 76px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 54px;

    animation:
        balloonsHeroFloat
        2.2s
        ease-in-out
        infinite alternate;
}

.hero-red {
    left: 8%;
    top: 18%;

    animation-delay: -0.2s !important;
}

.hero-yellow {
    left: 31%;
    top: 0;

    animation-delay: -1s !important;
}

.hero-blue {
    left: 54%;
    top: 17%;

    animation-delay: -0.6s !important;
}

.hero-purple {
    left: 76%;
    top: 4%;

    animation-delay: -1.4s !important;
}

@keyframes balloonsHeroFloat {

    from {
        transform:
            translateY(5px)
            rotate(-4deg);
    }

    to {
        transform:
            translateY(-8px)
            rotate(4deg);
    }

}


/* =========================================================
   START TEXT
========================================================= */

.balloons-kicker {
    color: #7c3aed;

    font-size: 0.68rem;
    font-weight: 1000;

    letter-spacing: 0.20em;
}

.balloons-start-screen h1 {
    margin: 7px 0 0;

    color:
        var(--text-color, #111827);

    font-size:
        clamp(2.3rem, 7vw, 4rem);

    line-height: 0.95;

    letter-spacing: -0.07em;

    font-weight: 1000;
}

.balloons-description {
    max-width: 650px;

    margin: 15px auto 30px;

    color:
        var(--muted-text, #6b7280);

    font-size: 0.95rem;
    line-height: 1.65;
}


/* =========================================================
   HOW TO PLAY
========================================================= */

.balloons-how-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 11px;

    max-width: 850px;

    margin: 0 auto 26px;
}

.balloons-how-card {
    padding: 17px 10px;

    border-radius: 18px;

    background:
        var(--card-bg, #ffffff);

    border:
        1px solid
        var(--border-color, #e5e7eb);

    box-shadow:
        0 12px 28px
        rgba(15,23,42,0.05);
}

.balloons-how-card.danger {
    border-color:
        rgba(239,68,68,0.22);
}

.balloons-how-card span {
    display: block;

    margin-bottom: 7px;

    font-size: 27px;
}

.balloons-how-card strong,
.balloons-how-card small {
    display: block;
}

.balloons-how-card strong {
    color:
        var(--text-color, #111827);

    font-size: 0.76rem;
    font-weight: 1000;
}

.balloons-how-card small {
    margin-top: 4px;

    color:
        var(--muted-text, #6b7280);

    font-size: 0.58rem;
    line-height: 1.4;
}


/* =========================================================
   DIFFICULTY
========================================================= */

.balloons-section-title {
    margin-bottom: 11px;

    color:
        var(--text-color, #111827);

    font-size: 0.72rem;
    font-weight: 1000;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.balloons-difficulty-row {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 9px;

    max-width: 650px;

    margin: 0 auto 24px;
}

.balloons-difficulty {
    padding: 13px;

    border:
        2px solid
        var(--border-color, #e5e7eb);

    border-radius: 17px;

    background:
        var(--card-bg, #ffffff);

    color:
        var(--text-color, #111827);

    cursor: pointer;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.balloons-difficulty:hover {
    transform:
        translateY(-2px);
}

.balloons-difficulty.selected {
    border-color:
        #7c3aed;

    background:
        linear-gradient(
            145deg,
            #f5f3ff,
            #ede9fe
        );

    box-shadow:
        0 12px 28px
        rgba(124,58,237,0.12);
}

.balloons-difficulty span {
    display: block;

    margin-bottom: 4px;

    font-size: 21px;
}

.balloons-difficulty strong,
.balloons-difficulty small {
    display: block;
}

.balloons-difficulty strong {
    font-size: 0.78rem;
    font-weight: 1000;
}

.balloons-difficulty small {
    margin-top: 3px;

    color:
        var(--muted-text, #6b7280);

    font-size: 0.58rem;
}

.balloons-start-button {
    min-width: 250px !important;

    box-shadow:
        0 15px 35px
        rgba(124,58,237,0.18);
}


/* =========================================================
   GAME
========================================================= */

.balloons-game-screen {
    width: 100%;
    max-width: 1150px;

    margin: 0 auto;
    padding: 14px;

    border-radius: 28px;

    background:
        linear-gradient(
            160deg,
            #ede9fe 0%,
            #dbeafe 45%,
            #cffafe 100%
        );

    border:
        1px solid
        rgba(124,58,237,0.16);

    box-shadow:
        0 30px 80px
        rgba(15,23,42,0.18);

    overflow: hidden;

    box-sizing: border-box;

    /* fondamentale per il touch */
    touch-action: none;

    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.balloons-game-screen[hidden],
.balloons-end-screen[hidden] {
    display: none;
}


/* =========================================================
   HEADER
========================================================= */

.balloons-game-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 8px;
}

.balloons-small-label {
    display: block;

    margin-bottom: 2px;

    color:
        rgba(30,41,59,0.45);

    font-size: 0.45rem;
    font-weight: 1000;

    letter-spacing: 0.15em;
}

.balloons-game-header h2 {
    margin: 0;

    color:
        #1e293b;

    font-size: 1.15rem;
    font-weight: 1000;
}

.balloons-exit-button {
    width: auto !important;
    min-width: 78px !important;

    margin: 0 !important;
}


/* =========================================================
   STATS
========================================================= */

.balloons-stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 6px;

    margin-bottom: 8px;
}

.balloons-stat {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 8px;

    border-radius: 13px;

    background:
        rgba(255,255,255,0.66);

    border:
        1px solid
        rgba(255,255,255,0.82);

    backdrop-filter: blur(10px);
}

.balloons-stat > span {
    font-size: 16px;
}

.balloons-stat small,
.balloons-stat strong {
    display: block;
}

.balloons-stat small {
    color:
        rgba(30,41,59,0.48);

    font-size: 0.46rem;
    font-weight: 900;

    text-transform: uppercase;
}

.balloons-stat strong {
    color:
        #1e293b;

    font-size: 0.78rem;
    font-weight: 1000;

    font-variant-numeric: tabular-nums;
}


/* =========================================================
   TIMER
========================================================= */

.balloons-progress {
    width: 100%;
    height: 6px;

    margin-bottom: 7px;

    overflow: hidden;

    border-radius: 999px;

    background:
        rgba(30,41,59,0.10);
}

.balloons-progress-fill {
    width: 100%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #22c55e,
            #eab308,
            #ef4444
        );

    transform-origin: left center;

    transition:
        width 0.1s linear;
}


/* =========================================================
   LEVEL
========================================================= */

.balloons-level-row {
    display: flex;

    align-items: center;

    gap: 7px;

    min-height: 26px;

    margin-bottom: 7px;

    padding: 0 3px;
}

.balloons-level-row > span:first-child {
    color:
        rgba(30,41,59,0.42);

    font-size: 0.48rem;
    font-weight: 1000;

    letter-spacing: 0.10em;
}

.balloons-level-row > strong {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 25px;
    height: 22px;

    padding: 0 6px;

    border-radius: 999px;

    background:
        #7c3aed;

    color: #ffffff;

    font-size: 0.60rem;
    font-weight: 1000;
}

.balloons-message {
    margin-left: auto;

    color:
        rgba(30,41,59,0.48);

    font-size: 0.56rem;
    font-weight: 800;
}


/* =========================================================
   ARENA
========================================================= */

.balloons-arena {
    position: relative;

    width: 100%;

    height:
        clamp(470px, 68vh, 680px);

    overflow: hidden;

    border-radius: 22px;

    background:
        linear-gradient(
            180deg,
            #b9e7ff 0%,
            #d7f3ff 58%,
            #f6fcff 100%
        );

    border:
        2px solid
        rgba(255,255,255,0.85);

    box-shadow:
        inset 0 0 60px
        rgba(255,255,255,0.45);

    /* fondamentale per evitare lo scroll durante il gioco */
    touch-action: none;

    -webkit-user-select: none;
    user-select: none;

    -webkit-touch-callout: none;

    overscroll-behavior: none;
}

.balloons-arena::after {
    content: "";

    position: absolute;

    left: -5%;
    right: -5%;
    bottom: -15px;

    height: 115px;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(99,102,241,0.08)
        );

    border-radius:
        50% 50% 0 0;

    pointer-events: none;
}


/* =========================================================
   DECORATIONS
========================================================= */

.arena-cloud {
    position: absolute;

    width: 150px;
    height: 42px;

    border-radius: 999px;

    background:
        rgba(255,255,255,0.52);

    filter:
        blur(0.5px);

    pointer-events: none;
}

.arena-cloud::before,
.arena-cloud::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    background:
        inherit;
}

.arena-cloud::before {
    width: 58px;
    height: 58px;

    left: 25px;
    bottom: 4px;
}

.arena-cloud::after {
    width: 73px;
    height: 73px;

    right: 24px;
    bottom: 3px;
}

.cloud-one {
    top: 70px;
    left: -45px;
}

.cloud-two {
    top: 175px;
    right: -60px;

    transform:
        scale(0.78);
}

.cloud-three {
    top: 310px;
    left: 32%;

    transform:
        scale(0.55);
}

.arena-sun {
    position: absolute;

    width: 70px;
    height: 70px;

    top: 28px;
    right: 35px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fff8c5,
            #facc15 68%,
            #f59e0b 100%
        );

    box-shadow:
        0 0 38px
        rgba(250,204,21,0.40);

    pointer-events: none;
}


/* =========================================================
   BALLOON CONTAINER
========================================================= */

.balloons-container {
    position: absolute;

    inset: 0;

    z-index: 5;

    overflow: hidden;

    pointer-events: none;
}


/* =========================================================
   PLAY BALLOON
========================================================= */

.play-balloon {
    position: absolute;

    width: var(--size);
    height: calc(var(--size) * 1.18);

    left: var(--left);
    bottom: -150px;

    cursor: pointer;

    user-select: none;
    -webkit-user-select: none;

    -webkit-touch-callout: none;

    touch-action: manipulation;

    -webkit-tap-highlight-color: transparent;

    pointer-events: auto;

    animation:
        balloonRise
        var(--float-time)
        linear
        forwards;

    filter:
        drop-shadow(
            0 10px 7px
            rgba(15,23,42,0.16)
        );

    transform-origin:
        center bottom;

    will-change:
        transform;
}


.play-balloon *,
.play-balloon-shape,
.play-balloon-highlight {
    pointer-events: none;
}


.play-balloon::before {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -7px;

    width: 4px;
    height: 24px;

    transform:
        translateX(-50%);

    background:
        rgba(71,85,105,0.58);

    border-radius: 999px;

    pointer-events: none;
}

.play-balloon::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -10px;

    width: 8px;
    height: 8px;

    transform:
        translateX(-50%)
        rotate(45deg);

    background:
        inherit;

    pointer-events: none;
}


.play-balloon-shape {
    position: absolute;

    inset: 0 0 14px;

    border-radius:
        52% 48%
        48% 52%
        /
        58% 58%
        42% 42%;

    transform:
        rotate(var(--rotation));

    overflow: hidden;
}

.play-balloon-highlight {
    position: absolute;

    left: 18%;
    top: 10%;

    width: 18%;
    height: 37%;

    border-radius: 999px;

    background:
        rgba(255,255,255,0.60);

    transform:
        rotate(15deg);

    filter:
        blur(0.3px);
}


/* =========================================================
   COLORS
========================================================= */

.play-balloon.red .play-balloon-shape {
    background:
        radial-gradient(
            circle at 32% 25%,
            #ff8f93,
            #ef4444 50%,
            #b91c1c 100%
        );
}

.play-balloon.blue .play-balloon-shape {
    background:
        radial-gradient(
            circle at 32% 25%,
            #8ed6ff,
            #3b82f6 52%,
            #1d4ed8 100%
        );
}

.play-balloon.yellow .play-balloon-shape {
    background:
        radial-gradient(
            circle at 32% 25%,
            #fff6a3,
            #facc15 52%,
            #ca8a04 100%
        );
}

.play-balloon.green .play-balloon-shape {
    background:
        radial-gradient(
            circle at 32% 25%,
            #a7f3c3,
            #22c55e 52%,
            #15803d 100%
        );
}

.play-balloon.purple .play-balloon-shape {
    background:
        radial-gradient(
            circle at 32% 25%,
            #e9c5ff,
            #a855f7 52%,
            #7e22ce 100%
        );
}

.play-balloon.orange .play-balloon-shape {
    background:
        radial-gradient(
            circle at 32% 25%,
            #ffd2a1,
            #f97316 52%,
            #c2410c 100%
        );
}


/* =========================================================
   GOLD
========================================================= */

.play-balloon.gold {
    filter:
        drop-shadow(
            0 0 14px
            rgba(234,179,8,0.50)
        )
        drop-shadow(
            0 10px 7px
            rgba(15,23,42,0.13)
        );
}

.play-balloon.gold .play-balloon-shape {
    background:
        radial-gradient(
            circle at 30% 23%,
            #fffbd1,
            #fde047 35%,
            #f59e0b 72%,
            #b45309 100%
        );
}

.play-balloon.gold .play-balloon-shape::after {
    content: "★";

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color:
        rgba(255,255,255,0.92);

    font-size:
        calc(var(--size) * 0.36);

    text-shadow:
        0 2px 5px
        rgba(146,64,14,0.35);
}


/* =========================================================
   RAINBOW
========================================================= */

.play-balloon.rainbow {
    filter:
        drop-shadow(
            0 0 17px
            rgba(168,85,247,0.42)
        )
        drop-shadow(
            0 10px 7px
            rgba(15,23,42,0.13)
        );
}

.play-balloon.rainbow .play-balloon-shape {
    background:
        conic-gradient(
            from 210deg,
            #ef4444,
            #f97316,
            #facc15,
            #22c55e,
            #3b82f6,
            #8b5cf6,
            #ef4444
        );
}

.play-balloon.rainbow .play-balloon-shape::after {
    content: "★";

    position: absolute;

    inset: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #ffffff;

    font-size:
        calc(var(--size) * 0.34);

    text-shadow:
        0 2px 5px
        rgba(15,23,42,0.35);
}


/* =========================================================
   BOMB
========================================================= */

.play-balloon.bomb {
    filter:
        drop-shadow(
            0 0 13px
            rgba(15,23,42,0.40)
        );
}

.play-balloon.bomb .play-balloon-shape {
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 28% 20%,
            #64748b,
            #1e293b 46%,
            #020617 100%
        );
}

.play-balloon.bomb .play-balloon-shape::after {
    content: "✦";

    position: absolute;

    top: -12px;
    right: -8px;

    color:
        #f59e0b;

    font-size:
        calc(var(--size) * 0.23);

    transform:
        rotate(-20deg);
}


/* =========================================================
   RISE
========================================================= */

@keyframes balloonRise {

    0% {
        transform:
            translateY(0)
            rotate(-2deg);
    }

    25% {
        transform:
            translateX(-12px)
            rotate(3deg);
    }

    50% {
        transform:
            translateX(12px)
            rotate(-3deg);
    }

    75% {
        transform:
            translateX(-8px)
            rotate(2deg);
    }

    100% {
        transform:
            translateY(
                calc(-100vh - 250px)
            )
            rotate(-4deg);
    }

}


/* =========================================================
   POP
========================================================= */

.play-balloon.popping {
    pointer-events: none;

    animation:
        balloonPop
        0.20s
        ease
        forwards;
}

@keyframes balloonPop {

    0% {
        opacity: 1;

        transform:
            scale(1);
    }

    45% {
        opacity: 1;

        transform:
            scale(1.25);
    }

    100% {
        opacity: 0;

        transform:
            scale(0);
    }

}


/* =========================================================
   BOMB HIT
========================================================= */

.play-balloon.bomb-hit {
    animation:
        bombHit
        0.28s
        ease;
}

@keyframes bombHit {

    0% {
        transform:
            scale(1);
    }

    35% {
        transform:
            scale(1.18)
            rotate(-8deg);
    }

    70% {
        transform:
            scale(0.92)
            rotate(8deg);
    }

    100% {
        transform:
            scale(1);
    }

}


/* =========================================================
   FLASH
========================================================= */

.balloons-pop-flash {
    position: absolute;

    inset: 0;

    z-index: 8;

    background:
        rgba(255,255,255,0.55);

    opacity: 0;

    pointer-events: none;
}

.balloons-pop-flash.active {
    animation:
        popFlash
        0.18s
        ease;
}

@keyframes popFlash {

    0% {
        opacity: 0;
    }

    35% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }

}


/* =========================================================
   COMBO POPUP
========================================================= */

.balloons-combo-popup {
    position: absolute;

    left: 50%;
    top: 45%;

    z-index: 10;

    transform:
        translate(-50%, -50%)
        scale(0.65);

    opacity: 0;

    color: #ffffff;

    font-size:
        clamp(1.3rem, 4vw, 2.2rem);

    font-weight: 1000;

    text-shadow:
        0 4px 10px
        rgba(15,23,42,0.30);

    pointer-events: none;

    white-space: nowrap;
}

.balloons-combo-popup.active {
    animation:
        comboPopup
        0.65s
        ease
        forwards;
}

@keyframes comboPopup {

    0% {
        opacity: 0;

        transform:
            translate(-50%, -30%)
            scale(0.55);
    }

    25% {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            scale(1.10);
    }

    100% {
        opacity: 0;

        transform:
            translate(-50%, -80%)
            scale(0.95);
    }

}


/* =========================================================
   HINT
========================================================= */

.balloons-game-hint {
    margin-top: 7px;

    color:
        rgba(30,41,59,0.48);

    text-align: center;

    font-size: 0.52rem;
    font-weight: 800;
}


/* =========================================================
   END
========================================================= */

.balloons-end-screen {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;
    padding: 20px;
}

.balloons-end-card {
    padding:
        42px
        32px
        34px;

    border-radius: 30px;

    background:
        var(--card-bg, #ffffff);

    border:
        1px solid
        var(--border-color, #e5e7eb);

    box-shadow:
        0 30px 85px
        rgba(0,0,0,0.14);

    text-align: center;
}

.balloons-end-icon {
    width: 95px;
    height: 95px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            #ede9fe,
            #dbeafe
        );

    font-size: 48px;
}

.balloons-end-kicker {
    color:
        #7c3aed;

    font-size: 0.66rem;
    font-weight: 1000;

    letter-spacing: 0.16em;
}

.balloons-end-card h2 {
    margin:
        7px
        0
        0;

    color:
        var(--text-color, #111827);

    font-size:
        clamp(2rem, 6vw, 3.2rem);

    font-weight: 1000;

    letter-spacing: -0.06em;
}

.balloons-end-card p {
    max-width: 510px;

    margin:
        12px
        auto
        0;

    color:
        var(--muted-text, #6b7280);

    line-height: 1.6;
}

.balloons-results {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 9px;

    max-width: 500px;

    margin:
        24px
        auto
        15px;
}

.balloons-results > div {
    padding: 14px;

    border-radius: 16px;

    background:
        var(--secondary-bg, #f3f4f6);
}

.balloons-results span,
.balloons-results strong {
    display: block;
}

.balloons-results span {
    margin-bottom: 5px;

    color:
        var(--muted-text, #6b7280);

    font-size: 0.62rem;
    font-weight: 800;
}

.balloons-results strong {
    color:
        var(--text-color, #111827);

    font-size: 1rem;
    font-weight: 1000;

    font-variant-numeric: tabular-nums;
}

.balloons-end-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 8px 16px;

    border-radius: 999px;

    background:
        #ede9fe;

    color:
        #6d28d9;

    font-size: 0.70rem;
    font-weight: 1000;
}


/* =========================================================
   DARK MODE
========================================================= */

body.dark-mode .balloons-start-screen h1 {
    color: #ffffff;
}

body.dark-mode .balloons-description {
    color: #aeb2c3;
}

body.dark-mode .balloons-section-title {
    color: #ffffff;
}

body.dark-mode .balloons-how-card {
    background: #181b29;

    border-color:
        rgba(255,255,255,0.07);
}

body.dark-mode .balloons-how-card strong {
    color: #ffffff;
}

body.dark-mode .balloons-how-card small {
    color: #aeb2c3;
}

body.dark-mode .balloons-difficulty {
    background: #181b29;

    border-color:
        rgba(255,255,255,0.08);

    color: #ffffff;
}

body.dark-mode .balloons-difficulty.selected {
    background:
        linear-gradient(
            145deg,
            #211936,
            #261d42
        );

    border-color:
        #a78bfa;
}

body.dark-mode .balloons-difficulty small {
    color: #aeb2c3;
}

body.dark-mode .balloons-end-card {
    background: #181b29;

    border-color:
        rgba(255,255,255,0.07);
}

body.dark-mode .balloons-end-card h2 {
    color: #ffffff;
}

body.dark-mode .balloons-end-card p {
    color: #aeb2c3;
}

body.dark-mode .balloons-results > div {
    background: #272a35;
}

body.dark-mode .balloons-results span {
    color: #aeb2c3;
}

body.dark-mode .balloons-results strong {
    color: #ffffff;
}

body.dark-mode .balloons-end-badge {
    background:
        rgba(124,58,237,0.18);

    color:
        #c4b5fd;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 900px) {

    .balloons-how-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

    .balloons-arena {
        height:
            clamp(450px, 67vh, 620px);
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 620px) {

    .balloons-start-screen {
        padding:
            12px
            9px;
    }


    .balloons-hero {
        width: 210px;
        height: 100px;
    }


    .balloons-hero .balloon {
        font-size: 42px;
    }


    .balloons-start-screen h1 {
        font-size:
            clamp(2rem, 11vw, 3rem);
    }


    .balloons-description {
        font-size: 0.83rem;
    }


    .balloons-how-grid {
        gap: 7px;
    }


    .balloons-how-card {
        padding:
            13px
            8px;
    }


    .balloons-how-card span {
        font-size: 22px;
    }


    .balloons-how-card strong {
        font-size: 0.66rem;
    }


    .balloons-how-card small {
        font-size: 0.51rem;
    }


    .balloons-difficulty {
        padding:
            10px
            6px;
    }


    .balloons-difficulty strong {
        font-size: 0.66rem;
    }


    .balloons-difficulty small {
        font-size: 0.50rem;
    }


    .balloons-start-button {
        width: 100% !important;

        min-width: 0 !important;

        max-width: 360px;
    }


    .balloons-game-screen {
        padding: 9px;

        border-radius: 21px;
    }


    .balloons-game-header h2 {
        font-size: 0.92rem;
    }


    .balloons-small-label {
        font-size: 0.38rem;
    }


    .balloons-stats {
        grid-template-columns:
            repeat(2, minmax(0,1fr));

        gap: 5px;
    }


    .balloons-stat {
        justify-content: flex-start;

        padding: 7px;
    }


    .balloons-stat small {
        font-size: 0.41rem;
    }


    .balloons-stat strong {
        font-size: 0.68rem;
    }


    .balloons-level-row {
        gap: 5px;
    }


    .balloons-message {
        font-size: 0.48rem;
    }


    .balloons-arena {
        height:
            calc(
                100svh -
                300px
            );

        min-height: 420px;

        border-radius: 18px;

        touch-action: none;
        overscroll-behavior: contain;
    }


    .arena-sun {
        width: 52px;
        height: 52px;

        right: 17px;
        top: 17px;
    }


    .arena-cloud {
        transform:
            scale(0.72);
    }


    .play-balloon {
        touch-action: none;

        -webkit-tap-highlight-color: transparent;

        will-change:
            transform;
    }


    .balloons-end-card {
        padding:
            34px
            16px
            25px;

        border-radius: 23px;
    }


    .balloons-results {
        gap: 6px;
    }


    .balloons-results > div {
        padding: 11px;
    }

}


/* =========================================================
   RESPONSIVE - SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .balloons-arena {
        min-height: 390px;
    }

}

.balloons-arena {
    touch-action: none;
}

.play-balloon {
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.play-balloon-shape,
.play-balloon-highlight {
    pointer-events: none;
}
