* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #08090a;
    --bg-light: #101214;
    --panel: #141619;
    --panel-hover: #1a1d20;
    --border: rgba(255,255,255,.08);
    --text: #f2f2f2;
    --muted: #85898e;
    --red: #d71920;
    --red-dark: #a90f15;
    --max-width: 1240px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.label {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8,9,10,.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--red);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
    transform: skew(-8deg);
}

.logo-name {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-sub {
    padding-left: 12px;
    border-left: 1px solid var(--border);
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.5px;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navigation a {
    position: relative;
    color: #c5c7ca;
    font-size: 13px;
    font-weight: 700;
    transition: color .2s ease;
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width .2s ease;
}

.navigation a:hover {
    color: #fff;
}

.navigation a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
}

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 75% 45%, rgba(215,25,32,.15), transparent 30%),
        linear-gradient(110deg, #08090a 0%, #0d0f11 55%, #08090a 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: .2;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-copy {
    max-width: 720px;
}

.hero h1 {
    margin-bottom: 25px;
    color: #fff;
    font-size: clamp(58px, 9vw, 120px);
    line-height: .88;
    font-weight: 900;
    letter-spacing: -5px;
}

.hero h1 span {
    display: block;
    color: var(--red);
}

.hero p {
    max-width: 620px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: .2s ease;
}

.btn-red {
    background: var(--red);
    color: #fff;
}

.btn-red:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: rgba(255,255,255,.18);
    color: #fff;
}

.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
}

.hero-mark {
    width: 380px;
    height: 380px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(215,25,32,.3);
    background: rgba(215,25,32,.03);
    transform: rotate(45deg);
}

.hero-mark span {
    color: rgba(215,25,32,.75);
    font-size: 230px;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-45deg);
}

.intro {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.intro h2 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -2px;
}

.intro h2 strong {
    color: var(--red);
}

.intro-text {
    color: var(--muted);
    font-size: 16px;
}

.intro-text p + p {
    margin-top: 20px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.section-head h1,
.section-head h2 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -2px;
}

.section-head > p {
    max-width: 360px;
    color: var(--muted);
    font-size: 14px;
}

.more-link {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.more-link:hover {
    color: var(--red);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.game-card {
    position: relative;
    min-height: 280px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel);
    transition: .25s ease;
}

.game-card:hover {
    border-color: rgba(215,25,32,.5);
    background: var(--panel-hover);
    transform: translateY(-4px);
}

.game-number {
    color: #4c5054;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.game-icon {
    margin: 45px 0 25px;
    color: var(--red);
    font-size: 36px;
}

.game-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
    letter-spacing: 1px;
}

.game-card p {
    color: var(--muted);
    font-size: 13px;
}

.news {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.news-card {
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel);
}

.news-image {
    position: relative;
    height: 190px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(215,25,32,.65), rgba(0,0,0,.8)),
        linear-gradient(45deg, #202326, #090a0b);
}

.news-image span {
    position: relative;
    z-index: 2;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 3px;
}

.news-content {
    padding: 25px;
}

.news-content time {
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.news-content h3 {
    margin: 10px 0;
    font-size: 20px;
}

.news-content p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}

.read-more {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.read-more:hover {
    color: var(--red);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 190px;
    gap: 10px;
}

.gallery-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    background:
        linear-gradient(135deg, rgba(215,25,32,.3), rgba(0,0,0,.8)),
        #17191b;
    transition: .25s ease;
}

.gallery-item:hover {
    border-color: rgba(215,25,32,.5);
    transform: scale(.99);
}

.gallery-item span {
    position: relative;
    z-index: 2;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 2px;
}

.gallery-main {
    grid-row: span 2;
}

.download-preview {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 28px;
    border: 1px solid var(--border);
    background: var(--panel);
}

.download-preview-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    display: grid;
    place-items: center;
    background: var(--red);
    color: #fff;
    font-size: 25px;
    font-weight: 900;
}

.download-preview-content {
    flex: 1;
}

.download-preview-content h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.download-preview-content p {
    color: var(--muted);
    font-size: 13px;
}

.contact {
    background: var(--bg-light);
}

.contact-box {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 70px;
    padding: 60px;
    border: 1px solid var(--border);
    background: var(--panel);
}

.contact-box h2 {
    margin-bottom: 15px;
    font-size: 52px;
    line-height: 1;
}

.contact-box p {
    max-width: 600px;
    margin-bottom: 25px;
    color: var(--muted);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}

.contact-info div {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.contact-info span {
    display: block;
    margin-bottom: 5px;
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.contact-info strong {
    color: #ddd;
    font-size: 14px;
}

.footer {
    border-top: 1px solid var(--border);
    background: #050607;
}

.footer-inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-logo strong {
    display: block;
    font-size: 18px;
    letter-spacing: 2px;
}

.footer-logo span {
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 1.5px;
}

.footer-inner p {
    color: #55595d;
    font-size: 11px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-nav a {
    color: #777b80;
    font-size: 11px;
}

.footer-nav a:hover {
    color: #fff;
}

/* GALLERY PAGE */

.gallery-page {
    min-height: calc(100vh - 180px);
}

.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-full-item {
    position: relative;
    display: block;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel);
}

.gallery-full-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-full-item:hover img {
    transform: scale(1.05);
}

.gallery-full-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px 18px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,.9));
}

.gallery-full-caption span {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.gallery-empty {
    padding: 90px 30px;
    border: 1px solid var(--border);
    background: var(--panel);
    text-align: center;
}

.gallery-empty-icon {
    margin-bottom: 20px;
    color: var(--red);
    font-size: 45px;
}

.gallery-empty h2 {
    margin-bottom: 10px;
}

.gallery-empty p {
    color: var(--muted);
}

/* DOWNLOAD PAGE */

.downloads-page {
    min-height: calc(100vh - 180px);
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 78px;
    padding: 14px 18px;
    border: 1px solid var(--border);
    background: var(--panel);
    transition: .2s ease;
}

.download-item:hover {
    border-color: rgba(215,25,32,.45);
    background: var(--panel-hover);
}

.download-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    background: rgba(215,25,32,.12);
    color: var(--red);
    font-size: 19px;
}

.download-item > div:nth-child(2) {
    flex: 1;
}

.download-item h3 {
    margin-bottom: 2px;
    color: #fff;
    font-size: 15px;
}

.download-item p {
    color: var(--muted);
    font-size: 11px;
}

.download-item > span {
    color: #65696d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.download-btn {
    min-width: 105px;
    padding: 10px 16px;
    border: 1px solid rgba(215,25,32,.5);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: .2s ease;
}

.download-btn:hover {
    background: var(--red);
    border-color: var(--red);
}

/* RESPONSIVE */

@media (max-width: 1000px) {
    .navigation {
        gap: 18px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-mark {
        width: 280px;
        height: 280px;
    }

    .hero-mark span {
        font-size: 170px;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 75px 0;
    }

    .container {
        width: min(calc(100% - 28px), var(--max-width));
    }

    .logo-sub {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 20px;
        border-bottom: 1px solid var(--border);
        background: rgba(8,9,10,.98);
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }

    .navigation a::after {
        display: none;
    }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        display: block;
    }

    .hero-mark {
        position: absolute;
        right: -100px;
        bottom: -80px;
        width: 250px;
        height: 250px;
        opacity: .35;
    }

    .hero-mark span {
        font-size: 145px;
    }

    .intro-grid,
    .contact-box {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .games-grid,
    .news-grid,
    .gallery-full-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-main {
        grid-column: span 2;
        grid-row: span 1;
    }

    .download-preview {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-box {
        padding: 35px 25px;
    }

    .footer-inner {
        padding: 30px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-nav {
        order: 3;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 54px;
        letter-spacing: -3px;
    }

    .hero p {
        font-size: 14px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        grid-column: auto;
    }

    .download-item {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .download-item > div:nth-child(2) {
        min-width: calc(100% - 66px);
    }

    .download-item > span {
        margin-left: 66px;
    }

    .download-btn {
        margin-left: 66px;
    }
}
.gallery-path {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: -20px 0 30px;
    color: var(--muted);
    font-size: 12px;
}

.gallery-path a:hover {
    color: var(--red);
}

.gallery-folders {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.gallery-folder {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 80px;
    padding: 15px 18px;
    border: 1px solid var(--border);
    background: var(--panel);
    transition: .2s ease;
}

.gallery-folder:hover {
    border-color: rgba(215,25,32,.5);
    background: var(--panel-hover);
    transform: translateY(-2px);
}

.gallery-folder-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    background: rgba(215,25,32,.12);
    color: var(--red);
    font-size: 19px;
}

.gallery-folder-info {
    flex: 1;
    min-width: 0;
}

.gallery-folder-info strong {
    display: block;
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-folder-info span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-folder-arrow {
    color: #666;
    font-size: 18px;
}

@media (max-width: 760px) {
    .gallery-folders {
        grid-template-columns: 1fr;
    }
}
.gallery-preview-grid .gallery-item {
    padding: 0;
}

.gallery-preview-grid .gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    transition: transform .35s ease;
}

.gallery-preview-grid .gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-preview-grid .gallery-main img {
    min-height: 390px;
}

@media (max-width: 760px) {
    .gallery-preview-grid .gallery-main img {
        min-height: 190px;
    }
}