/* ==================================================
   ARCA VIXO GAME PAGE
   ================================================== */

.back-home {
    justify-self: end;
    color: #c7ff2f;
    font-size: 12px;
    font-weight: 850;
}

.game-page {
    max-width: 1450px;
    margin: 0 auto;
    padding: 24px 24px 55px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    color: #6f7884;
    font-size: 9px;
    margin-bottom: 20px;
}

.breadcrumb a:hover {
    color: #fff;
}


/* ==================================================
   TITLE
   ================================================== */

.game-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 14px;
}

.game-title-row h1 {
    font-size: 30px;
    margin: 4px 0 0;
    letter-spacing: -1px;
}

.primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 8px;
    background: #c7ff2f;
    color: #0b0e10;
    border: 1px solid #c7ff2f;
    font-size: 11px;
    font-weight: 900;
}

.game-fullscreen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    background: #b7ff19;
    color: #0b0f14;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}


/* ==================================================
   GAME PLAYER
   ================================================== */

.game-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 78vh;
    background: #030508;
    border: 1px solid #2c333d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,.42);
}

.game-stage iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #050608;
}


/* ==================================================
   ABOUT
   ================================================== */

.game-copy {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0,850px) 1fr;
    gap: 30px;
}

.game-copy h2 {
    font-size: 20px;
    margin: 0 0 8px;
}

.game-copy h3 {
    font-size: 14px;
    margin: 22px 0 6px;
}

.game-copy p {
    font-size: 11px;
    color: #929aa6;
    line-height: 1.75;
    margin: 0;
}

.game-details {
    width: 100%;
}

.game-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    font-size: 18px;
    font-weight: 800;
    padding: 18px 0;
}

.game-details summary::-webkit-details-marker {
    display: none;
}

.details-arrow {
    transition: transform .2s ease;
}

.game-details[open] .details-arrow {
    transform: rotate(180deg);
}

.game-details-content {
    padding-bottom: 14px;
}

.game-details-content p {
    line-height: 1.7;
}

.more-category-games {
    margin-top: 20px;
}


/* ==================================================
   RELATED
   ================================================== */

.related-section {
    margin-top: 38px;
    padding-top: 27px;
    border-top: 1px solid #20262d;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0,1fr));
    gap: 13px;
}


/* ==================================================
   NOT FOUND
   ================================================== */

.not-found {
    text-align: center;
    padding: 120px 20px;
}

.not-found h1 {
    font-size: 40px;
    margin: 7px 0;
}

.not-found p {
    color: #8d95a0;
    margin-bottom: 20px;
}


/* ==================================================
   MOBILE UNAVAILABLE
   ================================================== */

.mobile-unavailable {
    max-width: 700px;
    margin: 20px auto 28px;
    padding: 36px 24px;
    text-align: center;
    border: 1px solid #2b323b;
    border-radius: 18px;
    background: #14191f;
}

.mobile-unavailable-icon {
    font-size: 42px;
    margin-bottom: 12px;
}

.mobile-unavailable h2 {
    margin: 0 0 10px;
    font-size: 24px;
}

.mobile-unavailable p {
    max-width: 520px;
    margin: 0 auto 22px;
    line-height: 1.6;
    color: #929aa5;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1100px) {
    .related-grid {
        grid-template-columns: repeat(4,1fr);
    }
}


/* ==================================================
   MOBILE PORTRAIT / GENERAL MOBILE
   ================================================== */

@media (max-width: 768px) {

    .game-page {
        padding: 10px 10px 30px;
    }

    .back-home {
        font-size: 10px;
    }

    .breadcrumb {
        gap: 6px;
        margin-bottom: 8px;
        font-size: 11px;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .game-title-row {
        display: block;
        margin-bottom: 8px;
    }

    .game-heading .kicker {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .game-heading h1 {
        font-size: 24px;
        line-height: 1.1;
        margin: 0 0 6px;
        letter-spacing: -.6px;
    }

    /* Hide fullscreen button on mobile */
    .game-fullscreen-btn {
        display: none !important;
    }

    /*
     * IMPORTANT:
     * Do not use a fixed aspect ratio on mobile.
     * Give the embedded game enough vertical space.
     */
    .game-stage {
        width: 100% !important;

        height: calc(100dvh - 165px) !important;

        min-height: 560px !important;

        max-height: none !important;

        aspect-ratio: auto !important;

        margin: 0 !important;

        border-radius: 10px;

        overflow: hidden;
    }

    .game-stage iframe {
        display: block;

        width: 100% !important;
        height: 100% !important;

        min-height: 100% !important;

        border: 0;
    }

    .game-copy {
        display: block;
        margin-top: 12px;
    }

    .game-details {
        border-top: 1px solid rgba(255,255,255,.1);
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .game-details summary {
        padding: 15px 2px;
        font-size: 16px;
    }

    .game-details-content h2 {
        font-size: 21px;
    }

    .game-details-content h3 {
        margin-top: 22px;
        font-size: 17px;
    }

    .game-details-content p {
        font-size: 14px;
        line-height: 1.65;
    }

    .related-section {
        margin-top: 20px;
        padding-top: 20px;
    }

    .related-section .section-head h2 {
        font-size: 22px;
    }

    .related-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 12px;
    }

    .related-grid .card h3 {
        font-size: 13px;
        line-height: 1.3;
    }

    .related-grid .meta {
        font-size: 11px;
    }

    .mobile-unavailable {
        margin-top: 12px;
        padding: 28px 18px;
    }

    .mobile-unavailable h2 {
        font-size: 21px;
    }

    .mobile-unavailable p {
        font-size: 14px;
    }
}


/* ==================================================
   PHONE LANDSCAPE
   ================================================== */

@media (max-width: 950px) and (orientation: landscape) {

    html,
    body {
        overflow-x: hidden;
    }

    .game-page {
        max-width: 100%;
        padding: 8px 12px 24px;
    }

    .breadcrumb {
        margin-bottom: 6px;
    }

    .game-title-row {
        margin-bottom: 6px;
    }

    .game-heading .kicker {
        font-size: 9px;
    }

    .game-heading h1 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    /*
     * Give the game almost all available screen height.
     * Do not force 16:9 or 4:3.
     */
    .game-stage {
        width: 100% !important;

        height: calc(100dvh - 85px) !important;

        min-height: 0 !important;

        max-height: none !important;

        aspect-ratio: auto !important;

        margin: 0 auto !important;

        border-radius: 8px;

        overflow: hidden;
    }

    .game-stage iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
    }

    .game-copy {
        margin-top: 10px;
    }
}


/* ==================================================
   VERY SMALL PHONES
   ================================================== */

@media (max-width: 390px) {

    .game-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .game-heading h1 {
        font-size: 22px;
    }

    .game-stage {
        height: calc(100dvh - 155px) !important;
        min-height: 540px !important;
    }
}