.game-detail {
    padding: 20px 0;
}

.game-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--card);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border);
}

.game-thumbnail {
    flex: 0 0 auto;
}

.game-thumbnail img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(90,162,255,0.18), rgba(123,220,254,0.15)),
                linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
                var(--card);
}

.game-info {
    flex: 1;
}

.game-title {
    font-size: 28px;
    margin: 0 0 15px 0;
    color: var(--text);
}

.game-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--muted);
    font-size: 14px;
}

.game-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    font-size: 14px;
    color: var(--muted);
}

.play-button {
    background: linear-gradient(to right, var(--brand), var(--brand-2));
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 162, 255, 0.3);
}

.game-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.game-description {
    flex: 2;
    background: var(--card);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border);
}

.game-description h2 {
    margin-top: 0;
    font-size: 22px;
}

.game-description p {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.game-description ul {
    color: var(--muted);
    padding-left: 20px;
}

.game-description li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.game-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.game-instructions, .game-tags {
    background: var(--card);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border);
}

.game-instructions h3, .game-tags h3 {
    margin-top: 0;
    font-size: 18px;
}

.game-instructions ul {
    color: var(--muted);
    padding-left: 20px;
}

.game-instructions li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(90, 162, 255, 0.15);
    color: var(--brand);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s;
}

.tag:hover {
    background: rgba(90, 162, 255, 0.25);
}

.related-games {
    background: var(--card);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid var(--border);
}

.related-games h2 {
    margin-top: 0;
    font-size: 22px;
}

.related-games .card-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 100px);
    gap: 10px;
}

/* 图标占位符 */
.icon-category::before,
.icon-players::before,
.icon-rating::before,
.icon-play::before {
    content: "ⓘ";
    margin-right: 4px;
}

.icon-players::before {
    content: "⛹";
}

.icon-rating::before {
    content: "★";
}

.icon-play::before {
    content: "▶";
}

.related-games .card:nth-child(6) {
    grid-column: 2 / span 2;
    grid-row: 2 / span 2;
    background-color: #2196F3;
}

.related-games .card-grid.special-layout .card {
  grid-column: span 1;
  grid-row: span 1;
}

.related-games .card-grid.special-layout .large-card {
  grid-column: 2 / span 2;
  grid-row: 2 / span 2;
  display: flex;
  flex-direction: column;
}

.card-thumb{
    width: 100%;
    height: 100%;
}