/* Balloon Component */
.balloon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(90px, 14vw, 130px);
    height: clamp(115px, 18vw, 165px);
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
    touch-action: manipulation;
}

.balloon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 8px 14px rgba(36, 59, 83, 0.16));
    transition: transform 0.1s ease;
}

.balloon:active .balloon-img {
    transform: scale(0.92);
}

/* Particle effects */
.particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* Loading state */
.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: var(--color-biru-malam);
    z-index: 10000;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    background: rgba(36, 59, 83, 0.9);
    color: white;
    border-radius: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    z-index: 10000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: slide-up 0.3s ease-out;
}

/* Fullscreen helper */
.fullscreen-prompt {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--color-kuning-gala);
    border-radius: 1rem;
    font-size: 1rem;
    z-index: 9000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.fullscreen-prompt button {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-kuning-gala);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
}

/* Progress indicator (optional for future use) */
.progress-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: background 0.3s ease;
}

.progress-dot.active {
    background: var(--color-kuning-gala);
}

/* Sticker in album */
.placed-sticker {
    position: absolute;
    width: 60px;
    height: 60px;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: move;
    user-select: none;
    touch-action: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.placed-sticker:active {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.placed-sticker.dragging {
    z-index: 10;
    transform: scale(1.1);
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3));
}

/* Haptic feedback class (visual only) */
.haptic {
    animation: haptic-pulse 0.1s ease-out;
}

@keyframes haptic-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
}

/* Safe area indicators (for development) */
.safe-area-debug {
    position: fixed;
    border: 2px dashed red;
    pointer-events: none;
    z-index: 99999;
}

.safe-area-debug.top {
    top: env(safe-area-inset-top, 0);
    left: 0;
    right: 0;
    height: 1px;
}

.safe-area-debug.bottom {
    bottom: env(safe-area-inset-bottom, 0);
    left: 0;
    right: 0;
    height: 1px;
}

.safe-area-debug.left {
    left: env(safe-area-inset-left, 0);
    top: 0;
    bottom: 0;
    width: 1px;
}

.safe-area-debug.right {
    right: env(safe-area-inset-right, 0);
    top: 0;
    bottom: 0;
    width: 1px;
}
