@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Oswald:wght@400;500;600;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #000405;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    overflow-x: hidden;
}

a, button {
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* ========== HEADER ========== */
.site-header {
    position: absolute;
    z-index: 10;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1444px, calc(100% - 40px));
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    width: 180px;
    height: auto;
    display: block;
}

nav {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-left: -220px;
    position: relative;
}

nav.site-nav-top a:hover {
    color: #00ff59;
}

.dropdown a:hover {
    color: #00ff59;
}

button.nav-drop:hover {
    color: #00ff59;
}

.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    gap: 14px;
    /* ДОБАВИТЬ - поднимаем дропдаун вверх, убирая разрыв */
    margin-top: -5px;
    padding-top: 5px;
}

.dropdown-wrapper:hover .dropdown {
    display: grid;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown-wrapper:hover .dropdown-arrow {
    transform: rotate(180deg);
}

nav a, .nav-drop, .header-actions button {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    background: none;
    border: 0;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.nav-drop {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-drop img, .header-actions img {
    height: 14px;
    width: auto;
}

.dropdown {
    display: none;
    position: absolute;
    top: 34px;
    right: 0;
    background: #111211;
    border: 1px solid #1a1d1b;
    padding: 18px 22px;
    /*min-width: 180px;*/
}

.dropdown.open {
    display: grid;
    gap: 14px;
}

.header-actions {
    display: flex;
    gap: 30px;
}

.header-actions button {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* ========== HERO ========== */
.hero {
    height: 925px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../assets/images/hero-bg.png') center center / cover no-repeat;
    width: 100%;
    height: 100%;
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 55%),
    linear-gradient(0deg, #000405 0, rgba(0,0,0,0) 20%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 592px;
    left: calc(50% - 723px);
    top: 244px;
}

.hero h1 {
    margin: 0 0 40px;
    font-family: 'Impact', 'Oswald', sans-serif;
    font-size: 61px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.hero h1 span {
    color: #00ff59;
}

.hero p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 30px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px dashed;
}

.btn.primary {
    background: #00ff59;
    border-color: #00ff59;
    color: #000;
}

.btn.secondary {
    background: #4e504f;
    border-color: #4e504f;
}

.btn img {
    height: 14px;
    width: auto;
}

/* ========== GAMES ========== */
.games {
    position: relative;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1440px;
    width: 100%;
    padding: 0 40px 84px;
}

.section-head {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 60px;
}

.section-head small {
    display: block;
    color: #00ff59;
    font-family: 'Impact', 'Oswald', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}

.section-head h2 {
    font-family: 'Impact', 'Oswald', sans-serif;
    font-size: 74px;
    line-height: 1;
    margin: 12px 0 0;
    text-transform: uppercase;
}

.section-head p {
    width: 466px;
    line-height: 1.5;
}

.games-swiper {
    padding-bottom: 50px;
    /*overflow: visible !important;*/
}

.games-swiper .swiper-wrapper {
    display: flex;
}

.games-swiper .swiper-slide {
    width: 346px !important;
    flex-shrink: 0;
}

.game-card {
    width: 346px;
    height: 336px;
    background: #111211;
    border: 2px solid #1a1d1b;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.game-card > img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.game-card:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 115px;
    height: 115px;
    background: linear-gradient(0deg, #111211, rgba(0,0,0,0));
}

.game-card .tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    padding: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 4px;
}

.tag.orange { background: #b44615; }
.tag.red { background: #323232; }
.tag.gray { background: #616161; }
.tag.purple { background: #8a38f5; }
.tag.green { background: #104c24; }

.game-card > div {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 23px;
}

.game-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    margin: 0 0 16px;
}

.game-card p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 22px;
}

.game-card footer {
    display: flex;
    gap: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
}

.game-card footer a:first-child {
    color: #00ff59;
}

.swiper-scrollbar {
    background: #2b2b2b !important;
    height: 2px !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 1440px !important;
}

.swiper-scrollbar-drag {
    background: #fff !important;
    height: 4px !important;
    top: -1px;
}

.games-prev, .games-next {
    color: #00ff59 !important;
    top: auto !important;
    bottom: 34px !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid #00ff59;
    border-radius: 50%;
}

.games-prev {
    left: auto !important;
    right: 100px !important;
}

.games-next {
    left: auto !important;
    right: 40px !important;
}

.games-prev:after, .games-next:after {
    font-size: 14px !important;
}

.games-pagination {
    position: relative !important;
    margin-top: 22px;
    text-align: left !important;
}

.games-pagination .swiper-pagination-bullet {
    width: 64px;
    height: 4px;
    border-radius: 0;
    background: #2b2b2b;
    opacity: 1;
}

.games-pagination .swiper-pagination-bullet-active {
    background: #00ff59;
}

/* ========== PAPER ========== */
.paper {
    position: relative;
    line-height: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.paper img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
}

.paper-up {
    margin-top: -20px;
}

.paper-up img {
    max-width: 1920px;
    width: 100%;
    height: auto;
}

.paper-down {
    background: transparent;
    position: relative;
    z-index: 10;
    margin-bottom: -70px;
}

.paper-down img {
    max-width: 1316px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/* ========== CREATE ========== */
.create {
    position: relative;
    background: #f9f9f9;
    color: #000;
    min-height: 1040px;
    padding-top: 41px;
}

.create-bg {
    width: 1442px;
    height: 605px;
    margin: 0 auto;
    position: relative;
}

.create-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.create-content {
    position: absolute;
    left: calc(50% - 722px);
    top: 101px;
    width: 590px;
}

.create-content small {
    font-family: 'Impact', 'Oswald', sans-serif;
    color: #29c635;
    font-size: 20px;
    text-transform: uppercase;
}

.create-content h2 {
    font-family: 'Impact', 'Oswald', sans-serif;
    font-size: 72px;
    line-height: 1.02;
    text-transform: uppercase;
    margin: 34px 0;
}

.create-content h2 span {
    font-size: 60px;
    font-style: normal;
}

.create-content h2 em {
    font-style: normal;
    color: #29c635;
}

.create-content p {
    font-size: 16px;
    line-height: 1.5;
}

.features {
    display: flex;
    gap: 20px;
    position: absolute;
    left: calc(50% - 722px);
    top: 472px;
}

.features article {
    width: 468px;
    height: 330px;
    overflow: hidden;
    position: relative;
    border: 4px solid transparent;
}

.features article > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features i {
    position: absolute;
    z-index: 2;
    left: 30px;
    top: 40px;
    width: 82px;
    height: 82px;
    border-radius: 20px;
    border: 2px solid #29c635;
    background: rgba(255,255,255,.45);
    display: grid;
    place-items: center;
}

.features i img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.features b {
    position: absolute;
    z-index: 2;
    right: 36px;
    top: 40px;
    font-family: 'Impact', 'Oswald', sans-serif;
    font-size: 64px;
    color: #8b8b8b;
}

.features h3 {
    position: absolute;
    z-index: 2;
    left: 30px;
    bottom: 76px;
    margin: 0;
    font-family: 'Impact', 'Oswald', sans-serif;
    font-size: 32px;
    text-transform: uppercase;
}

.features p {
    position: absolute;
    z-index: 2;
    left: 30px;
    bottom: 30px;
    width: 316px;
    margin: 0;
    font-size: 15px;
    line-height: 24px;
}

.stats {
    position: absolute;
    left: calc(50% - 722px);
    bottom: 60px;
    width: 1465px;
    height: 138px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    padding: 0 30px;
    gap: 100px;
}

.stats div {
    display: grid;
    grid-template-columns: 58px 126px;
    column-gap: 16px;
    align-items: center;
    position: relative;
}

.stats div+div:before {
    content: "";
    position: absolute;
    left: -60px;
    width: 1px;
    height: 68px;
    background: #ebebeb;
}

.stats img {
    grid-row: 1/3;
    width: 58px;
    height: 58px;
    border: 1px solid #29c635;
    border-radius: 16px;
    padding: 14px;
}

.stats strong {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: #000;
}

.stats span {
    font-size: 14px;
    color: #666;
}

/* ========== STORY ========== */
.story-section {
    background: #000405;
    color: #fff;
    padding: 120px 0 150px;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.story-bg {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-8%);
    width: min(58vw, 1100px);
    opacity: .7;
    pointer-events: none;
}

.story-head {
    position: relative;
    z-index: 1;
    max-width: 1444px;
    margin: 0 auto 70px;
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: calc(100% - 80px);
}

.story-title {
    font-family: 'Impact', sans-serif;
    font-size: 72px;
    line-height: .95;
    text-transform: uppercase;
    max-width: 620px;
    margin: 0;
}

.story-title span {
    color: #00ff59;
    display: block;
    text-align: right;
}

.story-text {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #d7d7d7;
    font-size: 16px;
    line-height: 1.5;
    max-width: 590px;
    margin: 0;
}

.story-grid {
    position: relative;
    z-index: 1;
    max-width: 1444px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: calc(100% - 80px);
}

.story-card {
    height: 524px;
    border-radius: 20px;
    background: #111211;
    border: 2px solid #1a1d1b;
    position: relative;
    overflow: hidden;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.story-card:hover {
    border-color: #00ff59;
    transform: translateY(-4px);
}

.story-card:hover .story-num {
    color: #00ff59;
}

.story-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 300px;
    background: linear-gradient(180deg, #111211 0%, rgba(17,18,17,0) 45%);
    z-index: 1;
    pointer-events: none;
}

.story-card-img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 277px;
    object-fit: cover;
}

.story-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

/*.story-icon-wrap {*/
/*    width: 80px;*/
/*    height: 80px;*/
/*    border-radius: 50%;*/
/*    display: grid;*/
/*    place-items: center;*/
/*    background: rgba(0,255,89,.08);*/
/*    border: 1px solid rgba(0,255,89,.35);*/
/*}*/

/*.story-icon {*/
/*    font-size: 28px;*/
/*    color: #00ff59;*/
/*}*/
.story-icon-wrap{
    position:relative;
    width:72px;
    height:72px;
}

.hex-bg{
    width:100%;
    height:100%;
    object-fit:contain;
}

.icon{
    position:absolute;
    top:50%;
    left:50%;
    width:28px;
    height:28px;
    transform:translate(-50%,-50%);
}

.story-num {
    font-family: 'Impact', sans-serif;
    font-size: 48px;
    color: #4c524b;
    line-height: 1;
}

.story-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.story-card-title {
    font-family: 'Impact', sans-serif;
    font-size: 32px;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

.story-card-text {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: #d7d7d7;
    margin: 0;
}

/* ========== FLAGSHIP ========== */
.flagship-section {
    background: #000405;
    padding: 110px 0 130px;
    color: #fff;
}

.flagship-section .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.flagship-section .section-head {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.flagship-section h2 {
    font-family: 'Impact', 'Oswald', sans-serif;
    font-size: 72px;
    line-height: .95;
    text-transform: uppercase;
    margin: 0;
}

.flagship-section h2 span {
    color: #00ff59;
}

.flagship-section .section-head p {
    color: #d7d7d7;
    margin: 0;
}

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

.flag-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #111211;
    border: 2px solid #1a1d1b;
    min-height: 702px;
}

.flag-img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    display: block;
}

.flag-card:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 238px;
    height: 152px;
    background: linear-gradient(to bottom, rgba(17,18,17,0), #111211);
}

.flag-logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    max-width: 170px;
    max-height: 65px;
}

.flag-body {
    position: relative;
    z-index: 3;
    margin-top: -74px;
    padding: 0 30px 30px;
}

.flag-body h3 {
    font-family: 'Impact', 'Oswald', sans-serif;
    font-size: 48px;
    line-height: 1;
    margin: 0 0 18px;
}

.flag-body h4 {
    font: 700 24px/1 'Oswald', Arial, sans-serif;
    text-transform: uppercase;
    margin: 0 0 26px;
}

.flag-card.orange h4 { color: #b44615; }
.flag-card.yellow h4 { color: #fff600; }
.flag-card.green h4 { color: #9cff36; }

.flag-body p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 24px;
    color: #fff;
}

.flag-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 14px;
}

.flag-body li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    line-height: 1.4;
    color: #fff;
}

.flag-body li img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.flag-actions {
    display: flex;
    gap: 20px;
}

.flag-actions a, .flag-actions button {
    border: 2px dashed transparent;
    padding: 13px 22px;
    text-transform: uppercase;
    font: 16px 'Oswald', Arial, sans-serif;
    color: #000;
    background: #00ff59;
    text-decoration: none;
}

.flag-actions button {
    background: #4e504f;
    color: #fff;
    border-color: #4e504f;
}

.flag-card.orange .flag-actions a { background: #b44615; color: #fff; }
.flag-card.yellow .flag-actions a { background: #fff600; color: #000; }
.flag-card.green .flag-actions a { background: #9cff36; color: #000; }

/* ========== БЛОК 1: NEWS SECTION ========== */
.section-teeth {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #050807;
}

.news-section {
    background: #fbfbfc;
    padding: 60px 0 60px;
    position: relative;
}

.news-container {
    width: min(1444px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
}

.news-hero {
    height: 495px;
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
}

.news-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #fbfbfc 0%, rgba(251,251,252,.92) 18%, rgba(251,251,252,0) 78%);
}

.news-head {
    position: relative;
    z-index: 1;
    padding-top: 60px;
    width: 785px;
    max-width: 100%;
}

.eyebrow {
    margin: 0 0 38px;
    color: #29c635;
    text-transform: uppercase;
    font: 500 20px 'Oswald', Arial, sans-serif;
}

.title-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.title-row h1 {
    margin: 0;
    width: 346px;
    text-transform: uppercase;
    font: 700 72px/1 'Oswald', Arial, sans-serif;
    color: #050505;
}

.title-row h1 span {
    color: #29c635;
}

.title-row p {
    width: 399px;
    margin: 8px 0 0;
    font-size: 16px;
    line-height: 1.45;
    color: #111;
}

.news-grid {
    position: relative;
    z-index: 2;
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,.1);
    overflow: hidden;
    min-height: 457px;
}

.news-card > img {
    width: 100%;
    height: 231px;
    object-fit: cover;
    display: block;
}

.news-card .tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px;
    color: #fff;
    text-transform: uppercase;
    font: 500 16px 'Oswald', Arial, sans-serif;
    border-radius: 4px;
}

.news-card .tag.green { background: #29c635; }
.news-card .tag.violet { background: #4f22a1; }
.news-card .tag.blue { background: #3c78c2; }
.news-card .tag.orange { background: #ea7f01; }

.card-body {
    padding: 20px;
}

.card-body small {
    color: #808080;
    font-size: 14px;
}

.card-body h3 {
    margin: 18px 0;
    text-transform: uppercase;
    font: 500 24px/1.15 'Oswald', Arial, sans-serif;
    color: #111;
}

.card-body p {
    margin: 0;
    color: #4e504f;
    font-size: 15px;
    line-height: 20px;
}

.progress {
    height: 4px;
    background: #ebebeb;
    margin: 36px 0 60px;
}

.progress span {
    display: block;
    width: 37%;
    height: 4px;
    background: #29c635;
}

.bottom-cards {
    display: grid;
    grid-template-columns: 590px 1fr;
    gap: 20px;
    margin-top: 40px;
}

.box {
    height: 220px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,.1);
    overflow: hidden;
}

.subscribe {
    display: flex;
    gap: 22px;
    padding: 40px 30px;
}

.mail {
    width: 80px;
    height: 80px;
    border: 1px solid #29c635;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.mail img {
    width: 30px;
}

.subscribe h3, .community h3 {
    margin: 0 0 18px;
    text-transform: uppercase;
    font: 500 24px 'Oswald', Arial, sans-serif;
    color: #111;
}

.subscribe p, .community p {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 22px;
    color: #111;
}

.subscribe form {
    display: flex;
}

.subscribe input {
    width: 287px;
    height: 48px;
    border: 1px solid #eee;
    padding: 0 20px;
    font: 16px 'Oswald', Arial;
}

.subscribe button, .community button {
    border: 2px dashed #29c635;
    background: #29c635;
    padding: 13px 28px;
    text-transform: uppercase;
    font: 400 16px 'Oswald', Arial;
    cursor: pointer;
}

.community {
    display: grid;
    grid-template-columns: 360px 1fr;
    align-items: center;
}

.community > div {
    padding-left: 30px;
    z-index: 1;
}

.community > img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to right, transparent 0, #000 35%);
}

/* ========== БЛОК 2: READY SECTION ========== */
.ready-section {
    position: relative;
    background: #fbfbfc;
    min-height: 460px;
    width: 100%;
    display: flex;
    align-items: center;
}

.ready-inner {
    width: min(1444px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
}

.ready-content {
    position: relative;
    z-index: 2;
    width: 610px;
    padding: 40px 0;
}

.ready-content h2 {
    margin: 0 0 20px;
    font-family: 'Impact', 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 48px;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #191919;
}

.ready-content p {
    margin: 0 0 30px;
    max-width: 610px;
    font-size: 16px;
    line-height: 22px;
    color: #191919;
}

.ready-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 30px;
    border: 2px dashed #29c635;
    background: #29c635;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Oswald', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    transition: filter .2s ease, transform .2s ease;
}

.ready-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.ready-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 818px;
    height: 460px;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    pointer-events: none;
}

/* ========== БЛОК 3: FOOTER ========== */
.footer {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 48px 0 44px;
}

.footer__inner {
    width: min(1444px, calc(100% - 48px));
    min-height: 245px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr 1fr;
    column-gap: 70px;
    align-items: start;
}

.footer__brand {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer__logo {
    display: inline-flex;
    width: 180px;
    height: 43px;
    align-items: center;
}

.footer__logo img {
    width: 180px;
    height: 43px;
    object-fit: contain;
    display: block;
}

.footer__copy,
.footer__column h3 {
    font-family: 'Oswald', Arial, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1;
}

.footer__copy {
    color: #d7d7d7;
    font-size: 16px;
}

.footer__column h3 {
    margin: 0 0 22px;
    font-size: 18px;
    color: #fff;
}

.footer__column ul {
    list-style: disc;
    margin: 0;
    padding-left: 22px;
}

.footer__column li {
    margin: 0 0 14px;
    color: #d7d7d7;
    padding-left: 4px;
}

.footer__column a {
    color: #d7d7d7;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.35;
    transition: color .18s ease, transform .18s ease;
    display: inline-block;
}

.footer__column a:hover {
    color: #00ff59;
    transform: translateX(2px);
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1100px) {
    .flag-grid {
        grid-template-columns: 1fr;
    }

    .flagship-section h2 {
        font-size: 48px;
    }

    .story-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-title {
        font-size: 56px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-cards {
        grid-template-columns: 1fr;
    }

    .box {
        height: auto;
    }

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

    .community > img {
        display: none;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 44px;
    }

    .footer__brand {
        min-height: 180px;
    }

    .ready-inner {
        min-height: 560px;
        align-items: flex-start;
    }

    .ready-content {
        width: min(610px, 100%);
        padding-top: 70px;
    }

    .ready-image {
        right: -180px;
        opacity: .75;
    }
}

@media (max-width: 900px) {
    .site-header {
        top: 20px;
    }

    .logo img {
        width: 130px;
    }

    nav {
        display: none;
    }

    .hero-content {
        left: 24px;
        right: 24px;
        width: auto;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero {
        height: 700px;
    }

    .games {
        padding: 0 20px 60px;
    }

    .section-head {
        display: block;
    }

    .section-head h2 {
        font-size: 52px;
    }

    .section-head p {
        width: auto;
    }

    .games-prev, .games-next {
        display: none !important;
    }

    .paper-up img, .paper-down img {
        width: 100%;
    }

    .paper-down {
        margin-bottom: -40px;
    }

    .create {
        padding: 40px 24px;
        min-height: auto;
    }

    .create-bg {
        width: 100%;
        height: auto;
    }

    .create-content, .features, .stats {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: auto;
    }

    .create-content h2 {
        font-size: 44px;
    }

    .features {
        flex-direction: column;
        margin-top: 30px;
    }

    .features article {
        width: 100%;
    }

    .stats {
        height: auto;
        flex-wrap: wrap;
        margin-top: 30px;
        padding: 20px;
        gap: 20px;
    }

    .stats div:not(:last-child)::after {
        display: none;
    }

    .stats div {
        min-width: calc(50% - 10px);
    }

    .story-head, .story-grid {
        width: calc(100% - 32px);
    }

    .flagship-section .container {
        padding: 0 20px;
    }

    .news-section {
        padding: 40px 20px;
    }

    .news-container {
        width: 100%;
        padding: 0 20px;
    }

    .news-head {
        width: 100%;
        padding-top: 40px;
    }

    .title-row h1 {
        font-size: 42px;
        width: auto;
    }

    .title-row p {
        width: auto;
    }

    .news-hero {
        top: 40px;
        height: 300px;
    }

    .ready-section {
        min-height: 560px;
    }

    .ready-inner {
        width: calc(100% - 32px);
    }

    .ready-content h2 {
        font-size: 38px;
    }

    .ready-image {
        width: 720px;
        height: 405px;
        right: -280px;
        opacity: .55;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        row-gap: 34px;
    }

    .footer__brand {
        min-height: auto;
        gap: 48px;
    }
}

@media (max-width: 640px) {
    .hero {
        height: 600px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .story-section {
        padding: 80px 0;
    }

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

    .story-title {
        font-size: 42px;
    }

    .story-title span {
        text-align: left;
    }

    .paper-down {
        margin-bottom: -20px;
    }

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

    .subscribe {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .subscribe form {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe input {
        width: 100%;
    }

    .subscribe button, .community button {
        width: 100%;
    }

    .community > div {
        padding: 20px;
        text-align: center;
    }

    .ready-button {
        width: 100%;
        max-width: 310px;
    }
}

@media (min-width: 1920px) {
    .hero {
        height: 100vh;
        min-height: 800px;
        max-height: 1080px;
    }

    .hero-bg {
        background-size: cover;
        background-position: center top;
    }
}

.news-head .title-row h1 {
    font-size: 65px;
}

img.steam_mdi {
    position: relative;
    top: 5px;
    left: 5px;
}

/* ========== NEWS SWIPER STYLES ========== */
.news-swiper {
    /*overflow: visible !important;*/
    margin-top: 56px;
    padding-bottom: 50px;
}

.news-swiper .swiper-wrapper {
    display: flex;
}

.news-swiper .swiper-slide {
    width: calc(25% - 15px) !important;
    flex-shrink: 0;
    height: auto;
}

/* Навигационные кнопки */
.news-prev,
.news-next {
    color: #29c635 !important;
    top: auto !important;
    bottom: 34px !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid #29c635;
    border-radius: 50%;
    background: transparent;
}

.news-prev {
    left: auto !important;
    right: 100px !important;
}

.news-next {
    left: auto !important;
    right: 40px !important;
}

.news-prev:after,
.news-next:after {
    font-size: 14px !important;
    font-weight: bold;
}

/* Скроллбар */
.news-scrollbar {
    background: #ebebeb !important;
    height: 2px !important;
    left: 0 !important;
    width: 100% !important;
    border-radius: 0;
}

.news-scrollbar .swiper-scrollbar-drag {
    background: #29c635 !important;
    height: 4px !important;
    top: -1px;
}

/* Пагинация (точки) */
.news-pagination {
    position: relative !important;
    margin-top: 22px;
    text-align: left !important;
    bottom: auto !important;
}

.news-pagination .swiper-pagination-bullet {
    width: 64px;
    height: 4px;
    border-radius: 0;
    background: #ebebeb;
    opacity: 1;
}

.news-pagination .swiper-pagination-bullet-active {
    background: #29c635;
}

/* Адаптив */
@media (max-width: 1100px) {
    .news-swiper .swiper-slide {
        width: calc(50% - 10px) !important;
    }
}

@media (max-width: 640px) {
    .news-swiper .swiper-slide {
        width: 100% !important;
    }

    .news-prev,
    .news-next {
        display: none !important;
    }
}

/* Карточка новости в слайдере */
.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 457px;
}

.news-card > img {
    width: 100%;
    height: 231px;
    object-fit: cover;
    display: block;
}

.news-card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card .card-body p {
    flex: 1;
}

/* Убираем старую сетку */
.news-grid {
    display: none;
}

.hero {
    height: 925px;
    position: relative;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,0) 55%),
    linear-gradient(0deg, #000405 0, rgba(0,0,0,0) 20%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 592px;
    left: calc(50% - 723px);
    top: 244px;
}

@media (max-width: 900px) {
    .hero {
        height: 700px;
    }

    .hero-bg img {
        object-position: 30% center; /* Смещает фокус на важную часть изображения */
    }
}

@media (max-width: 640px) {
    .hero {
        height: 600px;
    }

    .hero-bg img {
        object-position: 40% center;
    }
}

/* ========== RESPONSIVE CONSOLIDATION ========== */
:root {
    --page-max: 1444px;
    --page-pad: 40px;
    --page-pad-tablet: 24px;
    --page-pad-mobile: 16px;
}

html {
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

.mobile-nav-toggle {
    display: none;
}

.site-header,
.games,
.story-head,
.story-grid,
.flagship-section .container,
.news-container,
.ready-inner,
.footer__inner {
    max-width: var(--page-max);
}

.create-bg,
.features,
.stats,
.create-content {
    max-width: calc(100% - 48px);
}

.create-bg {
    width: min(1442px, calc(100% - 48px));
}

.features {
    width: min(1444px, calc(100% - 48px));
}

.features article {
    flex: 1 1 0;
    min-width: 0;
}

.features p {
    width: calc(100% - 60px);
}

.stats {
    width: min(1444px, calc(100% - 48px));
    justify-content: space-between;
    gap: 24px;
}

.stats div {
    min-width: 0;
}

.flag-actions a,
.flag-actions button,
.subscribe button,
.community button,
.ready-button,
.btn {
    min-height: 48px;
}

.news-swiper,
.games-swiper {
    min-width: 0;
}

@media (max-width: 1320px) {
    nav {
        gap: 24px;
        margin-left: 0;
    }

    nav a,
    .nav-drop,
    .header-actions button {
        font-size: 16px;
    }

    .stats {
        gap: 18px;
    }

    .stats div {
        grid-template-columns: 52px minmax(88px, 1fr);
    }

    .stats div+div:before {
        left: -12px;
    }

    .footer__inner {
        column-gap: 36px;
    }
}

@media (max-width: 1100px) {
    :root {
        --page-pad: var(--page-pad-tablet);
    }

    .site-header {
        width: calc(100% - 48px);
    }

    .hero-content {
        left: var(--page-pad-tablet);
        width: min(592px, calc(100% - 48px));
    }

    .games {
        padding-left: var(--page-pad-tablet);
        padding-right: var(--page-pad-tablet);
    }

    .section-head {
        gap: 40px;
    }

    .create {
        min-height: auto;
        padding: 40px var(--page-pad-tablet) 56px;
    }

    .create-bg {
        width: 100%;
        height: 460px;
        max-width: 100%;
    }

    .create-content,
    .features,
    .stats {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        max-width: 100%;
    }

    .create-content {
        margin-top: -400px;
    }

    .features {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 80px;
    }

    .features article {
        width: auto;
    }

    .stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        height: auto;
        margin-top: 28px;
        padding: 24px;
    }

    .stats div {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .stats div+div:before {
        display: none;
    }

    .story-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .flag-card {
        min-height: 0;
    }

    .flag-img {
        height: 330px;
    }

    .bottom-cards {
        grid-template-columns: 1fr;
    }

    .box {
        height: auto;
    }

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

    .community > img {
        display: none;
    }

    .ready-inner {
        min-height: 520px;
        align-items: flex-start;
    }

    .ready-content {
        width: min(610px, 100%);
        padding-top: 70px;
    }

    .ready-image {
        right: -200px;
        opacity: .62;
    }
}

@media (max-width: 900px) {
    :root {
        --page-pad: var(--page-pad-tablet);
    }

    .site-header {
        position: fixed;
        top: 16px;
        width: calc(100% - 32px);
        padding: 10px 12px;
        background: rgba(0, 4, 5, .86);
        border: 1px solid rgba(255, 255, 255, .08);
        backdrop-filter: blur(12px);
    }

    .logo {
        position: relative;
        z-index: 12;
    }

    .logo img {
        width: 130px;
    }

    .mobile-nav-toggle {
        position: relative;
        z-index: 12;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .18);
        background: rgba(255, 255, 255, .05);
        display: grid;
        place-items: center;
        gap: 0;
    }

    .mobile-nav-toggle span {
        width: 22px;
        height: 2px;
        background: #fff;
        display: block;
        transition: transform .2s ease, opacity .2s ease;
    }

    .mobile-nav-toggle.is-open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    nav.site-nav-top {
        position: fixed;
        top: 82px;
        left: 16px;
        right: 16px;
        max-height: calc(100vh - 104px);
        overflow-y: auto;
        display: none;
        grid-template-columns: 1fr;
        gap: 18px;
        margin: 0;
        padding: 22px;
        background: rgba(17, 18, 17, .98);
        border: 1px solid rgba(255, 255, 255, .08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .36);
    }

    nav.site-nav-top.is-open {
        display: grid;
    }

    nav.site-nav-top a,
    nav.site-nav-top .nav-drop {
        width: 100%;
        min-height: 44px;
        justify-content: space-between;
        font-size: 18px;
    }

    nav.site-nav-top .dropdown-wrapper {
        width: 100%;
    }

    nav.site-nav-top .dropdown {
        position: static;
        display: grid;
        margin: 8px 0 0;
        padding: 10px 0 0 14px;
        border: 0;
        background: transparent;
    }

    .header-actions {
        display: none;
    }

    .hero {
        height: 700px;
    }

    .hero-bg img {
        object-position: 32% center;
    }

    .hero-content {
        left: 24px;
        right: 24px;
        top: 178px;
        width: auto;
        max-width: 560px;
    }

    .hero h1 {
        font-size: 42px;
        line-height: 1.03;
        margin-bottom: 28px;
    }

    .hero p {
        margin-bottom: 28px;
    }

    .games {
        margin-top: 56px;
        padding: 0 var(--page-pad-tablet) 60px;
    }

    .section-head {
        display: block;
        margin-bottom: 36px;
    }

    .section-head h2,
    .flagship-section h2 {
        font-size: 52px;
    }

    .section-head p {
        width: auto;
        margin-top: 18px;
    }

    .games-prev,
    .games-next,
    .news-prev,
    .news-next {
        display: none !important;
    }

    .create {
        padding: 36px var(--page-pad-tablet) 48px;
    }

    .create-bg {
        height: 360px;
    }

    .create-content {
        margin-top: -318px;
        width: min(590px, 100%);
    }

    .create-content h2 {
        font-size: 44px;
    }

    .create-content h2 span {
        font-size: 40px;
    }

    .features {
        grid-template-columns: 1fr;
        margin-top: 56px;
    }

    .features article {
        height: 300px;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 20px;
        gap: 20px;
    }

    .story-section {
        padding: 88px 0 96px;
    }

    .story-bg {
        width: 760px;
        max-width: none;
        transform: translateX(-20%);
    }

    .story-head,
    .story-grid,
    .news-container,
    .ready-inner,
    .footer__inner {
        width: calc(100% - 48px);
    }

    .story-title {
        font-size: 52px;
    }

    .flagship-section {
        padding: 80px 0 90px;
    }

    .flagship-section .container {
        padding: 0 var(--page-pad-tablet);
    }

    .flag-body h3 {
        font-size: 42px;
    }

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

    .news-head {
        width: 100%;
        padding-top: 40px;
    }

    .news-hero {
        top: 40px;
        height: 300px;
    }

    .title-row {
        gap: 20px;
    }

    .title-row h1,
    .news-head .title-row h1 {
        width: auto;
        font-size: 46px;
    }

    .title-row p {
        width: auto;
    }

    .ready-section {
        min-height: 520px;
    }

    .ready-inner {
        min-height: 520px;
    }

    .ready-content h2 {
        font-size: 38px;
    }

    .ready-image {
        width: 720px;
        height: 405px;
        right: -300px;
        opacity: .45;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        row-gap: 34px;
    }

    .footer__brand {
        min-height: auto;
        gap: 48px;
    }
}

@media (max-width: 640px) {
    :root {
        --page-pad: var(--page-pad-mobile);
    }

    .site-header {
        width: calc(100% - 24px);
        top: 12px;
        padding: 8px 10px;
    }

    nav.site-nav-top {
        top: 76px;
        left: 12px;
        right: 12px;
    }

    .hero {
        height: 650px;
    }

    .hero-bg img {
        object-position: 40% center;
    }

    .hero:after {
        background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.18) 72%),
        linear-gradient(0deg, #000405 0, rgba(0,0,0,0) 28%);
    }

    .hero-content {
        top: 152px;
        left: 16px;
        right: 16px;
        width: calc(100% - 32px);
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.05;
        margin-bottom: 22px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-buttons {
        flex-direction: column;
        width: min(100%, 320px);
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0 20px;
    }

    .games {
        padding: 0 var(--page-pad-mobile) 52px;
    }

    .section-head small,
    .create-content small,
    .eyebrow {
        font-size: 16px;
    }

    .section-head h2,
    .flagship-section h2 {
        font-size: 40px;
    }

    .games-swiper .swiper-slide {
        width: min(326px, calc(100vw - 32px)) !important;
    }

    .game-card {
        width: min(326px, calc(100vw - 32px));
        height: 344px;
    }

    .game-card footer {
        flex-direction: column;
        gap: 8px;
    }

    .games-pagination .swiper-pagination-bullet,
    .news-pagination .swiper-pagination-bullet {
        width: 38px;
    }

    .paper-up {
        margin-top: -8px;
    }

    .paper-down {
        margin-bottom: -18px;
    }

    .create {
        padding: 28px var(--page-pad-mobile) 42px;
    }

    .create-bg {
        height: 250px;
        opacity: .72;
    }

    .create-content {
        margin-top: -224px;
    }

    .create-content h2 {
        font-size: 34px;
        margin: 24px 0;
    }

    .create-content h2 span {
        font-size: 30px;
    }

    .features {
        margin-top: 46px;
    }

    .features article {
        height: 280px;
    }

    .features i {
        left: 20px;
        top: 24px;
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .features b {
        top: 24px;
        right: 22px;
        font-size: 48px;
    }

    .features h3 {
        left: 20px;
        bottom: 74px;
        font-size: 26px;
    }

    .features p {
        left: 20px;
        bottom: 24px;
        width: calc(100% - 40px);
    }

    .stats {
        grid-template-columns: 1fr;
        border-radius: 14px;
    }

    .stats div {
        grid-template-columns: 52px minmax(0, 1fr);
    }

    .story-section {
        padding: 76px 0 82px;
    }

    .story-head,
    .story-grid,
    .news-container,
    .ready-inner,
    .footer__inner {
        width: calc(100% - 32px);
    }

    .story-title {
        font-size: 40px;
    }

    .story-title span {
        text-align: left;
    }

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

    .story-card {
        height: 430px;
        border-radius: 14px;
    }

    .story-card-img {
        height: 230px;
    }

    .flagship-section {
        padding: 66px 0 72px;
    }

    .flagship-section .container {
        padding: 0 var(--page-pad-mobile);
    }

    .flag-card {
        border-radius: 14px;
    }

    .flag-img {
        height: 250px;
    }

    .flag-logo {
        top: 20px;
        left: 20px;
        max-width: 132px;
    }

    .flag-body {
        padding: 0 20px 24px;
        margin-top: -54px;
    }

    .flag-body h3 {
        font-size: 34px;
    }

    .flag-body h4 {
        font-size: 19px;
        line-height: 1.12;
    }

    .flag-actions {
        flex-direction: column;
        gap: 12px;
    }

    .flag-actions a,
    .flag-actions button {
        width: 100%;
        text-align: center;
    }

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

    .news-hero {
        height: 240px;
    }

    .eyebrow {
        margin-bottom: 22px;
    }

    .title-row h1,
    .news-head .title-row h1 {
        font-size: 38px;
    }

    .news-swiper {
        margin-top: 36px;
    }

    .news-swiper .swiper-slide {
        width: 100% !important;
    }

    .news-card {
        min-height: 420px;
    }

    .news-card > img {
        height: 210px;
    }

    .bottom-cards {
        margin-top: 26px;
    }

    .subscribe {
        flex-direction: column;
        align-items: stretch;
        padding: 28px 20px;
    }

    .mail {
        width: 64px;
        height: 64px;
    }

    .subscribe form {
        flex-direction: column;
        gap: 10px;
    }

    .subscribe input,
    .subscribe button,
    .community button {
        width: 100%;
    }

    .community > div {
        padding: 28px 20px;
    }

    .ready-section {
        min-height: 460px;
    }

    .ready-inner {
        min-height: 460px;
    }

    .ready-content {
        padding: 56px 0 44px;
    }

    .ready-content h2 {
        font-size: 32px;
    }

    .ready-button {
        width: 100%;
        max-width: 330px;
    }

    .ready-image {
        width: 560px;
        height: 315px;
        right: -280px;
        opacity: .32;
    }

    .footer {
        padding: 38px 0;
    }

    .footer__brand {
        gap: 32px;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 30px;
    }

    .hero-content {
        top: 140px;
    }

    .section-head h2,
    .flagship-section h2,
    .story-title,
    .title-row h1,
    .news-head .title-row h1 {
        font-size: 34px;
    }

    .create-content h2 {
        font-size: 30px;
    }

    .create-content h2 span {
        font-size: 27px;
    }

    .stats strong {
        font-size: 24px;
    }
}

@media (min-width: 901px) and (max-width: 1488px) {
    .hero-content,
    .create-content,
    .features,
    .stats {
        left: 24px;
    }
}
