/* Cover layer - Blur effect covering the entire website */
.cover-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 9999;
    pointer-events: auto;
    display: none; /* Por defecto oculto */
}

/* Show the cover layer */
.cover-layer.visible {
    display: block !important;
}

/* Hide the cover layer */
.cover-layer.hidden {
    display: none !important;
}

/* Alternative version with stronger blur */
.cover-layer-solid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    pointer-events: auto;
    display: none; /* Por defecto oculto */
}

/* Secret word container */
.secret-word-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-sizing: border-box;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    pointer-events: none;
}

.secret-word-box {
    background: rgb(250, 250, 250);
    border: 1px solid rgba(54, 64, 68, 0.1);
    border-radius: 12px;
    padding: 32px;
    position: relative;
    text-align: center;
    pointer-events: auto;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(54, 64, 68, 0.15), 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.secret-word-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 48px rgba(54, 64, 68, 0.2), 0 6px 24px rgba(0, 0, 0, 0.15);
}

.secret-word-title {
    font-family: 'Monument Grotesk Mono', monospace;
    font-size: 24px;
    font-weight: 600;
    color: rgba(54, 64, 68, 0.9);
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
}

.secret-word-subtitle {
    font-family: 'Monument Grotesk Mono', monospace;
    font-size: 14px;
    color: rgba(54, 64, 68, 0.75);
    margin: 0 0 24px 0;
    line-height: 1.4;
}

.secret-word-input-container {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.secret-word-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(54, 64, 68, 0.1);
    border-radius: 8px;
    font-family: 'Monument Grotesk Mono', monospace;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
    outline: none;
    color: rgba(54, 64, 68, 0.9);
}

.secret-word-input:focus {
    border-color: #3ea3cb;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(62, 163, 203, 0.1);
}

.secret-word-input::placeholder {
    color: rgba(54, 64, 68, 0.5);
}

.secret-word-submit {
    padding: 12px 16px;
    background: #3ea3cb;
    border: 1px solid #3ea3cb;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.secret-word-submit:hover {
    background: #2d8bb8;
    transform: translateY(-1px);
}

.secret-word-submit:active {
    transform: translateY(0);
}

.secret-word-error {
    font-family: 'Monument Grotesk Mono', monospace;
    font-size: 12px;
    color: #e74c3c;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
    font-weight: 500;
}

.secret-word-error.show {
    opacity: 1;
}

/* Responsive */
@media (max-width: 480px) {
    .secret-word-container {
        padding: 16px;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .secret-word-box {
        padding: 24px;
        width: 100%;
        max-width: 320px;
        margin: 0;
    }
    
    .secret-word-title {
        font-size: 20px;
    }
    
    .secret-word-input-container {
        flex-direction: column;
    }
    
    .secret-word-submit {
        width: 100%;
    }
}

/* Asegurar centrado perfecto en todas las pantallas */
@media (max-width: 768px) {
    .secret-word-container {
        padding: 20px;
    }
    
    .secret-word-box {
        max-width: 350px;
    }
}

