/* ─── OYUN SAYFASI ───────────────────── */

.game-page { background: var(--bg); }

.site-header--dark {
  background: rgba(5,5,10,0.95);
}

.game-header-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 0 16px;
}
.game-header-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-header-cat {
  font-size: 0.8rem;
  color: var(--text3);
  background: var(--bg3);
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-fullscreen {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text2);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
}
.btn-fullscreen:hover { color: var(--text); border-color: var(--border2); }

/* ─── OYUN LAYOUT ─────────────────────── */
.game-layout {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 24px;
  max-width: 1200px;
  margin: 24px auto;
  padding: 0 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .game-layout { grid-template-columns: 1fr; }
  .game-sidebar { display: none; }
}

/* ─── OYUN FRAME ──────────────────────── */
.game-frame-wrap {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  width: 100%;
}
.game-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Fullscreen stili */
.game-frame-wrap:fullscreen {
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  aspect-ratio: unset;
}
.game-frame-wrap:fullscreen .game-frame {
  width: 100vw;
  height: 100vh;
}

/* ─── OYUN BİLGİ BAR ──────────────────── */
.game-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-top: 16px;
  padding: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.game-play-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.game-play-desc {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.5;
}
.game-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.game-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 50px;
  background: var(--bg4);
  border: 1px solid var(--border);
  color: var(--text2);
  transition: all 0.2s;
}
.game-tag:hover { border-color: var(--accent); color: var(--accent2); }

.game-info-right { text-align: center; }
.game-stat { display: flex; flex-direction: column; align-items: center; }
.stat-val {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--neon);
  line-height: 1;
}
.stat-label { font-size: 0.75rem; color: var(--text3); margin-top: 4px; }

/* ─── SIDEBAR ──────────────────────────── */
.game-sidebar {
  position: sticky;
  top: 88px;
}
.sidebar-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.sidebar-list { display: flex; flex-direction: column; gap: 8px; }
.sidebar-game {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg2);
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.sidebar-game:hover {
  border-color: var(--border2);
  transform: translateX(3px);
}
.sg-thumb {
  width: 56px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg3);
  flex-shrink: 0;
}
.sg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sg-title {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
