/* ---- Düzenleme: sade eğitim sayfası ---- */
/* Rozet vitrini: 48 rozet küçük karolar, 12'şerli sıra */
#badgesGrid.badge-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.showcase-tile {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  color: inherit;
  cursor: pointer;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.showcase-tile.earned {
  border-color: var(--tile-color);
  background: color-mix(in srgb, var(--tile-color) 14%, var(--bg-card));
}
.showcase-tile.locked { opacity: 0.35; filter: grayscale(1); }
.showcase-tile:hover, .showcase-tile:focus-visible { transform: translateY(-2px); outline: none; opacity: 1; }
.showcase-tile.locked:hover, .showcase-tile.locked:focus-visible { opacity: 0.6; }

/* Eğitmen / atama etiketi (kurs kartı, detay, yönetim) */
.instructor-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 12px;
  border: 1px solid transparent;
  line-height: 1.5;
  max-width: 100%;
}

.instructor-tag i {
  font-size: 0.72em;
}

/* Ders ön izleme rozeti ve benzeri küçük etiketler için ortak satır */
.badge-guest-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
  padding: 0.9rem 1.1rem;
  border: 1px dashed rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(245, 158, 11, 0.06));
}

.badge-guest-cta p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.badge-guest-cta strong { color: #fff; }
.badge-showcase-tip {
  display: none;
  position: fixed;
  z-index: 9999;
  max-width: 260px;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-secondary);
  pointer-events: none;
}
.badge-showcase-tip strong { display: block; color: #fff; font-size: 0.9rem; margin-bottom: 2px; }
.badge-showcase-tip em { display: block; font-style: normal; color: var(--text-muted); margin-top: 4px; }
.badge-showcase-tip small { display: block; color: var(--accent-gold); margin-top: 2px; font-weight: 700; }
#badgesSection .badges-sub-title, #achievementsGrid { display: none !important; }
#badgesSection .catalog-section-header { margin-bottom: 0.6rem; }
/* Arama kutusu: koyu tema */
.catalog-search-row input {
  background: var(--bg-card);
  color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
}
.catalog-search-row input::placeholder { color: var(--text-muted); }
.catalog-search-row input:focus { border-color: var(--primary); }
.catalog-search-row input::-webkit-search-cancel-button { filter: invert(0.7); }
/* Seviye ilerleme çubuğu */
.level-bar { width: 140px; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.1); margin-top: 6px; overflow: hidden; }
.level-bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--primary), #38bdf8); transition: width 0.4s ease; }
/* Eğitim arama kutusu */
.catalog-search-row {
  position: relative;
  margin: 0 0 1rem;
  max-width: 420px;
}
.catalog-search-row i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}
.catalog-search-row input {
  width: 100%;
  padding: 0.55rem 0.85rem 0.55rem 2.3rem;
  box-sizing: border-box;
}
.search-hidden { display: none !important; }
/* ==================== GAMEUP TÜRKİYE SADE DERS EKRANI TASARIMI ==================== */
#coursePlayerView .player-nav-bar.gameup-breadcrumb-bar {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  padding: 1.25rem 0 0.5rem !important;
  margin: 0 auto !important;
}
.gameup-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: #94a3b8;
}
.gameup-breadcrumb-link {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  padding: 0;
  transition: color 0.2s ease;
}
.gameup-breadcrumb-link:hover {
  color: #fff;
  text-decoration: underline;
}
.gameup-breadcrumb-sep {
  color: #64748b;
  font-size: 0.85rem;
  user-select: none;
}
.gameup-breadcrumb-current {
  background: none;
  border: none;
  color: #f8fafc;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  transition: color 0.2s ease;
}
.gameup-breadcrumb-current:hover {
  color: #a5b4fc;
}
.gameup-breadcrumb-caret {
  font-size: 0.65rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

#coursePlayerView .course-workspace {
  display: block !important;
  max-width: 1140px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 1.5rem 3.5rem !important;
  box-sizing: border-box !important;
}
#coursePlayerView .video-viewer-column {
  width: 100% !important;
  max-width: none !important;
}

/* Ders Başlık Alanı (Geniş, Ferah & GameUP Türkiye Stili) */
#coursePlayerView .lesson-head {
  text-align: center;
  margin: 1.5rem auto 2.1rem;
  max-width: 1020px;
}
#coursePlayerView .lesson-head-count {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  letter-spacing: 0.02em;
}
#coursePlayerView .lesson-head-count:empty { display: none; }
#coursePlayerView .lesson-head h2 {
  font-size: clamp(1.85rem, 2.7vw, 2.45rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 0.65rem;
  color: #ffffff;
}
#coursePlayerView .lesson-head p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0 auto;
  max-width: 860px;
}

/* Video Kutusu */
#coursePlayerView .video-embed-box {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #030712;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  position: relative;
  aspect-ratio: 16 / 9;
}
#coursePlayerView .video-embed-box iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Video Altı Düğmeler: Eğitimime Dön • Önceki Ders • Müfredat • Tamamla ve Devam Et */
.gameup-action-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  margin: 1.5rem 0 2.25rem;
  flex-wrap: wrap;
}
.gameup-actions-left,
.gameup-actions-center,
.gameup-actions-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.gameup-btn-back,
.gameup-btn-nav {
  background: #0b111e;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  padding: 0.65rem 1.25rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: inherit;
}
.gameup-btn-back:hover,
.gameup-btn-nav:hover {
  background: #131c2e;
  border-color: rgba(99, 102, 241, 0.45);
  color: #fff;
  transform: translateY(-1px);
}
.gameup-btn-curriculum {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.08);
  color: #c7d2fe;
}
.gameup-btn-curriculum:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.6);
  color: #fff;
}
.gameup-btn-toggle-check {
  border-color: rgba(255, 255, 255, 0.14);
}
.gameup-btn-toggle-check.is-completed {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
  color: #4ade80;
}
.gameup-btn-toggle-check.is-completed:hover {
  border-color: rgba(239, 68, 68, 0.45);
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
}

/* Müfredat ve Liste Onay Tiki Düğmeleri (Tıklanınca Tamamlanmadı Yapabilme) */
.status-check-btn {
  background: none;
  border: none;
  padding: 4px;
  margin: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  font-size: 1.05rem;
  line-height: 1;
}
.status-check-btn.is-completed {
  color: #10b981;
}
.status-check-btn.is-completed:hover {
  transform: scale(1.22);
  color: #ef4444;
}
.status-check-btn.is-incomplete {
  color: #64748b;
}
.status-check-btn.is-incomplete:hover {
  transform: scale(1.22);
  color: #10b981;
}
.gameup-btn-nav:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  transform: none !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #64748b !important;
}
.gameup-btn-complete {
  background: linear-gradient(135deg, var(--primary, #6366f1) 0%, #8b5cf6 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 0.65rem 1.45rem;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  font-family: inherit;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}
.gameup-btn-complete:hover {
  background: linear-gradient(135deg, var(--primary-hover, #4f46e5) 0%, #7c3aed 100%);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.55);
  transform: translateY(-1px);
}
.gameup-btn-complete:active {
  transform: translateY(0);
}

/* ==================== BU DERSİN ÖDEVİ KARTI (GAMEUP TÜRKİYE) ==================== */
.gameup-homework-card {
  background: #08111e;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 14px;
  padding: 2rem 2.25rem;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
}
.gameup-hw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.gameup-hw-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}
.gameup-hw-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.gameup-hw-status-pill.is-submitted {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.45);
  color: #4ade80;
  font-weight: 700;
}
.gameup-hw-subnote {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
  margin: 0 0 1.15rem 0;
}
.gameup-hw-intro {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 1.35rem 0;
}
.gameup-hw-steps {
  background: rgba(3, 7, 18, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.35rem;
}
.gameup-hw-topic {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.gameup-hw-custom-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0;
}
.gameup-hw-step-item {
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 0.55rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.gameup-hw-step-item:last-child {
  margin-bottom: 0;
}
.gameup-hw-step-item .step-num {
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}
.gameup-hw-outro {
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0 0 1.5rem 0;
}

/* Google Drive Giriş Alanı */
.gameup-drive-box {
  margin-top: 0.5rem;
}
.gameup-drive-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}
.gameup-drive-input {
  width: 100%;
  box-sizing: border-box;
  background: #050a14;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}
.gameup-drive-input:focus {
  border-color: var(--primary, #6366f1);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
  background: #070e1c;
}
.gameup-drive-help {
  color: #64748b;
  font-size: 0.76rem;
  line-height: 1.45;
  margin: 0.5rem 0 1.25rem 0;
}
.gameup-drive-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.gameup-btn-submit {
  background: linear-gradient(135deg, var(--primary, #6366f1) 0%, #8b5cf6 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}
.gameup-btn-submit:hover {
  background: linear-gradient(135deg, var(--primary-hover, #4f46e5) 0%, #7c3aed 100%);
  box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}
.gameup-btn-open-link {
  color: #a5b4fc;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.55rem 0.95rem;
  border-radius: 7px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}
.gameup-btn-open-link:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.65);
  color: #fff;
}

/* Müfredat Çekmecesi */
#coursePlayerView .curriculum-column {
  position: fixed !important; top: 0; right: 0; bottom: 0; z-index: 1001;
  width: min(420px, 92vw) !important; max-width: none !important; margin: 0 !important;
  overflow-y: auto; border-radius: 0; border-left: 1px solid var(--border-color);
  background: var(--bg-card); box-shadow: -12px 0 40px rgba(0,0,0,0.5);
  transform: translateX(105%); transition: transform 0.25s ease; visibility: hidden;
}
#coursePlayerView .curriculum-column.open { transform: translateX(0); visibility: visible; }
.curriculum-backdrop { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.55); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
.curriculum-backdrop.open { opacity: 1; pointer-events: auto; }

/* "Yan Görünüm": müfredat çekmece yerine ana alanın yanında, içeriği iterek durur. */
#btnCurriculumInline { display: none; }
@media (min-width: 1025px) {
  #btnCurriculumInline { display: inline-flex; }
  #btnCurriculumInline.is-active { background: rgba(99, 102, 241, 0.22); border-color: rgba(99, 102, 241, 0.65); color: #fff; }

  #coursePlayerView.curriculum-inline .curriculum-column {
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    width: auto !important;
    max-height: calc(100vh - 160px);
    box-shadow: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-card);
  }
  #coursePlayerView.curriculum-inline .curriculum-backdrop { display: none; }
  #coursePlayerView.curriculum-inline .drawer-close-btn { display: none; }
}
.drawer-close-btn { background: none; border: none; color: var(--text-muted); font-size: 1.1rem; cursor: pointer; padding: 0.25rem 0.5rem; }
.drawer-close-btn:hover { color: #fff; }
#gamifyHudContainer { display: none !important; }
/* Eğitim kataloğu: üst profil kartı kompakt (haftalık takvim üst bardaki seri menüsünde zaten var) */
#courseCatalogView .gamify-profile-card {
  margin-top: 0.75rem !important;
  margin-bottom: 1.25rem !important;
  padding: 0.6rem 1rem !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
#courseCatalogView .gamify-profile-card > div:first-child { flex: 0 1 auto; }
#courseCatalogView .gamify-profile-card h4 { font-size: 1rem !important; }
#courseCatalogView #catalogSpecializationVal {
  border-top: none !important;
  flex: 1 1 auto;
  justify-content: flex-end !important;
  font-size: 0.8rem !important;
}
#courseCatalogView .spec-hint-pill { display: none !important; }
#courseCatalogView .streak-weekly-card { display: none !important; }
#courseCatalogView #catalogSpecializationVal {
  margin-top: 0.6rem !important;
  padding-top: 0.6rem !important;
}
/* Rozetler: en altta, varsayılan kapalı; başlığa tıklayınca açılır */
#badgesSection { margin: 0 0 1.5rem; }
#badgesSection .catalog-section-header { cursor: pointer; user-select: none; }
#badgesCountBadge::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  margin-left: 0.55rem;
  display: inline-block;
  transition: transform 0.2s ease;
}
#badgesSection:not(.badges-collapsed) #badgesCountBadge::after { transform: rotate(180deg); }
#badgesSection.badges-collapsed #badgesGrid,
#badgesSection.badges-collapsed .badges-sub-title,
#badgesSection.badges-collapsed #achievementsGrid { display: none !important; }
/* Yönetim masası: sekmeler sığmazsa alt satıra geçer (kaydırma çubuğu yok) */
.admin-subtabs {
  flex-wrap: wrap !important;
  overflow: visible !important;
  gap: 0.5rem;
  padding-bottom: 0 !important;
}
.admin-subtab-btn {
  flex: 0 1 auto;
  white-space: nowrap;
}
/* Yönetim masası: iki sütunlu formlar dar ekranda tek sütun */
@media (max-width: 800px) {
  .u-69.u-69,
  .u-78.u-78,
  .u-86.u-86,
  .u-154.u-154,
  #trackHeartsToggleGrid {
    grid-template-columns: 1fr !important;
  }
}
/* Seri alevi / noktası ve çevresi hareketsiz: küçülüp büyüme yok */
.streak-fire-icon,
.streak-big-flame,
.streak-dot,
.nav-streak-badge,
.nav-streak-wrapper *,
.streak-dropdown *,
.streak-weekly-card *,
.gamify-hud-container *,
.gamify-profile-card * {
  animation: none !important;
}
.streak-dot::before, .streak-dot::after,
.streak-fire-icon::before, .streak-fire-icon::after,
.nav-streak-badge::before, .nav-streak-badge::after {
  animation: none !important;
}

/* Eğitim kartı: aktif etiketi + üç nokta menüsü */
.card-head-right { display: flex; align-items: center; gap: 0.4rem; }
.active-pill { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; font-weight: 700; color: #22c55e; }
.active-pill i { font-size: 0.45rem; }
.card-menu { position: relative; }
.card-menu-btn { background: transparent; border: 1px solid transparent; color: var(--text-muted); width: 30px; height: 30px; border-radius: 8px; cursor: pointer; }
.card-menu-btn:hover, .card-menu.open .card-menu-btn { background: var(--bg-elevated); color: #fff; }
.card-menu-list { display: none; position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 210px; padding: 0.3rem; border-radius: 10px; background: var(--bg-elevated); border: 1px solid var(--border-color); box-shadow: 0 8px 24px rgba(0,0,0,0.45); }
.card-menu.open .card-menu-list { display: block; }
.card-menu-list button { display: flex; align-items: center; gap: 0.5rem; width: 100%; padding: 0.55rem 0.7rem; border: none; background: transparent; color: var(--text-secondary); font: inherit; font-size: 0.85rem; text-align: left; border-radius: 7px; cursor: pointer; }
.card-menu-list button:hover { background: var(--bg-card-hover); color: #fff; }

/* Kart başlık satırı: etiket solda, üç nokta HER ZAMAN sağ üstte (alt satıra düşmez) */
.catalog-card-body > div:first-child {
  flex-wrap: nowrap !important;
  align-items: center;
}
.catalog-card-body > div:first-child .track-tag {
  min-width: 0;
  max-width: calc(100% - 44px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-head-right { flex: 0 0 auto; margin-left: auto; }
.card-menu-list { right: 0; left: auto; }

/* ==================== OYUNLARIMIZ VİTRİNİ (STEAM & ITCH.IO STİLİ) ==================== */
.games-showcase-hero {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.95) 0%, rgba(15, 23, 42, 0.95) 60%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
}
.games-showcase-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.games-hero-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.games-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.games-showcase-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.02em;
}
.games-showcase-hero p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 0 1.25rem;
}
.games-hero-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.games-stat-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.games-stat-chip strong {
  color: #fff;
  font-size: 1.05rem;
}

/* Oyun Filtreleme ve Arama Çubuğu */
.games-filter-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}
.games-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.games-category-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.game-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.game-filter-pill:hover {
  background: var(--bg-elevated);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.game-filter-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.35);
}
.games-search-box {
  position: relative;
  min-width: 280px;
  flex: 0 1 340px;
}
.games-search-box i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}
.games-search-box input {
  width: 100%;
  padding: 0.55rem 0.85rem 0.55rem 2.3rem;
  box-sizing: border-box;
  background: var(--bg-card);
  color: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.games-search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

/* Oyun Kartları Izgarası */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}
@media (max-width: 600px) {
  .games-grid {
    grid-template-columns: 1fr;
  }
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  position: relative;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45), 0 0 20px rgba(56, 189, 248, 0.15);
}

/* Oyun Kapsül / Görsel Alanı */
.game-capsule-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
  cursor: pointer;
}
.game-capsule-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.game-card:hover .game-capsule-img {
  transform: scale(1.04);
}
.game-capsule-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 40%, rgba(15, 23, 42, 0.95) 100%);
  pointer-events: none;
}
.game-floating-badge {
  position: absolute;
  top: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.game-badge-engine {
  left: 0.85rem;
  background: rgba(15, 23, 42, 0.85);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.game-badge-status {
  right: 0.85rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
}
.game-badge-status.steam {
  background: rgba(42, 71, 94, 0.85);
  color: #66c0f4;
  border-color: rgba(102, 192, 244, 0.5);
}
.game-badge-status.itch {
  background: rgba(250, 92, 92, 0.25);
  color: #ff7b7b;
  border-color: rgba(250, 92, 92, 0.5);
}
.game-badge-status.award {
  background: rgba(245, 158, 11, 0.25);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.5);
}

/* Ekran Görüntüleri Önizleme Şeridi (Mini Thumbnails Strip) */
.game-thumbs-strip {
  display: flex;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow-x: auto;
}
.game-thumb-item {
  width: 58px;
  height: 34px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  flex: 0 0 auto;
  opacity: 0.75;
  transition: all 0.2s ease;
}
.game-thumb-item:hover,
.game-thumb-item.active {
  opacity: 1;
  border-color: var(--primary);
  transform: scale(1.08);
}
.game-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Kart İçeriği & Detaylar */
.game-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.game-card-header {
  margin-bottom: 0.6rem;
}
.game-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.game-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.game-team-name {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
}
.game-genre-text {
  font-size: 0.8rem;
  color: #38bdf8;
  font-weight: 600;
  margin-top: 0.35rem;
}
.game-desc-p {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0.6rem 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Öne Çıkan Özellikler */
.game-features-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.game-feature-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.2rem 0.55rem;
  font-size: 0.74rem;
  color: #cbd5e1;
}

/* Buton ve Bağlantı Grubu */
.game-links-panel {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.game-primary-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
@media (max-width: 440px) {
  .game-primary-links {
    grid-template-columns: 1fr;
  }
}
.game-secondary-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Steam, itch.io ve GitHub Butonları */
.btn-game-steam {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #171a21 0%, #1b2838 100%);
  color: #c7d5e0 !important;
  border: 1px solid #2a475e;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-game-steam:hover {
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
  color: #fff !important;
  border-color: #66c0f4;
  box-shadow: 0 0 14px rgba(102, 192, 244, 0.4);
}
.btn-game-steam i {
  font-size: 1.05rem;
  color: #66c0f4;
}

.btn-game-itch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #fa5c5c 0%, #e03b3b 100%);
  color: #fff !important;
  border: 1px solid #ff7b7b;
  border-radius: 8px;
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-game-itch:hover {
  background: linear-gradient(135deg, #ff6868 0%, #ee4747 100%);
  box-shadow: 0 0 14px rgba(250, 92, 92, 0.5);
  transform: translateY(-1px);
}
.btn-game-itch i {
  font-size: 1rem;
}

.btn-game-github {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(36, 41, 46, 0.8);
  color: #e6edf3 !important;
  border: 1px solid #444c56;
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  flex: 1;
  transition: all 0.2s ease;
}
.btn-game-github:hover {
  background: #2f363d;
  color: #fff !important;
  border-color: #8b949e;
}

.btn-game-webplay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  flex: 1;
  transition: all 0.2s ease;
}
.btn-game-webplay:hover {
  background: rgba(16, 185, 129, 0.3);
  color: #fff !important;
  border-color: #34d399;
}

.btn-game-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-game-detail:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Oyun Detay & Ekran Görüntüsü Büyük Modalı */
.game-modal-dialog {
  max-width: 860px;
  width: 95%;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* Kapatma düğmesi kaydırırken kaybolmasın; başlık ise normal akışta kalsın */
.game-modal-dialog .custom-modal-header {
  position: static;
}

.game-modal-floating-close {
  position: sticky;
  top: 0.6rem;
  align-self: flex-end;
  margin-right: 0.6rem;
  margin-bottom: -2.4rem;
  z-index: 6;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(11, 15, 25, 0.85);
  color: #e2e8f0;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.game-modal-floating-close:hover {
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
}

/* Ekran görüntüsü göstergeleri (küçük yuvarlaklar) */
.game-modal-thumbs-row {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  padding: 0.6rem 0 0.2rem;
  flex-wrap: wrap;
}

.game-modal-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.game-modal-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

.game-modal-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.game-modal-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 48vh;
  flex: 0 0 auto;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-modal-active-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.game-gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}
.game-gallery-nav-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.game-gallery-prev { left: 1rem; }
.game-gallery-next { right: 1rem; }

.game-modal-thumbs-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}
.game-modal-thumb {
  width: 72px;
  height: 42px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex: 0 0 auto;
  opacity: 0.6;
  transition: all 0.2s ease;
}
.game-modal-thumb.active,
.game-modal-thumb:hover {
  opacity: 1;
  border-color: var(--primary);
}
.game-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ana Sayfa / Etkinlikler Bölümündeki Oyun Öne Çıkan Kartı */
.events-games-preview-box {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.egp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.egp-header h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.egp-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.egp-item {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  display: flex;
  gap: 0.85rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.egp-item:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.4);
}
.egp-item-cover {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  flex: 0 0 auto;
  background: #0f172a;
}
.egp-item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.egp-item-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.egp-item-title {
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.egp-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.egp-item-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.egp-link-btn {
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  text-decoration: none !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==================== ÖNE ÇIKAN OYUN SPOTLIGHT (BÜYÜK BAŞLIK & AÇIKLAMA) ==================== */
.spotlight-game-card {
  background: linear-gradient(135deg, rgba(20, 24, 38, 0.98) 0%, rgba(15, 23, 42, 0.98) 60%, rgba(30, 41, 59, 0.92) 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 1.75rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.spotlight-game-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.2);
}
@media (max-width: 960px) {
  .spotlight-game-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.25rem;
  }
}

.spotlight-visual-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.spotlight-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.spotlight-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.spotlight-cover-wrap:hover .spotlight-cover-img {
  transform: scale(1.05);
}
.spotlight-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(15, 23, 42, 0.9) 100%);
  pointer-events: none;
}

.spotlight-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spotlight-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.spotlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.spotlight-team {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Oyunun Büyük Başlığı */
.spotlight-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.3rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
@media (max-width: 600px) {
  .spotlight-title {
    font-size: 1.45rem;
  }
}
.spotlight-genre {
  font-size: 0.88rem;
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Altındaki Açıklama */
.spotlight-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1.25rem;
}

.spotlight-links-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Oyun Seçici Sekmeler (Varsa diğer oyunlara hızlı geçiş) */
.spotlight-switcher-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.spotlight-switcher-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.spotlight-switcher-btn:hover {
  background: var(--bg-elevated);
  color: #fff;
}
.spotlight-switcher-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ==================== OYUNU YAPANLAR & GELİŞTİRİCİ ROLLERİ (CREDITS) ==================== */
.spotlight-credits-wrap {
  margin: 0.85rem 0 0.5rem;
  padding: 0.75rem 0.95rem;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 12px;
}
.spotlight-credits-title {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.spotlight-credits-title i {
  color: var(--primary);
}
.spotlight-credits-list,
.game-credits-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.game-credit-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.7rem;
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  font-size: 0.78rem;
  color: #f1f5f9;
  transition: all 0.2s ease;
}
.game-credit-chip:hover {
  background: rgba(51, 65, 85, 0.95);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}
.game-credit-avatar-icon {
  color: var(--primary);
  font-size: 0.78rem;
}
.game-credit-name {
  font-weight: 700;
  color: #ffffff;
}
.game-credit-role {
  color: #38bdf8;
  font-size: 0.74rem;
  padding-left: 0.35rem;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.game-card-credits-wrap {
  margin: 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.game-card-credits-title {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ==================== OYUN YÖNETİMİ: GÖRSEL SÜRÜKLE-BIRAK & ÖĞRENCİ EKLEME ==================== */
.image-dropzone {
  border: 2px dashed rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.6);
  border-radius: 12px;
  padding: 1.4rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.image-dropzone:hover,
.image-dropzone.dragover {
  border-color: #38bdf8;
  background: rgba(30, 41, 59, 0.85);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
  transform: scale(1.005);
}
.dropzone-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  pointer-events: none;
}
.dropzone-icon {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
  transition: transform 0.2s ease;
}
.image-dropzone:hover .dropzone-icon {
  transform: translateY(-3px);
}
.dropzone-text {
  font-size: 0.88rem;
  color: #f1f5f9;
  font-weight: 600;
}
.dropzone-preview {
  position: relative;
  width: 100%;
  max-height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
}
.dropzone-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.preview-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  padding: 4px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}
.screenshots-thumb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.screenshot-thumb-item {
  position: relative;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0f172a;
  transition: all 0.2s ease;
}
.screenshot-thumb-item:hover {
  border-color: #38bdf8;
  transform: scale(1.02);
}
.screenshot-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.screenshot-thumb-item .btn-remove-thumb {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.85);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  transition: background 0.2s ease;
}
.screenshot-thumb-item .btn-remove-thumb:hover {
  background: #ef4444;
  transform: scale(1.1);
}
.input-url-toggle-row {
  margin-top: 0.4rem;
  display: flex;
  justify-content: flex-end;
}
.btn-text-link {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 2px 4px;
  transition: color 0.2s ease;
}
.btn-text-link:hover {
  color: #38bdf8;
}

/* ==================== ÖĞRENCİ EKLEME (CREDITS BUILDER) ==================== */
.credits-builder-box {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 0.35rem;
}
.credit-input-controls {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 0.5rem;
  align-items: center;
}
@media (max-width: 600px) {
  .credit-input-controls {
    grid-template-columns: 1fr;
  }
}
.credit-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
  min-height: 38px;
  padding: 0.5rem;
  background: rgba(2, 6, 23, 0.4);
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}
.credit-chip-admin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}
.credit-chip-admin:hover {
  border-color: #38bdf8;
}
.credit-chip-admin .student-name {
  font-weight: 700;
  color: #fff;
}
.credit-chip-admin .student-role {
  color: #38bdf8;
  font-size: 0.74rem;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 0.4rem;
}
.credit-chip-admin .btn-delete-credit {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 0 0 0 0.3rem;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  transition: transform 0.15s ease;
}
.credit-chip-admin .btn-delete-credit:hover {
  transform: scale(1.2);
}
.credits-empty-hint {
  font-size: 0.78rem;
  color: #64748b;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
/* ==================== GÖREV İMECE & YARDIM TEKLİFİ DURUMLARI ==================== */
.task-help-callout-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
}
.th-callout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.78rem;
}
.th-callout-msg {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.th-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 6px;
}
.btn-xs-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.72rem;
  padding: 0;
  transition: color 0.15s ease;
}
.btn-xs-close:hover {
  color: #ef4444;
}

.task-help-offers-box {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(15, 23, 42, 0.4);
  padding: 10px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}
.th-offers-head {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 5px;
}
.task-offer-item {
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}
.task-offer-item.pending {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
}
.task-offer-item.accepted {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #a7f3d0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}
.task-offer-item.declined {
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
}
.task-offer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.offer-user-name {
  font-size: 0.8rem;
  color: #f1f5f9;
}
.task-offer-msg {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
  line-height: 1.35;
}
.task-offer-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.badge-status-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 7px;
  border-radius: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.task-my-offer-banner {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.task-my-offer-banner.pending {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fde68a;
}
.task-my-offer-banner.accepted {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}
.task-my-offer-banner.declined {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-muted);
}

/* ==================== 🎮 OYUN GELİŞTİRİCİ KİMLİĞİ & KÜNYE AYARLARI ==================== */
.dev-profile-settings-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.65), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  margin: 1.2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}
.dev-profile-settings-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #38bdf8, #a855f7);
}
.dev-profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.dev-profile-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.dev-profile-title h4 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
}
.dev-badge-hint {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 14px;
  letter-spacing: 0.03em;
}
.dev-profile-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.form-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 0.5rem;
}

/* ==================== 🎮 YER ALDIĞIM KULÜP OYUNLARI & PROJELERİM ==================== */
.my-contributed-games-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.35rem;
  margin-top: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.my-contributed-games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.my-contributed-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.1rem;
}
.my-game-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.my-game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.my-game-cover-wrap {
  position: relative;
  width: 100%;
  height: 135px;
  overflow: hidden;
  background: #0b0f19;
}
.my-game-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.my-game-card:hover .my-game-cover {
  transform: scale(1.04);
}
.my-game-engine-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.my-game-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.my-game-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}
.my-game-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}
.my-game-genre {
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.my-game-role-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
  width: fit-content;
}
.my-game-role-icon {
  color: #818cf8;
  font-size: 0.9rem;
}
.my-game-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}
.my-game-status-tag {
  color: #fbbf24;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
}
.my-game-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  flex-wrap: wrap;
}
.btn-play-pill {
  background: linear-gradient(135deg, #10b981, #059669) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
}
.btn-play-pill:hover {
  background: linear-gradient(135deg, #059669, #047857) !important;
  transform: translateY(-1px);
}
.btn-remove-my-credit {
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 0.8rem;
  cursor: pointer;
  margin-left: auto;
  transition: all 0.2s ease;
}
.btn-remove-my-credit:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.6);
}
.my-games-empty-state {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--bg-elevated);
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  grid-column: 1 / -1;
}
.my-games-empty-icon {
  font-size: 2.4rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  opacity: 0.65;
}
.my-games-empty-state h4 {
  color: #fff;
  font-size: 1.05rem;
  margin: 0 0 0.4rem 0;
}
.my-games-empty-state p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  max-width: 520px;
  margin: 0 auto 1.1rem auto;
  line-height: 1.5;
}

/* ==================== 🪪 GELİŞTİRİCİ OTOMATİK MİNİ KARTVİZİT (SEÇENEK 2) ==================== */
#devMiniCardModal {
  z-index: 10010;
}
.dev-mini-card-dialog {
  max-width: 440px !important;
  width: 90% !important;
  background: linear-gradient(145deg, rgba(24, 30, 48, 0.98), rgba(15, 20, 32, 0.98)) !important;
  border: 1px solid rgba(99, 102, 241, 0.35) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65), 0 0 24px rgba(99, 102, 241, 0.2) !important;
  border-radius: 14px !important;
  overflow: hidden;
  animation: miniCardPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes miniCardPop {
  0% { opacity: 0; transform: scale(0.92) translateY(8px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.dev-card-profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dev-card-avatar-wrap {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.8);
  border: 2px solid rgba(99, 102, 241, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #38bdf8;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.dev-card-avatar-wrap svg {
  width: 100%;
  height: 100%;
}
.dev-card-identity {
  flex: 1;
  min-width: 0;
}
.dev-card-name {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dev-card-subinfo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.dev-card-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #c7d2fe;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.dev-card-tag {
  color: #94a3b8;
  font-size: 0.74rem;
  font-family: monospace;
}
.dev-card-bio {
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-style: italic;
  line-height: 1.45;
  margin: 0 0 0.85rem 0;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-left: 3px solid var(--primary);
  border-radius: 4px;
}
.dev-card-links {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.dev-card-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(250, 92, 92, 0.12);
  border: 1px solid rgba(250, 92, 92, 0.3);
  color: #fca5a5;
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.dev-card-link-btn:hover {
  background: rgba(250, 92, 92, 0.25);
  color: #fff;
  border-color: rgba(250, 92, 92, 0.6);
}

.dev-card-games-section {
  background: rgba(11, 15, 25, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.75rem;
}
.dev-card-games-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}
.dev-card-games-header h5 {
  margin: 0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.dev-card-games-count {
  font-size: 0.72rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 2px 7px;
  border-radius: 10px;
  font-weight: 700;
}
.dev-card-games-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 2px;
}
.dev-card-game-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.55rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.15s ease;
}
.dev-card-game-item:hover {
  background: rgba(51, 65, 85, 0.65);
  border-color: rgba(99, 102, 241, 0.3);
}
.dev-card-game-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #000;
}
.dev-card-game-meta {
  flex: 1;
  min-width: 0;
}
.dev-card-game-title {
  margin: 0 0 2px 0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dev-card-game-role-badge {
  font-size: 0.7rem;
  color: #818cf8;
  display: flex;
  align-items: center;
  gap: 4px;
}
.dev-card-game-engine {
  font-size: 0.68rem;
  color: var(--text-muted);
}
.dev-card-game-btns {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.btn-xs {
  padding: 3px 7px !important;
  font-size: 0.72rem !important;
  border-radius: 5px !important;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}
.dev-card-no-games {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.game-credit-chip.clickable {
  cursor: pointer;
  border: 1px solid rgba(56, 189, 248, 0.25);
  font: inherit;
  font-size: 0.78rem;
  color: #f1f5f9;
  text-decoration: none;
  background: rgba(30, 41, 59, 0.85);
  transition: all 0.18s ease;
}
.game-credit-chip.clickable:hover {
  background: rgba(51, 65, 85, 0.95);
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.35);
  transform: translateY(-2px);
}
.game-credit-chip.clickable:active {
  transform: scale(0.97);
}
/* ==================== ERÜOGK HUB V3.0 REFINEMENTS ==================== */

/* Sürüm Rozeti */
.brand-version-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(236, 72, 153, 0.25));
  border: 1px solid rgba(99, 102, 241, 0.45);
  color: #c7d2fe;
  margin-left: 6px;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

/* Üst Menü Tekil Genel Sohbet Butonu (WhatsApp) */
.nav-social-group.single-chat {
  display: flex;
  align-items: center;
}
.nav-chat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 20px;
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}
.nav-chat-pill i {
  font-size: 1.05rem;
  color: #25d366;
}
.nav-chat-pill:hover {
  background: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.65);
  color: #ffffff;
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

/* Duyurular - Tek Kart Kulüp Etkinlikleri Vitrini */
.events-meetings-hub-section.single-card {
  grid-template-columns: 1fr !important;
  max-width: 100%;
}

/* Pratik Proje & Uygulama Adımı (Tavsiye & Drive Linki) */
.practical-step-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(16, 185, 129, 0.04)) !important;
  border: 1px solid rgba(99, 102, 241, 0.3) !important;
  border-radius: var(--radius-md) !important;
  padding: 1.25rem 1.4rem !important;
  margin-top: 1rem !important;
}
.practical-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.practical-step-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.practical-card-h3 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 0;
  font-weight: 700;
}
.practical-card-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}
.practical-step-heading {
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.practical-step-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
}
.lesson-drive-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}
.lesson-drive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lesson-drive-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}
.lesson-drive-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.lesson-drive-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.drive-input-wrapper {
  flex: 1;
  min-width: 240px;
  position: relative;
}
.drive-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.82rem;
  pointer-events: none;
}
.drive-url-input {
  width: 100%;
  padding: 0.55rem 0.8rem 0.55rem 2.2rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.85rem;
  font-family: inherit;
  transition: all 0.2s ease;
}
.drive-url-input:focus {
  border-color: var(--primary);
  outline: none;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.3);
}
.drive-save-feedback {
  font-size: 0.78rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.drive-save-feedback.success {
  color: #4ade80;
}
.drive-save-feedback.neutral {
  color: #94a3b8;
}
.practical-step-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.practical-step-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.practical-step-links {
  display: flex;
  gap: 0.5rem;
}

/* Ayarlar Güvenlik Bilgilendirme Kutusu */
.settings-security-tip-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(56, 189, 248, 0.04));
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  max-width: 520px;
}
.security-tip-header {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.security-tip-icon {
  color: var(--primary);
}
.security-tip-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  line-height: 1.5;
}

/* ==================== GLOBAL KULÜP ALT BİLGİ (FOOTER) ==================== */
.hub-footer {
  background: #07090e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
.hub-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), #ec4899, #38bdf8, transparent);
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 3rem;
}
.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.4));
}
.footer-brand-title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  display: flex;
  align-items: center;
}
.footer-brand-sub {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: block;
}
.footer-desc {
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.74rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-col-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links-list li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.footer-links-list li a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-links-list li a i {
  color: var(--primary);
  font-size: 0.82rem;
  width: 16px;
}

.footer-social-sub {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}
.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.footer-social-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: all 0.25s ease;
}
.footer-social-card i {
  font-size: 1.4rem;
  transition: transform 0.25s ease;
}
.footer-social-card div strong {
  display: block;
  font-size: 0.84rem;
  color: #fff;
}
.footer-social-card div span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.footer-social-card.discord:hover {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.5);
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.25);
  transform: translateY(-2px);
}
.footer-social-card.discord i { color: #5865f2; }

.footer-social-card.whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.5);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
  transform: translateY(-2px);
}
.footer-social-card.whatsapp i { color: #25d366; }

.footer-social-card.instagram:hover {
  background: rgba(236, 72, 153, 0.15);
  border-color: rgba(236, 72, 153, 0.5);
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.25);
  transform: translateY(-2px);
}
.footer-social-card.instagram i { color: #e1306c; }

.footer-social-card.youtube:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.25);
  transform: translateY(-2px);
}
.footer-social-card.youtube i { color: #ff0000; }

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.25rem 1.5rem;
  background: rgba(0, 0, 0, 0.4);
}
.footer-bottom-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-engine-tag {
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.25rem;
  }
}

/* ==================== AYARLAR TOPLULUK & İLETİŞİM SEKMESİ ==================== */
.settings-community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.community-channel-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.community-channel-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.channel-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.channel-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.channel-icon-badge.discord {
  background: rgba(88, 101, 242, 0.15);
  color: #5865f2;
  border: 1px solid rgba(88, 101, 242, 0.3);
}
.channel-icon-badge.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}
.channel-icon-badge.instagram {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.3);
}
.channel-icon-badge.youtube {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.channel-live-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(88, 101, 242, 0.12);
  color: #a5b4fc;
  border: 1px solid rgba(88, 101, 242, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.channel-live-pill.green {
  background: rgba(37, 211, 102, 0.12);
  color: #4ade80;
  border-color: rgba(37, 211, 102, 0.3);
}
.channel-live-pill.pink {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  border-color: rgba(236, 72, 153, 0.3);
}
.channel-live-pill.red {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}
.channel-live-pill i {
  font-size: 0.55rem;
}

.channel-card-content h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.channel-card-content p {
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0 0 1.2rem;
}

.btn-channel-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn-channel-action.discord {
  background: #5865f2;
  color: #fff;
}
.btn-channel-action.discord:hover {
  background: #4752c4;
  box-shadow: 0 4px 14px rgba(88, 101, 242, 0.4);
}
.btn-channel-action.whatsapp {
  background: #25d366;
  color: #0b1e10;
}
.btn-channel-action.whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}
.btn-channel-action.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
}
.btn-channel-action.instagram:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.4);
}
.btn-channel-action.youtube {
  background: #ff0000;
  color: #fff;
}
.btn-channel-action.youtube:hover {
  background: #cc0000;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
}

.community-clubroom-box {
  margin-top: 1.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.clubroom-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  flex-shrink: 0;
}
.clubroom-details h4 {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.clubroom-details p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0 0 0.6rem;
}
.clubroom-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.78rem;
  color: #cbd5e1;
}
.clubroom-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==================== ENDÜSTRİ STANDARDI BEST PRACTICE STİLLERİ ==================== */

/* 1. Doğrudan İçeriğe Atla (Skip to Content - a11y) */
.skip-to-content {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: #2dd4bf;
  color: #042f2e;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  border-radius: 8px;
  z-index: 99999;
  text-decoration: none;
  transition: top 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.skip-to-content:focus {
  top: 1rem;
  outline: none;
}

/* 2. Erişilebilirlik: Modern Odak Göstergeleri (:focus-visible) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--primary, #6366f1) !important;
  outline-offset: 2px !important;
}

/* 3. Tek Tıkla Bağlantı Kopyalama Butonu */
.gameup-btn-copy-link {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #cbd5e1;
  padding: 0.55rem 0.95rem;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  font-family: inherit;
}
.gameup-btn-copy-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* 5. Akıllı Başa Dön Yüzen Düğmesi (Back to Top FAB) */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0b1320;
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #2dd4bf;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top-btn:hover {
  background: #2dd4bf;
  color: #042f2e;
  border-color: #2dd4bf;
  box-shadow: 0 8px 24px rgba(45, 212, 191, 0.4);
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .back-to-top-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* ========================================================
   Mobil & Android Uygulama Safe-Area ve Dokunmatik Desteği
   ======================================================== */
:root {
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
}

.navbar {
  padding-top: calc(0.5rem + var(--safe-area-top)) !important;
  padding-left: calc(1rem + var(--safe-area-left)) !important;
  padding-right: calc(1rem + var(--safe-area-right)) !important;
}

body {
  padding-bottom: var(--safe-area-bottom);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* Metin seçimi gereken alanlar serbest kalsın */
input, textarea, [contenteditable="true"], .lesson-notes-content, .announcement-card-body {
  user-select: text !important;
  -webkit-user-select: text !important;
}

/* Android mobil scroll akıcılığı */
html, body {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}


