main {
    --game_height: 600px;
    --game_img: 20%;
}

.game {
    position: relative;
    width: 100%;
    height: var(--game_height);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 9;
}

.game .bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.game .bg img {
    filter: blur(7px);
    height: 100%;
}

.game .img-box {
    width: var(--game_img);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
}

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

.game .play-button {
    width: var(--game_img);
    background-color: #fff;
    color: #000;
    text-align: center;
    padding: 8px 0;
    font-size: 15px;
    transition: .4s;
}

.game .play-button:hover {
    background-color: #000;
    color: #fff;
}

/* ── Game Detail ── */
.game_detail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

/* Meta badges row */
.gd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gd-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.gd-category {
    background: #e8f4fb;
    color: #0088bd;
    border: 1px solid #b3d9ee;
}

.gd-size {
    background: #f0f8e8;
    color: #5a9a1a;
    border: 1px solid #c2e08a;
}

.gd-rating {
    background: #fff8e8;
    color: #c47a00;
    border: 1px solid #f5d98a;
}

/* Section card */
.gd-section {
    background: #f8fbff;
    border: 1px solid #e0eef8;
    border-radius: 10px;
    padding: 16px 18px;
}

.gd-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #0088bd;
    margin-bottom: 12px;
}

/* Tags */
.gd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gd-tags span {
    background: #0088bd;
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 500;
    transition: background 0.2s;
    cursor: default;
}

.gd-tags span:hover {
    background: #76bd22;
}

/* Controls */
.gd-instructions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.gd-control-group {
    flex: 1;
    min-width: 180px;
    background: #fff;
    border: 1px solid #dde8f0;
    border-radius: 8px;
    padding: 12px 14px;
}

.gd-control-title {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
}

.gd-controls {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.gd-key-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

kbd {
    background: #f4f4f4;
    border: 1.5px solid #bbb;
    border-bottom-width: 3px;
    border-radius: 5px;
    padding: 2px 8px;
    font-size: 12px;
    font-family: monospace;
    color: #333;
    white-space: nowrap;
}

/* Description */
.gd-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

/* Video */
.gd-video {
    width: 100%;
    border-radius: 8px;
    display: block;
    min-height: 400px;
    background: #000;
}

@media screen and (max-width:769px) {
    main {
        --game_height: 400px;
        --game_img: 50%;
    }

    .gd-instructions {
        flex-direction: column;
    }

    .gd-control-group {
        min-width: unset;
    }
}