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

@font-face {
    font-family: 'Druk Cyr';
    src: url(/wp-content/themes/pyntazarekteryx/assets/fonts/DrukCyr-Medium.woff2) format('woff2'),
         url(/wp-content/themes/pyntazarekteryx/assets/fonts/DrukCyr-Medium.woff) format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Druk Cyr';
    src: url(/wp-content/themes/pyntazarekteryx/assets/fonts/DrukCyr-Bold.woff2) format('woff2'),
         url(/wp-content/themes/pyntazarekteryx/assets/fonts/DrukCyr-Bold.woff) format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --color-primary: #FFE100;
    --color-bg: #000000;
    --color-text: #FFFFFF;
    --font-heading: 'Druk Cyr', Impact, 'Arial Black', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-width: 320px;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.header {
    background-color: var(--color-bg);
    padding: 18px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logo-icon {
    width: 57px;
    height: 57px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 50px;
    line-height: 1.2;
    color: var(--color-text);
    white-space: nowrap;
}

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

.nav-link {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    color: var(--color-text);
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-primary);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    left: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.burger span:nth-child(1) {
    top: 2px;
}

.burger span:nth-child(2) {
    top: 9px;
}

.burger span:nth-child(3) {
    top: 16px;
}

.burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu .nav-link {
    font-size: 24px;
}

.page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    overflow: hidden;
}

.hero {
    background-color: var(--color-bg);
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-top {
    display: flex;
    flex-direction: column;
    gap: 44px;
    position: relative;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(60px, 10vw, 150px);
    line-height: 0.85;
    color: var(--color-primary);
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-star {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 66px;
    height: 69px;
    transform: rotate(13.85deg);
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-text {
    flex: 1;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
}

.hero-text p + p {
    margin-top: 16px;
}

.btn-angular {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 203px;
    height: 56px;
    background-color: #FFFFFF;
    clip-path: polygon(0% 100%, 0% 37.5%, 10.34% 0%, 100% 0%, 100% 60.71%, 88.42% 100%);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 20px;
    color: var(--color-bg);
    flex-shrink: 0;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.btn-angular:hover {
    background-color: var(--color-primary);
}

.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}

.hero-bottom-text {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    text-align: center;
}

.hero-bottom-text p + p {
    margin-top: 16px;
}

.section {
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.section-spark {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.glow {
    position: absolute;
    width: 421px;
    height: 421px;
    border-radius: 50%;
    background: rgba(255, 225, 0, 0.4);
    filter: blur(93px);
    pointer-events: none;
}

.glow-left {
    left: -192px;
    top: 234px;
}

.glow-right {
    right: -217px;
    top: 643px;
}

.section-header {
    width: 1320px;
    max-width: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    gap: 44px;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(48px, 8.5vw, 110px);
    line-height: 0.85;
    text-transform: uppercase;
    color: var(--color-text);
}

.section-title .accent {
    color: var(--color-primary);
}

.section-desc {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    text-align: center;
}

.section-desc p + p {
    margin-top: 16px;
}

.spark-image {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.categories {
    display: flex;
    gap: 14px;
    width: 1320px;
    max-width: calc(100% - 60px);
}

.category-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 0.85;
    text-transform: uppercase;
    color: var(--color-text);
    text-align: center;
    width: 100%;
    margin-bottom: -7px;
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.category-body {
    position: relative;
    width: 100%;
    padding: 16px 13px;
}

.category-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    clip-path: polygon(0 0, 89.2% 0, 100% 9.1%, 100% 100%, 0 100%);
}

.category-text {
    position: relative;
    z-index: 1;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
}

.section-twocol {
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.twocol {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    width: 1320px;
    max-width: 100%;
}

.twocol-image {
    flex: 1;
    min-width: 0;
    border-radius: 16px;
    object-fit: cover;
}

.twocol-image.tall {
    height: 426px;
}

.twocol-image.taller {
    height: 440px;
}

.twocol-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.twocol-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(48px, 6vw, 84px);
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--color-text);
}

.twocol-title .accent {
    color: var(--color-primary);
}

.twocol-text {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
}

.twocol-text p + p {
    margin-top: 16px;
}

.footer {
    background-color: var(--color-bg);
    padding: 40px 60px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-contacts {
    display: flex;
    align-items: center;
    gap: 22px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-text);
}

.footer-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, var(--color-primary), transparent);
    margin-bottom: 40px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 95px;
}

.footer-link {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: var(--color-text);
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--color-primary);
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.footer-copyright {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 12px;
    line-height: normal;
    color: var(--color-text);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 5px;
}

.social-icon {
    width: 43px;
    height: 43px;
    display: block;
    overflow: hidden;
}

.social-icon img {
    width: 100%;
    height: 100%;
}

.section-catalog {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.game-grid {
    display: grid;
    grid-template-columns: 370fr 197fr 370fr 197fr;
    grid-template-rows: 152px 152px;
    gap: 11px 18px;
    width: 100%;
}

.game-card {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255, 225, 0, 0.3);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-1 {
    grid-column: 1;
    grid-row: 1 / 3;
}

.game-card-2 {
    grid-column: 2;
    grid-row: 1;
}

.game-card-3 {
    grid-column: 2;
    grid-row: 2;
}

.game-card-4 {
    grid-column: 3;
    grid-row: 1 / 3;
}

.game-card-5 {
    grid-column: 4;
    grid-row: 1;
}

.game-card-6 {
    grid-column: 4;
    grid-row: 2;
}

.catalog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    width: 1320px;
    max-width: calc(100% - 60px);
}

.catalog-categories .category-card {
    flex: 0 0 calc((100% - 28px) / 3);
}

.game-hero {
    background-color: var(--color-bg);
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.game-hero-top {
    display: flex;
    flex-direction: column;
    gap: 44px;
    position: relative;
}

.game-hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(56px, 8.5vw, 110px);
    line-height: 0.85;
    color: var(--color-primary);
    text-transform: uppercase;
}

.game-decor-cube {
    position: absolute;
    top: 79px;
    left: 700px;
    width: 122px;
    height: 124px;
    transform: rotate(-30.68deg);
    pointer-events: none;
}

.game-decor-star {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 66px;
    height: 69px;
    transform: rotate(13.85deg);
    pointer-events: none;
}

.game-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.game-hero-desc {
    max-width: 708px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
}

.game-hero-desc p + p {
    margin-top: 10px;
}

.game-hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
}

.game-content {
    background-color: var(--color-bg);
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.game-decor-block {
    position: absolute;
    top: 60px;
    right: 80px;
    width: 72px;
    height: 77px;
    pointer-events: none;
}

.game-section-header {
    display: flex;
    flex-direction: column;
    gap: 44px;
    max-width: 1320px;
}

.game-section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.9;
    text-transform: uppercase;
    color: var(--color-primary);
}

.game-section-title .white {
    color: var(--color-text);
}

.game-section-desc {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
}

.game-section-desc p + p {
    margin-top: 16px;
}

@media (max-width: 767px) {
    .header {
        padding: 10px 20px;
    }

    .nav {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero {
        padding: 40px 20px;
        gap: 20px;
    }

    .hero-top {
        gap: 20px;
    }

    .hero-title {
        font-size: 60px;
        white-space: normal;
    }

    .hero-star {
        display: none;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .hero-image {
        height: 300px;
    }

    .section-spark {
        padding: 40px 0;
        gap: 20px;
    }

    .section-header {
        gap: 20px;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

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

    .spark-image {
        height: 320px;
    }

    .categories {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

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

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

    .twocol {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .twocol-image.tall,
    .twocol-image.taller {
        height: 300px;
        width: 100%;
    }

    .twocol-content {
        gap: 20px;
    }

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

    .twocol.reverse {
        flex-direction: column-reverse;
    }

    .footer {
        padding: 40px 20px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-contacts {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-links {
        gap: 0;
        justify-content: space-between;
        width: 100%;
    }

.policy-section {
    background-color: var(--color-bg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.policy-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1012px;
    pointer-events: none;
    overflow: hidden;
}

.policy-bg img {
    position: absolute;
    top: -12.27%;
    left: -26.68%;
    width: 154%;
    height: 115%;
}

.policy-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.policy-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(48px, 7.5vw, 100px);
    line-height: 0.9;
    color: var(--color-primary);
    text-transform: uppercase;
    width: 100%;
}

.policy-body {
    width: 1100px;
    max-width: 100%;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
}

.policy-body p {
    margin-bottom: 10px;
}

.policy-body p:last-child {
    margin-bottom: 0;
}

    .policy-section {
        padding: 20px;
    }

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

    .policy-content {
        gap: 30px;
    }

    .game-hero {
        padding: 40px 20px;
        gap: 20px;
    }

    .game-hero-top {
        gap: 20px;
    }

    .game-hero-title {
        font-size: 60px;
    }

    .game-decor-cube,
    .game-decor-star {
        display: none;
    }

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

    .game-hero-desc {
        max-width: 100%;
    }

    .game-content {
        padding: 40px 20px;
        gap: 20px;
    }

    .game-decor-block {
        display: none;
    }

    .game-section-header {
        gap: 20px;
    }

    .game-section-title {
        font-size: 40px;
    }

    .game-content .categories {
        padding: 0;
    }

    .section-catalog {
        padding: 40px 20px;
        gap: 20px;
    }

    .game-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 0;
    }

    .game-card-1 {
        grid-column: 1;
        grid-row: 2;
    }

    .game-card-2 {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .game-card-3 {
        grid-column: 1;
        grid-row: 4;
    }

    .game-card-4 {
        grid-column: 1 / 3;
        grid-row: 3;
    }

    .game-card-5 {
        grid-column: 2;
        grid-row: 2;
    }

    .game-card-6 {
        grid-column: 2;
        grid-row: 4;
    }

    .game-card {
        border-radius: 0;
    }

    .catalog-categories {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: 20px;
    }

    .catalog-categories .category-card {
        flex: none;
        width: 100%;
    }

    .catalog-categories .category-card:nth-child(4),
    .catalog-categories .category-card:nth-child(5),
    .catalog-categories .category-card:nth-child(6) {
        order: -1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(13.85deg); }
    50% { transform: translateY(-12px) rotate(13.85deg); }
}

@keyframes spinSlow {
    from { transform: rotate(-30.68deg); }
    to { transform: rotate(329.32deg); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.header {
    animation: fadeIn 0.6s ease-out both;
}

.hero,
.section,
.game-hero,
.game-content,
.policy-section,
.section-catalog {
    animation: fadeInUp 0.8s ease-out both;
}

.section { animation-delay: 0.1s; }
.section + .section { animation-delay: 0.15s; }

.hero-title,
.section-title,
.twocol-title,
.game-hero-title,
.game-section-title,
.policy-title {
    animation: fadeInUp 0.9s ease-out both;
}

.hero-star,
.game-decor-star {
    animation: floaty 5s ease-in-out infinite;
}

.game-decor-cube {
    animation: spinSlow 22s linear infinite;
}

.glow {
    animation: glowPulse 6s ease-in-out infinite;
}

.category-card,
.game-card {
    animation: fadeInUp 0.7s ease-out both;
}

.categories .category-card:nth-child(1) { animation-delay: 0.15s; }
.categories .category-card:nth-child(2) { animation-delay: 0.25s; }
.categories .category-card:nth-child(3) { animation-delay: 0.35s; }

.catalog-categories .category-card:nth-child(1) { animation-delay: 0.10s; }
.catalog-categories .category-card:nth-child(2) { animation-delay: 0.18s; }
.catalog-categories .category-card:nth-child(3) { animation-delay: 0.26s; }
.catalog-categories .category-card:nth-child(4) { animation-delay: 0.34s; }
.catalog-categories .category-card:nth-child(5) { animation-delay: 0.42s; }
.catalog-categories .category-card:nth-child(6) { animation-delay: 0.50s; }

.game-card-1 { animation-delay: 0.10s; }
.game-card-2 { animation-delay: 0.18s; }
.game-card-3 { animation-delay: 0.26s; }
.game-card-4 { animation-delay: 0.34s; }
.game-card-5 { animation-delay: 0.42s; }
.game-card-6 { animation-delay: 0.50s; }

.nav-link {
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.btn-angular {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    will-change: transform;
}

.btn-angular:hover {
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 8px 18px rgba(255, 225, 0, 0.45));
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(-8deg) scale(1.05);
}

.logo-icon {
    transition: transform 0.4s ease;
}

.social-icon {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 225, 0, 0.5));
}

.category-card {
    transition: transform 0.35s ease;
}

.category-card:hover {
    transform: translateY(-6px);
}

.category-card .category-title {
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.category-card:hover .category-title {
    color: var(--color-primary);
    text-shadow: 0 0 18px rgba(255, 225, 0, 0.45);
}

.category-border {
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover .category-border {
    background: rgba(255, 225, 0, 0.08);
    border-color: rgba(255, 225, 0, 0.45);
    box-shadow: 0 10px 28px rgba(255, 225, 0, 0.15);
}

.footer-link {
    position: relative;
}

.footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.hero-image,
.spark-image,
.twocol-image,
.game-hero-image {
    transition: transform 0.5s ease, filter 0.5s ease;
}

.hero-image:hover,
.spark-image:hover,
.twocol-image:hover,
.game-hero-image:hover {
    transform: scale(1.015);
    filter: brightness(1.05);
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 40px);
    width: calc(100% - 40px);
    max-width: 770px;
    background-color: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 38px 40px;
    z-index: 1000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 225, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, transform 0.45s ease, visibility 0.4s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.cookie-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.cookie-banner-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 48px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-primary);
    margin: 0;
    letter-spacing: 0.5px;
}

.cookie-banner-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0;
    max-width: 640px;
}

.cookie-banner-buttons {
    display: flex;
    gap: 24px;
    margin-top: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 154px;
    height: 50px;
    padding: 0 28px;
    background-color: #FFFFFF;
    color: #000000;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 17px;
    line-height: 1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.cookie-btn:hover {
    background-color: var(--color-primary);
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(255, 225, 0, 0.35);
}

@media (max-width: 767px) {
    .cookie-banner {
        bottom: 16px;
        padding: 24px 22px;
        border-radius: 10px;
        max-width: 340px;
    }

    .cookie-banner-title {
        font-size: 32px;
    }

    .cookie-banner-text {
        font-size: 14px;
    }

    .cookie-banner-buttons {
        gap: 14px;
    }

    .cookie-btn {
        min-width: 124px;
        height: 46px;
        font-size: 15px;
        padding: 0 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}
