@media (max-width: 1280px) {
    .header-section {
        padding: 0 30px
    }
}

@media (max-width: 1199px) {

    .angesagte-game-section::before,
    .beliebte-game-section::before,
    .new-game-section::before {
        display: none !important
    }

    .angesagte-game-section::after,
    .beliebte-game-section::after,
    .new-game-section::after {
        display: none !important
    }
}

@media (max-width: 991px) {
    .play-button a {
        display: flex
    }

    .wrapper {
        margin-top: 30px
    }

    .game-info-box {
        flex-direction: column;
        gap: 16px
    }

    .game-info {
        align-items: center
    }

    .main-nav-section {
        gap: 10px
    }

    nav.main-nav {
        display: none
    }

    .mobile {
        display: block
    }

    .breadcrumb {
        overflow-x: auto
    }

    .game-categories {
        grid-template-columns: repeat(2, 1fr)
    }

    .title.mobile {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 0
    }

    .copyright {
        text-align: center
    }

    .game-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .sm {
        height: auto
    }

    .sm .game-thumb {
        height: auto
    }

    a.desktop {
        display: none
    }

    .slider-info {
        width: 95%
    }

    .hero-slider {
        height: 300px
    }

    .xl .game-thumb img {
        width: 100%;
        height: auto
    }

    .sm .game-thumb img {
        width: 100%;
        height: auto;
        border-radius: 6px
    }

    .right-rail {
        margin-top: 20px
    }

    .lg .game-thumb img {
        width: 100%;
        height: auto
    }

    .lg {
        height: auto
    }

    .container {
        width: 96% !important
    }

    .footer-top {
        flex-direction: column;
        gap: 16px
    }

    .content-grid {
        display: block
    }

    .header-section {
        height: auto;
        position: relative
    }

    .logo img {
        height: 66px
    }

    .search-toggle {
        display: inline-flex;
        background: none;
        border: 0;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px
    }

    .header-items {
        align-items: stretch
    }

    .search-box {
        position: absolute;
        left: 0;
        right: 0;
        bottom: -45px;
        margin: 0 16px;
        z-index: 1001;
        display: grid;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease
    }

    .search-box.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }
}

@media (max-width: 768px) {
    .error-section {
        min-height: 50vh;
        padding: 30px 15px
    }

    .error-inner span {
        font-size: 20px
    }

    .error-inner p {
        font-size: 14px
    }

    .error-home-btn {
        padding: 10px 20px;
        font-size: 14px
    }
 
}

@media (max-width: 480px) {
    .error-section {
        min-height: 40vh;
        padding: 20px 10px
    }

    .error-inner {
        max-width: 100%
    }

    .error-inner span {
        font-size: 18px
    }

    .error-inner p {
        font-size: 13px
    }

    .error-home-btn {
        padding: 8px 16px;
        font-size: 13px
    }
    .footer-block {
        text-align: center;
    }
}