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

:root {
    --primary-blue: #0B7BBF;
    --dark-bg: #2d2d2d;
    --darker-bg: #191919;
    --card-bg: #3a3a3a;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --accent-cyan: #00d4ff;
    --border-gray: #5a5a5a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
 
}

h1, h2, h3 {
    font-family: 'Silkscreen', monospace;
    font-weight: 700;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 650px;
    width: calc(100% - 40px);
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-content {
    background: #f5f5f5;
    color: #333;
    padding: 35px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.cookie-content h3 {
    font-size: 26px;
    margin-bottom: 18px;
    color: #000;
}

.cookie-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #333;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-buttons button {
    flex: 1;
    padding: 16px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--primary-blue);
    color: var(--text-white);
}

.btn-accept:hover {
    background: #095fa0;
}

.btn-decline {
    background: #d0d0d0;
    color: #333;
}

.btn-decline:hover {
    background: #bbb;
}

/* Header */
.header {
    background: linear-gradient(135deg, #0B7BBF 0%, #0965A0 100%);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
    font-family: 'Silkscreen', monospace;
    font-size: 22px;
    letter-spacing: 1px;
}

.logo img {
    width: 40px;
    height: 40px;
}

.nav {
    display: flex;
    gap: 50px;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.nav a:hover {
    opacity: 0.8;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--primary-blue);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    z-index: 998;
}

.mobile-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    padding: 12px;
}

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

/* Hero Section */
.hero {
    padding: 100px 0 120px;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
  
}
.fon2{
 position: absolute;
 left: 0;
 top: 20%;
 width: 20%;
}
.hero-text h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 35px;
    letter-spacing: 3px;
}

.hero-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 45px;
    color: var(--text-gray);
    font-weight: 400;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--text-white);
    padding: 16px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-blue);

    border-radius: 15px;
border: 3px solid #737373;
background: linear-gradient(180deg, #0027C1 0%, #007BCD 49.04%, #0027C1 100%);
box-shadow: 0 0 46.2px 1px rgba(0, 196, 245, 0.35);
}

.btn-primary:hover {
    background: #095fa0;
    border-color: #095fa0;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    height: auto;


}
.fon{
    position: absolute;
    top: 10%;
    left: 0;
    z-index: -1;
    width: 60% !important;
}
/* About Section */
.about {
    padding: 0 0 100px;
    background: var(--darker-bg);
}

.about-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    background: var(--card-bg);
    padding: 70px 80px;
    border-radius: 30px;
    border: 2px solid var(--border-gray);
}

.about-text h2 {
    font-size: 48px;
    margin-bottom: 35px;
    letter-spacing: 3px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    display: flex;
    justify-content: flex-end;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Advantages Section */
.advantages {
    padding: 100px 0;
    background: var(--darker-bg);
    position: relative;
}

.advantages h2 {
    font-size: 48px;
    margin-bottom: 60px;
    letter-spacing: 3px;
}

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

.advantage-card {
    background: var(--card-bg);
    padding: 45px 35px;
    border-radius: 25px;
    border: 2px solid var(--border-gray);
    transition: all 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
}

.advantage-card h3 {
    font-size: 20px;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-align: center;
}

.advantage-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    text-align: center;
}

/* Games Section */
.games {
    padding: 0 0 100px;
    background: var(--darker-bg);
    position: relative;
}
.games .fon2{
    left: initial;
    right: 0px;
    top: 0px;
}

.games h2 {
    font-size: 48px;
    margin-bottom: 50px;
    letter-spacing: 3px;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 20px;
}

.game-card {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.03);
}

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

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

.games-small-row {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

/* Responsive для Games */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .game-large {
        grid-column: 1;
        grid-row: auto;
    }

    .game-wide {
        grid-column: 1;
        grid-row: auto;
    }

    .games-small-row {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .games-small-row {
        grid-template-columns: 1fr;
    }
}

/* Overlay для секции games */
.games .game-card {
    position: relative;
    text-decoration: none;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(11, 123, 191, 0.95) 0%, rgba(9, 101, 160, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
    z-index: 1;
}

.games .game-card:hover .game-overlay {
    opacity: 1;
}

.game-title {
    font-family: 'Silkscreen', monospace;
    font-size: 24px;
    color: var(--text-white);
    text-align: center;
    padding: 20px;
    letter-spacing: 2px;
}

.games .game-small .game-title {
    font-size: 14px;
    padding: 10px;
}

@media (max-width: 768px) {
    .game-title {
        font-size: 18px;
    }
    
    .games .game-small .game-title {
        font-size: 12px;
    }
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--darker-bg);
}

.cta-wrapper {
    background: var(--card-bg);
    padding: 70px 80px;
    border-radius: 30px;
    border: 2px solid var(--border-gray);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.cta-left h2 {
    font-size: 42px;
    margin-bottom: 35px;
    letter-spacing: 3px;
    line-height: 1.2;
}

.cta-left p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.cta-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-right h3 {
    font-size: 32px;
    margin-bottom: 25px;
    letter-spacing: 3px;
}

.cta-right p {
    font-size: 15px;
    margin-bottom: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.cta-right p .icon {
    font-size: 16px;
    margin-top: 2px;
}

.cta-right p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {

    padding: 20px 0;
    border-radius: 106px 106px 0 0;
background: #007BCD;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
    font-family: 'Silkscreen', monospace;
    font-size: 22px;
    letter-spacing: 1px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    justify-content: center;
}

.footer-nav a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 18px;
}



.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 14px;
    color: var(--text-white);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero-content {
        gap: 50px;
    }

    .about-content,
    .cta-wrapper {
        gap: 50px;
        padding: 50px 60px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-image {
        order: -1;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        justify-content: center;
    }

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

    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

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

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

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

    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-text h1 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .about-text h2,
    .advantages h2,
    .games h2 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .cta-left h2 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .cta-right h3 {
        font-size: 26px;
    }

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

    .about-content,
    .cta-wrapper {
        padding: 40px 30px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .games-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .game-large,
    .game-wide {
        grid-column: 1;
        grid-row: auto;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .about-text h2,
    .advantages h2,
    .games h2 {
        font-size: 28px;
    }

    .cta-left h2 {
        font-size: 26px;
    }

    .hero,
    .about,
    .advantages,
    .games,
    .cta {
        padding: 50px 0;
    }

    .about {
        padding: 0 0 50px;
    }

    .games {
        padding: 0 0 50px;
    }
}












/* Games Extra Section */
.games-extra {
    padding: 100px 0;
    background: var(--darker-bg);
    position: relative;
}

.games-extra .fon3 {
    position: absolute;
    left: initial;
    right: 0px;
    top: 0px;
    z-index: 0;
}

.games-extra h2 {
    font-size: 48px;
    margin-bottom: 50px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
}

.games-extra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 215px 215px 215px;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.game-card-extra {
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    text-decoration: none;
}

.game-card-extra:hover {
    transform: scale(1.03);
}

.extra-left {
    grid-column: 1;
    grid-row: 1 / 4;
}

.extra-top {
    grid-column: 2;
    grid-row: 1;
}

.extra-middle {
    grid-column: 2;
    grid-row: 2;
}

.extra-bottom-1 {
    grid-column: 2;
    grid-row: 3;
    width: calc(33.333% - 7px);
}

.extra-bottom-2 {
    grid-column: 2;
    grid-row: 3;
    width: calc(33.333% - 7px);
    margin-left: calc(33.333% + 6px);
}

.extra-bottom-3 {
    grid-column: 2;
    grid-row: 3;
    width: calc(33.333% - 7px);
    margin-left: calc(66.666% + 13px);
}

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

.game-overlay-extra {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(11, 123, 191, 0.95) 0%, rgba(9, 101, 160, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.game-card-extra:hover .game-overlay-extra {
    opacity: 1;
}

.game-title-extra {
    font-family: 'Silkscreen', monospace;
    font-size: 24px;
    color: var(--text-white);
    text-align: center;
    padding: 20px;
    letter-spacing: 2px;
}

.extra-bottom-1 .game-title-extra,
.extra-bottom-2 .game-title-extra,
.extra-bottom-3 .game-title-extra {
    font-size: 14px;
    padding: 10px;
}

/* Responsive для Games Extra */
@media (max-width: 1024px) {
    .games-extra-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .extra-left,
    .extra-top,
    .extra-middle {
        grid-column: 1;
        grid-row: auto;
        height: 300px;
        width: 100%;
        margin: 0;
    }

    .extra-bottom-1,
    .extra-bottom-2,
    .extra-bottom-3 {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        height: 200px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .games-extra {
        padding: 50px 0;
    }

    .game-title-extra {
        font-size: 18px;
    }
}
.btn_wrapper{
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.about_game_page{
    border: none;
    background-color: transparent;
    padding: 0px;
    display: block;
}
.about_game_page li{
    color: #FFF;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 175% */
    text-transform: uppercase;
}