.wer34 {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    height: 200px;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
    margin-top: 40px;
    background-color: rgba(0, 0, 0, 0.7);
}

.sdf67 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.sdf67.active {
    opacity: 1;
    display: block;
}

.xcv89 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dfg45 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px;
    color: var(--light-color);
}

.ghj12 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.bnm34 {
    margin-bottom: 15px;
}

.vbn56 {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid var(--dark-color);
    box-shadow: 3px 3px 0 var(--dark-color);
    transition: all 0.3s ease;
}

.vbn56:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--dark-color);
}

.vbn56:active {
    transform: translate(3px, 3px);
    box-shadow: none;
}

.hjk78 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--primary-color);
    border: none;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.hjk78.prev {
    left: 10px;
}

.hjk78.next {
    right: 10px;
}

.hjk78:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

/* Секция популярных игр */
.tyu56 {
    padding: 40px 0;
}

.iop98 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-shadow: 3px 3px 0 var(--dark-color);
    position: relative;
    display: inline-block;
}

.iop98::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
}

.games-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 15px;
}

.game-card {
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px solid var(--primary-color);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-image-wrapper {
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 2px solid var(--secondary-color);
}

.game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.qwe12 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 var(--dark-color);
}

/* Секция "Giochi con animali" */
.rty78 {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 40px 0;
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
    position: relative;
}

.rty78::before,
.rty78::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        to right,
        var(--primary-color),
        var(--primary-color) 10px,
        var(--secondary-color) 10px,
        var(--secondary-color) 20px
    );
}

.rty78::before {
    top: 0;
    transform: translateY(-8px);
}

.rty78::after {
    bottom: 0;
    transform: translateY(8px);
}

.uio45 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    text-shadow: 3px 3px 0 var(--dark-color);
}

/* Секция описания игры */
.game-description {
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
    margin: 40px auto;
}

.game-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-shadow: 3px 3px 0 var(--dark-color);
    position: relative;
}

.game-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--secondary-color)
    );
}

.game-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.info-card {
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--secondary-color)
    );
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 2px 2px 0 var(--dark-color);
}

.info-card p {
    color: var(--light-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

.game-hero {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    border-radius: 15px;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.game-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--secondary-color)
    );
    z-index: 2;
}

.game-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.game-hero:hover .game-hero-image {
    transform: scale(1.05);
}

.game-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.5),
        transparent
    );
    padding: 40px 20px 20px;
}

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

.game-hero-tagline {
    color: var(--light-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-hero-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid var(--dark-color);
    border-radius: 5px;
    box-shadow: 3px 3px 0 var(--dark-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.game-hero-cta:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--dark-color);
}

.game-hero-cta:active {
    transform: translate(3px, 3px);
    box-shadow: none;
}

@media (max-width: 768px) {
    .wer34 {
        height: 300px;
    }
    
    .ghj12 {
        font-size: 1.5rem;
    }
    
    .hjk78 {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .game-title {
        font-size: 2rem;
        padding: 0 20px;
    }

    .info-card {
        padding: 20px;
    }

    .info-card h3 {
        font-size: 1.3rem;
    }

    .info-card p {
        font-size: 1rem;
    }

    .game-hero {
        margin: 0 20px 30px;
    }

    .game-hero-image {
        height: 300px;
    }

    .game-hero-tagline {
        font-size: 1.2rem;
    }

    .game-hero-cta {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .wer34 {
        height: 250px;
    }
    
    .ghj12 {
        font-size: 1.2rem;
    }
    
    .dfg45 {
        padding: 15px;
    }
    
    .bnm34 {
        font-size: 0.9rem;
    }
} 