main {
    display: flex;
    flex-direction: column;
}

.game {
    flex: 1;
    margin-bottom: 25px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: .3s;
}

.game:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.game-header {
    position: relative;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f5f5f5 0%, #000000 100%);
    overflow: hidden;
}

.game-header-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(8px);
    transform: scale(1.1);
}

.game-header-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 25px;
    padding: 30px;
}

.game .img-box {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: .4s;
}

.game .img-box:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.game .img-box::before {
    padding-top: 100%;
}

.game-title {
    margin: 0;
    padding: 0;
    font-size: 36px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    text-align: center;
}

.game-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.stars {
    display: flex;
    gap: 3px;
    color: #ffa500;
    font-size: 18px;
}

.rating-number {
    font-size: 16px;
    color: #666;
}

.game-category {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.game-body {
    padding: 40px 50px;
}

.game-section {
    margin-bottom: 35px;
}

.game-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #202020;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.game-description {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    text-indent: 2em;
    text-align: justify;
}

.game-instructions {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
    border-left: 4px solid #667eea;
}

.game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: #f0f0f0;
    color: #555;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    transition: .3s;
    border: 1px solid #e0e0e0;
}

.tag:hover {
    background-color: #667eea;
    color: #fff;
    border-color: #667eea;
    transform: translateY(-2px);
}

.play-button-wrapper {
    text-align: center;
    padding: 20px 0;
}

.play {
    display: inline-block;
    min-width: 200px;
    text-align: center;
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    border: 2px solid #000000;
    transition: .4s;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: #667eea;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.play:hover::before {
    width: 300px;
    height: 300px;
}

.play span {
    position: relative;
    z-index: 1;
}

.play:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

@media screen and (max-width:769px) {
    .game-header {
        height: 320px;
    }

    .game .img-box {
        width: 140px;
        height: 140px;
    }

    .game-title {
        font-size: 28px;
    }

    .game-body {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 18px;
    }

    .game-description {
        font-size: 14px;
    }

    .game-instructions {
        padding: 15px;
        font-size: 13px;
    }

    .play {
        min-width: 160px;
        padding: 14px 36px;
        font-size: 16px;
        letter-spacing: 3px;
    }

    .game-meta {
        gap: 12px;
    }
}