/* ==========================
   BMWroom 404 PAGE
   CHECK CONTROL STYLE
========================== */

.error404-wrapper{
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    text-align: center;
    background: var(--bg, #0b0b0b);
    color: #fff;
}

/* CARD */
.error404-card{
    max-width: 720px;
    width: 100%;
}

/* CHECK ENGINE IMAGE */
.error404-engine{
    width: 140px;
    margin-bottom: 10px;
    transition: transform .2s ease, filter .2s ease;
}

/* hover effect */
.clickable-engine{
    cursor: pointer;
}

.clickable-engine:hover{
    transform: scale(1.08);
    filter: drop-shadow(0 0 10px rgba(255, 200, 0, 0.4));
}

.clickable-engine:active{
    transform: scale(0.96);
}

/* HINT TEXT */
.engine-hint{
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 20px;
}

/* CHECK CONTROL TITLE */
.error404-check{
    font-size: 26px;
    font-weight: 700;
    color: #f5b400;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* ERROR CODE */
.error404-code{
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

/* TITLE */
.error404-title{
    font-size: 30px;
    margin-bottom: 15px;
}

/* TEXT */
.error404-text{
    font-size: 17px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* STATUS BLOCK */
.error404-status{
    font-size: 15px;
    line-height: 2;
    margin-bottom: 20px;
}

.status-ok{
    color: #4caf50;
    font-weight: 600;
}

.status-warning{
    color: #f5b400;
    font-weight: 600;
}

/* JOKE */
.error404-joke{
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 25px;
}

/* BUTTONS */
.error404-buttons{
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.error404-btn{
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.25s ease;
    font-weight: 600;
}

/* PRIMARY BUTTON */
.error404-main{
    background: #fff;
    color: #000;
}

.error404-main:hover{
    transform: translateY(-2px);
}

/* SECONDARY BUTTON */
.error404-catalog{
    border: 1px solid #fff;
    color: #fff;
}

.error404-catalog:hover{
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

/* SOUND BLOCK (iframe container) */
#checkSoundContainer{
    margin-top: 15px;
}

/* RESPONSIVE */
@media (max-width: 768px){

    .error404-engine{
        width: 110px;
    }

    .error404-code{
        font-size: 46px;
    }

    .error404-title{
        font-size: 22px;
    }

    .error404-text{
        font-size: 15px;
    }

    .error404-buttons{
        flex-direction: column;
    }

}