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

.games-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.games-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
    color: white;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 2rem;
}

.game-card {
    flex: 0 0 100%;
    min-width: 100%;
    animation: fadeIn 0.6s ease-out;
}

.game-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .game-content-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.game-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.game-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0;
    color: white;
}

.game-description {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 400;
}

.cta-button {
    align-self: flex-start;
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #365314 0%, #a4c639 100%);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgb(97, 133, 57);
}

.cta-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .cta-button {
        width: 100%;
        align-self: auto;
    }
}

.game-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    overflow: hidden;
}

.game-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.75rem;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-images img:hover {
    transform: scale(1.02);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.carousel-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-button.active {
    background: rgb(54, 83, 20);
    width: 32px;
    border-radius: 6px;
}

.carousel-button:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-nav {
    position: absolute;
    top: 37%;
    transform: translateY(-50%);
    background: rgb(54, 83, 20);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgb(138, 172, 100);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: -50px;
}

.carousel-nav.next {
    right: -50px;
}

@media (max-width: 768px) {
    .carousel-nav {
        width: 36px;
        height: 36px;
        top: 14.6%;
    }

    .carousel-nav.prev {
        left: -8px;
    }

    .carousel-nav.next {
        right: -8px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card.animate {
    animation: popIn 0.45s ease;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }

    60% {
        opacity: 1;
        transform: scale(1.08) translateY(0);
    }

    100% {
        transform: scale(1);
    }
}