:root {
  --bg-base: #040102;
  --bg-surface: rgba(13, 3, 6, 0.86);
  --bg-card: rgba(19, 5, 9, 0.82);
  --bg-card-hover: rgba(29, 7, 13, 0.9);
  --bg-input: rgba(9, 2, 4, 0.92);
  --border: rgba(185, 20, 55, 0.24);
  --border-light: rgba(215, 35, 72, 0.45);
  --text-main: #f9ecef;
  --text-muted: #e29ca9;
  --text-dim: #b86b7a;
  --red: #d4143a;
  --red-hover: #b01030;
  --red-dark: #6b0d22;
  --red-soft: rgba(212, 20, 58, 0.15);
  --red-border: rgba(212, 20, 58, 0.42);
  --red-glow: rgba(212, 20, 58, 0.32);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(145, 14, 44, 0.18) 0%, transparent 58%),
    radial-gradient(circle at 12% 80%, rgba(110, 10, 34, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 88% 50%, rgba(135, 12, 40, 0.12) 0%, transparent 50%);
  color: var(--text-main);
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

#starfieldCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.topbar, .site-header, .showcase-section, .main-portal, .site-footer {
  position: relative;
  z-index: 1;
}

/* SMOOTH GEÇİŞ EFEKTLERİ */
@keyframes viewSmoothEnter {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.992);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes cardStaggerEnter {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.view-pane {
  animation: viewSmoothEnter 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.admin-tab-content {
  animation: viewSmoothEnter 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feed-animate .game-card {
  animation: cardStaggerEnter 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feed-animate .game-card:nth-child(1) { animation-delay: 0.02s; }
.feed-animate .game-card:nth-child(2) { animation-delay: 0.05s; }
.feed-animate .game-card:nth-child(3) { animation-delay: 0.08s; }
.feed-animate .game-card:nth-child(4) { animation-delay: 0.11s; }
.feed-animate .game-card:nth-child(5) { animation-delay: 0.14s; }
.feed-animate .game-card:nth-child(6) { animation-delay: 0.17s; }

/* AVATAR BİLEŞENLERİ */
.avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--red-border);
  background: #140408;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(212, 20, 58, 0.25);
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-circle.avatar-sm {
  width: 24px;
  height: 24px;
  font-size: 0.72rem;
}

.avatar-circle.avatar-md {
  width: 36px;
  height: 36px;
  font-size: 0.95rem;
}

.avatar-circle.avatar-lg {
  width: 56px;
  height: 56px;
  font-size: 1.35rem;
  border-width: 2px;
}

.avatar-circle.avatar-xl {
  width: 84px;
  height: 84px;
  font-size: 2rem;
  border-width: 2px;
  box-shadow: 0 0 22px rgba(212, 20, 58, 0.4);
}

.user-profile-pill {
  padding: 5px 12px 5px 7px !important;
  gap: 8px !important;
}

.no-cover-box {
  width: 100%;
  height: 100%;
  min-height: 155px;
  background: radial-gradient(circle at center, rgba(185, 18, 52, 0.28), #0d0205);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  text-align: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffe4e6;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ÜST BAR */
.topbar {
  background: rgba(8, 1, 3, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
  padding: 6px 0;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f3c6ce;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red), 0 0 18px var(--red);
  display: inline-block;
}

.rar-badge {
  background: var(--red-soft);
  border: 1px solid var(--red-border);
  color: var(--text-main);
  padding: 3px 10px;
  border-radius: 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(212, 20, 58, 0.16);
}

.rar-badge:hover {
  background: rgba(212, 20, 58, 0.26);
  box-shadow: 0 0 18px rgba(212, 20, 58, 0.35);
}

.rar-badge strong {
  color: #fff;
  font-family: monospace;
}

.copy-pill {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 0.68rem;
}

/* KOYU KIRMIZI HEADER */
.site-header {
  background: rgba(11, 2, 5, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 4px 28px rgba(180, 15, 48, 0.22);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #d4143a, #881337);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  box-shadow: 0 0 18px rgba(212, 20, 58, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 14px rgba(212, 20, 58, 0.4);
}

.brand-main span {
  color: var(--red);
}

.brand-main small {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ARAMA KUTUSU */
.search-box {
  flex: 1;
  max-width: 440px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 17px;
  height: 17px;
  color: var(--text-dim);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 10px 34px 10px 38px;
  border-radius: 7px;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}

.search-box input::placeholder {
  color: rgba(226, 156, 169, 0.5);
}

.search-box input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 16px rgba(212, 20, 58, 0.28);
}

.clear-search {
  position: absolute;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 8px 13px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.83rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-pill:hover {
  border-color: var(--red);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 20, 58, 0.25);
}

.count-bubble {
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 99px;
}

/* ALT KATEGORİ MENÜSÜ */
.subnav {
  background: rgba(9, 2, 4, 0.9);
  border-top: 1px solid var(--border);
}

.subnav-inner {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-link {
  background: transparent;
  border: 1px solid transparent;
  color: #f3c6ce;
  padding: 6px 12px;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.subnav-link:hover {
  color: #fff;
  background: var(--red-soft);
  border-color: var(--border);
  transform: translateY(-1px);
}

.subnav-link.active {
  background: linear-gradient(135deg, #d4143a, #9f1239);
  color: #fff;
  box-shadow: 0 0 14px rgba(212, 20, 58, 0.42);
}

/* VİTRİN */
.showcase-section {
  padding: 18px 0 6px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-tag {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: 4px;
  box-shadow: 0 0 12px var(--red-glow);
}

.section-title-wrap h2 {
  font-size: 1rem;
  font-weight: 700;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-card:hover {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(212, 20, 58, 0.38);
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.showcase-card:hover img {
  transform: scale(1.06);
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 1, 3, 0.95) 0%, rgba(18, 3, 7, 0.25) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8px 10px;
}

.showcase-top-badges {
  position: absolute;
  top: 7px;
  right: 7px;
}

.sc-size {
  background: var(--red);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 0 10px var(--red-glow);
}

.showcase-bottom h3 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ANA PORTAL DÜZENİ */
.main-portal {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 50px;
  align-items: start;
  transition: grid-template-columns 0.25s ease;
}

.main-portal.full-width {
  grid-template-columns: 1fr;
}

.feed-toolbar {
  background: var(--bg-surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

.feed-status h1 {
  font-size: 1.05rem;
  font-weight: 700;
}

.feed-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sort-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.sort-group select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.82rem;
  cursor: pointer;
}

/* OYUN KARTLARI */
.game-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.game-card {
  background: var(--bg-surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
  transition: all 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.game-card:hover {
  border-color: var(--red);
  box-shadow: 0 10px 30px rgba(212, 20, 58, 0.26);
  transform: translateY(-3px);
}

.game-card-thumb {
  position: relative;
  height: 100%;
  min-height: 155px;
  overflow: hidden;
  cursor: pointer;
  background: #0c0205;
}

.game-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.game-card:hover .game-card-thumb img {
  transform: scale(1.05);
}

.thumb-ribbon {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 4px;
  box-shadow: 0 0 12px var(--red-glow);
}

.thumb-size {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(8, 1, 3, 0.92);
  border: 1px solid var(--border);
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
}

.game-card-body {
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.gc-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gc-cat-badge {
  background: var(--red-soft);
  color: #ffe4e6;
  border: 1px solid var(--red-border);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.gc-version-badge, .gc-repack-badge {
  background: rgba(255, 255, 255, 0.04);
  color: #f3c6ce;
  border: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 4px;
}

.gc-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: color 0.18s ease;
}

.gc-title:hover {
  color: var(--red);
  text-shadow: 0 0 12px rgba(212, 20, 58, 0.4);
}

.gc-desc {
  font-size: 0.84rem;
  color: #f3c6ce;
  opacity: 0.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(212, 20, 58, 0.16);
  gap: 10px;
  flex-wrap: wrap;
}

.gc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.gc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-download-card {
  background: linear-gradient(135deg, #d4143a, #9f1239);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 7px 15px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 14px rgba(212, 20, 58, 0.35);
}

.btn-download-card:hover {
  box-shadow: 0 0 22px rgba(212, 20, 58, 0.65);
  transform: translateY(-1px) scale(1.02);
}

.btn-edit-quick {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-edit-quick:hover {
  border-color: var(--red);
  background: var(--red-soft);
}

/* SAĞ SIDEBAR */
.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.widget-card {
  background: var(--bg-surface);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.widget-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding-left: 9px;
}

.rar-widget {
  background: linear-gradient(145deg, rgba(34, 6, 14, 0.88), rgba(14, 3, 7, 0.9));
  border-color: var(--red-border);
  box-shadow: 0 0 22px rgba(212, 20, 58, 0.18);
}

.rar-widget-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.rar-widget-head h3 {
  font-size: 0.88rem;
  font-weight: 700;
}

.rar-widget-head p {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.rar-copy-box {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--red-border);
  border-radius: 5px;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s ease;
}

.rar-copy-box:hover {
  border-color: var(--red);
  box-shadow: 0 0 14px rgba(212, 20, 58, 0.3);
}

.rar-copy-box span {
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
}

/* KATEGORİ LİSTESİ */
.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  border-radius: 5px;
  background: var(--bg-card);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-item:hover, .category-item.active {
  border-color: var(--red);
  color: #fff;
  background: var(--red-soft);
  transform: translateX(3px);
  box-shadow: 0 0 12px rgba(212, 20, 58, 0.2);
}

.cat-count {
  background: rgba(212, 20, 58, 0.2);
  color: #ffe4e6;
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: 99px;
}

/* SON YORUMLAR */
.recent-comments-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rc-item {
  background: var(--bg-card);
  border-radius: 6px;
  padding: 9px 11px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.rc-item:hover {
  border-color: var(--red);
  transform: translateX(2px);
}

.rc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  margin-bottom: 4px;
}

.rc-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #f3c6ce;
}

.rc-game {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 3px;
  display: block;
}

.rc-text {
  font-size: 0.78rem;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* OYUN DETAY SAYFASI */
.detail-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}

.detail-breadcrumb {
  padding: 11px 20px;
  background: rgba(9, 2, 4, 0.88);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

.detail-hero {
  padding: 22px 20px;
  background: linear-gradient(135deg, rgba(34, 6, 14, 0.82), rgba(12, 2, 6, 0.9));
  border-bottom: 1px solid var(--border);
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px;
  align-items: center;
}

.detail-cover {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  box-shadow: 0 0 24px rgba(212, 20, 58, 0.3);
}

.detail-title-area h1 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 8px 0 12px;
  line-height: 1.25;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.spec-pill {
  background: rgba(9, 2, 4, 0.8);
  border: 1px solid var(--border);
  padding: 8px 11px;
  border-radius: 6px;
}

.spec-pill small {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-pill strong {
  font-size: 0.83rem;
  color: #fff;
}

.detail-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.detail-section h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 10px;
  padding-left: 10px;
  border-left: 3px solid var(--red);
}

.detail-description {
  white-space: pre-line;
  color: #f9ecef;
  font-size: 0.9rem;
  line-height: 1.65;
  background: var(--bg-card);
  padding: 16px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

/* SİSTEM GEREKSİNİMLERİ */
.sysreq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sysreq-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px;
}

.sysreq-box h4 {
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--red);
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
}

.sysreq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.82rem;
}

.sysreq-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(212, 20, 58, 0.12);
  padding-bottom: 5px;
}

.sysreq-list li span {
  color: var(--text-muted);
}

.sysreq-list li strong {
  text-align: right;
  color: var(--text-main);
}

/* EKRAN GÖRÜNTÜLERİ */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.screenshot-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: zoom-in;
  aspect-ratio: 16 / 9;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.screenshot-item:hover {
  transform: scale(1.02);
  border-color: var(--red);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* KURULUM KUTUSU */
.install-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 6px;
  padding: 14px 16px;
  white-space: pre-line;
  font-size: 0.88rem;
  color: #f9ecef;
}

/* İNDİRME LİNKLERİ */
.download-hub {
  background: linear-gradient(145deg, rgba(34, 6, 14, 0.88), rgba(14, 3, 7, 0.92));
  border: 1px solid var(--red-border);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 0 26px rgba(212, 20, 58, 0.2);
}

.download-hub-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.download-links-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.dl-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  background: linear-gradient(135deg, #d4143a, #9f1239);
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 16px rgba(212, 20, 58, 0.35);
}

.dl-btn:hover {
  box-shadow: 0 0 24px rgba(212, 20, 58, 0.7);
  transform: translateY(-2px);
}

.dl-hub-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-broken {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-broken:hover {
  border-color: var(--red);
  color: #fff;
}

/* YORUMLAR VE PROFİL RESİMLERİ */
.comments-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.comment-author-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.comment-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-item {
  background: rgba(9, 2, 4, 0.82);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 15px;
  transition: border-color 0.2s ease;
}

.comment-item.admin-comment {
  border-color: var(--red);
  box-shadow: 0 0 14px rgba(212, 20, 58, 0.18);
}

.c-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.c-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.9rem;
}

.badge-admin {
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 0 10px var(--red-glow);
}

.c-date {
  font-size: 0.73rem;
  color: var(--text-dim);
}

.c-body {
  font-size: 0.86rem;
  color: #f9ecef;
  margin-bottom: 8px;
  padding-left: 46px;
  white-space: pre-line;
}

.c-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 46px;
}

.c-action-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
}

.c-action-btn:hover {
  color: var(--red);
}

.replies-list {
  margin-top: 10px;
  margin-left: 46px;
  padding-left: 14px;
  border-left: 2px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.reply-item {
  background: var(--bg-card);
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  border: 1px solid rgba(212, 20, 58, 0.14);
}

.reply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.reply-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* HESAP AYARLARI & PROFİL EDİTÖRÜ */
.profile-avatar-editor {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 6px;
}

.profile-avatar-preview {
  flex-shrink: 0;
}

.profile-avatar-controls {
  flex: 1;
}

/* SOL SEKMELİ YENİ ADMİN PANELİ DÜZENİ */
.panel-card {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.panel-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
}

.admin-badge-pill {
  background: var(--red-soft);
  color: #f3c6ce;
  border: 1px solid var(--red-border);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
}

.admin-layout {
  display: grid;
  grid-template-columns: 265px 1fr;
  gap: 20px;
  align-items: start;
}

.admin-sidebar {
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.admin-profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(145deg, rgba(34, 6, 14, 0.85), rgba(14, 3, 7, 0.9));
  border: 1px solid var(--red-border);
  border-radius: 8px;
  margin-bottom: 14px;
}

.admin-profile-meta strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-top: 3px;
}

.admin-profile-meta small {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-nav-btn {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid transparent;
  color: var(--text-muted);
  padding: 11px 13px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.admin-nav-btn span:nth-child(2) {
  flex: 1;
}

.admin-nav-btn:hover {
  color: #fff;
  border-color: var(--border-light);
  background: rgba(212, 20, 58, 0.12);
  transform: translateX(3px);
}

.admin-nav-btn.active {
  background: linear-gradient(135deg, #d4143a, #9f1239);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(212, 20, 58, 0.38);
}

.anav-icon {
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
}

.anav-badge {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 99px;
}

.admin-sidebar-Bottom {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.admin-content-area {
  background: var(--bg-surface);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  min-height: 540px;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.admin-section-header h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.admin-section-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 14px;
}

.stat-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-top: 4px;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-subcard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
}

.admin-subcard h3 {
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: #fff;
}

.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.admin-tab {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
}

.admin-tab.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 0 14px var(--red-glow);
}

.admin-form, .req-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #f3c6ce;
}

.form-group input, .form-group select, .form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 9px 11px;
  border-radius: 5px;
  font-size: 0.86rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 12px rgba(212, 20, 58, 0.25);
}

.upload-input-row {
  display: flex;
  gap: 8px;
}

.upload-input-row input {
  flex: 1;
}

.upload-file-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  transition: all 0.18s ease;
}

.upload-file-btn:hover {
  border-color: var(--red);
  background: var(--red-soft);
}

.checkbox-group {
  justify-content: flex-end;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: var(--bg-card);
  padding: 9px 11px;
  border-radius: 5px;
  border: 1px solid var(--border);
  font-size: 0.84rem;
}

.sysreq-editor, .links-editor {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px;
}

.sysreq-col-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 8px;
}

.sysreq-col-box input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: #fff;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 0.82rem;
}

.links-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.link-edit-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 38px;
  gap: 8px;
  margin-bottom: 8px;
}

.link-edit-row input, .link-edit-row select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  color: #fff;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 0.82rem;
}

/* BUTONLAR */
.btn-primary {
  background: linear-gradient(135deg, #d4143a, #9f1239);
  color: #fff;
  font-weight: 700;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.86rem;
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 16px rgba(212, 20, 58, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 0 24px rgba(212, 20, 58, 0.65);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.82rem;
  transition: all 0.18s ease;
}

.btn-secondary:hover {
  border-color: var(--red);
  background: var(--red-soft);
}

.btn-danger {
  background: rgba(212, 20, 58, 0.18);
  border: 1px solid var(--red-border);
  color: #ffe4e6;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.18s ease;
}

.btn-danger:hover {
  background: var(--red);
  color: #fff;
}

.btn-sm { padding: 5px 10px; font-size: 0.76rem; }
.btn-lg { width: 100%; padding: 12px; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ADMİN TABLO */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
}

.admin-table th, .admin-table td {
  padding: 11px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table th {
  color: var(--text-muted);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
}

/* İSTEK LİSTESİ */
.req-list-wrap {
  margin-top: 22px;
}

.req-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.req-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.req-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.req-status.done { background: var(--red); color: #fff; }
.req-status.pending { background: var(--bg-surface); border: 1px solid var(--border-light); color: var(--text-muted); }

/* MODAL VE BİLDİRİMLER */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 1, 2, 0.86);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}

.modal-box {
  background: #110307;
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--red);
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  box-shadow: 0 0 35px rgba(212, 20, 58, 0.3);
  animation: viewSmoothEnter 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.05rem;
  cursor: pointer;
}

.lightbox-inner {
  position: relative;
  max-width: 1000px;
  width: 100%;
}

.lightbox-inner img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  font-weight: 800;
  cursor: pointer;
}

.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 400;
}

/* SOL ALT SPOTIFY TARZI MÜZİK OYNATICI */
.sp-player {
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 305px;
  background: rgba(10, 2, 5, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 13px 14px;
  z-index: 260;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 22px rgba(212, 20, 58, 0.22);
  transition: all 0.25s ease;
}

.sp-player:hover {
  border-color: var(--red);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.85), 0 0 28px rgba(212, 20, 58, 0.38);
}

.sp-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-cover-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 4px 14px rgba(212, 20, 58, 0.3);
}

.sp-cover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-eq {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(8, 1, 3, 0.85);
  padding: 2px 4px;
  border-radius: 4px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  opacity: 0;
  transition: opacity 0.2s;
}

.sp-player.playing .sp-eq {
  opacity: 1;
}

.sp-eq span {
  width: 2.5px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
  animation: spEqAnim 0.7s infinite ease-in-out alternate;
}

.sp-eq span:nth-child(2) { animation-delay: 0.2s; }
.sp-eq span:nth-child(3) { animation-delay: 0.4s; }

@keyframes spEqAnim {
  0% { height: 3px; }
  100% { height: 10px; }
}

.sp-info {
  flex: 1;
  min-width: 0;
}

.sp-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.sp-title-row strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-artist {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.sp-min-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 22px;
  height: 22px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sp-min-btn:hover {
  border-color: var(--red);
  color: #fff;
}

.sp-body {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.sp-progress-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.sp-progress-row input[type="range"],
.sp-volume input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  outline: none;
  cursor: pointer;
  accent-color: var(--red);
}

.sp-progress-row input[type="range"] {
  flex: 1;
}

.sp-progress-row input[type="range"]::-webkit-slider-thumb,
.sp-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  cursor: pointer;
}

.sp-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sp-transport {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-ctrl-btn {
  background: transparent;
  border: none;
  color: #f3c6ce;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, transform 0.15s;
}

.sp-ctrl-btn:hover {
  color: var(--red);
  transform: scale(1.1);
}

.sp-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4143a, #9f1239);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(212, 20, 58, 0.5);
  transition: transform 0.15s, box-shadow 0.15s;
}

.sp-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 22px rgba(212, 20, 58, 0.8);
}

.sp-volume {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sp-volume input[type="range"] {
  width: 68px;
}

.sp-tracklist {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 7px;
  border-top: 1px solid rgba(212, 20, 58, 0.16);
}

.sp-track-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 7px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  color: #f3c6ce;
  transition: background 0.15s;
}

.sp-track-item:hover {
  background: rgba(212, 20, 58, 0.14);
}

.sp-track-item.active {
  background: rgba(212, 20, 58, 0.24);
  color: #fff;
  font-weight: 700;
}

.sp-track-item img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.sp-track-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.toast {
  background: #140308;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  color: #fff;
  padding: 11px 15px;
  border-radius: 5px;
  box-shadow: 0 8px 25px rgba(212, 20, 58, 0.3);
  font-size: 0.84rem;
  font-weight: 600;
  animation: viewSmoothEnter 0.25s ease both;
}

/* FOOTER */
.site-footer {
  background: rgba(6, 1, 3, 0.92);
  border-top: 1px solid var(--border);
  padding: 26px 0;
  margin-top: 30px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand p {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--red);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

@media (max-width: 1024px) {
  .showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .main-portal,
  .admin-layout,
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box {
    max-width: 100%;
  }
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-card {
    grid-template-columns: 1fr;
  }
  .detail-hero-inner,
  .profile-avatar-editor {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }
  .sysreq-grid, .download-links-stack, .form-row-2, .form-row-4 {
    grid-template-columns: 1fr;
  }
  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .link-edit-row {
    grid-template-columns: 1fr;
  }
}
