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

body {
    font-family: 'Poppins', sans-serif;
    background: #111827;
    color: #fff;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo {
    font-size: 1.6rem;
    font-weight: 600;
    color: #3b82f6;
}

.lang-switcher select {
    background: transparent;
    color: white;
    border: 1px solid #555;
    padding: 0.4rem 0.6rem;
    border-radius: 5px;
    cursor: pointer;
}

main.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
}

section.content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1100px;
    width: 100%;
}

.text-block {
    max-width: 480px;
}

    .text-block h2 {
        font-size: 2rem;
        color: #facc15;
        margin-bottom: 1rem;
    }

.description {
    color: #d1d5db;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.rules-title {
    color: #06d6a0;
    margin-bottom: 0.5rem;
}

ul.rules {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

    ul.rules li {
        background: rgba(255, 255, 255, 0.05);
        padding: 0.6rem 1rem;
        margin-bottom: 0.5rem;
        border-radius: 6px;
    }

.btn-play {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

    .btn-play img {
        width: 220px; /* раньше было 150px */
        height: auto;
        transition: transform 0.3s ease, filter 0.3s ease;
        filter: drop-shadow(0 0 10px rgba(6, 214, 160, 0.7));
    }

    .btn-play:hover img {
        transform: scale(1.15);
        filter: drop-shadow(0 0 18px rgba(6, 214, 160, 0.9));
    }

/* Если хочешь, чтобы кнопка центрировалась даже при адаптации */
.text-block {
    max-width: 480px;
    text-align: center;
    margin: 0 auto;
}

.btn-play:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px #06d6a0);
}

.illustration img {
    max-width: 380px;
    width: 100%;
    height: auto;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

footer {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #999;
}

/* Адаптив */
@media (max-width: 768px) {
    section.content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .text-block {
        max-width: 90%;
    }

    .illustration img {
        max-width: 300px;
    }
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(6, 214, 160, 0.6));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 20px rgba(6, 214, 160, 0.9));
    }
}

.btn-play img {
    animation: pulse 2.5s infinite ease-in-out;
}