@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root{
    --bg-overlay: rgba(0,0,0,0.5);
    --card-description-height: 48px;
    --card-gap: 8px;
    --card-w: min(265px, 70vw);
    --card-h: calc(var(--card-w) * 2.167 + var(--card-description-height) + var(--card-gap));

    --scrollbar-color-thumb: rgba(128, 128, 128, 0.6);
    --scrollbar-color-track: rgba(0,0,0,0);
    --scrollbar-width: auto;
    --scrollbar-width-legacy: 10px;
}

*{ box-sizing:border-box; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
    font-size: 16px;
    color: white;
    text-align: center;
    background-color: black;
    background-size: cover;
}

img.background {
    z-index: -9999;
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: var(--bg-overlay);
    z-index: -1;
}

.hero {
    padding: 80px 20px 40px;
}

.logo {
    width: 500px;
    max-width: 95%;
}

.section {
    margin: 60px auto;
    max-width: 1320px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-header {
    font-size: 22px;
    font-weight: bold;
}

h2 {
    font-size: 22px;
    margin: 0 0 10px;
}

p {
    color: #ddd;
    line-height: 1.6;
}

.pitch-section {
    margin-bottom: 96px;
}

.pitch-text {
    max-width: 430px;
    margin: 0 auto;
}

.media-section {
    margin-top: 0;
    padding: 0;
}

.release-date-tba {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 64px;
}

.wishlist-title {
    margin-top: 18px;
    margin-bottom: 10px;
    font-size: 20px;
}


.section-header, .wishlist-title {
    color: #EDEDED;
    background-image: linear-gradient(180deg, #EDEDED 24%, #ABABAB 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* CAROUSEL */
.carousel-wrap {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: auto;
}
@media only screen and (min-width: 390px) {
    .carousel-wrap {
        mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 32px, rgba(0,0,0,1) calc(100% - 32px), rgba(0,0,0,0) 100%);
    }
}

.slider {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 36px calc(50vw - (var(--card-w) / 2));
    -webkit-overflow-scrolling: touch;
    scrollbar-width: 8px;
    scrollbar-base-color: rgba(0,0,0,0);
    width: 100%;
}

.blocked-embed {
    pointer-events: none;
}

@media only screen and (min-width: 1000px) {
    .slider {
        padding: 36px calc(min(50vw, 960px) - (var(--card-w)) - 33px);
    }
}

@media only screen and (min-width: 1366px) {
    .slider {
        padding: 36px calc(min(50vw, 960px) - (var(--card-w) * 1.75));
    }
}

@media only screen and (min-width: 1700px) {
    .slider {
        padding: 36px calc(min(50vw, 960px) - (var(--card-w) * 2.2) + 0px);
    }
}

.dummy-slide {
    width: 0;
}

/* Modern browsers with `scrollbar-*` support */
@supports (scrollbar-width: auto) {
    .slider {
        scrollbar-color: var(--scrollbar-color-thumb) var(--scrollbar-color-track);
        scrollbar-width: var(--scrollbar-width);
        scrollbar-arrow-color: transparent;
    }
}

/* Legacy browsers with `::-webkit-scrollbar-*` support */
@supports selector(::-webkit-scrollbar) {
    .slider::-webkit-scrollbar-thumb {
        background: var(--scrollbar-color-thumb);
    }
    .slider::-webkit-scrollbar-track {
        background: var(--scrollbar-color-track);
    }
    .slider::-webkit-scrollbar {
        max-width: var(--scrollbar-width-legacy);
        max-height: var(--scrollbar-width-legacy);
    }
    .slider::-webkit-scrollbar-button {
        background:transparent;
    }
}

.slide {
    flex: 0 0 auto;
    width: var(--card-w);
    height: var(--card-h);
    overflow: hidden;
    scroll-snap-align: center;
    /*background: #111;*/
    position: relative;
    box-shadow: 0 14px 34px rgba(0,0,0,0.45);
    transform: scale(0.92);
    filter: brightness(0.72);
    transition: transform 260ms ease, opacity 260ms ease, box-shadow 260ms ease;
}

.slide.active {
    transform: scale(1.05);
    filter: brightness(1);
    box-shadow: 0 24px 56px rgba(0,0,0,0.6);
}

.slide img, .embed>iframe, .slide>a {
    border-radius: 22px;
    margin-bottom: var(--card-gap);
    width: 100%;
    height: calc(100% - var(--card-description-height) - var(--card-gap));
    object-fit: cover;
    border: 1.4142px solid gray;
}

.wishlist-title {
    font-size: 24px;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 10px;
}

span.screenshot-description {
    color: white;
}

.store-buttons {
    margin-top: -10px;
    margin-bottom: -16px;
}

/* STORE */
.store-buttons img {
    height: 56px;
    margin: 10px;
}

@media only screen and (max-width: 640px) {
    .store-buttons img {
        margin: 5px;
        height: 44px;
    }
}

/* SOCIAL */
.socials a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: black;
    padding: 12px 18px;
    border-radius: 10px;
    margin: 6px;
    text-decoration: none;
    font-weight: 600;
}

.socials img {
    width: 20px;
}

.faq-title {
    margin-bottom: -12px;
}

.faq-section {
    max-width: 900px;
    margin-top: 90px;
    margin-bottom: 90px;
}
.faq-list {
    display: grid;
    gap: 14px;
    margin-top: 22px;
    text-align: left;
}
.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 0 18px;
    overflow: hidden;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 600;
    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus-sign::after {
    content: "+";
    float: right;
    color: rgba(255,255,255,0.75);
    font-size: 22px;
    line-height: 1;
}
.faq-item[open] .plus-sign::after { content: "–"; }
.faq-item p {
    margin: 0 0 18px;
    color: #d7d7d7;
    max-width: none;
}

div#footer {
    margin-bottom: 16px;
    font-size: 12px;
    color: #aaa;
}

.hover-expand {
    transition: 0.265s all;
}

.hover-expand:hover {
    transform: scale(1.05);
}

.play-button {
    position: fixed;
    top: 50%;
    left: 50%;

    transform: translateX(-50%) translateY(calc(-50% - (var(--card-description-height) - var(--card-gap)) / 2));

    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: red;
}

.play-triangle {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.play-triangle::after {
    content: "▶";
    color: white;
    font-size: 40px;
    transform: translateX(4px) translateY(-3px);
}

/* Font size overrides */
@media only screen and (max-width: 640px) {
    body {
        font-size: 15px;
    }
    p {
        font-size: 13px;
    }
    .section-header {
        font-size: 20px;
    }
    h2 {
        font-size: 20px;
    }
    .release-date-tba {
        font-size: 26px;
    }
    .wishlist-title {
        font-size: 22px;
    }

    .faq-item summary {
        font-size: 16px;
    }
}

.fake-embed {
    display: none;
}

@media only screen and (min-width: 960px) {
    body {
        font-size: 17px;
    }
    p {
        font-size: 14px;
    }
    .section-header {
        font-size: 25px;
    }
    h2 {
        font-size: 23px;
    }
    .release-date-tba {
        font-size: 31px;
    }
    .wishlist-title {
        font-size: 25px;
    }

    .faq-item summary {
        font-size: 19px;
    }

    iframe {
        display: none;
    }

    .fake-embed {
        display: block;
    }    

    .fake-embed > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}