/* ==========================================================================
   DESIGN SYSTEM UCB KADJI BEER - CHARTE RED & FESTIVE HIGH-END 9:16
   ESTHETIQUE INDUSTRIELLE & DYNAMIQUE : ANGLES NETS (ZERO ARRONDIS GENERIQUES)
   ========================================================================== */

:root {
    --color-ucb-red-dark: #8B0000;
    --color-ucb-red-primary: #D32F2F;
    --color-ucb-red-bright: #E50914;
    --color-ucb-gold: #FFD700;
    --color-ucb-gold-glow: #FFA500;
    --color-bg-dark: #0A0A0E;
    --color-text-white: #FFFFFF;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    border-radius: 0 !important;
}

.hidden {
    display: none !important;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #500000;
    font-family: var(--font-body);
    color: var(--color-text-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.desktop-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #A80000 0%, #680000 50%, #280000 100%);
    z-index: 1;
}

.glow-orb {
    position: absolute;
    border-radius: 50% !important;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: #E50914;
    top: -100px;
    left: -100px;
    animation: floatOrb 10s infinite alternate ease-in-out;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: #8B0000;
    bottom: -150px;
    right: -150px;
    animation: floatOrb 12s infinite alternate-reverse ease-in-out;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.15); }
}

/* ==========================================================================
   📱 CONTENEUR APPLICATION : RATIO STRICT 9:16 EN TOUTES CIRCONSTANCES
   Garantit que les vidéos 720x1280 (9:16) ne sont JAMAIS rognées à gauche/droite
   ========================================================================== */
.app-container {
    position: relative;
    z-index: 10;
    aspect-ratio: 9 / 16;
    height: min(92dvh, 760px);
    max-height: 92dvh;
    width: calc(min(92dvh, 760px) * (9 / 16));
    max-width: 428px;
    margin: auto;
    background: #000;
    overflow: hidden;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 0, 0, 0.5);
    border: 4px solid #FFFFFF;
    transition: transform 0.05s ease-out;
}

@media (max-width: 520px) {
    html, body {
        background: #000000 !important;
        background-color: #000000 !important;
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }
    .desktop-bg {
        display: none !important;
    }
    .app-container {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        aspect-ratio: auto !important;
        border: none !important;
        box-shadow: none !important;
        background: #000000 !important;
        margin: 0 !important;
    }
}

.app-container.micro-shake {
    transform: scale(0.995) translate(1px, 1px);
}

.app-container.shake-screen {
    animation: screenShake 0.45s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes screenShake {
    10%, 90% { transform: translate3d(-6px, 0, 0) rotate(-1.5deg) scale(1.02); }
    20%, 80% { transform: translate3d(8px, 0, 0) rotate(2deg) scale(1.02); }
    30%, 50%, 70% { transform: translate3d(-10px, 0, 0) rotate(-2.5deg) scale(1.03); }
    40%, 60% { transform: translate3d(10px, 0, 0) rotate(2.5deg) scale(1.03); }
}

.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.screen.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    z-index: 1;
}

.bg-video-hidden {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0.01;
    pointer-events: none;
}

/* Canvas de Gameplay Mobile pour Rendu 60 FPS */
.gameplay-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 9 / 16;
    object-fit: contain;
    z-index: 1;
}

.screen-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.audio-enable-banner {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    z-index: 15;
    background: rgba(229, 9, 20, 0.95);
    border: 1.5px solid var(--color-ucb-gold);
    color: #FFF;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    padding: 8px 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    animation: pulseBanner 2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes pulseBanner {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; transform: scale(1.02); }
}

.top-logo-container {
    padding-top: 20px;
    text-align: center;
}

.brand-logo-img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.7));
}

#screen-preload {
    background: linear-gradient(135deg, #A80000 0%, #500000 60%, #1A0000 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 25px;
}

.preload-top-area {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preload-img-wrapper {
    width: 210px;
    height: 210px;
    aspect-ratio: 1 / 1;
    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.4);
}

.preload-square-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preload-bottom-box {
    width: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 18px 20px;
    border: 1.5px solid var(--color-ucb-gold);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.loader-bar-bg {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    margin-bottom: 10px;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #E50914, #FF5252, #FFD700);
    transition: width 0.2s ease-out;
    box-shadow: 0 0 12px #E50914;
    border-radius: 999px;
}

.loader-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 900;
    color: #FFF;
    letter-spacing: 1px;
}

.start-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 20px 0;
    background: transparent;
    cursor: pointer;
}

.start-bottom-bar {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    z-index: 10;
}

.start-minimal-pill {
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid var(--color-ucb-gold);
    border-radius: 0 !important;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8), 0 0 14px rgba(255, 215, 0, 0.45);
    animation: pulseStartPill 2s infinite ease-in-out;
}

@keyframes pulseStartPill {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.95; 
    }
    50% { 
        transform: scale(1.03); 
        opacity: 1; 
        box-shadow: 0 6px 24px rgba(229, 9, 20, 0.6), 0 0 18px rgba(255, 215, 0, 0.75); 
    }
}

.start-tap-icon {
    font-size: 15px;
}

.start-tap-text {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 1.2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.clear-overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.7) 100%);
}

.instruction-floating-card {
    background: linear-gradient(135deg, rgba(168, 0, 0, 0.94) 0%, rgba(60, 0, 0, 0.96) 100%);
    border: 2px solid var(--color-ucb-gold);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.85), 0 0 25px rgba(229, 9, 20, 0.4);
}

.card-tag {
    display: inline-block;
    color: var(--color-ucb-gold);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 8px;
    border-bottom: 1.5px solid var(--color-ucb-gold);
    padding-bottom: 2px;
}

.instruction-floating-card h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 900;
    color: #FFF;
    margin-bottom: 12px;
    line-height: 1.2;
}

.instruction-floating-card p {
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.btn-primary-red {
    width: 100%;
    padding: 15px 16px;
    background: linear-gradient(135deg, #E50914 0%, #B20710 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 1.2px;
    border-radius: 14px;
    border: 2px solid var(--color-ucb-gold);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(229, 9, 20, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: transform 0.15s, background-color 0.15s;
    text-transform: uppercase;
}

.btn-primary-red:active {
    transform: scale(0.97);
    background: var(--color-ucb-gold);
    color: #000;
}

.red-modal-overlay {
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.red-modal-card {
    width: 100%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.94) 0%, rgba(60, 0, 0, 0.96) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 2px solid var(--color-ucb-gold);
    border-radius: 22px;
    padding: 26px 20px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.9), 0 0 35px rgba(229, 9, 20, 0.5);
    text-align: center;
}

.brand-header {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.form-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    margin-bottom: 0;
}

.red-tag {
    display: flex;
    align-items: center;
    color: var(--color-ucb-gold);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-left: 2px solid var(--color-ucb-gold);
    border-bottom: none;
    padding-left: 10px;
    padding-bottom: 0;
    margin-bottom: 0;
    line-height: 1.2;
}

.brand-header h2,
.brand-header .form-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    color: #FFF;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.form-group-red {
    text-align: left;
    margin-bottom: 18px;
}

.form-group-red label {
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #FFF;
    margin-bottom: 6px;
}

.form-group-red input {
    width: 100%;
    padding: 13px 16px;
    background: rgba(0, 0, 0, 0.65);
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    border-radius: 12px;
    color: #FFF;
    font-size: 15px;
    font-weight: 700;
    outline: none;
    transition: all 0.2s ease;
}

.form-group-red input:focus {
    border-color: #FFF;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.8);
}

.input-phone-wrapper-red {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.65);
    border: 1.5px solid rgba(255, 215, 0, 0.5);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.input-phone-wrapper-red:focus-within {
    border-color: #FFF;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.8);
}

.phone-prefix-red {
    padding: 13px 14px;
    background: rgba(229, 9, 20, 0.85);
    color: #FFF;
    font-weight: 900;
    font-size: 14px;
    border-right: 1.5px solid rgba(255, 215, 0, 0.4);
}

.input-phone-wrapper-red input {
    border: none;
    border-radius: 0;
    background: transparent;
}

.input-error-red {
    display: none;
    color: var(--color-ucb-gold);
    font-size: 11px;
    font-weight: 800;
    margin-top: 6px;
}

.legal-disclaimer {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 18px;
    line-height: 1.4;
}

.pub-overlay {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.85) 100%);
}

.pub-top-bar {
    display: flex;
    justify-content: flex-end;
}

.pub-badge {
    background: var(--color-ucb-red-bright);
    color: #FFF;
    padding: 6px 14px;
    border: 1.5px solid var(--color-ucb-gold);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.5);
}

.btn-skip {
    width: 100%;
    padding: 15px 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border-radius: 14px;
    border: none;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.8px;
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.5);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.btn-skip:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 165, 0, 0.7);
}

.btn-skip:active {
    transform: scale(0.97);
}

.party-particles-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    background: radial-gradient(circle at 50% 20%, rgba(229, 9, 20, 0.25) 0%, transparent 60%);
}

.game-alarm-banner {
    position: absolute;
    top: 105px;
    left: 12px;
    right: 12px;
    z-index: 15;
    background: linear-gradient(135deg, #E50914 0%, #8B0000 100%);
    border: 2px solid var(--color-ucb-gold);
    color: #FFFFFF;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.8), 0 0 15px rgba(255, 215, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.game-alarm-banner.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    animation: flashAlarm 0.4s infinite alternate ease-in-out;
}

@keyframes flashAlarm {
    0% { background: linear-gradient(135deg, #E50914 0%, #8B0000 100%); border-color: var(--color-ucb-gold); box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
    100% { background: linear-gradient(135deg, #FF0000 0%, #E50914 100%); border-color: #FFFFFF; box-shadow: 0 0 25px rgba(255, 255, 255, 0.9); }
}

.alarm-icon {
    font-size: 16px;
}

.alarm-text {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.time-over-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.time-over-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.time-over-banner {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    color: var(--color-ucb-gold);
    text-shadow: 0 0 25px rgba(229, 9, 20, 0.9), 0 0 10px #000;
    animation: zoomBanner 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes zoomBanner {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1.1); opacity: 1; }
}

.game-hud-enhanced {
    position: absolute;
    top: 15px;
    left: 12px;
    right: 12px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hud-player-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 5, 5, 0.85);
    border: 1.5px solid var(--color-ucb-gold);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hud-logo {
    height: 28px;
    width: auto;
}

.player-details {
    display: flex;
    flex-direction: column;
}

.hud-player-label {
    font-size: 8px;
    font-weight: 900;
    color: var(--color-ucb-gold);
    letter-spacing: 1px;
}

.hud-player-name {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 900;
    color: #FFF;
    max-width: 95px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hud-metrics {
    display: flex;
    gap: 6px;
}

.hud-card {
    background: rgba(10, 5, 5, 0.85);
    border: 1.5px solid var(--color-ucb-gold);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 12px;
    text-align: center;
    min-width: 68px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.hud-card-label {
    display: block;
    font-size: 8px;
    font-weight: 900;
    color: var(--color-ucb-gold);
    letter-spacing: 1px;
}

.hud-card-value {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 900;
    color: #FFF;
}

.hud-clicks .hud-card-value {
    color: var(--color-ucb-gold);
}

.pressure-container-enhanced {
    position: absolute;
    top: 75px;
    left: 12px;
    right: 12px;
    z-index: 10;
}

.pressure-title {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--color-ucb-gold);
    text-align: center;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}

.pressure-bar-bg {
    height: 12px;
    background: rgba(0, 0, 0, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.pressure-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #FFD700, #E50914, #FF0055);
    box-shadow: 0 0 12px #E50914;
    border-radius: 999px;
    transition: width 0.1s linear;
}

.click-effects-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
    overflow: hidden;
}

.shockwave {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 3px solid var(--color-ucb-gold);
    transform: translate(-50%, -50%) scale(0.2);
    opacity: 1;
    animation: expandWave 0.5s ease-out forwards;
}

@keyframes expandWave {
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
        border-color: var(--color-ucb-red-bright);
    }
}

.score-popup {
    position: absolute;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: var(--color-ucb-gold);
    text-shadow: 0 0 10px rgba(229, 9, 20, 0.9), 0 2px 4px #000;
    transform: translate(-50%, -50%);
    animation: floatUpScore 0.6s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes floatUpScore {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0.8); }
    50% { transform: translate(-50%, -90px) scale(1.3); }
    100% { opacity: 0; transform: translate(-50%, -130px) scale(1); }
}

.victory-popup {
    animation: floatVictoryText 0.8s ease-out forwards !important;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.9), 0 0 5px #000 !important;
    font-weight: 900 !important;
}

@keyframes floatVictoryText {
    0% { transform: translate(-50%, 0) scale(0.6); opacity: 0; }
    50% { transform: translate(-50%, -30px) scale(1.2); opacity: 1; }
    100% { transform: translate(-50%, -60px) scale(1.0); opacity: 0; }
}

.game-action-area {
    position: absolute;
    bottom: 25px;
    left: 12px;
    right: 12px;
    z-index: 10;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.game-action-area.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.btn-decapsulate-enhanced {
    position: relative;
    width: 100%;
    height: 90px;
    background: linear-gradient(135deg, #E50914 0%, #8B0000 100%);
    border: 3px solid var(--color-ucb-gold);
    border-radius: 20px;
    color: #FFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(229, 9, 20, 0.7), 0 0 25px rgba(255, 215, 0, 0.5);
    transition: transform 0.05s ease;
}

.btn-decapsulate-enhanced:active {
    transform: scale(0.95);
    background: linear-gradient(135deg, #FF5252 0%, #E50914 100%);
}

.btn-decapsulate-enhanced.btn-attention-pulse {
    animation: btnAttentionPulse 1.2s infinite ease-in-out;
}

@keyframes btnAttentionPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 15px 35px rgba(229, 9, 20, 0.7), 0 0 25px rgba(255, 215, 0, 0.5); }
    50% { transform: scale(1.04); box-shadow: 0 22px 45px rgba(229, 9, 20, 0.95), 0 0 45px rgba(255, 215, 0, 0.95); }
}

.btn-pulse-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,215,0,0.4) 0%, transparent 70%);
    animation: pulseBtn 1.5s infinite alternate ease-in-out;
}

@keyframes pulseBtn {
    0% { transform: scale(0.9); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 1; }
}

.btn-text {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.btn-subtext {
    position: relative;
    z-index: 2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--color-ucb-gold);
}

/* ==========================================================================
   📱 ÉCRAN FACEBOOK BOOST (IMAGE 1:1 + FOND BLANC MODERNE SANS CADRE)
   ========================================================================== */
#screen-facebook-boost {
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    color: #1A1A1A;
}

.fb-boost-screen-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: #0E0E12;
    overflow: hidden;
    position: relative;
}

.fb-boost-top-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    background: #0A0A0C;
    flex-shrink: 0;
    position: relative;
}

.fb-boost-top-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.fb-boost-image-1x1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.fb-boost-bottom-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 20px 20px 0 0;
    margin-top: -16px;
    position: relative;
    z-index: 2;
    padding: clamp(8px, 1.6vh, 14px) clamp(12px, 3vw, 16px) clamp(10px, 1.8vh, 16px) clamp(12px, 3vw, 16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(4px, 1vh, 8px);
    text-align: center;
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.35);
}

.fb-boost-bottom-content::-webkit-scrollbar {
    display: none;
}

.fb-sheet-handle {
    display: none;
}

.fb-boost-multiplier-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #FFFDF5 0%, #FEF3C7 100%);
    border: 1px solid #FCD34D;
    border-radius: 999px;
    padding: 3px 12px;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.18), inset 0 1px 0 #FFFFFF;
    flex-shrink: 0;
}

.pulse-fire {
    font-size: 13px;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.4));
    animation: pulseFire 1.5s infinite alternate ease-in-out;
}

@keyframes pulseFire {
    0% { transform: scale(1); }
    100% { transform: scale(1.25); }
}

.fb-boost-multiplier-pill .pill-label {
    font-family: var(--font-heading);
    font-size: 10.5px;
    font-weight: 800;
    color: #92400E;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.fb-boost-multiplier-pill .pill-badge {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 900;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(217, 119, 6, 0.4);
}

.fb-boost-header-group {
    margin: 0;
    flex-shrink: 0;
}

.fb-boost-title {
    font-family: var(--font-heading);
    font-size: clamp(14px, 2vh, 17px);
    font-weight: 900;
    color: #0F172A;
    line-height: 1.15;
    letter-spacing: 0.2px;
    margin: 0;
    text-transform: uppercase;
}

.fb-boost-subtitle {
    font-family: var(--font-body);
    font-size: clamp(10px, 1.4vh, 11.5px);
    color: #64748B;
    line-height: 1.25;
    margin: 1px 0 0 0;
    font-weight: 500;
}

.fb-benefits-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: clamp(6px, 1vh, 9px) 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(3px, 0.8vh, 6px);
    text-align: left;
    margin: 0;
    flex: 1;
    min-height: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.fb-benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.benefit-icon {
    font-size: 12px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.benefit-text {
    font-size: clamp(10px, 1.3vh, 11px);
    color: #334155;
    line-height: 1.25;
    font-family: var(--font-body);
}

.benefit-text strong {
    color: #0F172A;
    font-weight: 800;
}

.fb-benefit-divider {
    height: 1px;
    background: #E2E8F0;
    width: 100%;
    opacity: 0.7;
}

.fb-boost-actions {
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 0.8vh, 6px);
    flex-shrink: 0;
    width: 100%;
}

.btn-fb-primary-like {
    width: 100%;
    padding: clamp(8px, 1.3vh, 11px) 14px;
    background: linear-gradient(135deg, #1877F2 0%, #0A66C2 100%);
    color: #FFFFFF;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    animation: pulseFbButton 2.2s infinite ease-in-out;
}

.btn-fb-primary-like:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 119, 242, 0.55);
}

.btn-fb-primary-like:active {
    transform: scale(0.97);
}

@keyframes pulseFbButton {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 6px 18px rgba(24, 119, 242, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 10px 24px rgba(24, 119, 242, 0.6);
    }
}

.fb-brand-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
}

.btn-fb-text-block {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.btn-main-label {
    font-family: var(--font-heading);
    font-size: clamp(11.5px, 1.6vh, 13px);
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    line-height: 1.1;
}

.btn-sub-label {
    font-family: var(--font-body);
    font-size: clamp(8px, 1.1vh, 9px);
    font-weight: 800;
    color: #BAE6FD;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 1px;
}

.btn-fb-secondary-discreet {
    width: 100%;
    padding: clamp(6px, 1vh, 8px) 12px;
    background: #F1F5F9;
    color: #475569;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: clamp(10px, 1.3vh, 11px);
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.18s ease;
    text-decoration: none;
}

.btn-fb-secondary-discreet:hover {
    background: #E2E8F0;
    color: #0F172A;
    border-color: #CBD5E1;
}

.btn-fb-secondary-discreet .check-icon {
    color: #10B981;
    font-weight: 900;
    font-size: 12px;
}

/* ==========================================================================
   🔍 SIMULATEUR DE VÉRIFICATION FACEBOOK (5 SECONDES)
   ========================================================================== */
.fb-verification-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fb-verification-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.fb-verification-card {
    width: 100%;
    background: #FFFFFF;
    padding: 24px 20px;
    text-align: center;
    border: 3px solid var(--color-ucb-gold);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 215, 0, 0.4);
    color: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fb-verification-scanner {
    width: 44px;
    height: 44px;
    border: 4px solid #E9ECEF;
    border-top-color: #1877F2;
    border-radius: 50% !important;
    animation: scanSpin 0.9s infinite linear;
    margin-bottom: 12px;
}

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

.fb-verify-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 900;
    color: #0B51C5;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.fb-verify-sub {
    font-size: 11px;
    color: #6C757D;
    font-weight: 600;
    margin-bottom: 14px;
}

.fb-progress-track {
    width: 100%;
    height: 12px;
    background: #E9ECEF;
    border: 1px solid #CED4DA;
    overflow: hidden;
    margin-bottom: 14px;
}

.fb-progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #1877F2 0%, #00C853 100%);
    transition: width 0.1s linear;
}

.fb-steps-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
    text-align: left;
}

.fb-step-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    color: #6C757D;
    padding: 6px 10px;
    background: #F8F9FA;
    border: 1px solid #E9ECEF;
    transition: all 0.3s ease;
}

.fb-step-row.done {
    color: #15803D;
    background: #F0FDF4;
    border-color: #BBF7D0;
}

.step-status-icon {
    font-size: 14px;
}

.fb-countdown-text {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 900;
    color: #E50914;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* BLOC ALERTE RETOUR TROP RAPIDE (< 3s) */
.fb-quick-return-card {
    width: 100%;
    background: #FFF5F5;
    border: 1.5px solid #E50914;
    border-radius: 0 !important;
    padding: 14px 12px;
    margin-top: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.15);
}

.warn-badge-tag {
    display: inline-block;
    background: #E50914;
    color: #FFF;
    font-family: var(--font-heading);
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 2px 8px;
    margin-bottom: 6px;
    border-radius: 0 !important;
}

.warn-title {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 900;
    color: #991B1B;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.warn-desc {
    font-size: 11px;
    color: #4B5563;
    line-height: 1.35;
    margin-bottom: 12px;
}

.warn-desc strong {
    color: #DC2626;
}

.warn-btn-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.btn-warn-retry {
    background: linear-gradient(135deg, #1877F2 0%, #0B51C5 100%);
    color: #FFF;
    border: none;
    border-radius: 0 !important;
    padding: 11px 12px;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 900;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
    text-transform: uppercase;
    transition: transform 0.1s;
}

.btn-warn-retry:active {
    transform: scale(0.97);
}

.btn-warn-skip {
    background: transparent;
    border: 1px solid #CBD5E1;
    border-radius: 0 !important;
    color: #64748B;
    padding: 7px 10px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-warn-skip:hover {
    background: #F1F5F9;
    color: #1E293B;
}

#screen-results {
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.results-top-gradient-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.4);
    z-index: 2;
}

.results-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.red-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(168, 0, 0, 0.95) 0%, rgba(139, 0, 0, 0.85) 50%, rgba(50, 0, 0, 0.92) 100%);
}

.results-top-content {
    position: relative;
    z-index: 3;
    height: 100%;
    padding: clamp(8px, 1.8vh, 16px) 14px clamp(14px, 2.4vh, 22px) 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.results-header-inline {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-logo-header {
    height: clamp(26px, 3.6vh, 32px);
    width: auto;
}

.debug-reset-logo {
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.debug-reset-logo:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.9));
}

.debug-reset-logo:active {
    transform: scale(0.95);
}

.result-badge-pill {
    background: var(--color-ucb-gold);
    color: #000;
    font-size: clamp(8.5px, 1.1vh, 9.5px);
    font-weight: 900;
    padding: 3px 9px;
    border: 1px solid #000;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.titles-hierarchy {
    text-align: center;
    margin: 0;
}

.main-title-large {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2.8vh, 24px);
    font-weight: 900;
    color: #FFF;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    line-height: 1.1;
}

.sub-title-medium {
    font-size: clamp(9px, 1.3vh, 11px);
    font-weight: 800;
    color: var(--color-ucb-gold);
    letter-spacing: 1px;
    margin-top: 1px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.score-hero-box {
    text-align: center;
    background: rgba(0, 0, 0, 0.65);
    border: 2px solid var(--color-ucb-gold);
    border-radius: 10px;
    padding: clamp(4px, 1vh, 8px) 16px;
    backdrop-filter: blur(8px);
    width: 88%;
    max-width: 320px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 12px rgba(245, 158, 11, 0.2);
}

.score-hero-label {
    display: block;
    font-size: clamp(7.5px, 1vh, 8.5px);
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--color-ucb-gold);
}

.score-hero-val-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.score-hero-val {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4.4vh, 36px);
    font-weight: 900;
    color: #FFF;
    line-height: 1;
    text-shadow: 0 0 16px rgba(255, 215, 0, 0.9);
}

.score-hero-pts {
    font-size: clamp(11px, 1.6vh, 13px);
    font-weight: 900;
    color: var(--color-ucb-gold);
}

.results-bottom-white {
    flex: 1;
    min-height: 0;
    background: #FFFFFF;
    border-radius: 20px 20px 0 0;
    margin-top: -16px;
    position: relative;
    z-index: 5;
    padding: clamp(8px, 1.6vh, 14px) clamp(12px, 3vw, 16px) clamp(10px, 1.8vh, 16px) clamp(12px, 3vw, 16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(4px, 1vh, 8px);
    box-shadow: 0 -12px 36px rgba(0, 0, 0, 0.4);
    color: #1A1A1A;
    overflow: hidden;
}

.results-bottom-white::-webkit-scrollbar {
    display: none;
}

.results-sheet-handle {
    display: none;
}

.stats-white-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: clamp(4px, 0.8vh, 8px) clamp(8px, 2vw, 12px);
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
    justify-content: space-evenly;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(10.5px, 1.4vh, 12px);
    font-weight: 700;
    color: #475569;
    padding: 2px 0;
    border-bottom: 1px solid #F1F5F9;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-icon {
    font-size: 11px;
    margin-right: 4px;
}

.stat-val {
    font-weight: 900;
    color: #0F172A;
    font-family: var(--font-heading);
    font-size: clamp(11px, 1.4vh, 12px);
}

.stat-val-pseudo {
    color: #E50914;
    letter-spacing: 0.5px;
    font-size: clamp(12px, 1.6vh, 13px);
}

.stat-pill-stat {
    background: #EEF2F6;
    padding: 1px 6px;
    border-radius: 4px;
    color: #1E293B;
    font-size: clamp(10px, 1.3vh, 11px);
}

.stat-row.highlight {
    color: #D97706;
}

.stat-bonus-val {
    color: #D97706;
    font-weight: 900;
}

.stat-fb-badge {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1px solid #FCD34D;
    color: #B45309;
    padding: 1px 7px;
    border-radius: 999px;
    font-size: clamp(9.5px, 1.2vh, 10.5px);
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.thanks-date-banner {
    text-align: center;
    background: linear-gradient(135deg, #FFFDF5 0%, #FEF3C7 100%);
    border: 1px solid #FDE68A;
    border-radius: 6px;
    padding: clamp(3px, 0.6vh, 5px) 8px;
    margin: 0;
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.08);
    flex-shrink: 0;
}

.thanks-text {
    font-size: clamp(9.5px, 1.3vh, 10.5px);
    font-weight: 800;
    color: #92400E;
    margin-bottom: 0;
    font-family: var(--font-heading);
}

.thanks-date {
    display: block;
    font-size: clamp(8.5px, 1.1vh, 9.5px);
    font-weight: 700;
    color: #B45309;
    letter-spacing: 0.2px;
}

.results-actions-group {
    display: flex;
    flex-direction: column;
    gap: clamp(3px, 0.7vh, 5px);
    flex-shrink: 0;
    width: 100%;
}

/* ==========================================================================
   🏆 HERO LEADERBOARD BUTTON (REDIRECTION VERS LIVE FACEBOOK UCB)
   ========================================================================== */
.btn-leaderboard-hero {
    position: relative;
    width: 100%;
    padding: clamp(7px, 1.2vh, 9px) 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    color: #000000;
    font-family: var(--font-heading);
    border-radius: 8px;
    border: 1px solid #F59E0B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: transform 0.15s;
    overflow: hidden;
    animation: pulseLeaderboardGold 2.2s infinite ease-in-out;
}

.btn-leaderboard-hero:active {
    transform: scale(0.97);
}

.leaderboard-btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: skewX(-25deg);
    animation: shimmerGlow 3s infinite;
}

@keyframes shimmerGlow {
    0% { left: -100%; }
    40%, 100% { left: 160%; }
}

@keyframes pulseLeaderboardGold {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    }
    50% {
        transform: scale(1.015);
        box-shadow: 0 6px 18px rgba(245, 158, 11, 0.55);
    }
}

.leaderboard-icon {
    font-size: 15px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.leaderboard-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.lb-main-text {
    font-size: clamp(11px, 1.5vh, 12.5px);
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.1;
    color: #000;
}

.lb-sub-text {
    font-size: clamp(8px, 1.1vh, 9px);
    font-weight: 800;
    letter-spacing: 0.3px;
    color: #78350F;
    margin-top: 1px;
}

.btn-whatsapp-red {
    width: 100%;
    padding: clamp(6px, 1.1vh, 8px) 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(10px, 1.4vh, 11.5px);
    letter-spacing: 0.5px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.32);
    text-transform: uppercase;
}

.btn-whatsapp-red:active {
    transform: scale(0.97);
}

.wa-brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-replay-dark {
    width: 100%;
    padding: clamp(5px, 0.9vh, 7px) 12px;
    background: #0F172A;
    color: #F8FAFC;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(9.5px, 1.3vh, 10.5px);
    letter-spacing: 0.5px;
    border: 1px solid #334155;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-transform: uppercase;
}

.btn-replay-dark:hover {
    background: #1E293B;
    border-color: #475569;
    transform: translateY(-1px);
}

.btn-replay-dark:active {
    transform: scale(0.97);
    background: #000;
}

.replay-icon {
    font-size: 12px;
}

/* ==========================================================================
   🔵 INTERSTITIEL FACEBOOK BOOST GATE (SCORE X3 & CONDITION DE GAIN)
   ========================================================================== */
.fb-gate-overlay {
    background: rgba(10, 0, 0, 0.92);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 25;
}

.fb-gate-card {
    width: 100%;
    max-height: 94%;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.96) 0%, rgba(50, 0, 0, 0.98) 100%);
    border: 3px solid var(--color-ucb-gold);
    padding: 16px 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.9), 0 0 30px rgba(229, 9, 20, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow-y: auto;
}

.fb-gate-header {
    margin-bottom: 10px;
}

.fb-boost-badge {
    display: inline-block;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    color: #000;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    padding: 4px 10px;
    border: 1px solid #000;
    margin-bottom: 6px;
    animation: pulseBadge 1.5s infinite alternate ease-in-out;
}

@keyframes pulseBadge {
    0% { transform: scale(0.97); }
    100% { transform: scale(1.03); }
}

.fb-gate-header h2 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 900;
    color: #FFF;
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.fb-gate-img-wrapper {
    width: 100%;
    max-width: 280px;
    height: 155px;
    border: 2px solid #FFFFFF;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    background: #000;
}

.fb-gate-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-gate-info-box {
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    border: 1.5px solid rgba(255, 215, 0, 0.6);
    padding: 10px 12px;
    margin-bottom: 12px;
}

.fb-multiplier-tag {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 900;
    color: var(--color-ucb-gold);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.fb-gate-condition {
    font-size: 11px;
    line-height: 1.4;
    color: #FFFFFF;
    font-weight: 600;
}

.fb-gate-condition strong {
    color: #FF5252;
}

.fb-gate-condition u {
    color: var(--color-ucb-gold);
    text-decoration-color: var(--color-ucb-gold);
    font-weight: 800;
}

.fb-gate-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-fb-like-action {
    width: 100%;
    padding: 13px 10px;
    background: linear-gradient(135deg, #1877F2 0%, #0B51C5 100%);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.5px;
    border: 2px solid var(--color-ucb-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.5), 0 0 15px rgba(255, 215, 0, 0.4);
    animation: pulseFbBtn 2s infinite ease-in-out;
    transition: transform 0.15s;
}

.btn-fb-like-action:active {
    transform: scale(0.97);
}

@keyframes pulseFbBtn {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(24, 119, 242, 0.5), 0 0 15px rgba(255, 215, 0, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 12px 28px rgba(24, 119, 242, 0.7), 0 0 25px rgba(255, 215, 0, 0.8); }
}

.fb-like-icon {
    font-size: 18px;
}

.fb-like-btn-text {
    line-height: 1.2;
}

.btn-fb-already-done {
    width: 100%;
    padding: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.15s;
}

.btn-fb-already-done:hover,
.btn-fb-already-done:active {
    color: #FFF;
}
