.sw-404 {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #0D0D0C;
    background-image: url('../assets/images/background 404.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-top: 120px;
}

.sw-404::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 90%, #010304 100%);
    pointer-events: none;
}

.sw-404__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--sw-gap);
    padding: 16px 100px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    margin-top: 80px;
}

.sw-404__title {
    font-family: 'Russo One', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 36px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #F9F9F9;
    margin: 0;
    padding: 0;
    text-align: left;
    vertical-align: middle;
}

.sw-404__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    color: #F9F9F9;
    margin: 0;
    padding: 0;
    text-align: left;
    vertical-align: middle;
}

.sw-404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 16px;
    height: 48px;
    background: var(--sw-yellow);
    color: #3A3A3C;
    font-family: var(--sw-btn-font);
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    text-decoration: none;
    border: none;
    border-radius: var(--sw-radius-btn);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    outline: none;
    width: fit-content;
    box-sizing: border-box;
}

.sw-404__btn:hover,
.sw-404__btn:focus {
    background: #E3C103;
    color: #3A3A3C;
    text-decoration: none;
}

.sw-404__btn:active {
    background: #E3C103;
    color: #3A3A3C;
}

/* Responsive styles */
@media (max-width: 768px) {
    .sw-404 {
        justify-content: center;
    }
    
    .sw-404__container {
        padding: 16px 32px;
        align-items: center;
        text-align: center;
    }
    
    .sw-404__title {
        font-size: 36px;
        text-align: center;
    }
    
    .sw-404__text {
        font-size: 16px;
        text-align: center;
    }
    
    .sw-404__btn {
        font-size: 16px;
        padding: 0 16px;
        height: 48px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .sw-404 {
        justify-content: center;
    }
    
    .sw-404__container {
        padding: 16px 16px;
        align-items: center;
        text-align: center;
    }
    
    .sw-404__title {
        font-size: 36px;
        text-align: center;
    }
    
    .sw-404__text {
        font-size: 16px;
        text-align: center;
    }
    
    .sw-404__btn {
        font-size: 16px;
        padding: 0 16px;
        height: 48px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Footer styles for 404 page */
body.error404 .sw-footer {
    background: #000000 !important;
    background-image: none !important;
    margin-top: 0 !important;
    min-height: 0 !important;
}

body.error404 .sw-footer__bg {
    display: none !important;
}

body.error404 .sw-footer__overlay {
    display: none !important;
}

body.error404 .sw-footer__lead {
    display: none !important;
}

body.error404 .sw-footer__bottom-panel {
    justify-content: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    display: flex !important;
}

body.error404 .sw-footer__content {
    gap: 0;
    padding: 40px 80px;
    justify-content: center;
    align-items: center;
} 