/* ── Ready Page Layout ── */
.ready-wrap {
    max-width: var(--all-width);
    margin: 0 auto 20px;
    padding: 0 0 0 0;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 16px;
    align-items: start;
}

/* ── Left column ── */
.ready-main {}

/* Game hero card */
.game-hero {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    margin-bottom: 16px;
}

.game-hero__thumb {
    width: 100%;
    position: relative;
    background: #111;
}

.game-hero__thumb::before {
    content: '';
    display: block;
    padding-top: 52%;
}

.game-hero__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-hero__body {
    padding: 20px 22px;
}

.game-hero__title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.3;
}

.game-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 14px;
}

.game-hero__tag {
    font-size: 12px;
    color: #666;
    background: #f0f4f8;
    padding: 3px 10px;
    border-radius: 20px;
}

.game-hero__tag--cat {
    background: #e8f4ff;
    color: #2563eb;
    font-weight: 600;
}

.game-hero__stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 18px;
}

.stars-visual {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 16px;
    color: #ddd;
}

.star.on { color: #f59e0b; }
.star.half { color: #f59e0b; opacity: .5; }

.stars-num {
    font-size: 13px;
    color: #888;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
    color: #fff;
    padding: 13px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
    transition: opacity .2s, transform .15s;
    text-decoration: none;
}

.play-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.play-btn__icon { font-size: 18px; }

/* Info cards */
.info-card-r {
    background: #fff;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.info-card-r__heading {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f4f8;
}

.info-card-r p {
    font-size: 14px;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

/* ── Right sidebar ── */
.ready-sidebar {}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.sidebar-card__heading {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f4f8;
}

/* Recommended games list */
.rec-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rec-item {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 6px;
    border-radius: 8px;
    transition: background .15s;
}

.rec-item:hover { background: #f5f7fa; }

.rec-item__thumb {
    width: 64px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #eee;
}

.rec-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rec-item__info {}

.rec-item__title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rec-item__cat {
    font-size: 11px;
    color: #2563eb;
    background: #e8f4ff;
    padding: 1px 7px;
    border-radius: 10px;
    display: inline-block;
}

/* ── Responsive ── */
@media (max-width: 799px) {
    .ready-wrap {
        grid-template-columns: 1fr;
    }

    .ready-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .sidebar-card { margin-bottom: 0; }

    .rec-list { flex-direction: row; flex-wrap: wrap; }
    .rec-item { width: calc(50% - 5px); flex-direction: column; align-items: flex-start; }
    .rec-item__thumb { width: 100%; height: 80px; }

    .game-hero__title { font-size: 18px; }
    .play-btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .ready-sidebar { grid-template-columns: 1fr; }
}
