/* =========================================================
   PUNGENT GAMES — GLOBAL STYLES
========================================================= */


/* =========================================================
   01. ROOT / VARIABLES
========================================================= */

:root {
    --red: #ed1c24;
    --red-dark: #b80f15;
    --red-glow: rgba(237, 28, 36, 0.35);

    --black: #050505;
    --dark: #0a0a0a;
    --dark-2: #101010;
    --dark-3: #171717;

    --white: #ffffff;
    --white-soft: #f2f2f2;
    --gray: #9a9a9a;
    --gray-dark: #666666;

    --border: rgba(255, 255, 255, 0.12);
    --border-light: rgba(255, 255, 255, 0.2);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --header-height: 78px;
}


/* =========================================================
   02. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    min-height: 100vh;

    background: var(--black);
    color: var(--white);

    font-family:
        Inter,
        "Helvetica Neue",
        Arial,
        sans-serif;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

::selection {
    background: var(--red);
    color: var(--white);
}


/* =========================================================
   03. SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: #292929;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}


/* =========================================================
   04. COMMON
========================================================= */

.section-dark {
    background: var(--dark);
}

.section-label {
    display: inline-block;

    color: var(--red);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-header {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto 70px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;
}

.section-header h2 {
    margin-top: 18px;

    color: var(--white);

    font-size: clamp(42px, 5vw, 78px);
    line-height: 0.95;
    font-weight: 700;

    letter-spacing: -0.045em;
}

.section-header > p {
    width: min(400px, 100%);

    color: var(--gray);

    font-size: 15px;
    line-height: 1.8;
}

.section-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        gap 0.3s var(--ease);
}

.section-link::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -8px;

    height: 1px;

    background: var(--red);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.4s var(--ease);
}

.section-link:hover {
    color: var(--red);
    gap: 15px;
}

.section-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================================================
   05. HEADER
========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    z-index: 1000;

    background: rgba(5, 5, 5, 0.28);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    transition:
        background 0.4s ease,
        border-color 0.4s ease;
}

.site-header.scrolled {
    background: rgba(5, 5, 5, 0.92);
    border-color: var(--border);
}

.navbar {
    width: min(1500px, calc(100% - 60px));

    height: 100%;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   06. LOGO
========================================================= */

.logo {
    display: inline-flex;
    align-items: center;

    width: 150px;

    transition:
        opacity 0.3s ease,
        transform 0.3s var(--ease);
}

.logo:hover {
    opacity: 0.82;
    transform: translateY(-1px);
}

.logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}


/* =========================================================
   07. MAIN NAVIGATION
========================================================= */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 38px;

    margin-left: auto;
    margin-right: 42px;
}

.main-navigation a {
    position: relative;

    color: rgba(255, 255, 255, 0.72);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.main-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 100%;
    height: 1px;

    background: var(--red);

    transform: scaleX(0);
    transform-origin: right;

    transition: transform 0.35s var(--ease);
}

.main-navigation a:hover {
    color: var(--white);
}

.main-navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* =========================================================
   08. MENU BUTTON
========================================================= */

.menu-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    border: 0;
    outline: none;

    background: transparent;

    color: var(--white);

    cursor: pointer;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.menu-button:hover {
    color: var(--red);
}

.menu-icon {
    width: 25px;
    height: 18px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-icon i {
    display: block;

    width: 100%;
    height: 1px;

    background: currentColor;

    transition:
        transform 0.4s var(--ease),
        opacity 0.3s ease;
}

.menu-button.active .menu-icon i:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-button.active .menu-icon i:nth-child(2) {
    opacity: 0;
}

.menu-button.active .menu-icon i:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}


/* =========================================================
   09. FULL SCREEN MENU
========================================================= */

.menu-overlay {
    position: fixed;

    inset: 0;

    z-index: 900;

    display: flex;

    visibility: hidden;
    opacity: 0;

    background:
        radial-gradient(
            circle at 75% 25%,
            rgba(237, 28, 36, 0.12),
            transparent 30%
        ),
        #070707;

    transform: translateY(-100%);

    transition:
        transform 0.7s var(--ease),
        opacity 0.5s ease,
        visibility 0.7s ease;
}

.menu-overlay.active {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);
}

.menu-content {
    width: min(1300px, calc(100% - 100px));

    margin: auto;

    display: flex;
    flex-direction: column;
}

.menu-heading {
    margin-bottom: 40px;
}

.menu-heading span {
    display: block;

    color: var(--red);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.25em;
}

.menu-heading p {
    margin-top: 8px;

    color: var(--gray);

    font-size: 13px;
}

.menu-list {
    display: flex;
    flex-direction: column;
}

.menu-list a {
    display: flex;
    align-items: baseline;
    gap: 25px;

    width: fit-content;

    color: var(--white);

    font-size: clamp(40px, 6vw, 86px);
    font-weight: 700;

    line-height: 1.02;

    letter-spacing: -0.05em;

    transition:
        color 0.3s ease,
        transform 0.45s var(--ease);
}

.menu-list a span {
    width: 30px;

    color: var(--gray-dark);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.1em;
}

.menu-list a:hover {
    color: var(--red);
    transform: translateX(15px);
}

.menu-footer {
    margin-top: 60px;

    display: flex;
    justify-content: space-between;

    color: var(--gray);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.18em;
}


/* =========================================================
   10. HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100svh;
    height: 100vh;

    overflow: hidden;

    background: var(--black);
}

.hero-media {
    position: absolute;

    inset: 0;

    overflow: hidden;
}

.hero-media::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.55) 40%,
            rgba(0, 0, 0, 0.15) 75%,
            rgba(0, 0, 0, 0.35) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.85) 0%,
            transparent 35%
        );
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

.hero-content {
    position: relative;

    z-index: 2;

    width: min(1400px, calc(100% - 80px));

    min-height: 100vh;

    margin: 0 auto;

    padding-top: 20vh;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-label {
    margin-bottom: 22px;

    color: var(--red);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.25em;
}

.hero-title {
    max-width: 900px;

    color: var(--white);

    font-size: clamp(56px, 8vw, 125px);
    font-weight: 700;

    line-height: 0.88;

    letter-spacing: -0.065em;
}

.hero-description {
    width: min(560px, 100%);

    margin-top: 30px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 16px;
    line-height: 1.8;
}

.hero-meta {
    display: flex;
    gap: 25px;

    margin-top: 25px;
}

.hero-meta span {
    color: rgba(255, 255, 255, 0.55);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.15em;
}

.hero-actions {
    display: flex;
    gap: 12px;

    margin-top: 38px;
}

.hero-button {
    min-height: 50px;

    padding: 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--red);

    background: var(--red);

    color: var(--white);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.35s var(--ease),
        box-shadow 0.3s ease;
}

.hero-button:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);

    transform: translateY(-3px);

    box-shadow: 0 12px 35px var(--red-glow);
}

.hero-button-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-button-outline:hover {
    background: var(--black);
    border-color: var(--white);
    box-shadow: none;
}

.scroll-indicator {
    position: absolute;

    z-index: 3;

    right: 45px;
    bottom: 40px;

    display: flex;
    align-items: center;
    gap: 12px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.18em;
}

.scroll-indicator span {
    width: 32px;
    height: 1px;

    background: var(--red);
}


/* =========================================================
   11. GAMES
========================================================= */

.games-section {
    padding: 150px 0 130px;
}

.games-container {
    width: min(1800px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 12px;
}

.game-card {
    position: relative;

    min-width: 0;

    background: var(--dark-2);

    overflow: hidden;

    transition:
        transform 0.5s var(--ease),
        background 0.3s ease;
}

.game-card:hover {
    transform: translateY(-8px);
    background: var(--dark-3);
}

.game-image {
    position: relative;

    aspect-ratio: 0.68;

    overflow: hidden;

    background: #111;
}

.game-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 50%,
            rgba(0, 0, 0, 0.75) 100%
        );
}

.game-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s var(--ease),
        filter 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.07);
}

.game-number {
    position: absolute;

    z-index: 2;

    top: 18px;
    left: 18px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.1em;
}

.game-info {
    padding: 25px 22px 28px;
}

.game-category {
    color: var(--red);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.16em;
}

.game-info h3 {
    margin-top: 9px;

    color: var(--white);

    font-size: 24px;
    font-weight: 700;

    letter-spacing: -0.025em;
}

.game-info p {
    margin-top: 13px;

    min-height: 66px;

    color: var(--gray);

    font-size: 12px;
    line-height: 1.7;
}

.game-details {
    display: flex;
    gap: 8px;

    margin-top: 18px;
}

.game-details span {
    padding: 6px 8px;

    border: 1px solid var(--border);

    color: var(--gray);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.game-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 22px;

    color: var(--white);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    transition:
        color 0.3s ease,
        gap 0.3s var(--ease);
}

.game-link span {
    color: var(--red);

    font-size: 14px;

    transition: transform 0.3s var(--ease);
}

.game-link:hover {
    color: var(--red);
    gap: 14px;
}

.game-link:hover span {
    transform: translate(3px, -3px);
}


/* =========================================================
   12. ALL GAMES
========================================================= */

.all-games-section {
    padding: 0 0 140px;

    background: var(--dark);
}

.all-games-banner {
    position: relative;

    width: min(1800px, calc(100% - 80px));

    min-height: 560px;

    margin: 0 auto;

    overflow: hidden;

    background: var(--dark-2);
}

.all-games-banner > img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 1s var(--ease);
}

.all-games-banner:hover > img {
    transform: scale(1.04);
}

.all-games-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82),
            rgba(0, 0, 0, 0.25)
        ),
        linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.75),
            transparent 55%
        );
}

.all-games-content {
    position: relative;

    z-index: 2;

    height: 560px;

    padding: 60px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.all-games-content h2 {
    margin-top: 12px;

    font-size: clamp(48px, 7vw, 100px);
    line-height: 0.9;

    letter-spacing: -0.06em;
}

.all-games-button {
    position: absolute;

    right: 60px;
    bottom: 60px;

    min-height: 50px;

    padding: 0 25px;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    border: 1px solid rgba(255, 255, 255, 0.3);

    background: rgba(0, 0, 0, 0.35);

    color: var(--white);

    backdrop-filter: blur(8px);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.35s var(--ease);
}

.all-games-button span {
    color: var(--red);
    font-size: 15px;
}

.all-games-button:hover {
    background: var(--red);
    border-color: var(--red);

    transform: translateY(-4px);
}

.all-games-button:hover span {
    color: var(--white);
}


/* =========================================================
   13. NEWS
========================================================= */

.news-section {
    padding: 150px 0 140px;
}

.news-container {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1.4fr 1fr;

    gap: 18px;
}

.news-card-featured {
    grid-row: span 2;

    background: var(--dark-2);
}

.news-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;

    background: var(--dark-2);

    overflow: hidden;

    transition:
        transform 0.45s var(--ease),
        background 0.3s ease;
}

.news-card:hover,
.news-card-featured:hover {
    transform: translateY(-5px);
    background: var(--dark-3);
}

.news-image {
    position: relative;

    overflow: hidden;

    background: #111;
}

.news-card-featured .news-image {
    aspect-ratio: 1.7;
}

.news-card .news-image {
    min-height: 190px;
}

.news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s var(--ease);
}

.news-card:hover .news-image img,
.news-card-featured:hover .news-image img {
    transform: scale(1.06);
}

.news-info {
    padding: 30px;
}

.news-card-featured .news-info {
    padding: 35px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;

    color: var(--gray);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.12em;
}

.news-meta span:first-child {
    color: var(--red);
}

.news-info h3 {
    margin-top: 15px;

    color: var(--white);

    font-size: 25px;
    line-height: 1.05;

    letter-spacing: -0.03em;
}

.news-card-featured h3 {
    font-size: clamp(30px, 3vw, 46px);
}

.news-info p {
    margin-top: 16px;

    color: var(--gray);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   14. FEATURED GAME DETAIL
========================================================= */

.featured-game-section {
    position: relative;

    min-height: 780px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.2)
        ),
        url("assets/images/featured-game.jpg")
        center / cover no-repeat;
}

.featured-game-content {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;
}

.featured-game-content h2 {
    margin-top: 18px;

    font-size: clamp(55px, 7vw, 105px);
    line-height: 0.9;

    letter-spacing: -0.06em;
}

.featured-game-content p {
    width: min(500px, 100%);

    margin: 28px 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   15. ABOUT
========================================================= */

.about-section {
    padding: 150px 0;
}

.about-container {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}

.about-content h2 {
    max-width: 650px;

    margin-top: 18px;

    font-size: clamp(48px, 5vw, 78px);
    line-height: 0.95;

    letter-spacing: -0.05em;
}

.about-content p {
    max-width: 570px;

    margin-top: 25px;

    color: var(--gray);

    font-size: 15px;
    line-height: 1.8;
}

.about-content .section-link {
    margin-top: 30px;
}

.about-visual {
    position: relative;

    overflow: hidden;
}

.about-visual::after {
    content: "";

    position: absolute;

    inset: 0;

    border: 1px solid rgba(255, 255, 255, 0.1);

    pointer-events: none;
}

.about-visual img {
    aspect-ratio: 1 / 1;

    object-fit: cover;

    transition: transform 0.8s var(--ease);
}

.about-visual:hover img {
    transform: scale(1.04);
}


/* =========================================================
   16. STUDIOS
========================================================= */

.studios-section {
    padding: 150px 0;

    background: #080808;
}

.studios-grid {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}

.studio-card {
    min-height: 300px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.04),
            rgba(255, 255, 255, 0.01)
        );

    transition:
        background 0.4s ease,
        border-color 0.4s ease,
        transform 0.45s var(--ease);
}

.studio-card > span {
    color: var(--red);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.15em;
}

.studio-card h3 {
    margin-top: auto;
    margin-bottom: 18px;

    font-size: clamp(27px, 3vw, 42px);
    line-height: 0.95;

    letter-spacing: -0.04em;
}

.studio-card small {
    color: var(--gray);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.15em;
}

.studio-card:hover {
    background: var(--red);

    border-color: var(--red);

    transform: translateY(-8px);
}

.studio-card:hover > span,
.studio-card:hover small {
    color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   17. STORE
========================================================= */

.store-section {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.92),
            rgba(0, 0, 0, 0.3)
        ),
        url("assets/images/store.jpg")
        center / cover no-repeat;
}

.store-content {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;
}

.store-content h2 {
    margin-top: 18px;

    font-size: clamp(52px, 7vw, 100px);
    line-height: 0.9;

    letter-spacing: -0.06em;
}

.store-content p {
    width: min(500px, 100%);

    margin: 28px 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   18. CAREERS
========================================================= */

.careers-section {
    position: relative;

    min-height: 650px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.9),
            rgba(0, 0, 0, 0.35)
        ),
        url("assets/images/careers.jpg")
        center / cover no-repeat;
}

.careers-content {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;
}

.careers-content h2 {
    margin-top: 18px;

    font-size: clamp(52px, 7vw, 100px);
    line-height: 0.9;

    letter-spacing: -0.06em;
}

.careers-content p {
    width: min(500px, 100%);

    margin: 28px 0;

    color: rgba(255, 255, 255, 0.7);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   19. SUPPORT
========================================================= */

.support-section {
    padding: 140px 0;
}

.support-content {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;
}

.support-content h2 {
    margin-top: 18px;

    font-size: clamp(52px, 7vw, 100px);
    line-height: 0.9;

    letter-spacing: -0.06em;
}

.support-content p {
    width: min(500px, 100%);

    margin: 28px 0;

    color: var(--gray);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   20. FOOTER
========================================================= */

.site-footer {
    padding: 100px 0 30px;

    background: var(--black);

    border-top: 1px solid var(--border);
}

.footer-container {
    width: min(1400px, calc(100% - 80px));

    margin: 0 auto;

    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1fr;

    gap: 60px;
}

.footer-brand {
    padding-right: 50px;
}

.footer-brand .logo {
    width: 155px;
}

.footer-brand p {
    margin-top: 25px;

    color: var(--gray);

    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   21. SOCIAL ICONS
========================================================= */

.footer-social {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-top: 28px;

    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.025);

    color: var(--white);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.35s var(--ease);
}

.social-icon svg {
    width: 17px;
    height: 17px;

    fill: currentColor;
    stroke: currentColor;

    stroke-width: 1.4;
}

.social-icon:hover {
    background: var(--red);

    border-color: var(--red);

    color: var(--white);

    transform: translateY(-4px);
}


/* =========================================================
   22. FOOTER COLUMNS
========================================================= */

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}

.footer-column h4 {
    margin-bottom: 25px;

    color: var(--white);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.footer-column a {
    position: relative;

    margin-bottom: 13px;

    color: var(--gray);

    font-size: 12px;

    transition:
        color 0.3s ease,
        transform 0.3s var(--ease);
}

.footer-column a::before {
    content: "";

    position: absolute;

    left: -13px;
    top: 50%;

    width: 5px;
    height: 1px;

    background: var(--red);

    opacity: 0;

    transform: translateY(-50%) scaleX(0);

    transition:
        opacity 0.3s ease,
        transform 0.3s var(--ease);
}

.footer-column a:hover {
    color: var(--white);
    transform: translateX(8px);
}

.footer-column a:hover::before {
    opacity: 1;

    transform:
        translateY(-50%)
        scaleX(1);
}


/* =========================================================
   23. FOOTER BOTTOM
========================================================= */

.footer-bottom {
    width: min(1400px, calc(100% - 80px));

    margin: 80px auto 0;
    padding-top: 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid var(--border);

    color: var(--gray-dark);

    font-size: 10px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: var(--gray-dark);

    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--white);
}


/* =========================================================
   24. REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(50px);

    transition:
        opacity 0.8s ease,
        transform 0.8s var(--ease);
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}

.hero-content {
    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity 1s ease,
        transform 1s var(--ease);
}

.hero-content.hero-loaded {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   25. TABLET
========================================================= */

@media (max-width: 1200px) {

    .games-container {
        grid-template-columns: repeat(5, minmax(220px, 1fr));

        overflow-x: auto;

        scroll-snap-type: x mandatory;

        padding-bottom: 15px;
    }

    .game-card {
        scroll-snap-align: start;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

}


/* =========================================================
   26. SMALL TABLET
========================================================= */

@media (max-width: 950px) {

    .main-navigation {
        display: none;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;

        margin-bottom: 50px;
    }

    .section-header > p {
        width: min(600px, 100%);
    }

    .news-container {
        grid-template-columns: 1fr;
    }

    .news-card-featured {
        grid-row: auto;
    }

    .news-card {
        grid-template-columns: 0.9fr 1.1fr;
    }

    .about-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .about-visual {
        max-width: 700px;
    }

    .studios-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;

        padding-right: 0;
    }

}


/* =========================================================
   27. MOBILE
========================================================= */

@media (max-width: 700px) {

    :root {
        --header-height: 68px;
    }

    .navbar {
        width: calc(100% - 35px);
    }

    .logo {
        width: 125px;
    }

    .menu-button {
        gap: 9px;
    }

    .menu-content {
        width: calc(100% - 40px);
    }

    .menu-list a {
        font-size: clamp(38px, 12vw, 65px);

        gap: 15px;
    }

    .menu-list a span {
        width: 20px;

        font-size: 9px;
    }

    .menu-footer {
        margin-top: 35px;

        flex-direction: column;

        gap: 8px;
    }


    /* Hero */

    .hero-content {
        width: calc(100% - 40px);

        padding-top: 120px;
    }

    .hero-title {
        font-size: clamp(48px, 14vw, 76px);
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-button {
        min-width: 170px;
    }

    .scroll-indicator {
        display: none;
    }


    /* Sections */

    .section-header,
    .news-container,
    .about-container,
    .studios-grid,
    .support-content,
    .store-content,
    .careers-content,
    .featured-game-content,
    .footer-container,
    .footer-bottom {
        width: calc(100% - 40px);
    }

    .section-header h2 {
        font-size: clamp(40px, 12vw, 60px);
    }


    /* Games */

    .games-section {
        padding: 100px 0;
    }

    .games-container {
        width: calc(100% - 40px);

        grid-template-columns: repeat(
            5,
            minmax(260px, 72vw)
        );
    }


    /* All Games */

    .all-games-section {
        padding-bottom: 100px;
    }

    .all-games-banner {
        width: calc(100% - 40px);

        min-height: 500px;
    }

    .all-games-content {
        height:500px;

        padding: 30px;
    }

    .all-games-button {
        position: static;

        margin-top: 25px;
    }


    /* News */

    .news-section {
        padding: 100px 0;
    }

    .news-card {
        grid-template-columns: 1fr;
    }

    .news-card .news-image {
        min-height: 230px;
    }

    .news-info {
        padding: 25px;
    }


    /* Other Sections */

    .featured-game-section,
    .store-section,
    .careers-section {
        min-height: 560px;
    }

    .featured-game-content h2,
    .store-content h2,
    .careers-content h2,
    .support-content h2 {
        font-size: clamp(48px, 13vw, 70px);
    }

    .about-section,
    .studios-section {
        padding: 100px 0;
    }

    .studios-grid {
        grid-template-columns: 1fr;
    }

    .studio-card {
        min-height: 250px;
    }


    /* Footer */

    .site-footer {
        padding-top: 80px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;

        gap: 45px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-social {
        gap: 8px;
    }

    .social-icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 18px;

        margin-top: 60px;
    }

    .footer-bottom-links {
        gap: 18px;
    }

}


/* =========================================================
   28. SMALL MOBILE
========================================================= */

@media (max-width: 450px) {

    .logo {
        width: 110px;
    }

    .navbar {
        width: calc(100% - 28px);
    }

    .menu-button {
        font-size: 10px;
    }

    .menu-icon {
        width: 22px;
    }

    .hero-content {
        width: calc(100% - 30px);
    }

    .hero-title {
        font-size: 47px;
    }

    .hero-description {
        font-size: 13px;
    }

    .games-container {
        width: calc(100% - 30px);
    }

    .all-games-banner {
        width: calc(100% - 30px);
    }

    .all-games-content {
        padding: 25px;
    }

    .news-container,
    .about-container,
    .studios-grid,
    .support-content,
    .store-content,
    .careers-content,
    .featured-game-content,
    .footer-container,
    .footer-bottom {
        width: calc(100% - 30px);
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
    }

}


/* =========================================================
   29. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
  BY Pungent inc. PREVENT PAGE SCALE / TOUCH ZOOM
========================================================= */

html,
body {
    touch-action: pan-x pan-y;
    overscroll-behavior: none;
}

body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}