:root {
    --bg: #070707;
    --bg-soft: #101010;
    --text: #ffffff;
    --muted: #9a9a9a;
    --accent: #d71920;
    --accent-dark: #8f0e13;
    --border: rgba(255,255,255,.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Oxanium", sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =========================
    NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .4s ease;
}

.navbar.scrolled {
    background: rgba(5,5,5,.5);
    backdrop-filter: blur(15px);
    padding: 16px 5%;
    border-bottom: 1px solid var(--border);
}

.navbar .logo {
    font-family: "Oxanium", sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

.navbar .logo span{
    color: var(--accent);
}

.navbar .nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.navbar .nav-links a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text);
    transition: .3s;
}

.navbar .nav-links a:hover {
    color: var(--accent);
}

.navbar .nav-btn {
    background: var(--accent);
    padding: 12px 22px;
    border-radius: 2px;
}

.navbar .nav-btn:hover {
    color: white !important;
    background: var(--accent-dark);
}

.navbar .menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

@media(max-width: 900px) {
    .navbar .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #080808;
        flex-direction: column;
        justify-content: center;
        transition: .4s;
    }

    .navbar .nav-links.active {
        right: 0;
    }
    
    .navbar .menu-btn {
        display: block;
        position: relative;
        z-index: 1001;
    }
}

/* =========================
    HERO
========================= */

.hero {
    min-height: calc(100vh - 80px);
    position: relative;
    display: flex;
    align-items: center;
    padding: 0% 10%;
    margin-top: 80px;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.95) 0%,
            rgba(0,0,0,.75) 35%,
            rgba(0,0,0,.2) 75%,
            rgba(0,0,0,.65) 100%
        ),
        linear-gradient(
            0deg,
            #070707 0%,
            transparent 40%
        ),
        url("images/hero.png") center/contain no-repeat;
}

.hero .hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
    animation: heroIn 1.2s ease forwards;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .eyebrow {
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(65px, 10vw, 150px);
    line-height: .88;
    text-transform: uppercase;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--accent);
}

.hero .hero-description {
    max-width: 600px;
    color: #c5c5c5;
    font-size: 17px;
    line-height: 1.7;
    margin: 30px 0;
}

.hero .buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 1px solid var(--accent);
    transition: .3s;
}

.btn-primary {
    background: var(--accent);
}

.btn-primary:hover {
    background: #f1262d;
    transform: translateY(-3px);
}

.btn-outline {
    border-color: rgba(255,255,255,.35);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,.08);
    transform: translateY(-3px);
}

.scroll-down {
    position: absolute;
    right: 6%;
    bottom: 40px;
    writing-mode: vertical-rl;
    font-size: 10px;
    letter-spacing: 3px;
    color: #aaa;
}

@media (max-width: 600px) {
    .hero {
        padding: 0 8%;
        background-position: bottom;
    }
    .hero .eyebrow{
        font-weight: unset;
    }

    .hero h1 {
        font-size: 70px;
    }

    .hero-description {
        font-size: 15px;
    }
}


/* =========================
    COMMON
========================= */

section {
    padding: 120px 10%;
}

.section-label {
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.section-title {
    font-family: "Oswald", sans-serif;
    font-size: 40px;
    text-transform: uppercase;
    line-height: .95;
    margin-bottom: 30px;
}

.section-text {
    color: var(--muted);
    line-height: 1.8;
    max-width: 700px;
}
@media(max-width: 600px) {
    section {
        padding: 80px 6%;
    }
}

/* =========================
    FEATURED GAME
========================= */

.game-details{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.game-details h3{
    font-family: 'Oi';
    color: var(--accent);
    text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
    font-weight: 100;
}

.game-details .buttons{
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.stats {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 42px;
    margin-bottom: 10px;
}

.stat span {
    color: #777;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

@media (max-width: 900px) {
    .stats {
        grid-template-columns: repeat(2,1fr);
    }
    .stat:nth-child(2) {
        border-right: 0;
    }
    .stat:nth-child(3) {
        border-top: 1px solid var(--border);
    }
    .stat:nth-child(4) {
        border-top: 1px solid var(--border);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 50px;
}
.service {
    background: #0c0c0c;
    padding: 45px 35px;
    min-height: 230px;
    transition: .35s;
}
.service:hover {
    background: #151515;
    transform: translateY(-5px);
}
.service-number {
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}
.service h3 {
    font-family: "Oswald", sans-serif;
    font-size: 27px;
    margin: 35px 0 15px;
}
.service p {
    color: #777;
    line-height: 1.7;
    font-size: 14px;
}

@media(max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
    .services-header {
        display: block;
    }
}

@media(max-width: 600px) {
    .services-grid,
    .development-grid {
        grid-template-columns: 1fr;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
    }
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
    margin-top: 60px;
}

.dev-card {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.dev-card img {
    height: 100%;
    object-fit: cover;
    transition: .6s;
    width: 100%;
}

.dev-card:hover img {
    transform: scale(1.08);
}

.dev-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, rgba(0,0,0,.9));
}

.dev-card-content {
    position: absolute;
    z-index: 2;
    bottom: 25px;
    left: 25px;
    right: 20px;
}

.dev-card-content h3 {
    font-family: "Oswald", sans-serif;
    font-size: 27px;
}

.dev-card-content p {
    color: #aaa;
    font-size: 12px;
    margin-top: 5px;
}


.philosophy {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    background:
        linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.85)),
        url("images/philosophy.jpg") center/cover;
}

.philosophy-content {
    max-width: 950px;
}

.philosophy h2 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(60px, 9vw, 130px);
    line-height: .85;
    text-transform: uppercase;
}

.philosophy h2 span {
    color: var(--accent);
}

.philosophy p {
    max-width: 650px;
    margin-top: 35px;
    color: #bbb;
    line-height: 1.8;
}

.project-card {
    margin-top: 50px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.2)),
        url("images/project.jpg") center/cover;
    display: flex;
    align-items: center;
    padding: 70px;
}

.project-content {
    max-width: 600px;
}

.project-content h3 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(50px, 7vw, 100px);
    line-height: .9;
}

.project-content p {
    color: #aaa;
    margin: 25px 0 30px;
    line-height: 1.7;
}

.project-card {
    margin-top: 50px;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg,rgba(0,0,0,.9),rgba(0,0,0,.2)),
        url("images/upcoming.png") center/cover;
    display: flex;
    align-items: center;
    padding: 70px;
}

.project-content {
    max-width: 600px;
}

.project-content h3 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(50px, 7vw, 100px);
    line-height: .9;
}

.project-content p {
    color: #aaa;
    margin: 25px 0 30px;
    line-height: 1.7;
}

.contact {
    background: #0b0b0b;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(55px,7vw,100px);
    line-height: .9;
}

.contact-info h2 span {
    color: var(--accent);
}

.contact-info p {
    color: #888;
    margin-top: 30px;
    max-width: 500px;
    line-height: 1.8;
}

.email {
    display: inline-block;
    margin-top: 30px;
    font-size: 18px;
    font-weight: 700;
}

.email:hover {
    color: var(--accent);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    width: 100%;
    background: #111;
    border: 1px solid var(--border);
    color: white;
    padding: 18px;
    font-family: inherit;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: var(--accent);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

footer {
    padding: 50px 7%;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 3px;
}

footer p {
    color: #666;
    font-size: 12px;
}

.socials {
    display: flex;
    gap: 20px;
}

.socials a {
    font-size: 12px;
    font-weight: 700;
    color: #aaa;
}

.socials a:hover {
    color: var(--accent);
}

@media(max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .development-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 600px) {
    .development-grid {
        gap: 10px;
    }
    .dev-card {
        height: 350px;
    }
    .project-card {
        padding: 35px;
        min-height: 450px;
    }
    footer {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
}