/* ==============================================
   RESET Y BASE
   ============================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    overflow: hidden;
    background-color: #020206;
    font-family: 'Outfit', sans-serif;
    user-select: none;
    color: #ffffff;
    cursor: none;
}

/* ==============================================
   CURSOR PEONÍA PERSONALIZADO
   ============================================== */
#peony-cursor {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    width: 48px;
    height: 48px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.08s ease-out;
    will-change: transform, left, top;
}

#peony-cursor img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

#sparkle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 9998;
    pointer-events: none;
}


/* ==============================================
   PANTALLA DE CARGA CINEMATOGRÁFICA
   ============================================== */
#loading-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 10000;
    background: radial-gradient(ellipse at center, #0a0818 0%, #020206 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    z-index: 2;
}

.heartbeat-icon {
    font-size: 80px;
    animation: heartbeat 1.2s infinite ease-in-out;
    filter: drop-shadow(0 0 20px rgba(255, 234, 0, 0.8)) drop-shadow(0 0 40px rgba(255, 180, 0, 0.5));
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.25); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
}

.loader-text {
    font-family: 'Caveat', cursive;
    font-size: 34px;
    color: #ffea00;
    margin-top: 20px;
    text-shadow: 0 0 15px rgba(255, 234, 0, 0.6);
    animation: fadeInUp 1s ease forwards;
}

.loader-bar-track {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 18px auto 0;
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffea00, #ff8800, #ffea00);
    border-radius: 4px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 234, 0, 0.8);
}

.loader-sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s 0.3s ease both;
}

.loader-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
    z-index: 1;
}

.loader-particle {
    position: absolute;
    width: 4px; height: 4px;
    background: #ffea00;
    border-radius: 50%;
    opacity: 0;
    animation: loaderFloat 4s infinite ease-in-out;
}

@keyframes loaderFloat {
    0% { opacity: 0; transform: translateY(0) scale(0.5); }
    20% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-100vh) scale(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==============================================
   MAIN UI VISIBILITY
   ============================================== */
.hidden-initially {
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hidden-initially.revealed {
    opacity: 1;
}

/* ==============================================
   WEBGL CONTAINER
   ============================================== */
#webgl-container {
    position: absolute;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    cursor: none;
    z-index: 1;
}

#webgl-container:active { cursor: none; }

/* ==============================================
   ESTRELLAS FUGACES CSS
   ============================================== */
#shooting-stars {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    top: 0;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, #ffea00, transparent);
    border-radius: 2px;
    opacity: 0;
    animation: shootingStar 6s infinite ease-in;
    transform: rotate(-35deg);
    filter: drop-shadow(0 0 6px #ffea00);
}

.shooting-star.ss-2 {
    animation-delay: 3.5s;
    animation-duration: 7s;
    top: 15%;
    width: 90px;
}

.shooting-star.ss-3 {
    animation-delay: 7s;
    animation-duration: 8s;
    top: 8%;
    width: 150px;
}

.shooting-star.ss-4 {
    animation-delay: 1.5s;
    animation-duration: 5.5s;
    top: 22%;
    width: 140px;
    background: linear-gradient(90deg, transparent, #fff, #00f3ff, transparent);
    filter: drop-shadow(0 0 8px #00f3ff);
}

.shooting-star.ss-5 {
    animation-delay: 5s;
    animation-duration: 6.5s;
    top: 35%;
    width: 110px;
    background: linear-gradient(90deg, transparent, #fff, #ff69b4, transparent);
    filter: drop-shadow(0 0 8px #ff69b4);
}

.shooting-star.ss-6 {
    animation-delay: 2.8s;
    animation-duration: 9s;
    top: 5%;
    width: 160px;
}

.shooting-star.ss-7 {
    animation-delay: 8.5s;
    animation-duration: 7.5s;
    top: 18%;
    width: 130px;
    background: linear-gradient(90deg, transparent, #fff, #ffd700, transparent);
    filter: drop-shadow(0 0 8px #ffd700);
}

@keyframes shootingStar {
    0% { left: -15%; opacity: 0; transform: rotate(-35deg) translateX(0); }
    2% { opacity: 1; }
    15% { opacity: 0.8; }
    25% { left: 115%; opacity: 0; transform: rotate(-35deg) translateX(200px); }
    100% { left: 115%; opacity: 0; }
}

/* ==============================================
   ENCABEZADO PRINCIPAL + TYPING ANIMATION
   ============================================== */
#ui-header {
    position: absolute;
    top: 2.5%;
    width: 100%;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    animation: fadeInDown 1.5s 0.5s ease both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

#main-title {
    font-family: 'Caveat', cursive;
    font-size: 48px;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(255, 234, 0, 0.5), 0 0 30px rgba(255, 200, 0, 0.3);
}

.title-line-1 {
    display: inline;
    border-right: 2px solid rgba(255, 234, 0, 0.7);
    padding-right: 3px;
    animation: blink 0.8s step-end infinite;
}

.title-line-1.done { border-right: none; animation: none; }

@keyframes blink { 50% { border-color: transparent; } }

.neon-text {
    color: #ffea00;
    font-weight: 700;
    font-size: 58px;
    font-family: 'Dancing Script', 'Caveat', cursive;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #ffea00,
        0 0 20px #ffea00,
        0 0 40px #ffaa00,
        0 0 80px #ff8800;
    animation: neonGlow 2.5s infinite alternate ease-in-out;
}

.emoji-pop {
    display: inline-block;
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.emoji-pop.pop-in {
    opacity: 1;
    transform: scale(1);
}

@keyframes neonGlow {
    0% {
        text-shadow: 
            0 0 5px #fff, 0 0 10px #ffea00, 0 0 20px #ffea00,
            0 0 35px #ffaa00, 0 0 60px #ff7700;
    }
    100% {
        text-shadow: 
            0 0 7px #fff, 0 0 14px #ffff55, 0 0 28px #ffea00,
            0 0 50px #ffbb00, 0 0 90px #ff9900, 0 0 120px #ff5500;
    }
}

#sub-title {
    margin-top: 8px;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    animation: fadeInUp 1s 3s ease both;
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

#sub-title:hover, #sub-title:active {
    color: #ffea00;
    transform: scale(1.04);
}

.sub-glow {
    color: #ffea00;
    text-shadow: 0 0 8px #ffea00;
    animation: starSpin 3s infinite linear;
    display: inline-block;
}

@keyframes starSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* ==============================================
   REPRODUCTOR DE MÚSICA
   ============================================== */
#music-player {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 10, 30, 0.6);
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid rgba(255, 234, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s 4s ease both;
}

.music-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    filter: grayscale(0.5);
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.music-btn:hover {
    filter: grayscale(0) drop-shadow(0 0 6px #ffea00);
    transform: scale(1.15);
}

.music-btn.playing { filter: none; }

.equalizer {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 18px;
}

.eq-bar {
    width: 3px;
    background: linear-gradient(to top, #ffea00, #ff8800);
    border-radius: 2px;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.eq-bar:nth-child(1) { height: 6px; animation: none; }
.eq-bar:nth-child(2) { height: 10px; }
.eq-bar:nth-child(3) { height: 14px; }
.eq-bar:nth-child(4) { height: 8px; }
.eq-bar:nth-child(5) { height: 12px; }

.equalizer.active .eq-bar {
    opacity: 1;
    animation: eqBounce 0.6s infinite alternate ease-in-out;
}

.equalizer.active .eq-bar:nth-child(1) { animation-duration: 0.5s; }
.equalizer.active .eq-bar:nth-child(2) { animation-duration: 0.4s; animation-delay: 0.1s; }
.equalizer.active .eq-bar:nth-child(3) { animation-duration: 0.55s; animation-delay: 0.05s; }
.equalizer.active .eq-bar:nth-child(4) { animation-duration: 0.45s; animation-delay: 0.15s; }
.equalizer.active .eq-bar:nth-child(5) { animation-duration: 0.5s; animation-delay: 0.08s; }

@keyframes eqBounce {
    0% { height: 4px; }
    100% { height: 18px; }
}

/* ==============================================
   SELECTOR DE FORMACIONES
   ============================================== */
#formation-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(8, 8, 25, 0.88);
    padding: 6px;
    border-radius: 40px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 234, 0, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 234, 0, 0.15);
    width: calc(100vw - 24px);
    max-width: 420px;
    box-sizing: border-box;
    animation: fadeInUp 0.8s 3.8s ease both;
}

.btn-formation {
    flex: 1 1 0px;
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 6px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    outline: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    box-sizing: border-box;
}

.btn-formation::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 234, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-formation:hover {
    background: rgba(255, 234, 0, 0.12);
    border-color: rgba(255, 234, 0, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(255, 234, 0, 0.25);
}

.btn-formation:hover::after { opacity: 1; }

.btn-formation.active {
    background: linear-gradient(135deg, #ffea00 0%, #ff9900 100%);
    color: #000000;
    font-weight: 800;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 22px rgba(255, 234, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.4);
    transform: scale(1.03);
}

.btn-formation .icon {
    font-size: 14px;
    flex-shrink: 0;
}

/* ==============================================
   HINT TAG
   ============================================== */
#hint-tag {
    position: absolute;
    bottom: 12px;
    width: 100%;
    text-align: center;
    z-index: 10;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    pointer-events: none;
    letter-spacing: 0.8px;
    animation: fadeInUp 0.6s 4.2s ease both;
}

/* ==============================================
   CONFETTI CANVAS
   ============================================== */
#confetti-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 999;
    pointer-events: none;
}

/* ==============================================
   PALABRAS DE AMOR FLOTANTES INFINITAS
   ============================================== */
#love-words-container {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.love-word {
    position: absolute;
    font-family: 'Caveat', cursive;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    animation: floatWord linear forwards;
    text-shadow:
        0 0 6px currentColor,
        0 0 14px currentColor,
        0 0 28px rgba(255, 234, 0, 0.4);
    filter: blur(0.3px);
}

@keyframes floatWord {
    0% { opacity: 0; transform: translateY(0) rotate(var(--rot, 0deg)) scale(0.5); }
    8% { opacity: 0.8; transform: translateY(-20px) rotate(var(--rot, 0deg)) scale(1); }
    85% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-105vh) rotate(var(--rot, 0deg)) scale(0.7); }
}

/* ==============================================
   MODAL GALERÍA DE FOTOS
   ============================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.0);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, background 0.6s ease, visibility 0.6s ease;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.modal-overlay.visible {
    opacity: 1;
    visibility: visible;
    background: rgba(2, 2, 8, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal-container {
    position: relative;
    background: linear-gradient(155deg, rgba(12, 8, 28, 0.95), rgba(5, 3, 14, 0.98));
    border: 1px solid rgba(255, 234, 0, 0.3);
    border-radius: 24px;
    padding: 28px 20px 20px;
    max-width: 420px;
    width: 92%;
    box-shadow:
        0 0 50px rgba(255, 234, 0, 0.15),
        0 0 100px rgba(255, 150, 0, 0.08),
        0 30px 60px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: scale(0.8) translateY(50px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.modal-overlay.visible .modal-container {
    transform: scale(1) translateY(0);
}

/* Partículas decorativas dentro del modal */
.modal-sparkles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.modal-sparkles::before,
.modal-sparkles::after {
    content: '✨';
    position: absolute;
    font-size: 12px;
    animation: modalSparkle 4s infinite ease-in-out;
}

.modal-sparkles::before { top: 15%; left: 8%; animation-delay: 0s; }
.modal-sparkles::after { top: 25%; right: 10%; animation-delay: 2s; }

@keyframes modalSparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

.modal-container::before {
    content: '';
    position: absolute;
    top: -60%; left: -60%;
    width: 220%; height: 220%;
    background: radial-gradient(ellipse at center, rgba(255, 234, 0, 0.04), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.modal-close-btn {
    position: absolute;
    top: 10px; right: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    width: 34px; height: 34px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(255, 70, 70, 0.4);
    border-color: rgba(255, 70, 70, 0.7);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 70, 70, 0.4);
}

.modal-header { text-align: center; margin-bottom: 12px; position: relative; z-index: 1; }

.modal-title {
    font-family: 'Caveat', cursive;
    font-size: 28px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 234, 0, 0.35);
}

.neon-text-sm {
    color: #ffea00;
    text-shadow: 0 0 4px #fff, 0 0 8px #ffea00, 0 0 16px #ffea00, 0 0 30px #ffaa00;
    animation: neonGlow 2.5s infinite alternate ease-in-out;
}

/* Auto-timer bar */
.auto-timer-bar {
    width: 80%;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    margin: 10px auto 0;
    overflow: hidden;
}

.timer-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffea00, #ff7700);
    border-radius: 2px;
    transition: width 0.1s linear;
    box-shadow: 0 0 6px rgba(255, 234, 0, 0.6);
}

/* Slider Gallery */
.gallery-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.slide-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 3 / 4;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(60px) scale(0.9);
    transition: all 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
}

.slide.active-slide {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}

.photo-frame {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255, 234, 0, 0.45);
    box-shadow:
        0 0 15px rgba(255, 234, 0, 0.2),
        0 0 40px rgba(255, 200, 0, 0.08),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: border-color 0.4s ease;
}

.photo-frame:hover { border-color: rgba(255, 234, 0, 0.8); }

.photo-frame img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 4s ease;
}

.active-slide .photo-frame img {
    animation: slowZoom 12s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 40%, transparent 80%, rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

.photo-phrase {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    padding: 40px 16px 12px;
    margin: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 20%, transparent);
    font-family: 'Caveat', cursive;
    font-size: 19px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 0 10px rgba(255, 234, 0, 0.5);
    line-height: 1.2;
}

.slider-arrow {
    background: rgba(255, 234, 0, 0.08);
    border: 1px solid rgba(255, 234, 0, 0.3);
    color: #ffea00;
    width: 38px; height: 38px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.slider-arrow:hover {
    background: rgba(255, 234, 0, 0.3);
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(255, 234, 0, 0.35);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
    position: relative;
    z-index: 1;
}

.dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 234, 0, 0.2);
    cursor: pointer;
    transition: all 0.35s ease;
}

.dot.active-dot {
    background: #ffea00;
    box-shadow: 0 0 10px #ffea00, 0 0 20px rgba(255, 234, 0, 0.35);
    transform: scale(1.3);
}

.modal-footer-phrase {
    text-align: center;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 234, 0, 0.1);
    position: relative;
    z-index: 1;
}

.modal-footer-phrase p {
    font-family: 'Caveat', cursive;
    font-size: 21px;
    color: #ffea00;
    text-shadow: 0 0 8px rgba(255, 234, 0, 0.45);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ==============================================
   RESPONSIVE (MÓVIL Y TABLET)
   ============================================== */
@media (max-width: 768px) {
    #ui-header { top: 1%; }
    #main-title { font-size: 26px; line-height: 1.15; }
    .neon-text { font-size: 30px; }
    #sub-title { font-size: 10px; letter-spacing: 0.3px; padding: 0 6px; }

    #hint-tag { display: none !important; }

    #formation-controls {
        position: fixed !important;
        bottom: 12px !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        transform: none !important;
        width: 94vw !important;
        max-width: 340px !important;
        padding: 3px !important;
        gap: 3px !important;
        border-radius: 30px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        z-index: 9999 !important;
    }

    .btn-formation {
        flex: 1 1 0px !important;
        width: 33.33% !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 7px 2px !important;
        font-size: 10.5px !important;
        font-weight: 700 !important;
        border-radius: 20px !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .btn-formation.active {
        transform: none !important;
        box-shadow: 0 0 16px rgba(255, 234, 0, 0.7) !important;
    }

    .btn-formation .icon {
        font-size: 12px !important;
        margin-right: 2px !important;
        flex-shrink: 0 !important;
    }

    .modal-container {
        padding: 16px 10px 14px;
        width: 92vw;
        max-width: 420px;
        max-height: 90vh;
        border-radius: 20px;
    }

    .modal-title { font-size: 20px; }
    .photo-phrase { font-size: 14px; padding: 20px 8px 8px; }
    .modal-footer-phrase p { font-size: 15px; }
    .slider-arrow { width: 32px; height: 32px; font-size: 13px; }
    #music-player { top: 8px; right: 8px; padding: 4px 8px; }
    .loader-text { font-size: 22px; }
    .heartbeat-icon { font-size: 48px; }
}
