* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #020817;
    color: #fff;
    font: 15px/1.55 Arial, Helvetica, sans-serif;
    zoom: 1.5;
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1 {
    font-size: clamp(28px, 3.6vw, 43px);
    line-height: 1.2;
    font-weight: 500
}

h2 {
    font-size: 26px;
    font-weight: 500
}

h3 {
    font-size: 19px;
    font-weight: 500
}

p {
    font-size: 14px
}

a {
    color: inherit
}

.wrap {
    max-width: 1200px;
    width: 90%;
    margin: auto
}

.narrow {
    max-width: 760px;
    width: 90%;
    margin: auto
}

.site-header {
    background: #03081b;
    padding: 12px 0
}

.head-inner {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.brand img {
    width: 93px;
    height: 35px;
    object-fit: contain
}

.head-inner nav {
    display: flex;
    align-items: center;
    gap: 17px
}

.head-inner nav>a:not(.button) {
    text-decoration: none;
    font-weight: bold
}

.button {
    display: inline-block;
    background: #04b9ee;
    border: 0;
    border-radius: 3px;
    padding: 11px 19px;
    color: #001523;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer
}

.button:hover,
.newsletter button:hover {
    background: #4bd2ff
}

.button.small {
    padding: 8px 13px;
    font-size: 12px
}

.hero {
    background: linear-gradient(90deg, rgba(0, 4, 17, .45), rgba(0, 4, 17, .2)), url('../images/hero.jpg') center/cover;
    min-height: 400px;
    display: flex;
    align-items: center
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px
}

.hero-text {
    max-width: 410px
}

.hero-text p {
    margin: 23px 0
}

.hero-logo {
    width: 100%;
    max-width: 540px;
    justify-self: center
}

.trailer {
    background: #0e172a;
    padding: 54px 0 75px;
    text-align: center
}

.video-frame {
    max-width: 760px;
    margin: auto;
    position: relative;
    background: #000
}

.video-frame>img {
    width: 100%;
    display: block
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .65), transparent 35%);
    font-size: 15px;
    text-align: left
}

.video-overlay a {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #f03;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    padding: 8px 17px;
    font-size: 27px
}

.edit-note {
    font-size: 11px;
    color: #a3adc0;
    margin: 14px 0 0
}

.get-game {
    background: #03091b;
    padding: 48px 15px;
    text-align: center
}

.get-game h2 {
    margin-bottom: 7px
}

.get-game p {
    margin-bottom: 16px
}

.features {
    background: #0e172a;
    padding: 60px 0
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px
}

.cards img {
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
    border-radius: 3px
}

.cards h3 {
    margin: 12px 0 7px
}

.cards p {
    color: #e2e7ef;
    line-height: 1.7
}

.newsletter {
    background: #03091b;
    padding: 48px 15px;
    text-align: center
}

.newsletter h2 {
    margin-bottom: 8px
}

.newsletter form {
    display: flex;
    max-width: 380px;
    margin: 25px auto 0;
    gap: 6px
}

.newsletter input {
    flex: 1;
    min-width: 0;
    padding: 13px;
    border: 0;
    border-radius: 3px
}

.newsletter button {
    background: #04b9ee;
    border: 0;
    border-radius: 3px;
    width: 47px;
    font-size: 21px;
    cursor: pointer
}

.faq {
    background: #0e172a;
    padding: 48px 0
}

.faq h2 {
    text-align: center;
    margin-bottom: 25px
}

.faq details {
    border-top: 1px solid #3d495e
}

.faq details:last-child {
    border-bottom: 1px solid #3d495e
}

.faq summary {
    padding: 17px 28px 17px 0;
    list-style: none;
    position: relative;
    cursor: pointer
}

.faq summary::-webkit-details-marker {
    display: none
}

.faq summary:after {
    content: '⌄';
    position: absolute;
    right: 5px
}

.faq details[open] summary:after {
    content: '⌃'
}

.faq details p {
    color: #d4dbea
}

.contact {
    background: #37445f;
    padding: 55px 0 60px
}

.contact h2 {
    text-align: center
}

.contact form {
    max-width: 540px;
    margin: 26px auto 0;
    display: grid;
    gap: 9px
}

.contact input,
.contact textarea {
    padding: 13px 11px;
    border: 0;
    border-radius: 3px;
    font: 14px Arial, sans-serif
}

.contact textarea {
    height: 100px;
    resize: vertical
}

.contact button {
    justify-self: start
}

footer {
    background: #020817;
    padding: 42px 0 24px
}

.foot-top,
.foot-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px
}

.foot-top img {
    width: 75px
}

.social {
    display: flex;
    gap: 20px
}

.social a {
    text-decoration: none
}

.foot-bottom {
    font-size: 12px;
    margin-top: 35px
}

.sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0)
}

@media(max-width:650px) {
    .head-inner nav>a:not(.button) {
        display: none
    }

    .hero {
        padding: 45px 0
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .hero-logo {
        max-width: 420px
    }

    .cards {
        grid-template-columns: 1fr;
        max-width: 450px;
        gap: 30px
    }

    .foot-bottom {
        flex-wrap: wrap
    }

    .trailer {
        padding: 35px 0 50px
    }
}