.streak-page-edooly-main-container {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    font-family: 'Nunito', sans-serif;
    overflow: hidden;
    background: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.streak-page-edooly-main-container.streak-page-edooly-gradient-active {
    background: linear-gradient(to bottom, #fff9db 0%, #ffffff 100%);
    transition: background 1.5s ease-in-out;
}

.streak-page-edooly-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.streak-page-edooly-title {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFC107;
    text-align: center;
    opacity: 0;
    display: none;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
    max-width: 90%;
    font-family: 'Nunito', sans-serif;
    z-index: 10;
}

@keyframes streak-page-edooly-titleFadeIn {
    0% { 
        opacity: 0; 
        transform: translate(-50%, 20px); 
    }
    100% { 
        opacity: 1; 
        transform: translate(-50%, 0); 
    }
}

.streak-page-edooly-center-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-top: -50px;
}

.streak-page-edooly-center-wrapper.streak-page-edooly-move-right {
    transform: translateX(60px);
}

.streak-page-edooly-lottie {
    width: 380px;
    height: 380px;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.streak-page-edooly-center-wrapper.streak-page-edooly-move-right .streak-page-edooly-lottie {
    width: 220px;
    height: 220px;
}

#streak-page-edooly-number {
    font-family: 'Nunito', sans-serif;
    font-size: 7rem;
    font-weight: 700;
    color: #FFD15B;
    text-shadow: 2px 2px 0 #D6A427, 4px 4px 0 #B88F24, 6px 6px 8px rgba(0,0,0,0.15);
    opacity: 0;
    display: none;
    width: 120px;
    text-align: center;
    user-select: none;
    margin-right: -10px;
    z-index: 2;
    position: relative;
}

@keyframes streak-page-edooly-popIn {
    0% { 
        transform: scale(0.5) translateY(30px) rotate(-10deg); 
        opacity: 0; 
    }
    60% { 
        transform: scale(1.2) translateY(-10px) rotate(5deg); 
        opacity: 1; 
    }
    80% { 
        transform: scale(0.95) translateY(5px) rotate(-2deg); 
    }
    100% { 
        transform: scale(1) translateY(0) rotate(0); 
        opacity: 1; 
    }
}

.streak-page-edooly-status-bar {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(40px) scale(0.95);
    background: #1c1c1c;
    border: 2px solid #333;
    border-radius: 16px;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    width: 85%;
    max-width: 700px;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    box-sizing: border-box;
}

.streak-page-edooly-status-bar.streak-page-edooly-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.streak-page-edooly-status-bar svg {
    width: 34px;
    height: 34px;
    transition: all 0.3s ease;
}

.streak-page-edooly-status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.streak-page-edooly-day-label {
    color: white;
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.streak-page-edooly-button-container {
    position: fixed;
    bottom: 25px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 100;
}

.streak-page-edooly-button-container.streak-page-edooly-visible {
    opacity: 1;
}

.streak-page-edooly-continue-button {
    font-family: 'Nunito', sans-serif;
    position: relative;
    background: linear-gradient(145deg, #2c2c2c, #000000) !important;
    color: white !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 0 28px !important;
    cursor: pointer;
    box-shadow: 0 5px 0 #333, 0 8px 20px rgba(0,0,0,0.15) !important;
    transition: all 0.3s ease !important;
    transform: translateY(0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    min-width: 260px !important;
    font-size: 18px !important;
    line-height: 50px !important;
    height: 50px !important;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.streak-page-edooly-continue-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.streak-page-edooly-continue-button:hover:not(:disabled) {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 0 #222, 0 12px 20px rgba(0,0,0,0.2) !important;
}

.streak-page-edooly-continue-button:hover:not(:disabled)::before {
    left: 100%;
}

.streak-page-edooly-continue-button:active:not(:disabled) {
    box-shadow: 0 2px 0 #222 !important;
    transform: translateY(4px) !important;
}

.streak-page-edooly-continue-button:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

.streak-page-edooly-button-text {
    display: inline-block;
}

.streak-page-edooly-button-loader {
    display: inline-flex;
    align-items: flex-end;
    gap: 8px;
    height: 14px;
}

.streak-page-edooly-loader-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    animation: streak-page-edooly-wave 0.9s ease-in-out infinite;
}

.streak-page-edooly-loader-dot:nth-child(2) { 
    animation-delay: 0.15s; 
}

.streak-page-edooly-loader-dot:nth-child(3) { 
    animation-delay: 0.3s; 
}

@keyframes streak-page-edooly-wave {
    0%, 60%, 100% { 
        transform: translateY(0); 
    }
    30% { 
        transform: translateY(-8px); 
    }
}

/* Elementos de rayos mejorados */
.streak-page-edooly-lightning {
    position: absolute;
    width: 8px;
    height: 0;
    opacity: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
}

.streak-page-edooly-lightning-core {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, #FFEB3B 15%, #FF9800 40%, #FFEB3B 70%, transparent 100%);
    border-radius: 2px;
    filter: blur(1px);
}

.streak-page-edooly-lightning-branch {
    position: absolute;
    background: linear-gradient(to bottom, transparent 0%, #FFEB3B 30%, transparent 70%);
    width: 3px;
    height: 40%;
    opacity: 0.8;
    filter: blur(0.5px);
}

.streak-page-edooly-lightning-branch-1 {
    top: 20%;
    left: -10px;
    transform: rotate(-25deg);
}

.streak-page-edooly-lightning-branch-2 {
    top: 50%;
    right: -10px;
    transform: rotate(25deg);
}

.streak-page-edooly-lightning-1 {
    top: 10%;
    left: 20%;
    animation: streak-page-edooly-lightningFlash 1.2s ease-out 0.8s forwards;
}

.streak-page-edooly-lightning-2 {
    top: 15%;
    right: 25%;
    animation: streak-page-edooly-lightningFlash 1s ease-out 1.2s forwards;
}

.streak-page-edooly-lightning-3 {
    top: 30%;
    left: 15%;
    animation: streak-page-edooly-lightningFlash 0.8s ease-out 1.5s forwards;
}

.streak-page-edooly-lightning-4 {
    top: 25%;
    right: 15%;
    animation: streak-page-edooly-lightningFlash 1.1s ease-out 1s forwards;
}

@keyframes streak-page-edooly-lightningFlash {
    0% {
        height: 0;
        opacity: 0;
    }
    15% {
        height: 60px;
        opacity: 0.7;
    }
    30% {
        height: 120px;
        opacity: 1;
    }
    45% {
        height: 180px;
        opacity: 0.9;
    }
    60% {
        height: 150px;
        opacity: 0.8;
    }
    80% {
        height: 100px;
        opacity: 0.6;
    }
    100% {
        height: 0;
        opacity: 0;
    }
}

/* Contenedor para móviles */
.streak-page-edooly-mobile-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1c1c1c;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding: 15px 10px 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    box-sizing: border-box;
}

.streak-page-edooly-mobile-container.streak-page-edooly-mobile-visible {
    transform: translateY(0);
}

.streak-page-edooly-status-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 15px;
}

.streak-page-edooly-status-row-top {
    margin-bottom: 10px;
}

.streak-page-edooly-status-row-bottom {
    margin-bottom: 15px;
}

.streak-page-edooly-mobile-container .streak-page-edooly-status-item {
    flex: 1;
    padding: 0 5px;
}

.streak-page-edooly-mobile-container .streak-page-edooly-day-label {
    font-size: 10px;
}

.streak-page-edooly-mobile-container svg {
    width: 26px;
    height: 26px;
}

.streak-page-edooly-mobile-separator {
    width: 90%;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: 10px 0 15px;
}

.streak-page-edooly-mobile-button {
    background: linear-gradient(145deg, #FFA000, #FF8F00) !important;
    color: #1c1c1c !important;
    box-shadow: 0 5px 0 #E65100, 0 8px 20px rgba(230, 81, 0, 0.3) !important;
    min-width: 90% !important;
    font-weight: 800 !important;
}

.streak-page-edooly-mobile-button:hover:not(:disabled) {
    box-shadow: 0 8px 0 #D84315, 0 12px 20px rgba(230, 81, 0, 0.4) !important;
}

.streak-page-edooly-mobile-button:active:not(:disabled) {
    box-shadow: 0 2px 0 #D84315 !important;
}

/* Responsive para tablets */
@media (max-width: 768px) {
    .streak-page-edooly-title {
        font-size: 3rem;
        top: 12%;
    }
    
    .streak-page-edooly-lottie {
        width: 300px;
        height: 300px;
    }
    
    .streak-page-edooly-center-wrapper.streak-page-edooly-move-right .streak-page-edooly-lottie {
        width: 180px;
        height: 180px;
    }
    
    #streak-page-edooly-number {
        font-size: 5.5rem;
        width: 90px;
    }
    
    .streak-page-edooly-status-bar {
        width: 90%;
        gap: 0;
        padding: 12px 15px;
        transform: translateX(-50%) translateY(40px) scale(0.95);
    }
    
    .streak-page-edooly-status-bar.streak-page-edooly-visible {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    
    .streak-page-edooly-status-bar svg {
        width: 28px;
        height: 28px;
    }
    
    .streak-page-edooly-day-label {
        font-size: 11px;
    }
    
    .streak-page-edooly-continue-button {
        min-width: 220px !important;
        font-size: 16px !important;
        height: 45px !important;
        line-height: 45px !important;
    }
}

/* Responsive para móviles - REVISADO */
@media (max-width: 480px) {
    .streak-page-edooly-title {
        font-size: 2.5rem;
        top: 10%;
    }
    
    .streak-page-edooly-center-wrapper {
        flex-direction: row;
        gap: 10px;
        margin-top: -30px;
    }
    
    .streak-page-edooly-center-wrapper.streak-page-edooly-move-right {
        transform: translateX(30px);
    }
    
    .streak-page-edooly-lottie {
        width: 200px;
        height: 200px;
    }
    
    .streak-page-edooly-center-wrapper.streak-page-edooly-move-right .streak-page-edooly-lottie {
        width: 140px;
        height: 140px;
    }
    
    #streak-page-edooly-number {
        font-size: 4.5rem;
        width: 60px;
        margin-right: -5px;
    }
    
    .streak-page-edooly-status-bar {
        display: none;
    }
    
    .streak-page-edooly-button-container {
        display: none;
    }
    
    .streak-page-edooly-mobile-container {
        display: flex;
    }
    
    /* Ajustar rayos para móviles */
    .streak-page-edooly-lightning {
        width: 6px;
    }
    
    @keyframes streak-page-edooly-lightningFlash {
        0% {
            height: 0;
            opacity: 0;
        }
        15% {
            height: 40px;
            opacity: 0.7;
        }
        30% {
            height: 80px;
            opacity: 1;
        }
        45% {
            height: 120px;
            opacity: 0.9;
        }
        60% {
            height: 100px;
            opacity: 0.8;
        }
        80% {
            height: 70px;
            opacity: 0.6;
        }
        100% {
            height: 0;
            opacity: 0;
        }
    }
}

/* Para pantallas muy pequeñas */
@media (max-width: 320px) {
    .streak-page-edooly-title {
        font-size: 1.8rem;
    }
    
    .streak-page-edooly-lottie {
        width: 170px;
        height: 170px;
    }
    
    .streak-page-edooly-center-wrapper.streak-page-edooly-move-right .streak-page-edooly-lottie {
        width: 110px;
        height: 110px;
    }
    
    #streak-page-edooly-number {
        font-size: 3.5rem;
        width: 50px;
    }
    
    .streak-page-edooly-mobile-container {
        padding: 12px 8px 18px;
    }
    
    .streak-page-edooly-mobile-container svg {
        width: 22px;
        height: 22px;
    }
    
    .streak-page-edooly-mobile-container .streak-page-edooly-day-label {
        font-size: 9px;
    }
}

/* Ajustes para modo landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .streak-page-edooly-title {
        font-size: 1.8rem;
        top: 8%;
    }
    
    .streak-page-edooly-center-wrapper {
        margin-top: -15px;
    }
    
    .streak-page-edooly-lottie {
        width: 150px;
        height: 150px;
    }
    
    .streak-page-edooly-center-wrapper.streak-page-edooly-move-right .streak-page-edooly-lottie {
        width: 100px;
        height: 100px;
    }
    
    #streak-page-edooly-number {
        font-size: 3rem;
    }
    
    .streak-page-edooly-mobile-container {
        padding: 8px 6px 12px;
    }
    
    .streak-page-edooly-mobile-container svg {
        width: 18px;
        height: 18px;
    }
    
    .streak-page-edooly-mobile-container .streak-page-edooly-day-label {
        font-size: 8px;
    }
    
    .streak-page-edooly-mobile-button {
        min-width: 85% !important;
        font-size: 14px !important;
        height: 38px !important;
        line-height: 38px !important;
    }
}