@font-face {
    font-family: "Satoshi";
    src:
        url("../fonts/Satoshi-Regular.woff2") format("woff2"),
        url("../fonts/Satoshi-Regular.woff") format("woff"),
        url("../fonts/Satoshi-Regular.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
    font-style: normal;
}

@font-face {
    font-family: "Satoshi";
    src:
        url("../fonts/Satoshi-Bold.woff2") format("woff2"),
        url("../fonts/Satoshi-Bold.woff") format("woff"),
        url("../fonts/Satoshi-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

a {
    color: #ffffff;
}

h5 {
    font-size: 1em;
}

html,
body {
    background: #000;
    color: #fff;
    font-family: "Satoshi", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px;
}

body > * {
    position: relative;
    margin: 0 auto;
    width: 700px;
}

body.game {
    background-image: var(--gameHeroImage);
    background-size: 1000px;
    background-repeat: no-repeat;
    background-position: top center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

h6 {
    color: #494949;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.75px;
    text-transform: uppercase;
}

.button {
    align-items: center;
    border-radius: 24px;
    border: none;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    height: 48px;
    display: flex;
    justify-content: center;
    padding: 12px 20px;
    text-decoration: none;
    transition: all 120ms ease-out;
}

.button-danger {
    background: var(--color-red);
}

.button:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: scale(1.02);
}

.button-danger:hover {
    background: var(--color-red);
    transform: scale(1.02);
}

.button:active {
    background: rgba(255, 255, 255, 0.07);
    transform: scale(0.98);
}

.button img {
    height: 18px;
    width: 18px;
    margin-right: 8px;
}

.icon-button {
    width: 48px;
}

.icon-button img {
    margin: 0;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    align-items: center;
    background: transparent;
    background-image: url("/static/img/icons/chevron-down-small.svg");
    background-repeat: no-repeat;
    background-position: right 4px center;
    border-radius: 8px;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-family: 'Satoshi', sans-serif;
    font-weight: 700;
    min-height: 44px;
    outline: none;
    padding: 0 28px 0 12px;
    position: relative;
    transition: background 150ms ease-out;
}

option {
    background-color: rgba(0, 0, 0, 0.5);
}

select:hover {
    background-color: rgba(255,255,255,0.08);
}

input.default {
    background-color: #272727;
    border: 0;
    padding: 20px;
    color: white;
    font-size: 14px;
    border-radius: 8px;
    width: 350px;
    margin-bottom: 20px;
}

.boxart {
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}

#background-mask {
    background: radial-gradient(
        closest-side,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 1) 100%
    );
    position: fixed;
    top: -100px;
    width: 1000px;
    height: 685px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

#site-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.warning-bar {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    background-color: #ff0000;
    text-align: center;
    padding: 10px 0;
    z-index: 2000;
}

.warning-bar a {
    color: #ffffff;
    text-decoration: none;
}

/* Game page */

.game-page {
    z-index: 10;
}

.game-page section {
    margin-bottom: 72px;
}

.game-page .game-hero {
    height: 320px;
    display: flex;
    align-items: center;
    padding-top: 72px;
}

.game-page .game-meta {
    display: flex;
    opacity: 0.5;
}

.game-page .release-date {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.game-page h1 {
    font-size: 40px;
    line-height: 44px;
    padding: 0;
    margin: 4px 0 12px;
}

.game-page .platforms {
    padding: 0;
    margin: 0 0 0 8px;
    display: flex;
    flex-direction: row;
}

.game-page .platforms li {
    list-style: none;
}

.game-page .platforms img {
    height: 20px;
    width: 20px;
}

.game-page .subscription-status {
    align-items: center;
    color: #2ae9a6;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 20px;
}

.game-page .subscription-status img {
    margin-right: 8px;
}

.game-page .game-description {
    margin-bottom: 40px;
}

/* Sign in page */

.signin-page {
    padding-top: 64px;
    display: flex;
}

.signin-page > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.signin-page h1 {
    margin: 0 0 20px 0;
}

.signin-page .selling-points {
    margin: 0;
    padding: 0;
}

.signin-page .selling-points li {
    align-items: center;
    display: flex;
    list-style: none;
    margin-bottom: 8px;
}

.signin-page .selling-points li:last-child {
    margin: 0;
}

.signin-page .selling-points li div {
    align-items: center;
    background: #101010;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    height: 36px;
    width: 36px;
    margin-right: 16px;
}

.signin-page .selling-points li p {
    margin: 0;
}

.signin-page .signin-buttons {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Account page */

.account-page {
    padding-top: 20px;
}

.account-page .user-title {
    align-items: bottom;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.account-page h1 {
    font-size: 24px;
    margin: 0;
}

.account-page #logout {
    border-radius: 28px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.5;
    text-decoration: none;
    transition: opacity 150ms ease-out;
    height: 32px;
    padding: 0 12px;
}

.account-page #logout:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

.account-page .section-headline {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.account-page .section-headline a {
    font-size: 14px;
    font-weight: bold;
}

.account-page .user-lists-fixed {
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: relative;
    z-index: 1000;
}

.account-page .user-lists-custom {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.account-page .user-lists-custom a,
.account-page .user-lists-fixed a {
    text-decoration: none;
    color: inherit;
}

.account-page #ratings-chart {
    display: flex;
    flex-direction: column;
    margin: 20px 0 40px;
}

.account-page #ratings-chart div {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    font-weight: 600;
    gap: 8px;
}

.account-page #ratings-chart #chart {
    align-items: flex-end;
    height: 200px;
}

.account-page #ratings-chart #chart div {
    background: #101010;
    border-radius: 8px;
    display: flex;
    flex-grow: 1;
    min-height: 2px;
    text-align: center;
}

.account-page #ratings-chart #legend div {
    justify-content: center;
}

.account-page #ratings-chart #legend div p {
    color: #272727;
    font-size: 14px;
    min-width: 24px;
    text-align: center;
}

/* Search page */

.search-page h2 {
    margin: 40px 0;
}

/* List page */

.list-details-page .list-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
}

.list-details-page .list-title h2 {
    margin: 0;
}

.list-details-page .list-title h2 span {
    color: #494949;
}

.list-details-page .list-description {
    color: #828282;
    font-size: 14px;
    margin-top: 8px;
}

.list-details-page .empty-list {
    align-items: center;
    background: #020202;
    border-radius: 32px;
    margin: 24px 0;
    color: #494949;
    display: flex;
    justify-content: center;
    height: 400px;
    width: 100%;
}

@media (max-width: 700px) {
    body > * {
        width: calc(100% - 20px);
        margin: 0 auto;
    }

    /* Game page */
    .game-page .game-hero {
        height: 240px;
        padding: 0 20px;
    }

    .signin-page {
        padding-top: 64px;
        display: block;
    }

    .signin-buttons {
        margin-bottom: 30px;
    }

    .signin-page .selling-points li {
        margin-bottom: 4px;
    }
}
