html, body {
    height: 100vh;
}

body {
    font-family: 'Montserrat';
    margin: 0;
}

.noscript {
    display: flex;
    font-size: 2.5rem;
    font-weight: bold;
    justify-content: center;
    border-bottom: 1rem solid black;
    padding: 10px;
}

.content-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}


.content-ad {
    justify-items: center;
}

.pr0m0-area {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ban-slot1 {
    width: 970px;
    height: 91px;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgb(91 91 91 / 20%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin: 10px;
}

.slot-text {
    color: #fff;
    font-weight: bold;
}

.ban-slot1:hover {
    opacity: 1;
}


#main-content-column-1{
    border-radius: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;

    height: auto;
    width: 100%;
}


.info-field {
    border: 6px solid #00c8ff;
    border-radius: 20px;
    background: white;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 15px;
}

.title-container {
    display: flex;
    justify-content: flex-end;
    margin: 7px 33px 30px 24px;
    position: relative;
}

.title-description-info{
    display: flex;
    width: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: absolute;
    top: -36px;
    left: 11%;
    transform: translateX(-50%);

    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 200, 255, 0.3);
    border: 2px solid #00c8ff;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.description-info{
    display: block;
    border-bottom: 2px solid;
    color: #00c8ff;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 5px 0px 5px 0px;
    margin: 3px 0px 25px 0px;
}

.how-to-play-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #1c2123;
    display: block;
}

.description-label {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(135deg, #4d77ff, #00c8ff);
    color: white;
    margin: 0;
    text-decoration: underline;
    display: flex;
    padding: 7px 20px 7px 20px;
    overflow: hidden;
}

.icon-home-about-title {
    width: 28px;
    height: 28px;
    margin-right: 4px;

    animation: pencilWrite 8s ease-in-out infinite;
    transform-origin: bottom right;
}

h1 {
    font-size: 20px;
    margin: 0;
}

h2 {
    font-size: 1.4rem;
    margin: 0;
}

h3 {
    font-size: 1.2em;
    color: #1c2123;
    margin: 0;
    font-weight: initial;
}


.about-popup-title {
    padding: 0px;
    margin: 0px;
    font-weight: bold;
}

.about-popup-info {
    margin: 0px;
    font-size: 1rem;
    line-height: 1.6;
    color: #1c2123;
    display: block;
}

.social-media-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgb(103 201 233);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background-color: rgb(124 58 237 / 77%);
    transform: translateY(-3px);
}

.social-icon img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.close-popup-button {
    background-color: transparent;
    user-select: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 4px;
}

.close-popup-button:hover {
    background-color: transparent !important;
    transition: transform 0.7s ease;
    transform: rotate(360deg);
}

.close-popup-button-image {
    width: 1.6rem;
    height: 1.6rem;
    display: inline-block; 
    vertical-align: middle; 
}



.about-the-game-title {
    display: block;
    border-bottom: 2px solid;
    color: #00c8ff;
    font-size: 1.4rem;
    font-weight: bold;
    padding: 5px 0px 5px 0px;
    margin: 3px 0px 25px 0px;
}

.game-name-info {
    padding: 0px;
    margin: 0px;
    color: #3bc1ff !important;
    font-weight: 600;
}

.about-description-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #1c2123;
    display: block;
    margin-top: 5px;
    padding: 0px 6px 0px 6px;
}

.about-description-text-how-to-play {
    color: #1c2123;
}

.title-head {
    display: flex;
    align-items: center;
}

.title-content {
    font-size: 1.2em;
    color: #1c2123;
}

.news-date {
    font-size: 0.9em;
    font-style: italic;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
    line-height: 20px;
}

.features-title {
    font-size: 1.1em;
    font-weight: 700;
    color: #673ab7a8;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
}

.section ul {
    margin: 15px 0 25px 0;
    padding-left: 0;
    list-style: none;
}

.section ul li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 25px;
    line-height: 1.6;
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: #1c2123;
    cursor: default;
}

.section ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0;
    color: #4fc3f7;
    font-size: 0.8em;
    transition: color 0.3s ease;
}

.section ul li:hover {
    transform: translate3d(3px, 0, 0);
    color: #673AB7;
}

.section ul li:hover::before {
    color: #673AB7;
}

.list-content span {
    display: block;
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 1rem;
}

.list-content span:last-child {
    font-weight: 600;
    color: #3bc1ff;
    margin-top: 15px;
    font-size: 1em;
}

.redirect-pages-link {
    color: #3bc1ff !important;
    font-weight: 600;
    letter-spacing: 0.6px;
    font-style: italic;
}


.about-links-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 15px;
}

.about-link-item {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background-color: rgba(77, 119, 255, 0.08);
    border: 1px solid rgba(77, 119, 255, 0.35);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.about-link-item:hover {
    background-color: rgba(77, 119, 255, 0.2);
    border-color: #4d77ff;
}

.about-inline-link {
    color: #4d77ff;
    text-decoration: none;
    font-weight: bold;
}

.about-inline-link:hover {
    text-decoration: underline;
}

.last-news {
    padding: 10px;
}


#main-content-column-2 {
    margin: 10px;
}

.ban-slot2 {
    width: 300px;
    height: 250px;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgb(91 91 91 / 20%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin: 10px;
}

.slot-text {
    color: #fff;
    font-weight: bold;
}

.ban-slot2:hover {
    opacity: 1;
}

.ban-slot3 {
    width: 729px;
    height: 91px;
    border: 2px dashed rgba(255,255,255,0.3);
    background: rgb(91 91 91 / 20%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    margin: 10px;
}

.slot-text {
    color: #fff;
    font-weight: bold;
}

.ban-slot3:hover {
    opacity: 1;
}


@media only screen and (orientation: portrait), (max-aspect-ratio: 4/3) {
    * {
        box-sizing: border-box !important;
    }

    .container, .main-content-master {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .content-container {
        flex-direction: column !important;
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #main-content-column-1, #main-content-column-2 {
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 5px 30px !important;
        margin: 0 !important;
    }

    .pr0m0-area {
        width: 100%;
        padding: 0 5px;
    }
    .ban-slot1 {
        width: 100% !important;
        max-width: 320px !important;
        height: 50px !important;
        font-size: 11px !important;
        margin: 15px auto !important;
    }
    .ban-slot2 {
        width: 100% !important;
        max-width: 320px !important;
        height: 50px !important;
        font-size: 11px !important;
        margin: 15px auto !important;
    }

    #main-content-column-1 .pr0m0-area {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 50px !important;
        background: #ffffff !important;
        border-top: 1.5px dashed rgba(77, 119, 255, 0.25) !important;
        z-index: 50 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .ban-slot3 {
        width: 100% !important;
        max-width: 100% !important;
        height: 50px !important;
        border: none !important;
        background: transparent !important;
        border-radius: 0 !important;
        margin: 0 !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        font-size: 11px !important;
        opacity: 1 !important;
    }

    #fixed-slot-mobile .slot-text {
        color: #a0aec0;
        font-size: 14px;
        font-weight: initial;
    }

    .info-field {
        margin: 10px 0px !important;
        padding: 20px 12px !important;
        border-radius: 16px !important;
        border-width: 4px !important;
    }

    .title-container {
        margin: 7px 0 20px 0 !important;
        justify-content: center !important;
    }
    .title-description-info {
        left: 50%;
        transform: translateX(-50%);
        top: -40px;
    }

    .about-description-text {
        margin-top: 10px;
    }
    .section ul li {
        padding-left: 20px !important;
    }

    .last-news {
        padding: 5px;
    }

    .title-head {
        display: block;
    }

    .title-content {
        padding-bottom: 5px;
    }

    .news-date {
        background: none;
        padding: initial;
        border-radius: initial;
        font-weight: initial;

        padding-bottom: 20px;
    }

    .social-media-icons {
        gap: 10px !important;
    }
    .social-icon {
        width: 40px !important;
        height: 40px !important;
    }
}

@media only screen and (max-width: 1024px) and (orientation: landscape) {
    * {
        box-sizing: border-box !important;
    }

    .container, .main-content-master {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .content-container {
        flex-direction: column !important;
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #main-content-column-1, #main-content-column-2 {
        width: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 20px 30px !important;
        margin: 0 !important;
    }

    .pr0m0-area {
        width: 100%;
    }
    .ban-slot1, .ban-slot2, .ban-slot3 {
        width: 100% !important;
        max-width: 728px !important;
        height: 90px !important;
        font-size: 11px !important;
        margin: 15px auto !important;
    }
}