:root {
    --bg-dark: #120f14;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent-pink: #ff3366;
    --accent-cyan: #33ffcc;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    background-color: var(--bg-dark);
    font-family: sans-serif;
}

header {
    width: 100%;
    padding: 20px 0;
    background: radial-gradient(circle at top, rgba(80, 30, 80, 0.2) 0%, transparent 70%);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

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

.nav-list a:hover {
    color: var(--accent-cyan);
}

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

.header-logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 5px;
}

.header-logo p {
    margin: 0;
    color: var(--text-main);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .nav-list {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav:nth-of-type(1) {
        order: 2;
    }
    
    .header-logo {
        order: 1;
    }
    
    .nav:nth-of-type(2) {
        order: 3;
    }

    .nav-list {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .header-container {
        padding: 10px;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(18, 15, 20, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 999;
        border-left: 1px solid var(--glass-border);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .nav-list a {
        font-size: 20px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 10%;
    overflow: hidden;
    background-color: #120f14;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(255, 51, 102, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(51, 255, 204, 0.1) 0%, transparent 40%),
        url('/assets/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #120f14 20%, rgba(18, 15, 20, 0.7) 50%, rgba(18, 15, 20, 0.3) 100%);
    z-index: 1;
}

.hero-left {
    position: relative;
    z-index: 2;
    max-width: 650px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.1;
    font-weight: 800;
}

.hero h2 {
    font-size: clamp(18px, 2vw, 22px);
    color: #ff3366;
    margin: 0 0 25px 0;
    font-weight: 400;
    line-height: 1.4;
}

.hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero a {
    display: inline-block;
    padding: 16px 32px;
    background: #33ffcc;
    color: #120f14;
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(51, 255, 204, 0.3);
}

.hero a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(51, 255, 204, 0.5);
    background: #ffffff;
}

@media (max-width: 1024px) {
    .hero {
        padding: 60px 5%;
    }
    .hero-left {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero {
        justify-content: center;
        text-align: center;
        min-height: auto;
        padding: 100px 20px;
    }
    
    .hero::before {
        background: rgba(18, 15, 20, 0.8);
    }

    .hero-left {
        padding: 30px 20px;
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .hero a {
        width: 100%;
        box-sizing: border-box;
    }
}

.our-key-advantages {
    padding: 100px 10%;
    background-color: #120f14;
    text-align: center;
}

.our-key-advantages h2 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 60px;
    font-weight: 800;
}

.our-key-advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.our-key-advantages-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 25px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.our-key-advantages-list li:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: #ff3366;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.our-key-advantages-list img {
    width: 64px;
    height: 64px;
    margin-bottom: 25px;
    object-fit: contain;
}

.our-key-advantages-list h3 {
    color: #33ffcc;
    font-size: 20px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.our-key-advantages-list p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1200px) {
    .our-key-advantages-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .our-key-advantages {
        padding: 60px 20px;
    }
    
    .our-key-advantages h2 {
        margin-bottom: 40px;
    }
    
    .our-key-advantages-list {
        gap: 20px;
    }
    
    .our-key-advantages-list li {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .our-key-advantages-list {
        grid-template-columns: 1fr;
    }
    
    .our-key-advantages-list li:hover {
        transform: scale(1.02);
    }
}

.main-games {
    padding: 100px 10%;
    background-color: #120f14;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-games h2 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 40px;
    font-weight: 800;
}

.main-games img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 51, 102, 0.1);
    margin-bottom: 50px;
    object-fit: cover;
}

.main-games-block {
    max-width: 800px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.8;
    position: relative;
}

.main-games-block::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #33ffcc, transparent);
}

@media (max-width: 1024px) {
    .main-games {
        padding: 80px 5%;
    }
}

@media (max-width: 768px) {
    .main-games {
        padding: 60px 20px;
    }

    .main-games img {
        border-radius: 20px;
        margin-bottom: 30px;
    }

    .main-games-block {
        padding: 30px 20px;
        font-size: 16px;
        border-radius: 16px;
    }
}

@media (max-width: 480px) {
    .main-games h2 {
        font-size: 26px;
    }

    .main-games-block {
        text-align: left;
    }
}

.way-to-fun {
    padding: 100px 10%;
    background-color: #120f14;
    overflow: hidden;
}

.way-to-fun h2 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 50px;
    text-align: center;
    font-weight: 800;
}

.way-to-fun-list {
    width: 100%;
    padding: 20px 0 50px 0;
}

.way-to-fun-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.way-to-fun-item:hover {
    border-color: #33ffcc;
    transform: translateY(-5px);
}

.way-to-fun-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 51, 102, 0.2));
}

.way-to-fun-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #ff3366;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.5);
}

@media (max-width: 1024px) {
    .way-to-fun {
        padding: 80px 5%;
    }
}

@media (max-width: 768px) {
    .way-to-fun {
        padding: 60px 20px;
    }
    
    .way-to-fun-item {
        padding: 30px 20px;
    }
}

.main-contact {
    padding: 100px 10%;
    background-color: #120f14;
}

.main-contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.main-contact-left {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

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

.faq-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.faq-list h3 {
    color: #ffffff;
    font-size: 18px;
    padding: 20px 0;
    cursor: pointer;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-list h3::after {
    content: '+';
    color: #33ffcc;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-list li.active h3 {
    color: #ff3366;
}

.faq-list li.active h3::after {
    content: '−';
    transform: rotate(180deg);
}

.faq-list p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.faq-list li.active p {
    max-height: 200px;
    padding-bottom: 20px;
}

.main-contact-right {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #33ffcc;
    background: rgba(255, 255, 255, 0.08);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.submit-button {
    width: 100%;
    padding: 16px;
    background: #ff3366;
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #ffffff;
    color: #120f14;
    transform: translateY(-2px);
}

.success-message {
    text-align: center;
    padding: 40px 0;
}

.success-message h4 {
    color: #33ffcc;
    font-size: 24px;
    margin-bottom: 10px;
}

.success-message p {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .main-contact-left {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .main-contact {
        padding: 60px 20px;
    }
    .main-contact-right {
        padding: 25px 20px;
    }
}

footer {
    background-color: #0d0b0f;
    padding: 80px 10% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-first {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-first-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.footer-logo p {
    color: #ffffff;
    font-weight: 800;
    font-size: 20px;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-18 {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 51, 102, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 51, 102, 0.2);
    width: fit-content;
}

.footer-18 img {
    width: 24px;
    height: 24px;
}

.footer-18 p {
    color: #ff3366;
    margin: 0;
    font-weight: 700;
    font-size: 14px;
}

.footer-first-right {
    max-width: 500px;
}

.footer-first-disclaimer h3 {
    color: #ffffff;
    font-size: 16px;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-first-disclaimer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.footer-second {
    padding-top: 40px;
}

.footer-second-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-second-list a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-second-list a:hover {
    color: #33ffcc;
}

@media (max-width: 992px) {
    .footer-first {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-first-right {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 60px 20px 30px;
    }

    .footer-second-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-first-left {
        align-items: center;
    }
    
    .footer-first-disclaimer {
        text-align: center;
    }
}

.terms-and-conditions {
    max-width: 900px;
    margin: 60px auto;
    padding: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.terms-and-conditions h1 {
    color: #ffffff;
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 800;
    background: linear-gradient(90deg, #ff3366, #33ffcc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.terms-and-conditions p {
    margin-bottom: 25px;
    font-size: 17px;
}

.terms-and-conditions h3 {
    color: #33ffcc;
    font-size: 22px;
    margin: 45px 0 15px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.terms-and-conditions h3::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff3366;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff3366;
}

.terms-and-conditions p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .terms-and-conditions {
        margin: 40px 5%;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .terms-and-conditions {
        margin: 20px 15px;
        padding: 30px 20px;
        border-radius: 20px;
        background: transparent;
        border: none;
    }

    .terms-and-conditions h1 {
        font-size: 32px;
        text-align: left;
    }

    .terms-and-conditions h3 {
        font-size: 20px;
        margin-top: 35px;
    }

    .terms-and-conditions p {
        font-size: 16px;
    }
}

.error-404 {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #120f14;
    padding: 40px 20px;
    text-align: center;
}

.error-container {
    max-width: 600px;
    width: 100%;
}

.error-404 h1 {
    color: #ffffff;
    font-weight: 900;
    line-height: 1;
    margin: 0;
    background: linear-gradient(180deg, #ffffff 30%, rgba(255, 255, 255, 0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(51, 255, 204, 0.3));
}

.snake-collisison {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff3366, #33ffcc);
    margin: 20px auto 40px;
    border-radius: 2px;
    position: relative;
}

.snake-collisison::after {
    content: '';
    position: absolute;
    right: -10px;
    top: -3px;
    width: 10px;
    height: 10px;
    background: #33ffcc;
    border-radius: 50%;
    box-shadow: 0 0 15px #33ffcc;
}

.error-404 h2 {
    color: #33ffcc;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.error-404 p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.error-404 p strong {
    color: #ff3366;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 16px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ff3366;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(255, 51, 102, 0.2);
}

.btn-primary:hover {
    background: #ffffff;
    color: #120f14;
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #33ffcc;
}

@media (max-width: 768px) {
    .error-404 h1 {
        font-size: 80px !important;
    }
    
    .error-404 h2 {
        font-size: 24px;
    }

    .error-actions {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        box-sizing: border-box;
    }
}

.play {
    padding: 60px 10%;
    background-color: #120f14;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-wrapper {
    width: 100%;
    max-width: 1000px;
    position: relative;
    padding: 15px;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.2), rgba(51, 255, 204, 0.2));
    border-radius: 32px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

#snake-game-container {
    width: 100% !important;
    height: 500px !important;
    background: #000000 !important;
    border: none !important;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 100px rgba(51, 255, 204, 0.05);
}

#snake-game-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.1) 50%
    ), linear-gradient(
        90deg, 
        rgba(255, 0, 0, 0.02), 
        rgba(0, 255, 0, 0.01), 
        rgba(0, 0, 255, 0.02)
    );
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 2;
}

#snake-game-container p {
    font-family: 'Courier New', Courier, monospace;
    font-size: 18px;
    letter-spacing: 2px;
    color: #33ffcc;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(51, 255, 204, 0.8);
    animation: pulse-text 2s infinite;
    z-index: 3;
}

@keyframes pulse-text {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

@media (max-width: 1024px) {
    .play {
        padding: 40px 5%;
    }
}

@media (max-width: 768px) {
    .play {
        padding: 20px 10px;
    }
    
    .play-wrapper {
        padding: 8px;
        border-radius: 20px;
    }

    #snake-game-container {
        height: 350px !important;
        border-radius: 14px;
    }

    #snake-game-container p {
        font-size: 14px;
        text-align: center;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    #snake-game-container {
        height: 280px !important;
    }
}

.start-winning-today {
    padding: 100px 10%;
    background-color: #120f14;
    position: relative;
}

.start-winning-today-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
    background: rgba(255, 255, 255, 0.02);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
}

.start-winning-today-wrapper img {
    width: 45%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(51, 255, 204, 0.1);
    transition: transform 0.5s ease;
}

.start-winning-today-wrapper:hover img {
    transform: scale(1.02) rotate(-1deg);
}

.start-winning-today-text {
    flex: 1;
}

.start-winning-today-text h3 {
    color: #ff3366;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

.start-winning-today-text h2 {
    color: #ffffff;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.start-winning-today-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1024px) {
    .start-winning-today-wrapper {
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 992px) {
    .start-winning-today {
        padding: 60px 5%;
    }
    
    .start-winning-today-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .start-winning-today-wrapper img {
        width: 80%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .start-winning-today {
        padding: 40px 20px;
    }
    
    .start-winning-today-wrapper {
        padding: 30px 20px;
        background: transparent;
        border: none;
        backdrop-filter: none;
    }

    .start-winning-today-text h2 {
        font-size: 28px;
    }

    .start-winning-today-text p {
        font-size: 16px;
    }
}

.comments {
    padding: 100px 10%;
    background-color: #120f14;
}

.comments h2 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 60px;
    text-align: center;
    font-weight: 800;
}

.cooments-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.comments-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.comments-list li:hover {
    transform: translateY(-5px);
    border-color: #33ffcc;
    background: rgba(255, 255, 255, 0.05);
}

.comments-list img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(51, 255, 204, 0.3);
}

.comments-text {
    flex: 1;
}

.comments-stars {
    color: #ff3366;
    font-size: 16px;
    margin: 0 0 15px 0;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 51, 102, 0.3);
}

.comments-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.comment-nickname {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .comments-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .comments {
        padding: 60px 20px;
    }

    .comments-list li {
        padding: 30px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .comments-list img {
        margin-bottom: 10px;
    }
}

.our-journey {
    padding: 100px 10%;
    background-color: #120f14;
}

.our-journey h2 {
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 80px;
    text-align: center;
    font-weight: 800;
}

.our-journey-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.our-journey-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.our-journey-list li {
    display: flex;
    align-items: center;
    gap: 60px;
}

.our-journey-img {
    flex: 1;
    position: relative;
}

.our-journey-img::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #ff3366;
    border-radius: 24px;
    z-index: 0;
}

.our-journey-img img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    filter: grayscale(0.2);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.our-journey-list li:hover .our-journey-img img {
    filter: grayscale(0);
    transform: translateY(-5px);
}

.our-journey-text {
    flex: 1.2;
}

.our-journey-text h3 {
    color: #33ffcc;
    font-size: 26px;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.our-journey-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

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

@media (max-width: 992px) {
    .our-journey-list {
        gap: 80px;
    }
    
    .our-journey-list li {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .our-journey-list li:nth-child(even) {
        flex-direction: column-reverse;
    }

    .our-journey-img {
        max-width: 500px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .our-journey {
        padding: 60px 20px;
    }

    .our-journey h2 {
        margin-bottom: 50px;
    }

    .our-journey-text h3 {
        font-size: 22px;
    }

    .our-journey-img::before {
        display: none;
    }
}

.games-list {
    padding: 100px 10%;
    background-color: #120f14;
    position: relative;
}

.games-list-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.game-list-text > h3 {
    color: #ffffff;
    font-size: clamp(26px, 3.5vw, 40px);
    margin-bottom: 25px;
    font-weight: 800;
}

.game-list-text > p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 800px;
}

.games-list-text-list {
    list-style: none;
    padding: 0;
    margin: 50px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.games-list-text-list li {
    padding-left: 25px;
    border-left: 2px solid #33ffcc;
    transition: border-color 0.3s ease;
}

.games-list-text-list li:hover {
    border-left-color: #ff3366;
}

.games-list-text-list h4 {
    color: #ffffff;
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.games-list-text-list p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

.games-info {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.total-player, .online-player {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.total-player {
    color: #ffffff;
}

.online-player {
    color: #33ffcc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.online-player::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #33ffcc;
    border-radius: 50%;
    box-shadow: 0 0 10px #33ffcc;
    animation: blink 1.5s infinite;
}

.game-list-text a {
    display: inline-block;
    padding: 18px 40px;
    background: #ff3366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 51, 102, 0.3);
}

.game-list-text a:hover {
    background: #ffffff;
    color: #120f14;
    transform: translateY(-3px);
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@media (max-width: 992px) {
    .games-list-text-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .games-info {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .games-list {
        padding: 60px 20px;
    }

    .game-list-text {
        text-align: center;
    }

    .games-list-text-list li {
        text-align: left;
    }

    .game-list-text a {
        width: 100%;
        box-sizing: border-box;
    }
}

.contact {
    padding: 100px 10%;
    background-color: #120f14;
}

.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.contact-left img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(51, 255, 204, 0.2));
}

.contact-left p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    line-height: 1.8;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 50px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.5s ease;
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    outline: none;
    border-color: #33ffcc;
    background: rgba(255, 255, 255, 0.08);
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: #33ffcc;
    color: #120f14;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(51, 255, 204, 0.3);
}

.success-state {
    text-align: center;
    padding: 40px 0;
}

.success-state h3 {
    color: #33ffcc;
    font-size: 28px;
    margin-bottom: 15px;
}

.success-state p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    .contact-left img {
        margin: 0 auto 30px;
    }
}

@media (max-width: 768px) {
    .contact {
        padding: 60px 20px;
    }
    .contact-form {
        padding: 30px 20px;
    }
}

.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 850px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    z-index: 10000;
    transition: bottom 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cookie-popup.show {
    bottom: 30px;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.cookie-icon {
    font-size: 40px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    color: #ffffff;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
}

.cookie-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: #33ffcc;
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-accept {
    background: #ff3366;
    color: #ffffff;
}

.btn-accept:hover {
    background: #ffffff;
    color: #120f14;
    transform: translateY(-2px);
}

.btn-reject {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-btns {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }

    .cookie-popup.show {
        bottom: 20px;
    }
}

.way-to-fun-list.swiper {
    width: 100%;
    padding: 40px 0 60px;
    position: relative;
    overflow: hidden;
    list-style: none;
}

.way-to-fun-list .swiper-wrapper {
    display: flex;
    align-items: stretch; 
}

.way-to-fun-item.swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.way-to-fun-item img {
    width: 100%;
    max-width: 120px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.way-to-fun-item p {
    font-size: 1rem;
    line-height: 1.5;
    color: #e0e0e0;
    margin: 0;
}

.way-to-fun-list .swiper-button-next,
.way-to-fun-list .swiper-button-prev {
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.way-to-fun-list .swiper-button-next { right: 10px; }
.way-to-fun-list .swiper-button-prev { left: 10px; }

.way-to-fun-list .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.way-to-fun-list .swiper-pagination-bullet-active {
    background: #007bff;
    opacity: 1;
}

.main-games-media {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-games img {
    width: 100%;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: block;
    margin-bottom: 0;
}

.play-overlay-btn {
    position: absolute;
    z-index: 10;
    padding: 20px 40px;
    background: #ff3366;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 30px rgba(255, 51, 102, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-icon {
    font-size: 20px;
}

.play-overlay-btn:hover {
    transform: scale(1.1);
    background: #ffffff;
    color: #ff3366;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .play-overlay-btn {
        padding: 15px 30px;
        font-size: 14px;
    }
}

.way-to-fun-list {
    overflow: visible !important; 
}

.way-to-fun-item.swiper-slide {
    width: 85% !important; 
    max-width: 400px;
    height: auto;
    box-sizing: border-box;
}

.game-display {
    padding: 60px 2%;
    background-color: #120f14;
    display: flex;
    justify-content: center;
}

.game-engine-wrapper {
    background-color: #86b078;
    padding: 20px;
    border-radius: 32px;
    border: 8px solid #2d3a2d;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), inset 0 0 40px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 440px;
    width: 100%;
}

.game-ui-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sound-toggle {
    background: #445544;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 0 #2d3a2d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sound-toggle svg { fill: #86b078; width: 24px; }

.game-score {
    font-family: 'Arial Black', sans-serif;
    font-size: 48px;
    color: #2d3a2d;
}

#snakeArena {
    background-color: #334433;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    height: auto;
    touch-action: none;
}

.game-ui-bottom {
    margin-top: 20px;
    text-align: center;
    font-family: 'Arial Black', sans-serif;
    color: #2d3a2d;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .game-engine-wrapper {
        padding: 0;
    }
}