html * {
    box-sizing: border-box;
}

body { 
    background: linear-gradient( 
        to bottom, 
        #d94f87, 
        #ff8c5a, 
        #ffc06b 
    ); 
 
    margin: 0; 
} 

* {
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}
 
.page h2 { 
    font-weight: bold;
    font-size: 30px;
    unicode-bidi: isolate;
    color: #fff;
    font-family: Graphik-Regular-Web, sans-serif;
    text-align: center; 
    margin: 10px 0 15px 0;
    margin-top: 0;
} 
 





/* Currently Playing */

.current-game-background {
    background-image: url("https://media-rockstargames-com.akamaized.net/tina-uploads/tina-modules/reddeadredemption/bb77881fb42ea20c7e535a833885e42fe011a5db.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.currently-playing {
    position: relative;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    background: none;
}

.current-game {
    display: grid;
    grid-template-columns: 500px minmax(0, 1fr);
    align-items: center;
    gap: 10%;
    width: 100%;
    max-width: 1800px;
    min-height: 704px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    padding-right: 30px;
}

.current-info {
    width: 110%;
    max-width: none;
    padding: 10px 0;
    text-align: left;
    box-sizing: border-box;
    transform: translate(30px, -20px);
}

.current-cover {
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
    justify-self: center;
}
 
.current-info h3 { 
    font-family: 'Sancreek', serif;
    font-size: 40px;
    white-space: nowrap;
    color: #e8e8e8;
    margin-bottom: 1px;
} 
 
.current-info h4 { 
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    color: #FFD700;
    margin-top: 0;
} 
 
.current-info p { 
    color: #e8e8e8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 1.45;
    font-weight: normal;

} 
 






/* Currently Playing Stats */

.current-game-stats {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 20px 0 50px;
    box-sizing: border-box;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr 500px;
    align-items: center;
    gap: 10%;
    width: 100%;
}

.stats-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 30px;
    box-sizing: border-box;
    transform: none;
}

.stats-info p {
    margin: 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #ffffff55;

    font-family: Graphik-Regular-Web, sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: #e8e8e8;
}

.stats-info strong {
    color: #FFD700;
    font-weight: bold;
}

.stats-completion {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stats-pie {
    width: 270px;
    height: 270px;
    transform: translateY(5px);
    border-radius: 50%;

    background: conic-gradient(
        #FFD700 100%,
        #dcdcdc 100%
    );

    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-pie::before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    background: #888;
    border-radius: 50%;
}

.stats-pie span {
    position: relative;
    z-index: 1;

    font-family: Graphik-Regular-Web, sans-serif;
    font-size: 50px;
    font-weight: bold;
    color: #dcdcdc;
}

.stats-completion p {
    margin: 15px 0 0;

    font-family: Graphik-Regular-Web, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #dcdcdc;
}



/* FOR GAMES LIST / CONTAINERS */

.games-section {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

.games-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.games-title h2 {
    margin: 0;
    font-size: 30px;
}

#yearSelect {
    padding: 7px 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #dcdcdc;
    cursor: pointer;
}

.games-container {
    width: 95%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0 20px;
    box-sizing: border-box;
}

.game-card {
    flex: 0 0 196px;
    display: grid;
    grid-template-rows: 255px 66px 40px;
    text-align: center;

    border: 4px solid black;
    background-color: #878787;
    border-radius: 10px;
    padding: 6px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rbga(0, 0, 0, 0.15);
}

.game-cover {
    width: 100%;
    height: 255px;
    object-fit: cover;
    border-radius: 4px;
}

.game-name {
    font-family: Graphik-Regular-Web, sans-serif;
    padding-top: 10px;
    height: 66px;
    font-size: 16px;
    font-weight: bold;
    line-height: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.platinum {
    display: flex;
    justify-content: center;
    align-items: center;
}

.platinum img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.games-container::-webkit-scrollbar {
    height: 8px;
}

.games-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.games-container.scrollable {
    justify-content: flex-start;
}

.game-card:hover {
    background-color: #dcdcdc;
    border-color: #aaa;
}

.game-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    height: 40px;
    font-size: 20px;
}

.platinum-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


.games-list {
    background-image: url("https://media-rockstargames-com.akamaized.net/mfe6/prod/__common/img/5c0a5c2692eb47690bbaa34cde2f2173.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}




/* Compatibility */



@media (max-width: 1438px) {
    .current-game {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: 100%;
        min-height: auto;
        padding: 30px 20px;
        box-sizing: border-box;
        grid-template-columns: 550px minmax(0, 1fr);
    }

    .current-cover {
        width: min(90vw, 1278px);
        max-width: 100%;
        height: auto;
        order: 1;
    }

    .current-info {
        width: min(90vw, 1278px);
        max-width: 1200px;
        padding: 10px 0;
        text-align: left;
        box-sizing: border-box;
        order: 2;
        transform: none;
    }

    .current-info h3 {
        width: 100%;
        margin-left: 0;
        margin-top: 0;
        transform: translateY(1px);
        text-align: left;
        white-space: nowrap;
    }

    .current-info h4 {
        font-size: clamp(18px, 4vw, 28px);
    }

    .current-info p {
        font-size: clamp(18px, 4vw, 28px);
        line-height: 1.5;
        max-width: 100%;
    }

    .currently-playing {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }




    /* STATS */

    .current-game-stats {
        width: 100%;
        max-width: none;
        padding: 20px 20px 70px;
        box-sizing: border-box;
    }

    .stats-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 90px;
        width: 100%;
        max-width: none;
    }

    .stats-info {
        width: min(90vw, 1278px);
        max-width: 1200px;
        margin: 0 auto;
        padding: 0;
        transform: none;
    }

    .stats-completion {
        margin-top: 0;
        margin-bottom: 20px;
    }
}

/* SCREENSHOTS */

.screenshots {
    width: 100%;
    margin: 0;
    padding: 40px 5%;
    text-align: center;

    background-image: url("https://shared.fastly.steamstatic.com/community_assets/images/items/220200/b48aaa59aaf811e5996ff7162d8a03598dc88746.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.screenshots h2 {
    font-size: 50px;
    margin: 0 0 35px;
}

.screenshot-showcase {
    width: 100%;
    margin: 0 auto;
}

.screenshot-showcase img {
    display: block;
    width: 100%;
    max-height: 75vh;
    object-fit: contain;
    margin: 0 auto;
}

.screenshot-showcase h3 {
    display: block;
    margin: 40px 0 40px;
    font-family: Graphik-Regular-Web, sans-serif;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
    letter-spacing: .1em;
    text-align: center;
}

.screenshot-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.screenshot-dots span {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #777;
    display: block;
    cursor: pointer;
}

.screenshot-dots span.active {
    background: #fff;
}

@media (max-width: 1438px) {

    .screenshot-dots {
        gap: clamp(8px, 2vw, 40px);
    }

    .screenshot-dots span {
        width: clamp(10px, 3vw, 50px);
        height: clamp(10px, 3vw, 50px);
    }

}