.page-game-detail { color: #273142; background: #f4f6fb; }
.game-detail-hero { position: relative; overflow: hidden; padding: 42px 0 82px; background: radial-gradient(circle at 10% 10%, rgba(255, 67, 111, .11), transparent 32%), radial-gradient(circle at 88% 20%, rgba(91, 71, 213, .16), transparent 35%), linear-gradient(135deg, #faf8ff, #edf4ff); }
.game-detail-hero::after { position: absolute; inset: 0; background-image: radial-gradient(rgba(91, 71, 213, .12) 1px, transparent 1px); background-size: 25px 25px; content: ''; pointer-events: none; }
.game-detail-hero .container { position: relative; z-index: 1; }
.game-detail-back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 25px; color: #5944c8; font-size: 13px; font-weight: 800; text-decoration: none; }
.game-detail-hero-grid { display: grid; grid-template-columns: minmax(300px, 430px) minmax(0, 1fr); align-items: center; gap: 52px; }
.game-detail-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border: 7px solid #fff; border-radius: 23px; background: #fff; box-shadow: 0 24px 60px rgba(39, 49, 66, .18); }
.game-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.game-detail-cover > span { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; background: #e8fbf2; color: #078653; font-size: 11px; font-weight: 900; }
.game-detail-kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; color: #5b47d5; font-size: 12px; font-weight: 900; letter-spacing: .06em; }
.game-detail-title-row { display: flex; align-items: flex-start; gap: 14px; }
.game-detail-title-row h1 { margin: 0; color: #202a3b; font-size: clamp(38px, 5vw, 66px); line-height: 1.03; }
.game-detail-title-row > span { flex: none; margin-top: 9px; padding: 6px 9px; border: 1px solid #d8d1fb; border-radius: 999px; background: #fff; color: #5b47d5; font-size: 11px; font-weight: 900; }
.game-detail-copy > p { max-width: 760px; margin: 19px 0; color: #667187; font-size: 16px; line-height: 1.75; }
.game-detail-owner-inline { display: flex; align-items: center; gap: 11px; }
.game-detail-owner-inline img { width: 48px; height: 48px; border: 3px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 18px rgba(39, 49, 66, .12); }
.game-detail-owner-inline > div { display: grid; }
.game-detail-owner-inline small { color: #8993a4; font-size: 9px; font-weight: 900; letter-spacing: .06em; }
.game-detail-owner-inline > div a { color: #273142; font-size: 14px; font-weight: 900; text-decoration: none; }
.game-detail-owner-inline > div span { color: #6d58d7; font-size: 11px; }
.game-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.game-detail-actions > a,
.game-detail-actions > button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border-radius: 10px; font-size: 13px; font-weight: 900; line-height: 1; text-decoration: none; }
.game-detail-play { border: 1px solid #ff3465 !important; background: #ff3465 !important; color: #fff !important; box-shadow: 0 9px 22px rgba(255, 52, 101, .24) !important; }
.game-detail-play:hover { border-color: #ed1e50 !important; background: #ed1e50 !important; color: #fff !important; }
.game-detail-comments-link { border: 1px solid #d7dbe7; background: #fff; color: #4f5a6e; }
.game-detail-share-button { border: 1px solid #cfc7f8; background: #fff; color: #5943dc; cursor: pointer; }
.game-detail-share-button:hover,
.game-detail-share-button:focus-visible,
.game-detail-share-button[aria-expanded="true"] { border-color: #5943dc; background: #efecff; color: #3925ad; box-shadow: 0 8px 18px rgba(89, 67, 220, .13); }
.game-detail-share-button:focus-visible { outline: 3px solid rgba(89, 67, 220, .18); outline-offset: 2px; }
.game-detail-share-options { display: flex; flex: 0 0 100%; gap: 8px; }
.game-detail-share-options[hidden] { display: none !important; }
.game-detail-share-options a,
.game-detail-share-options button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border-radius: 9px; font-size: 11px; font-weight: 850; text-decoration: none; cursor: pointer; }
.game-detail-share-options a { border: 1px solid #20aa5a; background: #20aa5a; color: #fff; }
.game-detail-share-options a:hover { border-color: #168c49; background: #168c49; color: #fff; }
.game-detail-share-options button { border: 1px solid rgba(89, 67, 220, .3); background: #fff; color: #5943dc; }
.game-detail-share-options button:hover { border-color: #5943dc; background: #efecff; color: #3925ad; }
.game-detail-share-options button.is-copied { border-color: #198754; background: #eaf8f0; color: #13734a; }
.game-detail-main { padding: 0 0 85px; }
.game-detail-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -36px; margin-bottom: 28px; }
.game-detail-stats article { display: flex; align-items: center; gap: 12px; min-height: 88px; padding: 17px; border: 1px solid #e0e5ef; border-radius: 15px; background: #fff; box-shadow: 0 12px 30px rgba(39, 49, 66, .07); }
.game-detail-stats article > span { display: grid; width: 43px; height: 43px; flex: none; place-items: center; border-radius: 12px; background: #efecff; color: #5b47d5; }
.game-detail-stats article > div { display: grid; }
.game-detail-stats strong { color: #273142; font-size: 19px; }
.game-detail-stats small { color: #7d8798; font-size: 10px; font-weight: 700; }
.game-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 24px; }
.game-detail-layout main { display: grid; gap: 22px; }
.game-detail-panel,
.game-owner-card { border: 1px solid #e0e5ef; border-radius: 19px; background: #fff; box-shadow: 0 12px 34px rgba(39, 49, 66, .05); }
.game-detail-panel { padding: 28px; }
.game-detail-section-heading > span { color: #5b47d5; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.game-detail-section-heading h2 { margin: 5px 0; color: #273142; font-size: 25px; }
.game-detail-section-heading > p { margin: 0; color: #7a8597; font-size: 13px; }
.game-detail-description { margin-top: 18px; color: #536074; font-size: 15px; line-height: 1.75; }
.game-version-timeline { position: relative; display: grid; gap: 0; margin-top: 24px; }
.game-version-timeline::before { position: absolute; top: 18px; bottom: 18px; left: 18px; width: 2px; background: #e1ddf8; content: ''; }
.game-version-timeline article { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 15px; padding-bottom: 24px; }
.game-version-timeline article:last-child { padding-bottom: 0; }
.game-version-dot { z-index: 1; display: grid; width: 38px; height: 38px; place-items: center; border: 4px solid #fff; border-radius: 50%; background: #e7e3fa; color: #735fce; box-shadow: 0 0 0 1px #ded8f7; }
.game-version-timeline article.is-current .game-version-dot { background: #ff3c69; color: #fff; box-shadow: 0 0 0 4px rgba(255, 60, 105, .11); }
.game-version-timeline article > div > div { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.game-version-timeline article strong { color: #273142; font-size: 13px; }
.game-version-timeline article > div > div span { padding: 3px 6px; border-radius: 5px; background: #fff0f3; color: #d92a52; font-size: 9px; font-weight: 900; }
.game-version-timeline time { margin-left: auto; color: #737f92; font-size: 12px; font-weight: 700; }
.game-version-timeline h3 { margin: 7px 0 4px; color: #344054; font-size: 15px; }
.game-version-timeline p { margin: 0 0 5px; color: #758094; font-size: 12px; line-height: 1.55; }
.game-version-timeline small { color: #8992a2; font-size: 10px; }
.game-owner-card { position: sticky; top: 95px; padding: 25px; text-align: center; }
.game-owner-label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 17px; color: #a57400; font-size: 10px; font-weight: 900; letter-spacing: .06em; }
.game-owner-avatar { display: block; width: 82px; height: 82px; margin: 0 auto 12px; }
.game-owner-avatar img { width: 100%; height: 100%; border: 4px solid #f0edff; border-radius: 50%; object-fit: cover; }
.game-owner-card h2 { margin: 0; color: #273142; font-size: 19px; }
.game-owner-username { color: #6853d6; font-size: 12px; text-decoration: none; }
.game-owner-card > p { margin: 14px 0; color: #758094; font-size: 12px; line-height: 1.6; }
.game-owner-card dl { margin: 0; border-top: 1px solid #edf0f5; }
.game-owner-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf0f5; font-size: 11px; }
.game-owner-card dt { color: #7d8798; font-weight: 600; }
.game-owner-card dd { margin: 0; color: #344054; font-weight: 800; }
.game-owner-profile { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: #5b47d5; font-size: 12px; font-weight: 800; text-decoration: none; }
.page-game-detail .content-comments { margin-top: 26px; padding: 28px; border: 1px solid #e0e5ef; border-radius: 19px; background: #fff; box-shadow: 0 12px 34px rgba(39, 49, 66, .05); }
.page-game-detail .content-comments-container { width: 100%; max-width: none; }
@media (max-width: 991px) {
    .game-detail-hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .game-detail-cover { max-width: 600px; }
    .game-detail-stats { grid-template-columns: repeat(2, 1fr); }
    .game-detail-layout { grid-template-columns: 1fr; }
    .game-owner-card { position: static; }
}
@media (max-width: 575px) {
    .game-detail-hero { padding-top: 28px; }
    .game-detail-title-row { flex-direction: column; gap: 6px; }
    .game-detail-title-row > span { margin-top: 0; }
    .game-detail-stats { grid-template-columns: 1fr; margin-top: -25px; }
    .game-detail-panel,
    .page-game-detail .content-comments { padding: 19px; }
    .game-version-timeline time { width: 100%; margin-left: 0; }
}
