/* Общие стили */
@font-face {
    font-family: 'Obrazec';
    src: url('/wa-data/public/site/themes/landings/fonts/Obrazec-2.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    --main-br: 100px;

    --bg-color: #0B0C0A;
    --main-color: #FFFFFF;
    --gray-color: #808080;

    --blue-bg: #4429cd;
    --gray-bg: #f5f5f5;
    --green-bg: #A4E711;
    --orange-bg: #ff5500;
    --lightblue-bg: #0B72DA;

    --base-fontsize: 18px;
    --small-fontsize: 16px;
    --med-fontsize: 23px;
    --big-fontsize: 75px;
    --h1-fontsize: 100px;
    --h2-fontsize: 70px;
    --left-padding: 100px;

    --blue-bg-dark: #28138f;
    --gray-bg-light: #f5f5f5;
    --lightblue-bg-dark: #004d9b;
    --orange-bg-dark: #c23d00;
}

html {
    font-size: var(--base-fontsize);
}

#yamap {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

body {
    font-family: 'MarbyPro', Arial, sans-serif;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    background-color: var(--bg-color);
    color: var(--main-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    user-select: none;
    pointer-events: none;
}

a {
    text-decoration: none;
    color: var(--main-color);
}

.mt-auto {
    margin-top: auto !important;
}

.font-obrazec {
    font-family: 'Obrazec', Arial, sans-serif;
}

button,
.btn {
    display: inline-block;
    text-wrap: nowrap;
    color: white;
    padding: 15px 35px;
    border-radius: 15px;
    font-size: 1rem;
    line-height: 1rem;
    border: none;
    cursor: pointer;
    transition: all .2s;
}

.btn-black {
    background-color: var(--bg-color);
    color: var(--main-color);
}

.btn-green {
    background-color: var(--green-bg);
    color: var(--bg-color);
}

.btn-lightblue {
    background-color: var(--lightblue-bg);
    color: #fff;
}

.btn-lightblue:hover {
    filter: brightness(.7);
    color: #fff;
}

.btn-orange {
    background-color: var(--orange-bg);
    color: #fff;
}

.btn-orange:hover {
    filter: brightness(.7);
    color: #fff;
}

.btn-white {
    background-color: #fff;
    color: var(--lightblue-bg);
}

.btn-white:hover {
    background-color: #becaff;
    color: var(--lightblue-bg);
}

.btn-arrow {
    transition: all .2s;
}

.center {
    text-align: center;
}

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

.container-full {
    width: 100%;
}

.list-unstyled {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.second-text {
    color: var(--green-bg);
}

.marker-text {
    display: block;
    padding-left: var(--left-padding);
    color: var(--green-bg);
}

.new-line {
    display: block;
}

.rub {
    font-family: sans-serif;
    font-weight: 600;
    padding-left: 3px;
    font-size: 0.8em;
}

/* Шапка */
header {
    width: 100%;
    padding: 30px 0;
    border-radius: 0px 0px 50px 50px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 50px;
}

.logo {
    font-size: 0;
}

header .container {
    display: flex;
    flex-direction: column;
}

.header-info {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
    gap: 50px;
}

.header-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header-title {
    margin: 0;
    text-align: left;
    font-weight: bold;
    font-size: var(--big-fontsize);
    text-transform: uppercase;
}

.header-text {
    display: inline-block;
    text-transform: none;
    font-weight: normal;
    margin-left: 15px;
    font-size: var(--base-fontsize);
}

.header-list {
    display: flex;
    gap: 40px;
    font-size: 1rem;
    font-weight: 500;
}

.header-btn {
    padding: 15px 0px;
    text-decoration: underline;
    text-transform: uppercase;
}

.header-promo-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    padding-left: 40px;
    gap: 25px;
    height: 80px;
    font-size: var(--med-fontsize);
    line-height: 80px;
    border-radius: 40px;
}

.header-promo-btn .btn-arrow {
    background-color: var(--bg-color);
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/white-arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%;
    border-radius: 50%;
    aspect-ratio: 1/1;
    height: calc(100% - 10px);
    margin: 5px;
}

.header-promo-btn:hover .btn-arrow {
    transform: rotate(45deg);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    color: var(--main-color);
    font-size: 2rem;
    line-height: 2rem;
    cursor: pointer;
}

.close-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 2rem;
    color: var(--main-color);
    cursor: pointer;
}

.menu-btn:hover {
    font-weight: bold;
    background: none;
}

.close-btn:hover {
    font-weight: bold;
    background: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    padding: 30px;
    background-color: var(--bg-color);
    visibility: hidden;
    transform: translateX(100%);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
    visibility: visible;
    transform: translateX(0);
}

.mobile-list {
    margin-top: 50px;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.mobile-menu-header img {
    max-width: 250px;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
}

.mobile-menu ul li {
    margin: 20px 0;
}

.mobile-menu ul li a {
    font-size: 1.5rem;
    color: var(--main-color);
    text-decoration: none;
}

/* Секции */
section {
    margin: 0;
    margin-top: 6rem;
}

.section-green {
    background-color: var(--green-bg);
    color: var(--bg-color);
}

.section-paper {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.section-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('/wa-data/public/site/themes/landings/img/consoles/border-top.webp') top center;
    background-size: auto 100%;
    z-index: 2;
}

.section-paper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('/wa-data/public/site/themes/landings/img/consoles/border-bottom.webp') bottom center;
    background-size: auto 100%;
    z-index: 2;
}

.section-title {
    font-family: 'Obrazec', Arial, sans-serif;
    text-align: left;
    font-size: var(--h1-fontsize);
    line-height: 1em;
    margin: 0;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

h2 {
    font-size: var(--h2-fontsize);
    margin-bottom: 2rem;
}

/** карточки **/
.cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.card {
    position: relative;
    border-radius: 25px;
    background: linear-gradient(210.79deg, #2C2D24 1.84%, #111210 95.26%);
    box-shadow: inset 0 0 0 1px #0B0C0A;
    overflow: hidden;
    z-index: 0;
}

.card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 20px;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: inherit;
    background: linear-gradient(204.63deg, #4C4D41, #1D1D17);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.card-green {
    background: var(--green-bg);
    color: var(--bg-color);
}

.card-blue {
    background: linear-gradient(154.26deg, #4429CC 10.08%, #221566 76.65%);
}

.card-title {
    font-family: 'Obrazec', Arial, sans-serif;
    font-size: var(--h2-fontsize);
    line-height: 1.1em;
    margin: 0;
    padding: 30px;
    padding-bottom: 0 !important;
}

.card-text {
    margin: 0;
    padding: 30px;
    padding-top: 0 !important;
    text-align: left;
    font-size: 1rem;
    line-height: 1.4rem;
}

.card-link {
    flex: 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 70px;
    border-radius: 20px;
    padding: 15px 20px;
    background: linear-gradient(87.96deg, #2E2F2A 3.03%, #2B2D23 100%);
    overflow: hidden;
    color: #fff;
    margin: 10px;
    z-index: 0;
}

.card-link::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(204.63deg, #4C4D41 1.19%, #1D1D17 90.87%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.card-link .btn-arrow {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/white-arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    aspect-ratio: 1/1;
    height: calc(100% - 10px);
    border-radius: 50%;
}

.card-link:hover .btn-arrow {
    transform: rotate(45deg);
}

.card-blue .card-link {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.card-blue .card-link::before {
    background: #FFFFFF1A;
}

.card-blue .card-link .btn-arrow {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/black-arrow.svg");
    background-color: var(--green-bg);
    width: 45px;
    height: 45px;
}

/* slider */
.scroll-style::-webkit-scrollbar {
    height: 4px;
}

.scroll-style::-webkit-scrollbar-track {
    border-radius: 5px;
    background: rgba(0, 0, 0, .05);
}

.scroll-style::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: rgba(0, 0, 0, .3);
}

.scroll-style::-webkit-scrollbar-thumb:hover {
    background: #696969;
    cursor: pointer;
}

section:not(.section-green) .scroll-style::-webkit-scrollbar-track {
    border-radius: 5px;
    background: rgb(255, 255, 255);
}

section:not(.section-green) .scroll-style::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: rgb(164 231 17);
}

.slider {
    position: relative;
}

.slide-prev,
.slide-next {
    cursor: pointer;
    position: absolute;
    background: none;
    font-size: 0;
    padding: 0;
    border: none;
    top: 50%;
    margin-top: 30px;
    width: 50px;
    height: 50px;
    border-radius: 25%;
    transition: all .2s;
    display: none;
}

.slide-prev.viewed,
.slide-next.viewed {
    display: block;
}

.slide-prev svg,
.slide-next svg {
    vertical-align: middle;
}

section:not(.section-green) .slider svg {
    filter: invert(1);
}

.slide-prev {
    left: -55px;
}

.slide-next {
    right: -55px;
}

.slide-prev:hover,
.slide-next:hover {
    background-color: rgba(225, 0, 255, 0.5);
    filter: invert(1);
}

/* promo-one */
.promo-one-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.promo-one-box {
    flex: 1 1 30%;
    min-height: 480px;
}

.promo-one-bg-1 {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/promo-one/promo-one-bg-1.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.promo-one-bg-2 {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/promo-one/promo-one-bg-2.webp");
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
}

.promo-one-bg-3 {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/promo-one/promo-one-bg-3.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* offers */
.products {
    padding: 6rem 0;
}

.offers {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
    gap: 20px;
    scroll-snap-stop: always;
    scroll-snap-type: x mandatory;
}

.offer {
    flex: 1 1 25%;
    min-width: 285px;
    border-radius: 20px;
    background-color: #fff;
    border: 2px solid #E8E8E8;
    padding: 15px 20px;
    scroll-snap-align: start;
}

.offer img {
    max-height: 240px;
}

.product-text {
    color: var(--bg-color);
    margin: 10px 0;
    max-height: 2.4rem;
    overflow: hidden;
}

.product-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
}

.product-photo img {
    border-radius: 15px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-btn {
    text-align: center;
    margin-top: 15px;
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    font-size: .9rem;
}

.product-bonus {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #fff;
    font-weight: bold;
    border: 1px solid var(--bg-color);
    color: var(--bg-color);
    font-size: 14px;
    font-weight: 500;
    border-radius: 15px;
    padding: 5px 10px;
    margin-top: 20px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.old-price {
    margin-left: 5px;
    font-size: 18px;
    color: #aaa;
    text-decoration: line-through;
}

/* steps */
.steps-box {
    flex: 0 0 calc(33% - 10px);
    min-width: 360px;
    scroll-snap-align: center;
    height: 470px;
}

.steps-box .card-text {
    padding-left: 80px;
    padding-right: 60px;
}

.steps-box .card-text p {
    font-size: var(--small-fontsize);
}

.steps-box .card-body {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/pad-icons/triangle.svg");
    background-repeat: no-repeat;
    background-position: right 30px bottom 30px;
}

.steps-box:nth-child(1) .card-body {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/pad-icons/triangle.svg");
}

.steps-box:nth-child(2) .card-body {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/pad-icons/circle.svg");
}

.steps-box:nth-child(3) .card-body {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/pad-icons/cross.svg");
}

.steps-box:nth-child(4) .card-body {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/pad-icons/square.svg");
}

/* easy */
.easy {
    position: relative;
    z-index: 1;
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/xbox-one.webp");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    min-height: 550px;
    pointer-events: none;
}

.easy .container {
    position: relative;
}

.easy-text {
    padding-left: var(--left-padding);
    max-width: 400px;
}

.easy-card {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 300px;
    height: 310px;
    pointer-events: auto;
}

.easy-card .card-body {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/ps5.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 120%;
}

/* lets-play */
.lets-play {
    position: relative;
    z-index: 0;
    margin-top: -80px;
}

/* promo-two */
.promo-two-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.promo-two-box {
    position: relative;
    flex: 1 1 30%;
    min-width: 360px;
    min-height: 500px;
}

.promo-two-box .card-body {
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: contain;
}

.promo-two-info {
    margin: 0;
    margin-bottom: 2rem;
    max-width: 800px;
}

.promo-two-bubuka img {
    position: absolute;
    width: 240px;
    right: 20px;
    bottom: 20px;
    transition: all .2s;
}

.promo-two-bubuka:hover img {
    transform: rotate(25deg);
}

.promo-two-question {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: bold;
}

.promo-two-question img {
    width: 100px;
    transition: all .2s;
}

.promo-two-question:hover img {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

.promo-two-anim-1 {
    position: absolute;
    height: 400px;
    width: auto;
    bottom: 0px;
    right: 10px;
    transition: all .2s;
}

.promo-two-box:hover .promo-two-anim-1 {
    transform: rotate(15deg);
}

.promo-two-anim-2 {
    position: absolute;
    height: 140px;
    width: auto;
    bottom: 120px;
    left: -200px;
    transition: all .2s;
}

.promo-two-box:hover .promo-two-anim-2 {
    left: 0px;
}

.promo-two-blank {
    min-height: 0 !important;
}

/* bonus */
.section-bonus {
    padding-bottom: 6rem;
}

.section-bonus img {
    margin-top: -10px;
}

.bonus-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 5px;
}

.bonus-wrapper a {
    color: var(--bg-color);
    font-weight: bold;
    text-decoration: underline;
    text-transform: uppercase;
}

.bonus-text {
    font-size: var(--med-fontsize);
}

.bonus-links {
    font-size: var(--med-fontsize);
}

.bonus-arrow {
    flex-grow: 1;
    height: 2px;
    background: var(--bg-color);
    position: relative;
}

.bonus-arrow::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/arrow-right.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 18px;
    height: 18px;
}

/* promo-three */
.promo-three {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/tariffs.webp");
    background-repeat: repeat-x;
    background-position: bottom 150px center;
    background-size: auto 230px;
}

.promo-three .card {
    min-width: 380px;
}

.promo-three .card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-three-badge {
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 25px;
    font-size: 38px;
    line-height: 38px;
    padding: 8px 28px;
    flex-shrink: 0;
}

.promo-three-badge.light {
    background-color: #FFFFFF;
    color: #4429CC;
}

.promo-three-badge.dark {
    background: linear-gradient(210.79deg, rgba(76, 78, 61, 0.5) 1.84%, rgba(23, 24, 22, 0.5) 95.26%);
    color: #FFFFFF;
}

.promo-three-price {
    padding-left: 50px;
}

.promo-three-price span {
    font-size: calc(var(--med-fontsize) * 1.5);
}

/* set */
.promo-set-wrapper {
    display: flex;
    align-items: stretch;
}

.promo-set-wrapper {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-stop: always;
    scroll-snap-type: x mandatory;
    gap: 20px;
}

.promo-set-box {
    min-width: 100%;
    scroll-snap-align: start;
}

.promo-set-box .card-body {
    display: flex;
    align-items: center;
    flex-direction: row;
    padding: 40px;
    gap: 60px;
}

.promo-set-box .card-body img {
    max-width: 230px;
}

.promo-set-title {
    font-size: var(--med-fontsize);
    font-weight: 500;
    margin-bottom: 20px;
}

/* test-drive */
.test-drive h2 {
    margin-bottom: 10px;
}

.test-drive .card-body {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/spider-man.webp");
    background-repeat: no-repeat;
    background-position: bottom right 40px;
    background-size: auto 90%;
    gap: 0px;
}

.test-drive .card-title {
    padding: 50px;
}

.test-drive .card-text {
    padding: 50px;
    padding-bottom: 0px;
}

.test-drive-links {
    padding: 50px;
    font-size: var(--med-fontsize);
}

.test-drive-links a {
    text-decoration: underline;
    text-transform: uppercase;
}

/* FAQ */
.faq-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 20px;
    transition: all .2s;
    cursor: pointer;
}

.faq-box {
    border-bottom: 1px solid #FFFFFF;
}

.faq-title h4 {
    display: flex;
    align-items: center;
    gap: 40px;
}

.faq-title .number {
    font-family: 'Obrazec', Arial, sans-serif;
    font-size: var(--h2-fontsize);
    line-height: 1em;
    min-width: 46px;
}

.faq-title svg {
    transition: all .2s;
}

.faq-box.open .faq-title {
    color: #fff;
}

.faq-box.open svg {
    filter: invert(0);
    transform: rotate(180deg);
}

.faq-title h4 {
    margin: 0;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    padding: 0px 40px;
    overflow: hidden;
    transition: max-height .2s ease, opacity .2s ease;
}

.faq-box.open .faq-answer {
    max-height: 1000px;
    opacity: 1;
}

/* footer */
.footer {
    position: relative;
    overflow: hidden;
    background-color: var(--green-bg);
    margin-top: 60px;
    padding: 30px 0;
    padding-top: 80px;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: url('/wa-data/public/site/themes/landings/img/consoles/border-top.webp') top center;
    background-size: auto 100%;
    z-index: 2;
}

.footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-img {
    flex: 1 1 100%;
    padding: 80px 0;
}

.footer-img img {
    width: 100%;
}

.footer .logo {
    display: inline-block;
    font-size: 0px;
    filter: invert(1);
}

.social-media {
    display: flex;
    gap: 10px;
}

.social-media a {
    font-size: 0;
    display: inline-block;
    background-color: var(--bg-color);
    border-radius: 20px;
    padding: 6px 14px;
}

.social-media a:hover {
    background-color: var(--green-bg);
}

.social-media a svg {
    filter: invert(1);
    vertical-align: middle;
}

.view-pc {
    display: inline-block;
}

.view-mobile {
    display: none;
}

/* Стили для модального окна */
.modal {
    visibility: hidden;
    opacity: 0;
    display: flex;
    position: fixed;
    z-index: 1000;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    transition: all .2s;
}

.modal.open {
    visibility: visible;
    opacity: 1;
}

.modal h3 {
    margin-top: 0;
}

.modal-content {
    border: 2px solid var(--green-bg);
    background-color: var(--bg-color);
    margin: auto;
    opacity: 0;
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
    transform: scale(.5);
    transition: all .2s;
}

.modal.open .modal-content {
    opacity: 1;
    transform: scale(1);
}

.modal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-links a {
    text-align: center;
    flex: 1 1 45%;
}

.modal .close {
    color: var(--green-bg);
    float: right;
    margin-top: -20px;
    margin-right: -20px;
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
    font-weight: bold;
}

.modal .close:hover,
.modal .close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* promo-overlay */
.promo-overlay {
    position: absolute;
    z-index: 10000;
    width: calc(100% - 20px);
    top: 50%;
    left: 0px;
    margin: 10px;
    transform: translateY(-50%);
    user-select: text;
    -ms-user-select: text;
    -moz-user-select: text;
    -webkit-user-select: text;
    -webkit-touch-callout: text;
    visibility: hidden;
    opacity: 0;
    transition: all .2s;
}

.promo-overlay.show {
    visibility: visible;
    opacity: 1;
}

.promo-overlay .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.promo-overlay h2 {
    margin-bottom: 10px;
}

.promo-overlay .card-body {
    background-image: url("/wa-data/public/site/themes/landings/img/consoles/promo-cat.webp");
    background-repeat: no-repeat;
    background-position: bottom right 40px;
    background-size: auto 90%;
    gap: 0px;
}

.promo-overlay .card-title {
    padding: 50px;
}

.promo-overlay .card-text {
    padding: 50px;
    padding-bottom: 0px;
    max-width: 60%;
}

.promo-overlay-links {
    padding: 50px;
    font-size: var(--med-fontsize);
}

.promo-overlay-links a {
    color: var(--bg-color);
    text-decoration: underline;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    :root {
        --big-fontsize: 70px;
    }

    .header-btn {
        display: none;
    }

    .header-title {
        flex: 0 0 600px;
    }
}

@media (max-width: 1000px) {
    :root {
        --left-padding: 60px;
    }

    .header-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-title {
        flex: auto;
    }

    .promo-one-box {
        flex: 1 1 100%;
    }

    .offers,
    .deals {
        margin-left: -5%;
        margin-right: -5%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .offer {
        scroll-snap-align: center;
    }

    .easy {
        background-image: url("/wa-data/public/site/themes/landings/img/consoles/xbox-one.webp");
        background-repeat: no-repeat;
        background-size: auto 400px;
        background-position: center bottom;
        min-height: 720px;
    }

    .easy-card {
        display: none;
    }

    .promo-three {
        background-image: none;
    }

    .promo-overlay .card-title {
        padding: 35px;
    }

    .promo-overlay .card-text {
        padding: 35px;
        padding-bottom: 0px;
    }

    .promo-overlay-links {
        padding: 35px;
    }
}

@media (max-width: 700px) {
    :root {
        --base-fontsize: 16px;
        --h1-fontsize: 70px;
        --h2-fontsize: 58px;
        --big-fontsize: 48px;
    }

    .slide-prev.viewed,
    .slide-next.viewed {
        display: none;
    }

    .view-pc {
        display: none;
    }

    .view-mobile {
        display: inline-block;
    }

    .header-list {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    section {
        margin-top: 4rem;
    }

    header {
        height: auto;
    }

    .header-info {
        margin-top: 50px;
        margin-bottom: 50px;
        gap: 20px;
    }

    .header-title-wrapper {
        gap: 20px;
    }

    .header-title {
        text-align: center;
    }

    .header-text {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        margin: 0;
    }

    .header-promo {
        width: 100%;
        text-align: center;
    }

    .header-promo-btn {
        margin-top: 10px;
        font-size: 20px;
        gap: 0px;
    }

    .card-title {
        padding: 30px;
    }

    .card-text {
        padding: 30px;
    }

    .steps-box {
        min-width: 100%;
        height: 420px;
    }

    .promo-two-box {
        flex: 1 1 100%;
        min-width: 100%;
        min-height: 450px;
    }

    .promo-two-bubuka {
        display: none;
    }

    .promo-two-question {
        min-height: 300px;
    }

    .bonus-wrapper {
        margin-top: 20px;
        flex-direction: column;
        gap: 30px;
    }

    .bonus-arrow {
        display: none;
    }

    .promo-three .card {
        min-width: 0px;
    }

    .promo-set-box .card-body {
        flex-direction: column;
        gap: 30px;
    }

    .test-drive .card-body {
        min-height: 550px;
        background-size: 340px auto;
        background-position: center bottom;
    }

    .test-drive-links {
        padding: 20px 40px;
    }

    .test-drive .card-title {
        padding: 40px;
    }

    .test-drive .card-text {
        padding: 40px;
        padding-bottom: 0px;
    }

    .modal {
        padding: 5px;
    }

    .modal-content {
        width: 100%;
        height: 100%;
    }
    
    .promo-overlay {
        top: 10px;
        bottom: 10px;
        transform: none;
    }

    .promo-overlay .card-text {
        max-width: 100%;
    }

    .promo-overlay .card-body {
        background-image: url("/wa-data/public/site/themes/landings/img/consoles/promo-cat-mobile.webp");
        background-repeat: no-repeat;
        background-position: bottom center;
        background-size: 350px auto;
        gap: 0px;
    }

    .faq-title {
        gap: 20px;
    }

    .faq-title svg {
        flex-shrink: 0;
    }

    .faq-title h4 {
        gap: 20px;
    }

    .footer {
        text-align: center;
    }

    .footer .container {
        flex-direction: column;
        gap: 30px;
    }

    .social-media {
        width: 100%;
    }

    .social-media a {
        flex: 1 1 30%;
        padding: 10px 14px;
    }
}

/* Game */
.lets-play-game {
    position: relative;
    margin: 0 auto;
    margin-top: 50px;
    border-radius: 20px;
    overflow: hidden;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.lets-play-game {
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.lets-play-game.show {
    display: block;
    opacity: 1;
}

.lets-play-banner {
    opacity: 1;
    transition: opacity 0.6s ease;
}

.lets-play-banner.hide {
    opacity: 0;
    pointer-events: none;
}

.lets-play-banner.transparent {
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0;
}

.game-stage {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

#asteroids-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: block;
}

.touch-controls {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    pointer-events: auto;
}

.tc-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

.tc-link[aria-pressed="true"] {
    background: rgba(255, 255, 255, 0.12);
}

#fire-btn {
    margin-left: auto;
    background: rgba(255, 0, 0, 0.12);
}

@media (hover: none) and (pointer: coarse) {
    .touch-controls {
        display: flex;
    }
}

@media (hover: hover) and (pointer: fine) {
    .touch-controls {
        display: none;
    }
}

.game-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.start-link {
    pointer-events: auto;
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.controls-info {
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: calc(50% + 56px);
    transform: translateX(-50%);
    color: #ddd;
    font-size: 13px;
    opacity: 0.95;
    display: none;
}

.controls-info.visible {
    display: block;
}

.menu-link {
    pointer-events: auto;
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    font-size: 16px;
    z-index: 100;
}

.score-panel {
    pointer-events: none;
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
    font-weight: 600;
    text-align: left;
    min-width: 88px;
}

.score-panel .small {
    font-weight: 500;
    font-size: 13px;
    opacity: 0.9;
    margin-top: 2px;
}

.menu-overlay {
    display: none;
    position: absolute;
    inset: 0;
    backdrop-filter: blur(4px);
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.6));
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.menu-overlay.show {
    display: flex;
}

.menu-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 12px;
    min-width: 180px;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.menu-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
}

.menu-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-direction: column;
    align-items: stretch;
}

.menu-button {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    font-size: 13px;
}

@media (max-width:760px) {
    .lets-play-game {
        border-radius: 0px;
    }
    
    .game-stage {
        min-height: 600px;
    }

    .menu-button {
        padding: 12px;
    }
}

@media (max-width:360px) {
    .start-link {
        padding: 10px 14px;
        font-size: 16px;
    }

    .tc-link {
        font-size: 16px;
    }

    .score-panel {
        padding: 6px 8px;
        font-size: 13px;
    }

    .menu-card {
        min-width: 180px;
        padding: 10px;
    }
}