/*
 * =========================================================
 * FILE: mod-theme/assets/css/main.css
 * =========================================================
 * ModHub Temiz, Modern & Profesyonel Mod Kataloğu Stilleri
 */

/* Tipografi & Temel */
*, *::before, *::after {
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

body {
  background-color: #f9fafb;
  color: #111827;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: #111827;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 8px;
}

p {
  color: #6b7280;
  margin: 0 0 12px;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: #374151;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: none; /* cizgi kaldirildi */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
  width: 100%;
}

/* Logo: MODHUB */
.site-branding {
  flex-shrink: 0;
}

.site-branding .site-logo-link {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
}

.logo-mod {
  color: #2563eb;
}

.logo-hub {
  color: #111827;
}

/* Navigasyon Menüsü */
.main-navigation {
  min-width: 0;
}

.main-navigation .nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.main-navigation .nav-menu li {
  position: relative;
}

.main-navigation .nav-menu a {
  font-size: 14.5px;
  font-weight: 500;
  color: #374151;
  padding: 24px 0;
  display: inline-block;
  text-decoration: none;
  transition: color 0.2s;
}

.main-navigation .nav-menu a:hover,
.main-navigation .nav-menu li.active > a,
.main-navigation .nav-menu li.current-menu-item > a,
.main-navigation .nav-menu li.current-menu-parent > a,
.main-navigation .nav-menu li.current-menu-ancestor > a {
  color: #2563eb;
}

.main-navigation .nav-menu li.active::after,
.main-navigation .nav-menu li.current-menu-item::after {
  display: none !important; /* cizgi kaldirildi */
}

/* WordPress Açılır Menü (Dropdown / Sub-menu) Desteği */
.main-navigation .nav-menu .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.main-navigation .nav-menu .menu-item-has-children > a::after {
  content: '▾';
  font-size: 11px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.main-navigation .nav-menu .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

.main-navigation .nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 190px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-navigation .nav-menu .menu-item-has-children:hover > .sub-menu,
.main-navigation .nav-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.main-navigation .nav-menu .sub-menu li {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.main-navigation .nav-menu .sub-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}

.main-navigation .nav-menu .sub-menu li a:hover,
.main-navigation .nav-menu .sub-menu li.current-menu-item > a {
  background-color: #f3f4f6;
  color: #2563eb;
}

/* 2. Seviye Alt Menü Desteği */
.main-navigation .nav-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 2px;
}

/* Karanlık Mod Dropdown */
[data-theme="dark"] .main-navigation .nav-menu .sub-menu {
  background-color: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .main-navigation .nav-menu .sub-menu li a {
  color: #cbd5e1;
}

[data-theme="dark"] .main-navigation .nav-menu .sub-menu li a:hover,
[data-theme="dark"] .main-navigation .nav-menu .sub-menu li.current-menu-item > a {
  background-color: #334155;
  color: #60a5fa;
}

.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-shrink: 0;
}

/* Arama Çubuğu */
.header-search-wrap {
  position: relative;
}

.header-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-input {
  width: 220px;
  height: 38px;
  padding: 6px 36px 6px 14px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13.5px;
  color: #111827;
  outline: none;
  transition: var(--transition);
}

.header-search-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  width: 260px;
}

.header-search-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
}

.header-search-btn:hover {
  color: #2563eb;
}

/* Mobil Hamburger Menü Butonu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: #374151;
  transition: var(--transition);
}

/* Üye Giriş & Kayıt Butonları (Header) */
.header-auth-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.header-auth-btn svg {
  width: 15px;
  height: 15px;
}

.header-auth-guest .btn-login {
  background-color: transparent;
  color: #374151;
  border: 1px solid #d1d5db;
}

.header-auth-guest .btn-login:hover {
  background-color: #f3f4f6;
  color: #111827;
  border-color: #9ca3af;
}

.header-auth-guest .btn-register {
  background-color: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
}

.header-auth-guest .btn-register:hover {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
  color: #ffffff;
}

.header-user-logged-in {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-user-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-user-profile-btn:hover,
.header-user-dropdown-wrap:hover .header-user-profile-btn {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
  color: #2563eb;
}

.header-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  background: #cbd5e1;
}

.header-user-name {
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dropdown-arrow-icon {
  color: #64748b;
  transition: transform 0.2s ease;
}

.header-user-dropdown-wrap:hover .dropdown-arrow-icon {
  transform: rotate(180deg);
  color: #2563eb;
}

.header-user-dropdown-wrap {
  position: relative !important;
  display: inline-flex;
}

/* Açılır Menü Penceresi */
.header-user-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
}

.header-user-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.header-user-dropdown-wrap:hover .header-user-dropdown-menu,
.header-user-dropdown-wrap:focus-within .header-user-dropdown-menu,
.header-user-dropdown-wrap.is-open .header-user-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.header-user-dropdown-wrap.is-open .dropdown-arrow-icon {
  transform: rotate(180deg);
  color: #2563eb;
}

.user-dropdown-header {
  padding: 8px 12px 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
}

.user-dropdown-header strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-dropdown-header span {
  display: block;
  font-size: 12px;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.user-dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 6px 0;
}

.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: all 0.15s ease;
}

.user-dropdown-item svg {
  color: #64748b;
  flex-shrink: 0;
  transition: color 0.15s;
}

.user-dropdown-item:hover {
  background: #f8fafc;
  color: #2563eb;
}

.user-dropdown-item:hover svg {
  color: #2563eb;
}

.user-dropdown-item.item-highlight {
  color: #2563eb;
  font-weight: 600;
  background: #eff6ff;
}

.user-dropdown-item.item-highlight:hover {
  background: #dbeafe;
}

.user-dropdown-item.item-highlight svg {
  color: #2563eb;
}

.user-dropdown-item.item-logout {
  color: #ef4444;
}

.user-dropdown-item.item-logout:hover {
  background: #fef2f2;
  color: #dc2626;
}

.user-dropdown-item.item-logout svg {
  color: #ef4444;
}

/* Mobil için Mod Gönder Butonu */
.mobile-auth-link.btn-submit-mod {
  background-color: #2563eb;
  color: #ffffff !important;
  font-weight: 600;
  border: 1px solid #2563eb;
}

.mobile-auth-link.btn-submit-mod:hover {
  background-color: #1d4ed8;
}

/* Karanlık Mod Dropdown */
[data-theme="dark"] .header-user-profile-btn {
  background-color: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

[data-theme="dark"] .header-user-profile-btn:hover,
[data-theme="dark"] .header-user-dropdown-wrap:hover .header-user-profile-btn {
  background-color: #334155;
  border-color: #475569;
  color: #60a5fa;
}

[data-theme="dark"] .header-user-dropdown-menu {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .user-dropdown-header {
  border-bottom-color: #334155;
}

[data-theme="dark"] .user-dropdown-header strong {
  color: #f8fafc;
}

[data-theme="dark"] .user-dropdown-header span {
  color: #94a3b8;
}

[data-theme="dark"] .user-dropdown-divider {
  background: #334155;
}

[data-theme="dark"] .user-dropdown-item {
  color: #cbd5e1;
}

[data-theme="dark"] .user-dropdown-item:hover {
  background: #0f172a;
  color: #60a5fa;
}

[data-theme="dark"] .user-dropdown-item:hover svg {
  color: #60a5fa;
}

[data-theme="dark"] .user-dropdown-item.item-highlight {
  background: #0f172a;
  color: #60a5fa;
}

[data-theme="dark"] .user-dropdown-item.item-highlight:hover {
  background: #1e3a8a;
  color: #bfdbfe;
}

[data-theme="dark"] .user-dropdown-item.item-logout {
  color: #f87171;
}

[data-theme="dark"] .user-dropdown-item.item-logout:hover {
  background: #450a0a;
  color: #fca5a5;
}

/* Karanlık Mod Üye Butonları */
[data-theme="dark"] .header-auth-guest .btn-login {
  color: #e2e8f0;
  border-color: #475569;
}

[data-theme="dark"] .header-auth-guest .btn-login:hover {
  background-color: #334155;
  color: #ffffff;
}

[data-theme="dark"] .header-user-profile-btn {
  background-color: #334155;
  border-color: #475569;
  color: #f1f5f9;
}

[data-theme="dark"] .header-user-profile-btn:hover {
  background-color: #475569;
  color: #60a5fa;
}

[data-theme="dark"] .header-auth-btn.btn-logout {
  color: #f87171;
  border-color: #7f1d1d;
}

[data-theme="dark"] .header-auth-btn.btn-logout:hover {
  background-color: #450a0a;
  color: #fca5a5;
}

/* Mobil Menü Auth Alanı */
.mobile-drawer-auth {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}

[data-theme="dark"] .mobile-drawer-auth {
  border-bottom-color: #334155;
}

.mobile-auth-guest {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-auth-btn svg {
  width: 16px;
  height: 16px;
}

.mobile-auth-btn.btn-login {
  border: 1px solid #d1d5db;
  color: #374151;
  background-color: #f9fafb;
}

.mobile-auth-btn.btn-register {
  background-color: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
}

[data-theme="dark"] .mobile-auth-btn.btn-login {
  border-color: #475569;
  color: #f1f5f9;
  background-color: #334155;
}

.mobile-auth-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mobile-user-name {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="dark"] .mobile-user-name {
  color: #f1f5f9;
}

.mobile-auth-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.mobile-auth-link {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.mobile-auth-link.btn-profile {
  background-color: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

[data-theme="dark"] .mobile-auth-link.btn-profile {
  background-color: #1e3a8a;
  color: #93c5fd;
  border-color: #1e40af;
}

.mobile-auth-link.btn-logout {
  color: #ef4444;
  border: 1px solid #fecaca;
}

[data-theme="dark"] .mobile-auth-link.btn-logout {
  color: #f87171;
  border-color: #7f1d1d;
}

@media (max-width: 991px) {
  .header-actions .header-auth-wrap {
    display: none !important;
  }
}

/* Mobil Menü Çekmecesi */
.mobile-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  background-color: #ffffff;
  border-bottom: none; /* cizgi kaldirildi */
  transition: max-height 0.3s ease-in-out;
  z-index: 99;
}

.mobile-drawer.is-open {
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}

.mobile-drawer-inner {
  padding: 20px;
}

.mobile-navigation .mobile-nav-menu {
  list-style: none;
  margin: 15px 0 0;
  padding: 0;
}

.mobile-navigation .mobile-nav-menu li {
  border-bottom: 1px solid #f3f4f6;
}

.mobile-navigation .mobile-nav-menu a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: #374151;
}

.mobile-navigation .mobile-nav-menu .sub-menu {
  list-style: none;
  padding: 0 0 8px 16px;
  margin: 0;
}

.mobile-navigation .mobile-nav-menu .sub-menu li {
  border-bottom: 1px dashed #f3f4f6;
}

.mobile-navigation .mobile-nav-menu .sub-menu a {
  padding: 8px 0;
  font-size: 13.5px;
  color: #64748b;
}

/* Karanlık Mod Mobil Menü */
[data-theme="dark"] .mobile-drawer {
  background-color: #1e293b;
}

[data-theme="dark"] .mobile-navigation .mobile-nav-menu li {
  border-bottom-color: #334155;
}

[data-theme="dark"] .mobile-navigation .mobile-nav-menu a {
  color: #f1f5f9;
}

/* Başlık Alanı (Tüm Sayfalarda Ortalı) */
.page-title-section,
.archive-header-banner {
  padding: 32px 0 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.catalog-title,
.archive-title {
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.catalog-subtitle,
.archive-description {
  font-size: 15px;
  color: #6b7280;
  margin: 0 auto;
  max-width: 680px;
  text-align: center;
  line-height: 1.55;
}

/* Modlar Izgarası (4 Kolonlu Grid) */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Mod Kartı Tasarımı */
.mod-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mod-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

.mod-card-thumb-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Oran */
  background-color: #f3f4f6;
  overflow: hidden;
}

.mod-card-thumb-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mod-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mod-card:hover .mod-card-image {
  transform: scale(1.03);
}

.mod-card-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 14px;
}

/* Kategori Rozeti (Görsel Üstü Sol Üst) */
.mod-card-badge-container {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.mod-category-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.badge-arac   { background-color: #2563eb; } /* Mavi */
.badge-harita { background-color: #16a34a; } /* Yeşil */
.badge-dorse  { background-color: #d97706; } /* Turuncu/Amber */
.badge-grafik { background-color: #9333ea; } /* Mor */
.badge-oyun   { background-color: #dc2626; } /* Kırmızı */
.badge-default{ background-color: #4b5563; } /* Gri */

.mod-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mod-card-title {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px;
}

.mod-card-title a {
  color: #111827;
  text-decoration: none;
}

.mod-card-title a:hover {
  color: #2563eb;
}

.mod-card-excerpt {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.45;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Meta Satırı: Tarih & İndirme Sayısı */
.mod-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 14px;
}

.mod-card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mod-card-footer {
  margin-top: auto;
}

.btn-card-action {
  display: block;
  width: 100%;
  background-color: #2563eb;
  color: #ffffff;
  text-align: center;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-card-action:hover {
  background-color: #1d4ed8;
  color: #ffffff;
}

/* =========================================================
 * MOD AKIŞ KARTI (ETS2.LT STİLİ - ALT ALTA LİSTE GÖRÜNÜMÜ)
 * ========================================================= */

.mod-feed-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  width: 100%;
}

.mod-feed-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #d1d5db;
}

/* Kart Başlığı ve Tarih / Kategori Üst Bilgisi */
.mod-feed-header {
  padding: 22px 24px 14px 24px;
}

.mod-feed-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px 0;
  letter-spacing: -0.3px;
}

.mod-feed-title a {
  color: #111827;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mod-feed-title a:hover {
  color: #df4a32;
}

.mod-feed-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: #6b7280;
}

.feed-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.feed-meta-item a {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
}

.feed-meta-item a:hover {
  color: #df4a32;
  text-decoration: underline;
}

/* Büyük Görsel Alanı */
.mod-feed-media {
  position: relative;
  width: 100%;
  background-color: #f3f4f6;
  overflow: hidden;
}

.mod-feed-media-link {
  display: block;
  width: 100%;
  overflow: hidden;
}

.mod-feed-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.mod-feed-card:hover .mod-feed-img {
  transform: scale(1.015);
}

.mod-feed-placeholder {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 16px;
  background-color: #f9fafb;
}

/* Açıklama / Gövde Alanı */
.mod-feed-body {
  padding: 18px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mod-feed-excerpt {
  margin: 0 0 20px 0;
}

.mod-feed-excerpt p {
  font-size: 15px;
  line-height: 1.65;
  color: #374151;
  margin: 0;
  word-break: break-word;
}

/* Alt Butonlar Barı (Comments & Details / Download) */
.mod-feed-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.btn-feed-comments {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  color: #4b5563;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-feed-comments:hover {
  background-color: #f8fafc;
  border-color: #9ca3af;
  color: #111827;
}

.btn-feed-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #df4a32;
  border: 1px solid #df4a32;
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(223, 74, 50, 0.25);
  cursor: pointer;
}

.btn-feed-download:hover {
  background-color: #c93b24;
  border-color: #c93b24;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(223, 74, 50, 0.35);
}

.btn-feed-arrow {
  font-size: 16px;
  line-height: 1;
  margin-left: 2px;
}

/* Sayfalama (Görsele Birebir Uygun) */
.mod-pagination {
  margin: 45px 0 60px;
  display: flex;
  justify-content: center;
}

.mod-pagination ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mod-pagination a,
.mod-pagination .current,
.mod-pagination .dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #4b5563;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
}

.mod-pagination .current {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  font-weight: 700;
}

.mod-pagination a:hover {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  color: #111827;
}

.mod-pagination .dots {
  border: none;
  background: none;
  color: #9ca3af;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: 24px 0;
}

.footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  font-size: 13px;
  color: #6b7280;
}

.footer-nav,
.footer-nav .menu-alt-menu-container,
.footer-nav [class*="container"],
.footer-nav ul,
.footer-nav .menu,
.footer-menu-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 20px !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.footer-nav li,
.footer-menu-links li,
.footer-nav .menu li {
  display: inline-flex !important;
  align-items: center !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-nav li::before,
.footer-nav li::marker,
.footer-menu-links li::marker,
.footer-nav .menu li::marker {
  display: none !important;
  content: "" !important;
  font-size: 0 !important;
}

.footer-nav a,
.footer-nav li a,
.footer-menu-links li a {
  display: inline-block !important;
  color: #6b7280 !important;
  text-decoration: none !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  transition: color 0.15s ease !important;
}

.footer-nav a:hover,
.footer-nav li a:hover,
.footer-menu-links li a:hover {
  color: #2563eb !important;
}

/* Breadcrumbs */
.mod-breadcrumbs {
  background-color: #ffffff;
  border-bottom: none; /* cizgi kaldirildi */
  padding: 10px 0;
  font-size: 13px;
}

.mod-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.mod-breadcrumbs a {
  color: #6b7280;
}

.mod-breadcrumbs a:hover {
  color: #2563eb;
}

.mod-breadcrumbs .separator {
  color: #d1d5db;
}

.mod-breadcrumbs .active {
  color: #111827;
  font-weight: 600;
}

/* Tekil Mod Sayfası */
.single-mod-article {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0 50px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.single-mod-title {
  font-size: 28px;
  font-weight: 800;
  margin: 12px 0 16px;
}

.single-mod-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 24px;
}

.meta-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-label {
  font-size: 12px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-val {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.single-mod-banner-wrap {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid #e5e7eb;
}

/* İndirme Kutusu */
.download-cta-box {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 30px;
}

.download-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.download-cta-title {
  font-size: 18px;
  color: #166534;
  margin-bottom: 4px;
}

.download-cta-subtitle {
  font-size: 13px;
  color: #15803d;
  margin: 0;
}

.btn-download-huge {
  background-color: #16a34a;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-download-huge:hover {
  background-color: #15803d;
  color: #ffffff;
}

.download-safety-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #15803d;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #bbf7d0;
}

.submit-form-wrapper {
  max-width: 1040px;
  width: 100%;
  margin: 40px auto 60px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 44px 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.submit-rules-card {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 25px;
}

.rules-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e40af;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 8px;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #1e3a8a;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 10px 14px;
  color: #111827;
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.file-upload-dropzone {
  position: relative;
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  background-color: #f9fafb;
  cursor: pointer;
}

.file-upload-dropzone:hover {
  border-color: #2563eb;
  background-color: #eff6ff;
}

.dropzone-content {
  color: #6b7280;
  font-size: 13px;
}

.dropzone-content strong {
  color: #2563eb;
}

.dropzone-preview {
  position: relative;
  display: inline-block;
  max-width: 260px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.dropzone-preview img {
  width: 100%;
  height: auto;
}

.btn-remove-preview {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.btn-submit-huge {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
}

.form-alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-alert-success {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.form-alert-error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}


/* Ana Sayfa ve Icerik Duzeni (3 Kolonlu Modern Duzen: Sol Kategoriler, Orta Icerik, Sag Aksiyon & Son Modlar) */
.main-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 25px 0 60px;
}

/* Sol Kenar Çubuğu: Mod Kategorileri */
.sidebar-left {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Orta Alan: İçerik / Mod Listesi */
.content-area {
  flex: 1;
  min-width: 0;
}

/* Sağ Kenar Çubuğu: Mod Gönder CTA & Son Eklenenler */
.sidebar-right {
  width: 290px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Tekil veya Standart Sidebar Genişliği */
.site-sidebar:not(.sidebar-left):not(.sidebar-right) {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: none; /* cizgi kaldirildi */
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CTA Widget */
.widget-cta-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
}

.cta-box-badge {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.cta-box-title {
  font-size: 17px;
  font-weight: 800;
  color: #1e40af;
  margin-bottom: 6px;
}

.cta-box-desc {
  font-size: 13px;
  color: #1e3a8a;
  line-height: 1.45;
  margin-bottom: 16px;
}

.btn-sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background-color: #2563eb;
  color: #ffffff;
  padding: 10px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-sidebar-cta:hover {
  background-color: #1d4ed8;
  color: #ffffff;
}

/* Kategori Listesi */
.widget-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s;
}

.widget-cat-link:hover {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
  transform: translateX(3px);
}

.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}

.cat-name {
  flex: 1;
}

.cat-count,
.cat-card-count {
  display: none !important;
}

/* Sol Kenar Özel Menü Stilleri */
.sidebar-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-nav-menu li {
  position: relative;
}

.sidebar-nav-menu li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-nav-menu li a:hover,
.sidebar-nav-menu li.current-menu-item > a {
  background-color: #eff6ff;
  border-color: #bfdbfe;
  color: #2563eb;
  transform: translateX(3px);
}

.sidebar-nav-menu li a::before {
  content: "•";
  color: #9ca3af;
  font-size: 16px;
  line-height: 1;
}

.sidebar-nav-menu li a:hover::before,
.sidebar-nav-menu li.current-menu-item > a::before {
  color: #2563eb;
}

.sidebar-nav-menu .sub-menu {
  list-style: none;
  padding: 4px 0 4px 12px;
  margin: 4px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav-menu .sub-menu li a {
  padding: 6px 10px;
  font-size: 12.5px;
  background-color: #ffffff;
}

/* Karanlık Mod Sol Menü */
[data-theme="dark"] .sidebar-nav-menu li a {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

[data-theme="dark"] .sidebar-nav-menu li a:hover,
[data-theme="dark"] .sidebar-nav-menu li.current-menu-item > a {
  background-color: #334155;
  border-color: #475569;
  color: #60a5fa;
}

[data-theme="dark"] .sidebar-nav-menu .sub-menu li a {
  background-color: #0f172a;
}


/* Son Modlar Listesi */
.widget-mod-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-mod-item {
  display: flex;
  gap: 12px;
  align-items: center;
}

.widget-mod-thumb-link {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-thumb-empty {
  font-size: 18px;
}

.widget-mod-info {
  flex: 1;
  min-width: 0;
}

.widget-mod-title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-mod-title a {
  color: #111827;
  text-decoration: none;
}

.widget-mod-title a:hover {
  color: #2563eb;
}

.widget-mod-date {
  font-size: 11.5px;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Son Yorumlar Listesi */
.widget-comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.widget-comment-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.widget-comment-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.widget-comment-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e5e7eb;
}

.widget-comment-avatar img,
.widget-comment-avatar .comm-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.widget-comment-info {
  flex: 1;
  min-width: 0;
}

.widget-comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 3px;
}

.widget-comment-author {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-comment-date {
  font-size: 11px;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
}

.widget-comment-post {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.widget-comment-post a {
  color: #df4a32;
  text-decoration: none;
  transition: color 0.2s ease;
}

.widget-comment-post a:hover {
  color: #c93b24;
  text-decoration: underline;
}

.widget-comment-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: #4b5563;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.widget-comment-list .no-comments {
  font-size: 13px;
  color: #9ca3af;
  font-style: italic;
  padding: 8px 0;
}


/* Kategoriler Sayfasi */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.category-big-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.category-big-card:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.1);
}

.cat-card-icon {
  font-size: 32px;
  width: 54px;
  height: 54px;
  background-color: #f3f4f6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-big-card:hover .cat-card-icon {
  background-color: #eff6ff;
}

.cat-card-info {
  flex: 1;
}

.cat-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}

.cat-card-count {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.cat-card-arrow {
  font-size: 20px;
  color: #9ca3af;
  transition: transform 0.2s;
}

.category-big-card:hover .cat-card-arrow {
  color: #2563eb;
  transform: translateX(4px);
}


/* =========================================================
 * TEKIL MOD SAYFASI (SINGLE MOD) TAM STIL DUZENLEMESI
 * ========================================================= */

.single-mod-article {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.single-mod-header {
  margin-bottom: 24px;
}

.single-mod-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.status-badge-active {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 20px;
}

.single-mod-title {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  margin: 0 0 18px;
  line-height: 1.25;
}

/* Meta Bilgi Izgarasi */
.single-mod-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
}

.meta-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 11.5px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.meta-val {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

/* Banner */
.single-mod-banner-wrap {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0 24px;
  border: 1px solid #e5e7eb;
  background-color: #f8fafc;
}

.single-mod-banner {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.single-mod-banner {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Indirme Kutusu */
.download-cta-box {
  background-color: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 24px;
  margin: 28px 0;
}

.download-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.download-cta-info {
  flex: 1;
}

.download-cta-title {
  font-size: 18px;
  font-weight: 800;
  color: #166534;
  margin: 0 0 4px;
}

.download-cta-subtitle {
  font-size: 13px;
  color: #15803d;
  margin: 0;
}

.download-cta-action {
  flex-shrink: 0;
}

.btn-download-huge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #16a34a;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
  transition: all 0.2s;
}

.btn-download-huge:hover {
  background-color: #15803d;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

.btn-download-huge.disabled {
  background-color: #9ca3af;
  box-shadow: none;
  cursor: not-allowed;
}

.download-safety-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #15803d;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #bbf7d0;
}

/* Mod Icerigi */
.single-mod-body {
  margin: 28px 0;
}

.content-section-title {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  padding-bottom: 12px;
  border-bottom: none; /* cizgi kaldirildi */
  margin-bottom: 16px;
}

.entry-content {
  font-size: 14.5px;
  color: #374151;
  line-height: 1.7;
}

.entry-content p {
  margin-bottom: 14px;
  color: #374151;
}

/* Gonderen Kart */
.submitter-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px 20px;
  margin: 28px 0;
}

.submitter-avatar-col {
  flex-shrink: 0;
}

.submitter-avatar-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.submitter-details-col {
  flex: 1;
}

.submitter-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}

.submitter-desc {
  font-size: 13px;
  color: #4b5563;
  margin: 0;
  line-height: 1.45;
}

.submitter-web-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #2563eb;
  margin-top: 6px;
}

/* Sosyal Paylasim Butonlari */
.mod-share-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0;
  margin: 28px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: none; /* cizgi kaldirildi */
}

.share-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.share-whatsapp { background-color: #25d366; }
.share-whatsapp:hover { background-color: #20bd5a; color: #ffffff; }

.share-telegram { background-color: #0088cc; }
.share-telegram:hover { background-color: #0077b5; color: #ffffff; }

.share-twitter { background-color: #111827; }
.share-twitter:hover { background-color: #000000; color: #ffffff; }

.share-facebook { background-color: #1877f2; }
.share-facebook:hover { background-color: #166fe5; color: #ffffff; }

.share-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
}
.share-instagram:hover {
  opacity: 0.92;
  color: #ffffff;
}

.share-copy {
  background-color: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.share-copy:hover {
  background-color: #e5e7eb;
  color: #111827;
}

/* Benzer Modlar */
.similar-mods-section {
  margin: 35px 0 25px;
  padding-top: 25px;
  border-top: 1px solid #e5e7eb;
}

.similar-mods-section .section-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 18px;
}

.similar-mods-section .mod-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* =========================================================
 * MODERN YORUMLAR BÖLÜMÜ
 * ========================================================= */

.comments-area {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
}

.comments-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.comments-title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guest-comment-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modern-comment-item {
  list-style: none;
}

.modern-comment-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.modern-comment-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.comment-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.comment-card-author-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.comment-avatar-wrapper {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e5e7eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.comment-author-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.comment-author-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.comment-author-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment-author-name {
  font-size: 15.5px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.comment-author-badge {
  display: inline-block;
  background-color: #df4a32;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.comment-card-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

.comment-card-date svg {
  color: #94a3b8;
}

.comment-time-ago {
  color: #94a3b8;
  font-size: 11.5px;
}

/* Yanıtla Butonu */
.comment-card-reply .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: all 0.2s ease;
}

.comment-card-reply .comment-reply-link:hover {
  background-color: #e2e8f0;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-1px);
}

/* Yorum İçeriği */
.comment-card-content {
  color: #334155;
  font-size: 14.5px;
  line-height: 1.65;
}

.comment-text-inner p {
  margin: 0 0 8px 0;
}

.comment-text-inner p:last-child {
  margin-bottom: 0;
}

.comment-awaiting-moderation {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  color: #b45309;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}

/* Yanıtlar / İç İçe Yorumlar (Threaded Replies) */
.comment-list .children {
  list-style: none;
  padding: 0 0 0 24px;
  margin: 16px 0 0 0;
  border-left: 2px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Boş Yorum Durumu */
.empty-comments-box {
  background-color: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
}

.empty-comments-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 8px;
}

.no-comments-yet {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

/* Yorum Formu Düzeni */
#respond {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.comment-reply-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px 0;
}

#cancel-comment-reply-link {
  font-size: 13px;
  font-weight: 500;
  color: #ef4444;
  margin-left: 10px;
  text-decoration: underline;
}

.comment-notes {
  font-size: 13px;
  color: #64748b;
  margin: 0 0 20px 0;
}

.form-row-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.comment-form .form-group {
  margin-bottom: 16px;
}

.comment-form .form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.comment-form .form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #111827;
  background-color: #ffffff;
  outline: none;
  font-family: inherit;
  transition: all 0.2s ease;
}

.comment-form .form-control:focus {
  border-color: #df4a32;
  box-shadow: 0 0 0 3px rgba(223, 74, 50, 0.12);
}

.btn-submit-comment {
  background-color: #df4a32 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 11px 28px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(223, 74, 50, 0.25);
}

.btn-submit-comment:hover {
  background-color: #c93b24 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(223, 74, 50, 0.35);
}

/* Mod Akışı - Alt Alta Sıralama (ETS2.LT Stili) */
.mod-grid-sidebar,
.main-layout .mod-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 28px !important;
}

/* Standart Blog / Yazı Kartı Stilleri */
.standard-post-feed-card .mod-feed-title a:hover {
  color: #2563eb !important;
}

.btn-post-read-more {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
  box-shadow: 0 2px 5px rgba(37, 99, 235, 0.25) !important;
}

.btn-post-read-more:hover {
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35) !important;
}

/* Tekil Yazı / Rehber Sayfası (single.php) */
.single-post-article {
  background-color: #ffffff;
}

.single-post-article .entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}

.single-post-article .entry-content p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
}

.single-post-article .entry-content h2,
.single-post-article .entry-content h3,
.single-post-article .entry-content h4 {
  color: #111827;
  font-weight: 700;
  margin: 32px 0 14px;
}

.single-post-article .entry-content h2 {
  font-size: 22px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 10px;
}

.single-post-article .entry-content h3 {
  font-size: 19px;
}

.single-post-article .entry-content ul,
.single-post-article .entry-content ol {
  margin: 16px 0 24px 24px;
  color: #374151;
}

.single-post-article .entry-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.single-post-article .entry-content a {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-post-article .entry-content a:hover {
  color: #1d4ed8;
}

.single-post-article .entry-content blockquote {
  border-left: 4px solid #2563eb;
  background-color: #eff6ff;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  color: #1e3a8a;
  font-style: italic;
}

.single-post-article .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Karanlık Mod Desteği */
[data-theme="dark"] .single-post-article {
  background-color: #1e293b;
  border-color: #334155;
}

[data-theme="dark"] .single-post-article .entry-content,
[data-theme="dark"] .single-post-article .entry-content p,
[data-theme="dark"] .single-post-article .entry-content ul,
[data-theme="dark"] .single-post-article .entry-content ol {
  color: #cbd5e1;
}

[data-theme="dark"] .single-post-article .entry-content h2,
[data-theme="dark"] .single-post-article .entry-content h3,
[data-theme="dark"] .single-post-article .entry-content h4 {
  color: #f1f5f9;
  border-bottom-color: #334155;
}

[data-theme="dark"] .single-post-article .entry-content blockquote {
  background-color: #1e3a8a33;
  color: #93c5fd;
  border-left-color: #3b82f6;
}



/* =========================================================
 * STANDART SAYFALAR (HAKKIMIZDA & ILETISIM) STILLERI
 * ========================================================= */

.standard-page-wrapper {
  max-width: 960px;
  margin: 35px auto 60px;
}

.standard-page-article {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.standard-page-article .page-title {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: none; /* cizgi kaldirildi */
}

/* Hakkimizda Sayfa Tasarimi */
.page-intro-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 30px;
}

.page-intro-banner h2 {
  color: #1e40af;
  font-size: 22px;
  margin-bottom: 6px;
}

.page-intro-banner p.lead {
  color: #1e3a8a;
  font-size: 15px;
  margin: 0;
}

.page-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 35px;
}

.feature-box {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.feature-box h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.page-text-content h3 {
  font-size: 18px;
  color: #111827;
  margin-bottom: 10px;
}

.page-text-content p {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.7;
}

/* Iletisim Sayfa Tasarimi */
.contact-intro {
  margin-bottom: 25px;
}

.contact-intro h2 {
  font-size: 22px;
  color: #111827;
  margin-bottom: 6px;
}

.contact-intro p {
  font-size: 14px;
  color: #6b7280;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
}

.contact-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
}

.contact-details p {
  font-size: 13px;
  color: #4b5563;
  margin: 0;
}

.contact-details a {
  color: #2563eb;
  font-weight: 600;
}

.info-note {
  font-size: 11.5px;
  color: #16a34a;
  display: block;
  margin-top: 4px;
  font-weight: 500;
}

.clean-contact-form {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Yorumlar Bolumu Ekstralar */
.comments-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.guest-comment-badge {
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 4px 10px;
  border-radius: 20px;
}

.no-comments-yet {
  font-size: 13.5px;
  color: #6b7280;
  padding: 16px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 24px;
}

@media screen and (max-width: 768px) {
  .page-features-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .standard-page-article {
    padding: 24px 20px;
  }
}


.catalog-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 0;
  line-height: 1.3;
}


/* =========================================================
 * REFINED SINGLE MOD & BREADCRUMBS DESIGN
 * ========================================================= */

.mod-breadcrumbs {
  background: transparent !important;
  border: none !important;
  padding: 18px 0 14px !important;
  font-size: 13.5px;
}

.mod-breadcrumbs ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.single-mod-header {
  margin-bottom: 20px;
}

.single-mod-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.status-badge-active {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #16a34a;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 3px 10px;
  border-radius: 20px;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #16a34a;
  border-radius: 50%;
  display: inline-block;
}

.single-mod-title {
  font-size: 26px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
  margin: 0 0 16px;
  letter-spacing: -0.4px;
}

/* Kompakt Meta Satiri */
.single-mod-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.mod-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  color: #374151;
}

.mod-meta-pill .meta-label {
  color: #6b7280;
  font-weight: 500;
}

.mod-meta-pill .meta-value {
  color: #111827;
  font-weight: 700;
}

/* Dengeli Banner */
.single-mod-banner-wrap {
  width: 100%;
  height: 380px !important;
  max-height: 380px !important;
  border-radius: 12px;
  overflow: hidden;
  margin: 0 0 24px;
  border: 1px solid #e5e7eb;
  background-color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-mod-banner {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.mod-breadcrumbs { display: none !important; }

.site-header { border-bottom: none !important; }


.site-branding .site-logo-link {
  font-size: 24px;
  font-weight: 800;
  color: #111827;
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.site-branding .site-logo-link:hover {
  color: #2563eb;
}

.site-branding .custom-logo {
  max-height: 44px;
  width: auto;
  display: block;
}


/* =========================================================
 * MOD KURULUM REHBERI KARTI STILLERI
 * ========================================================= */

.mod-install-guide-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 24px;
  margin: 30px 0 28px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.install-guide-icon-col {
  flex-shrink: 0;
}

.install-guide-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.install-guide-icon-circle svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
}

.install-guide-details-col {
  flex: 1;
}

.install-guide-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px;
  line-height: 1.4;
}

.install-guide-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.install-guide-desc strong {
  color: #1e293b;
  background-color: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
}


/* =========================================================
 * MODU RAPOR ET BUTONU VE MODAL STILLERI
 * ========================================================= */

.report-btn-wrap {
  margin-top: 10px;
  text-align: center;
}

.btn-report-mod {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-report-mod:hover {
  background-color: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

.btn-report-mod svg {
  stroke: currentColor;
}

/* Modal Overlay */
.report-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.report-modal-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.report-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  margin: auto;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.report-modal-overlay.active .report-modal-dialog {
  transform: scale(1) translateY(0);
}

.report-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8fafc;
}

.report-modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.report-modal-badge {
  font-size: 22px;
}

.report-modal-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 2px;
}

.report-modal-subtitle {
  font-size: 12px;
  color: #64748b;
  margin: 0;
  font-weight: 500;
  max-width: 380px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.report-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 4px;
}

.report-modal-close:hover {
  color: #0f172a;
}

.report-modal-body {
  padding: 20px 24px;
  overflow-y: auto;
}

.report-field-group {
  margin-bottom: 16px;
}

.report-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.report-reasons-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-reason-item {
  display: block;
  cursor: pointer;
  position: relative;
}

.report-reason-item input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.reason-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.report-reason-item input[type="radio"]:checked + .reason-card {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.reason-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.reason-info {
  display: flex;
  flex-direction: column;
}

.reason-info strong {
  font-size: 13.5px;
  color: #1e293b;
}

.report-reason-item input[type="radio"]:checked + .reason-card .reason-info strong {
  color: #b91c1c;
}

.reason-info small {
  font-size: 11.5px;
  color: #64748b;
  margin-top: 1px;
}

.report-textarea,
.report-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 13.5px;
  font-family: inherit;
  color: #0f172a;
  background-color: #ffffff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.report-textarea:focus,
.report-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.report-alert-box {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  margin-top: 14px;
}

.report-alert-box.success {
  background-color: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.report-alert-box.error {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.report-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 24px;
  border-top: 1px solid #e2e8f0;
  background-color: #f8fafc;
}

.btn-report-cancel {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-report-cancel:hover {
  background-color: #f1f5f9;
}

.btn-report-submit {
  background: #dc2626;
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 22px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25);
  transition: background-color 0.2s, transform 0.1s;
}

.btn-report-submit:hover {
  background: #b91c1c;
}

.btn-report-submit:active {
  transform: scale(0.98);
}


/* =========================================================
 * KARANLIK MOD (DARK MODE) ENTEGRASYONU
 * ========================================================= */

/* Buton Stili */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background-color: #f1f5f9;
  color: #1e293b;
  border-color: #cbd5e1;
}

.theme-toggle-btn svg {
  stroke: currentColor;
  width: 18px;
  height: 18px;
}

/* Varsayilan (Light): Gunes gizli, Ay gorunur */
.theme-icon-sun {
  display: none !important;
}
.theme-icon-moon {
  display: inline-flex !important;
}

/* Dark Mode Aktifken: Ay gizli, Gunes gorunur */
[data-theme="dark"] .theme-icon-moon {
  display: none !important;
}
[data-theme="dark"] .theme-icon-sun {
  display: inline-flex !important;
  color: #f59e0b;
}

[data-theme="dark"] .theme-toggle-btn {
  background-color: #1e293b;
  border-color: #334155;
  color: #f59e0b;
}

[data-theme="dark"] .theme-toggle-btn:hover {
  background-color: #334155;
  color: #fbbf24;
}

/* =========================================================
 * KARANLIK TEMA ELEMAN STILLERI
 * ========================================================= */

[data-theme="dark"] {
  color-scheme: dark;
}

[data-theme="dark"] body {
  background-color: #0b0f19;
  color: #94a3b8;
}

[data-theme="dark"] .site-header {
  background-color: #111827;
  border-bottom: 1px solid #1f2937 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .site-branding .site-logo-link {
  color: #f8fafc;
}

[data-theme="dark"] .main-navigation .nav-menu a {
  color: #cbd5e1;
}

[data-theme="dark"] .main-navigation .nav-menu a:hover,
[data-theme="dark"] .main-navigation .nav-menu li.active > a {
  color: #60a5fa;
}

[data-theme="dark"] .header-search-form {
  border-color: #334155;
  background-color: #1e293b;
}

[data-theme="dark"] .header-search-input {
  color: #f8fafc;
  background-color: transparent;
}

[data-theme="dark"] .header-search-input::placeholder {
  color: #64748b;
}

[data-theme="dark"] .header-search-btn {
  color: #94a3b8;
}

[data-theme="dark"] .mobile-drawer {
  background-color: #111827;
  border-left-color: #1f2937;
}

[data-theme="dark"] .mobile-nav-menu a {
  color: #cbd5e1;
  border-bottom-color: #1f2937;
}

/* Kartlar */
[data-theme="dark"] .mod-card {
  background-color: #151d30;
  border-color: #222f49;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .mod-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .mod-card-title a {
  color: #f8fafc;
}

[data-theme="dark"] .mod-card-excerpt {
  color: #94a3b8;
}

[data-theme="dark"] .mod-card-meta {
  color: #64748b;
  border-top-color: #222f49;
}

/* Mod Akış Kartı Dark Mode */
[data-theme="dark"] .mod-feed-card {
  background-color: #151d30;
  border-color: #222f49;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .mod-feed-card:hover {
  border-color: #df4a32;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .mod-feed-title a {
  color: #f8fafc;
}

[data-theme="dark"] .mod-feed-title a:hover {
  color: #f87171;
}

[data-theme="dark"] .mod-feed-meta {
  color: #94a3b8;
}

[data-theme="dark"] .feed-meta-item a {
  color: #cbd5e1;
}

[data-theme="dark"] .feed-meta-item a:hover {
  color: #f87171;
}

[data-theme="dark"] .mod-feed-media {
  background-color: #0b1120;
}

[data-theme="dark"] .mod-feed-placeholder {
  background-color: #0b1120;
  color: #64748b;
}

[data-theme="dark"] .mod-feed-excerpt p {
  color: #cbd5e1;
}

[data-theme="dark"] .mod-feed-footer {
  border-top-color: #222f49;
}

[data-theme="dark"] .btn-feed-comments {
  background-color: #0f172a;
  border-color: #334155;
  color: #cbd5e1;
}

[data-theme="dark"] .btn-feed-comments:hover {
  background-color: #1e293b;
  border-color: #475569;
  color: #f8fafc;
}

[data-theme="dark"] .btn-feed-download {
  background-color: #dc2626;
  border-color: #dc2626;
  color: #ffffff !important;
}

[data-theme="dark"] .btn-feed-download:hover {
  background-color: #b91c1c;
  border-color: #b91c1c;
}

/* Sidebar */
[data-theme="dark"] .sidebar-widget {
  background-color: #151d30;
  border-color: #222f49;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .widget-title {
  color: #f8fafc;
  border-bottom-color: #222f49;
}

/* Modunuz mu Var? (CTA Box) */
[data-theme="dark"] .widget-cta-box {
  background: linear-gradient(135deg, #151d30 0%, #0f172a 100%);
  border-color: #2563eb;
}

[data-theme="dark"] .widget-cta-box .cta-box-title {
  color: #60a5fa;
}

[data-theme="dark"] .widget-cta-box .cta-box-desc {
  color: #94a3b8;
}

/* Mod Kategorileri Widget'ı */
[data-theme="dark"] .widget-cat-link {
  background-color: #111827;
  border-color: #1f2937;
  color: #cbd5e1;
}

[data-theme="dark"] .widget-cat-link:hover {
  background-color: #1e293b;
  border-color: #3b82f6;
  color: #60a5fa;
}

[data-theme="dark"] .widget-cat-link .cat-count {
  background-color: #1e293b;
  color: #94a3b8;
}

[data-theme="dark"] .widget-cat-link:hover .cat-count {
  background-color: #2563eb;
  color: #ffffff;
}

/* Son Eklenen Modlar Listesi (Karanlık Mod Metin Rengi Düzeltmesi) */
[data-theme="dark"] .widget-mod-thumb-link {
  background-color: #111827;
  border-color: #1f2937;
}

[data-theme="dark"] .widget-mod-title a {
  color: #f8fafc !important;
}

[data-theme="dark"] .widget-mod-title a:hover {
  color: #60a5fa !important;
}

[data-theme="dark"] .widget-mod-date {
  color: #94a3b8 !important;
}

/* Son Yorumlar Widget'ı Dark Mode */
[data-theme="dark"] .widget-comment-item {
  border-bottom-color: #222f49;
}

[data-theme="dark"] .widget-comment-avatar {
  background-color: #222f49;
}

[data-theme="dark"] .widget-comment-author {
  color: #f8fafc;
}

[data-theme="dark"] .widget-comment-date {
  color: #64748b;
}

[data-theme="dark"] .widget-comment-post a {
  color: #f87171;
}

[data-theme="dark"] .widget-comment-post a:hover {
  color: #fca5a5;
}

[data-theme="dark"] .widget-comment-text {
  color: #94a3b8;
}

[data-theme="dark"] .widget-comment-list .no-comments {
  color: #64748b;
}

/* Sayfalama */
[data-theme="dark"] .pagination .page-numbers {
  background-color: #151d30;
  border-color: #222f49;
  color: #cbd5e1;
}

[data-theme="dark"] .pagination .page-numbers:hover {
  background-color: #1e293b;
  color: #ffffff;
}

[data-theme="dark"] .pagination .page-numbers.current {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}

/* Tekil Mod Sayfasi */
[data-theme="dark"] .single-mod-article,
[data-theme="dark"] .standard-page-article {
  background-color: #151d30;
  border-color: #222f49;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .single-mod-title,
[data-theme="dark"] .standard-page-article .page-title,
[data-theme="dark"] .catalog-title,
[data-theme="dark"] .archive-title {
  color: #f8fafc;
}

[data-theme="dark"] .catalog-subtitle,
[data-theme="dark"] .archive-description {
  color: #94a3b8;
}

[data-theme="dark"] .single-mod-body .content-section-title span,
[data-theme="dark"] .comments-title span,
[data-theme="dark"] .similar-mods-title {
  color: #f8fafc;
}

[data-theme="dark"] .single-mod-body .content-section-title::after,
[data-theme="dark"] .comments-title::after {
  background-color: #222f49;
}

[data-theme="dark"] .mod-meta-pill {
  background-color: #111827;
  border-color: #222f49;
  color: #cbd5e1;
}

[data-theme="dark"] .mod-meta-pill .meta-label {
  color: #64748b;
}

[data-theme="dark"] .mod-meta-pill .meta-value {
  color: #f8fafc;
}

[data-theme="dark"] .single-mod-banner-wrap {
  border-color: #222f49;
  background-color: #0b0f19;
}

[data-theme="dark"] .download-cta-box {
  background: linear-gradient(135deg, #064e3b 0%, #022c22 100%);
  border-color: #059669;
}

[data-theme="dark"] .download-cta-title {
  color: #6ee7b7;
}

[data-theme="dark"] .download-cta-subtitle {
  color: #a7f3d0;
}

[data-theme="dark"] .download-safety-notice {
  color: #6ee7b7;
  border-top-color: #047857;
}

[data-theme="dark"] .btn-report-mod {
  border-color: #334155;
  color: #94a3b8;
}

[data-theme="dark"] .btn-report-mod:hover {
  background-color: #450a0a;
  border-color: #ef4444;
  color: #fca5a5;
}

[data-theme="dark"] .entry-content {
  color: #cbd5e1;
}

[data-theme="dark"] .entry-content p,
[data-theme="dark"] .entry-content li {
  color: #cbd5e1;
}

[data-theme="dark"] .mod-install-guide-card {
  background-color: #111827;
  border-color: #222f49;
}

[data-theme="dark"] .install-guide-title {
  color: #f8fafc;
}

[data-theme="dark"] .install-guide-desc {
  color: #94a3b8;
}

[data-theme="dark"] .install-guide-desc strong {
  background-color: #1e293b;
  color: #93c5fd;
}

[data-theme="dark"] .mod-share-section {
  border-top-color: #222f49;
}

[data-theme="dark"] .share-title {
  color: #cbd5e1;
}

[data-theme="dark"] .share-copy {
  background-color: #1e293b;
  color: #cbd5e1;
  border-color: #334155;
}

[data-theme="dark"] .share-copy:hover {
  background-color: #334155;
  color: #ffffff;
}

/* Yorumlar Bolumu - Modern Karanlik Mod */
[data-theme="dark"] .comments-area {
  border-top-color: #222f49;
}

[data-theme="dark"] .comments-title {
  color: #f8fafc;
}

[data-theme="dark"] .guest-comment-badge {
  background-color: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

[data-theme="dark"] .modern-comment-card {
  background-color: #151d30;
  border-color: #222f49;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .modern-comment-card:hover {
  border-color: #334155;
}

[data-theme="dark"] .comment-card-header {
  border-bottom-color: #222f49;
}

[data-theme="dark"] .comment-avatar-wrapper {
  background-color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .comment-author-name {
  color: #f8fafc;
}

[data-theme="dark"] .comment-card-date {
  color: #94a3b8;
}

[data-theme="dark"] .comment-card-date svg {
  color: #64748b;
}

[data-theme="dark"] .comment-time-ago {
  color: #64748b;
}

[data-theme="dark"] .comment-card-reply .comment-reply-link {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

[data-theme="dark"] .comment-card-reply .comment-reply-link:hover {
  background-color: #334155;
  border-color: #475569;
  color: #ffffff;
}

[data-theme="dark"] .comment-card-content {
  color: #cbd5e1;
}

[data-theme="dark"] .comment-awaiting-moderation {
  background-color: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fcd34d;
}

[data-theme="dark"] .comment-list .children {
  border-left-color: #222f49;
}

[data-theme="dark"] .empty-comments-box {
  background-color: #151d30;
  border-color: #222f49;
}

[data-theme="dark"] .no-comments-yet {
  color: #94a3b8;
}

[data-theme="dark"] #respond {
  background-color: #151d30;
  border-color: #222f49;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .comment-reply-title {
  color: #f8fafc;
}

[data-theme="dark"] .comment-notes {
  color: #94a3b8;
}

[data-theme="dark"] .comment-form input[type="text"],
[data-theme="dark"] .comment-form input[type="email"],
[data-theme="dark"] .comment-form textarea,
[data-theme="dark"] .form-control,
[data-theme="dark"] .contact-input {
  background-color: #0b0f19 !important;
  border-color: #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .comment-form .form-label,
[data-theme="dark"] .form-group label {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .clean-contact-form {
  background-color: #151d30;
  border-color: #222f49;
}

[data-theme="dark"] .contact-item {
  background-color: #111827;
  border-color: #222f49;
}

[data-theme="dark"] .contact-details h4 {
  color: #f8fafc;
}

[data-theme="dark"] .contact-details p {
  color: #94a3b8;
}

[data-theme="dark"] .feature-box {
  background-color: #111827;
  border-color: #222f49;
}

[data-theme="dark"] .feature-box h3 {
  color: #f8fafc;
}

[data-theme="dark"] .feature-box p {
  color: #94a3b8;
}

[data-theme="dark"] .page-intro-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: #3b82f6;
}

[data-theme="dark"] .page-intro-banner h2 {
  color: #60a5fa;
}

[data-theme="dark"] .page-intro-banner p.lead {
  color: #93c5fd;
}

/* Mod Raporlama Modali */
[data-theme="dark"] .report-modal-dialog {
  background-color: #151d30;
  border: 1px solid #222f49;
}

[data-theme="dark"] .report-modal-header {
  background-color: #111827;
  border-bottom-color: #222f49;
}

[data-theme="dark"] .report-modal-title {
  color: #f8fafc;
}

[data-theme="dark"] .report-modal-subtitle {
  color: #94a3b8;
}

[data-theme="dark"] .report-field-label {
  color: #cbd5e1;
}

[data-theme="dark"] .reason-card {
  background-color: #111827;
  border-color: #222f49;
}

[data-theme="dark"] .reason-info strong {
  color: #f8fafc;
}

[data-theme="dark"] .reason-info small {
  color: #94a3b8;
}

[data-theme="dark"] .report-reason-item input[type="radio"]:checked + .reason-card {
  background-color: #450a0a;
  border-color: #ef4444;
}

[data-theme="dark"] .report-modal-footer {
  background-color: #111827;
  border-top-color: #222f49;
}

[data-theme="dark"] .btn-report-cancel {
  border-color: #334155;
  color: #cbd5e1;
}

/* Footer */
[data-theme="dark"] .site-footer {
  background-color: #111827;
  border-top-color: #1f2937;
  color: #64748b;
}

[data-theme="dark"] .footer-nav a,
[data-theme="dark"] .footer-nav li a,
[data-theme="dark"] .footer-menu-links a,
[data-theme="dark"] .footer-menu-links li a {
  color: #94a3b8 !important;
}

[data-theme="dark"] .footer-nav a:hover,
[data-theme="dark"] .footer-nav li a:hover,
[data-theme="dark"] .footer-menu-links a:hover,
[data-theme="dark"] .footer-menu-links li a:hover {
  color: #60a5fa !important;
}

/* Mod Gonder Formu */
[data-theme="dark"] .submit-rules-card {
  background-color: #111827;
  border-color: #222f49;
}

[data-theme="dark"] .submit-rules-card h4 {
  color: #f8fafc;
}

[data-theme="dark"] .submit-rules-card li {
  color: #cbd5e1;
}

[data-theme="dark"] .submit-step-card {
  background-color: #151d30;
  border-color: #222f49;
}

[data-theme="dark"] .step-title {
  color: #f8fafc;
  border-bottom-color: #222f49;
}

[data-theme="dark"] .form-label {
  color: #cbd5e1;
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background-color: #111827;
  border-color: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .file-upload-dropzone {
  background-color: #111827;
  border-color: #334155;
}

[data-theme="dark"] .dropzone-text {
  color: #cbd5e1;
}


/* =========================================================
 * MOD GONDER SAYFASI KARANLIK MOD STILLERI
 * ========================================================= */

[data-theme="dark"] .submit-form-wrapper {
  background-color: #151d30 !important;
  border: 1px solid #243049 !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.45) !important;
}

[data-theme="dark"] .submit-rules-card {
  background-color: #111827 !important;
  border: 1px solid #1f2d47 !important;
}

[data-theme="dark"] .rules-header {
  border-bottom: 1px solid #1f2d47;
}

[data-theme="dark"] .rules-header h4 {
  color: #60a5fa !important;
}

[data-theme="dark"] .rules-header svg {
  stroke: #60a5fa !important;
}

[data-theme="dark"] .rules-list li {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .rules-list li strong {
  color: #f8fafc !important;
}

[data-theme="dark"] .form-section-title {
  color: #f8fafc !important;
  border-bottom: 1px solid #243049 !important;
}

[data-theme="dark"] .form-label {
  color: #e2e8f0 !important;
}

[data-theme="dark"] .required-star {
  color: #f87171 !important;
}

[data-theme="dark"] .field-hint {
  color: #94a3b8 !important;
}

[data-theme="dark"] .form-control,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] select.form-control {
  background-color: #0b0f19 !important;
  border: 1px solid #334155 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-textarea:focus,
[data-theme="dark"] select.form-control:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

[data-theme="dark"] select.form-control option {
  background-color: #0b0f19 !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .file-upload-dropzone {
  background-color: #0b0f19 !important;
  border: 2px dashed #334155 !important;
}

[data-theme="dark"] .file-upload-dropzone:hover,
[data-theme="dark"] .file-upload-dropzone.dragover {
  border-color: #3b82f6 !important;
  background-color: #111827 !important;
}

[data-theme="dark"] .dropzone-text {
  color: #93c5fd !important;
}

[data-theme="dark"] .dropzone-subtext {
  color: #64748b !important;
}

[data-theme="dark"] .custom-checkbox-label {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .custom-checkbox-label .checkbox-box {
  background-color: #0b0f19 !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .custom-checkbox-label input[type="checkbox"]:checked + .checkbox-box {
  background-color: #2563eb !important;
  border-color: #2563eb !important;
}

[data-theme="dark"] .checkbox-text {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .form-alert-error {
  background-color: #450a0a !important;
  border: 1px solid #dc2626 !important;
  color: #fca5a5 !important;
}

[data-theme="dark"] .form-alert-success {
  background-color: #064e3b !important;
  border: 1px solid #059669 !important;
  color: #a7f3d0 !important;
}


/* =========================================================
 * YENI OZELLIK STILLERI: GALERI, YOUTUBE, 3 LINK, BOYUT
 * ========================================================= */

.file-size-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.gallery-upload-slot {
  transition: border-color 0.2s;
}

.gallery-upload-slot:hover {
  border-color: #3b82f6 !important;
}

/* Tekil Sayfa Galeri Grid */
.mod-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery-photo-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  background-color: #ffffff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-photo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.gallery-photo-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-photo-link:hover img {
  transform: scale(1.05);
}

/* YouTube Video Responsive */
.mod-video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background-color: #000000;
}

.mod-video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Alternatif Ayna Linkleri */
.btn-mirror-link {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff !important;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-mirror-link:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: #ffffff;
  color: #ffffff !important;
}

/* Karanlik Mod Uyum */
[data-theme="dark"] .gallery-upload-slot {
  background-color: #0b0f19 !important;
  border-color: #334155 !important;
}

[data-theme="dark"] .gallery-upload-slot label {
  color: #94a3b8 !important;
}

[data-theme="dark"] .gallery-photo-card {
  background-color: #151d30 !important;
  border-color: #222f49 !important;
}

[data-theme="dark"] .mod-video-responsive {
  border-color: #222f49 !important;
}


/* Dark mode form alerts */
[data-theme="dark"] .form-alert-success {
  background-color: #064e3b !important;
  border: 1px solid #10b981 !important;
  color: #ecfdf5 !important;
}
[data-theme="dark"] .form-alert-success h3,
[data-theme="dark"] .form-alert-success p {
  color: #ecfdf5 !important;
}
[data-theme="dark"] .form-alert-error {
  background-color: #450a0a !important;
  border: 1px solid #ef4444 !important;
  color: #fee2e2 !important;
}

/* =========================================================
 * 404 SAYFA BULUNAMADI - MODERN VE ETKILEYICI TASARIM
 * ========================================================= */

.page-404-main {
  padding: 60px 0 90px;
  min-height: calc(100vh - 250px);
  display: flex;
  align-items: center;
}

.error-404-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

.error-404-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 54px 44px;
  max-width: 740px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.03);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.error-404-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.error-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
  animation: pulse404 2s infinite;
}

@keyframes pulse404 {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.error-number-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  user-select: none;
}

.error-num {
  font-size: 108px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 18px rgba(37, 99, 235, 0.18));
}

.error-num-icon-box {
  width: 86px;
  height: 86px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 2px dashed #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  transform: rotate(-5deg);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
}

.error-num-icon-box:hover {
  transform: rotate(0deg) scale(1.08);
  border-color: #2563eb;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.error-truck-svg {
  width: 48px;
  height: 48px;
}

.error-title {
  font-size: 27px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
  line-height: 1.3;
  letter-spacing: -0.4px;
}

.error-description {
  font-size: 15.5px;
  line-height: 1.65;
  color: #64748b;
  max-width: 580px;
  margin: 0 auto 30px;
}

/* Modern Mod Arama Cubugu */
.error-search-box {
  max-width: 580px;
  margin: 0 auto 30px;
}

.error-search-form {
  display: flex;
  align-items: center;
  background-color: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 6px 8px 6px 16px;
  gap: 10px;
  transition: all 0.25s ease;
}

.error-search-form:focus-within {
  background-color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.error-search-icon {
  color: #94a3b8;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.error-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: #0f172a;
  padding: 8px 0;
  font-family: inherit;
}

.error-search-input::placeholder {
  color: #94a3b8;
  font-size: 14px;
}

.error-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.error-search-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Populer Kategoriler */
.error-popular-categories {
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px dashed #e2e8f0;
}

.popular-cats-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.popular-cats-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.error-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 7px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  transition: all 0.2s ease;
}

.error-cat-pill:hover {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.cat-pill-count {
  font-size: 11px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.07);
  padding: 2px 7px;
  border-radius: 10px;
  line-height: 1.2;
}

.error-cat-pill:hover .cat-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Aksiyon Butonlari */
.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-error-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
  transition: all 0.2s ease;
}

.btn-error-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.btn-error-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  color: #334155 !important;
  border: 1.5px solid #cbd5e1;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-error-secondary:hover {
  background-color: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a !important;
  transform: translateY(-2px);
}

/* Karanlik Mod Uyum */
[data-theme="dark"] .error-404-card {
  background-color: #111827;
  border-color: #1f2937;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .error-404-badge {
  background-color: rgba(225, 29, 72, 0.15);
  border-color: rgba(225, 29, 72, 0.3);
  color: #fda4af;
}

[data-theme="dark"] .error-num-icon-box {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(96, 165, 250, 0.3);
  color: #60a5fa;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .error-title {
  color: #f8fafc;
}

[data-theme="dark"] .error-description {
  color: #94a3b8;
}

[data-theme="dark"] .error-search-form {
  background-color: #0b0f19;
  border-color: #334155;
}

[data-theme="dark"] .error-search-form:focus-within {
  background-color: #111827;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .error-search-input {
  color: #f8fafc;
}

[data-theme="dark"] .error-popular-categories {
  border-top-color: #1f2937;
}

[data-theme="dark"] .popular-cats-label {
  color: #94a3b8;
}

[data-theme="dark"] .error-cat-pill {
  background-color: #1e293b;
  border-color: #334155;
  color: #cbd5e1;
}

[data-theme="dark"] .cat-pill-count {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

[data-theme="dark"] .btn-error-secondary {
  background-color: #1e293b;
  border-color: #475569;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .btn-error-secondary:hover {
  background-color: #334155;
  border-color: #64748b;
  color: #ffffff !important;
}

/* 404 Mobil Responsive */
@media screen and (max-width: 640px) {
  .page-404-main {
    padding: 30px 0 60px;
  }

  .error-404-card {
    padding: 36px 20px;
    border-radius: 18px;
  }

  .error-num {
    font-size: 76px;
  }

  .error-num-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }

  .error-truck-svg {
    width: 36px;
    height: 36px;
  }

  .error-title {
    font-size: 21px;
  }

  .error-description {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .error-search-form {
    flex-direction: column;
    padding: 12px;
    gap: 12px;
  }

  .error-search-input {
    width: 100%;
    text-align: center;
  }

  .error-search-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  .error-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-error-primary,
  .btn-error-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================================
 * MOD GÖRSELLERİ LIGHTBOX SLIDER & GALERİ
 * ========================================================= */

/* Kapak Görseli Büyütme Butonu ve Hover */
.single-mod-banner-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border-color, #e2e8f0);
}

.mod-banner-zoom-link {
  display: block;
  position: relative;
  text-decoration: none;
  cursor: zoom-in;
}

.mod-banner-zoom-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
  pointer-events: none;
  z-index: 3;
}

.mod-banner-zoom-link:hover .mod-banner-zoom-badge {
  background: #059669;
  border-color: #10b981;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
}

.single-mod-banner {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.mod-banner-zoom-link:hover .single-mod-banner {
  transform: scale(1.02);
}

/* Galeri Izgarası ve Fotoğraflar */
.mod-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 15px;
}

.gallery-photo-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  background: var(--bg-card, #ffffff);
  transition: all 0.3s ease;
}

.gallery-photo-link {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-photo-link img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #ffffff;
}

.gallery-photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.gallery-photo-card:hover img {
  transform: scale(1.08);
}

.gallery-photo-card:hover .gallery-photo-overlay {
  opacity: 1;
}

/* Lightbox Modal Ana Yapısı */
body.lightbox-open {
  overflow: hidden !important;
}

.mod-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mod-lightbox-modal.is-active {
  opacity: 1;
}

.mod-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mod-lightbox-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

/* Üst Kontrol Çubuğu */
.mod-lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  z-index: 10;
  background: linear-gradient(to bottom, rgba(10, 15, 29, 0.85), transparent);
}

.lightbox-info-col {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 75%;
}

.lightbox-counter-pill {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.lightbox-caption {
  color: #f1f5f9;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-actions-col {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lightbox-action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-action-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.06);
}

.lightbox-close-btn:hover {
  background: #ef4444;
  border-color: #dc2626;
  color: #ffffff;
}

/* Ana Görsel ve Sahne */
.mod-lightbox-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 10px 24px;
  overflow: hidden;
}

.mod-lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  position: relative;
}

.lightbox-main-img {
  max-width: 100%;
  max-height: calc(100vh - 190px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  user-select: none;
}

.lightbox-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #10b981;
  border-radius: 50%;
  animation: lightboxSpin 0.8s linear infinite;
  display: none;
  z-index: 5;
}

@keyframes lightboxSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Gezinme Butonları (Önceki & Sonraki Okları) */
.lightbox-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.lightbox-nav-btn:hover {
  background: #059669;
  border-color: #10b981;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4);
}

/* Alt Küçük Resimler (Thumbnails Strip) */
.mod-lightbox-thumbs-bar {
  height: 84px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.mod-lightbox-thumbs-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  max-width: 100%;
  scroll-behavior: smooth;
  padding: 4px 6px;
}

.mod-lightbox-thumbs-scroll::-webkit-scrollbar {
  height: 4px;
}

.mod-lightbox-thumbs-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.lightbox-thumb-item {
  width: 76px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  flex-shrink: 0;
  background: #1e293b;
}

.lightbox-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-thumb-item:hover {
  opacity: 0.85;
  transform: scale(1.04);
}

.lightbox-thumb-item.is-active {
  opacity: 1;
  border-color: #10b981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
  transform: scale(1.08);
}

/* Mobil Uyum */
@media (max-width: 768px) {
  .mod-lightbox-header {
    padding: 12px 16px;
  }

  .lightbox-caption {
    font-size: 13px;
    max-width: 160px;
  }

  .mod-lightbox-main {
    padding: 6px 10px;
  }

  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
  }

  .lightbox-main-img {
    max-height: calc(100vh - 200px);
  }

  .mod-lightbox-thumbs-bar {
    height: 72px;
    padding: 8px 12px;
  }

  .lightbox-thumb-item {
    width: 62px;
    height: 44px;
  }

  .mod-banner-zoom-badge {
    bottom: 10px;
    right: 10px;
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* =========================================================
 * HEADER ALTI RASTGELE 8 MOD BÖLÜMÜ
 * ========================================================= */

.header-random-mods-bar {
  padding-top: 18px;
  margin-bottom: 5px;
}

.random-mods-wrapper {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.random-mods-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.random-mods-heading {
  display: flex;
  align-items: center;
  gap: 8px;
}

.random-dice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: #fee2e2;
  color: #df4a32;
  flex-shrink: 0;
}

.random-title-text {
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.random-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.random-mods-refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.random-mods-refresh-btn:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.random-mods-refresh-btn.is-loading .refresh-icon {
  animation: spin-random 0.6s linear infinite;
}

@keyframes spin-random {
  100% {
    transform: rotate(360deg);
  }
}

.random-mods-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  transition: opacity 0.2s ease;
}

.random-mods-grid.is-refreshing {
  opacity: 0.5;
  pointer-events: none;
}

.random-mod-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.random-mod-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 10px;
  background-color: #f8fafc;
  border: 1px solid #eef2f6;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.22s ease;
}

.random-mod-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
  border-color: #cbd5e1;
  background-color: #ffffff;
}

.random-mod-thumb-wrap {
  position: relative;
  width: 100%;
  height: 92px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.random-mod-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.random-mod-card-link:hover .random-mod-thumb {
  transform: scale(1.08);
}

.random-mod-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background-color: #e2e8f0;
}

.random-mod-cat-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  font-size: 9.5px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.2;
  max-width: calc(100% - 10px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.random-mod-card-body {
  padding: 8px 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.random-mod-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
  transition: color 0.18s ease;
}

.random-mod-card-link:hover .random-mod-card-title {
  color: #df4a32;
}

.random-mod-card-date {
  font-size: 10.5px;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Tablet ve Dizüstü Breakpoints */
@media (max-width: 1280px) and (min-width: 860px) {
  .random-mods-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .random-mod-thumb-wrap {
    height: 110px;
  }
}

@media (max-width: 859px) and (min-width: 641px) {
  .random-mods-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }
  .random-mod-thumb-wrap {
    height: 95px;
  }
}

/* Mobil Breakpoint: Pürüzsüz Yatay Kaydırma */
@media (max-width: 640px) {
  .header-random-mods-bar {
    padding-top: 14px;
  }
  .random-mods-wrapper {
    padding: 12px 12px 14px;
    border-radius: 12px;
  }
  .random-mods-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .random-mod-card {
    flex: 0 0 138px;
    min-width: 138px;
    scroll-snap-align: start;
  }
  .random-mod-thumb-wrap {
    height: 88px;
  }
}

/* Karanlık Mod */
[data-theme="dark"] .random-mods-wrapper {
  background-color: #151d30;
  border-color: #222f49;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .random-dice-icon {
  background-color: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

[data-theme="dark"] .random-title-text {
  color: #f8fafc;
}

[data-theme="dark"] .random-badge {
  background-color: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

[data-theme="dark"] .random-mods-refresh-btn {
  background-color: #111827;
  border-color: #222f49;
  color: #cbd5e1;
}

[data-theme="dark"] .random-mods-refresh-btn:hover {
  background-color: #1e293b;
  color: #ffffff;
  border-color: #334155;
}

[data-theme="dark"] .random-mod-card-link {
  background-color: #111827;
  border-color: #1f2937;
}

[data-theme="dark"] .random-mod-card-link:hover {
  background-color: #1a2234;
  border-color: #334155;
}

[data-theme="dark"] .random-mod-thumb-wrap {
  background-color: #1e293b;
}

[data-theme="dark"] .random-mod-thumb-placeholder {
  background-color: #1e293b;
  color: #64748b;
}

[data-theme="dark"] .random-mod-card-title {
  color: #f1f5f9;
}

/* =========================================================
 * AÇILIR PENCERE (AUTH MODAL) STİLLERİ
 * ========================================================= */
body.modal-locked {
  overflow: hidden !important;
}

.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.auth-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.auth-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(18px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.auth-modal.is-open .auth-modal-dialog {
  transform: translateY(0) scale(1);
}

.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  z-index: 10;
}

.auth-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.05);
}

.auth-modal-header {
  padding: 26px 28px 16px;
  text-align: center;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.auth-modal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.auth-modal-logo img {
  max-height: 44px;
  width: auto;
}

.auth-site-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111827;
}

.auth-tabs-nav {
  display: flex;
  background: #e2e8f0;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn:hover {
  color: #1e293b;
}

.auth-tab-btn.is-active {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.auth-modal-body {
  padding: 24px 28px 28px;
}

.auth-alert {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 18px;
  display: none;
}

.auth-alert.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.auth-alert.alert-success {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.auth-form-group {
  margin-bottom: 16px;
}

.auth-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.auth-label-row label {
  margin-bottom: 0;
}

.auth-forgot-link {
  font-size: 12px;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}

.auth-forgot-link:hover {
  text-decoration: underline;
}

.auth-input-wrap {
  position: relative;
}

.auth-input {
  width: 100%;
  height: 42px;
  padding: 8px 14px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.auth-input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.auth-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
}

.auth-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #475569;
  user-select: none;
}

.auth-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
}

.btn-auth-submit {
  width: 100%;
  height: 44px;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.btn-auth-submit:hover:not(:disabled) {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.btn-auth-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-auth-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Karanlık Mod Uyumluluğu */
[data-theme="dark"] .auth-modal-backdrop {
  background: rgba(0, 0, 0, 0.8);
}

[data-theme="dark"] .auth-modal-dialog {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .auth-modal-close {
  background: #334155;
  color: #94a3b8;
}

[data-theme="dark"] .auth-modal-close:hover {
  background: #475569;
  color: #ffffff;
}

[data-theme="dark"] .auth-modal-header {
  background: #0f172a;
  border-bottom-color: #334155;
}

[data-theme="dark"] .auth-site-title {
  color: #f1f5f9;
}

[data-theme="dark"] .auth-tabs-nav {
  background: #1e293b;
}

[data-theme="dark"] .auth-tab-btn {
  color: #94a3b8;
}

[data-theme="dark"] .auth-tab-btn:hover {
  color: #f8fafc;
}

[data-theme="dark"] .auth-tab-btn.is-active {
  background: #334155;
  color: #60a5fa;
}

[data-theme="dark"] .auth-form-group label {
  color: #cbd5e1;
}

[data-theme="dark"] .auth-input {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .auth-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

[data-theme="dark"] .auth-checkbox-label {
  color: #94a3b8;
}


[data-theme="dark"] .random-mod-card-link:hover .random-mod-card-title {
  color: #f87171;
}

[data-theme="dark"] .random-mod-card-date {
  color: #64748b;
}



/* =========================================================
 * ETS2Modum Profil Stilleri (Modernize Edilmiş ve Kusursuz)
 * ========================================================= */

.ets2-profile-wrapper {
  max-width: 1140px;
  margin: 30px auto 60px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
}

/* Kapak Görseli */
.ets2-profile-cover {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111827;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 20px 24px;
}

.ets2-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 40%, rgba(15,23,42,0.85) 100%);
  pointer-events: none;
}

.ets2-cover-upload-btn {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.ets2-cover-upload-btn:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Profil Üst Başlık Kartı */
.ets2-profile-header-card {
  position: relative;
  padding: 28px 32px 24px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  z-index: 2;
}

.ets2-avatar-wrap {
  position: relative;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  flex-shrink: 0;
  background: #ffffff;
  margin-top: -68px;
  z-index: 4;
}

.ets2-profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.ets2-avatar-upload-btn {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
  border: 3px solid #ffffff;
}

.ets2-avatar-upload-btn:hover {
  background: #1d4ed8;
  transform: scale(1.12);
  color: #ffffff;
}

.ets2-user-details {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.ets2-user-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}

.ets2-user-name {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a !important;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.ets2-user-role {
  display: inline-flex;
  align-items: center;
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.ets2-user-bio {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 12px;
  max-width: 640px;
}

.ets2-user-bio.placeholder {
  color: #94a3b8;
  font-style: italic;
}

.ets2-user-meta-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ets2-user-meta-chips .chip {
  background: #f1f5f9;
  color: #475569;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: all 0.15s ease;
}

.ets2-user-meta-chips .chip-link:hover {
  background: #e2e8f0;
  color: #2563eb;
  border-color: #cbd5e1;
}

/* Sağ Taraf: İstatistikler ve Üst Mod Gönder Butonu */
.ets2-header-right-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

.ets2-header-stats {
  display: flex;
  gap: 12px;
}

.ets2-header-stats .stat-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 18px;
  text-align: center;
  min-width: 85px;
  transition: all 0.2s ease;
}

.ets2-header-stats .stat-box:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.ets2-header-stats .stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #2563eb;
  line-height: 1.1;
  margin-bottom: 2px;
}

.ets2-header-stats .stat-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Üst Profil Kartı Sabit Mod Gönder Butonu */
.ets2-profile-submit-mod-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ets2-profile-submit-mod-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  color: #ffffff !important;
}

/* Sekmeler Barı */
.ets2-profile-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 32px;
}

.ets2-tabs-left {
  display: flex;
  gap: 4px;
}

.ets2-tabs-right {
  display: flex;
  align-items: center;
}

.ets2-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #64748b;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ets2-tab-btn:hover {
  color: #0f172a;
}

.ets2-tab-btn.is-active {
  color: #2563eb;
  border-bottom-color: #2563eb;
  background: #ffffff;
}

.ets2-tab-btn .badge {
  background: #e2e8f0;
  color: #475569;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.ets2-tab-btn.is-active .badge {
  background: #dbeafe;
  color: #1d4ed8;
}

/* Sekme Barı Sağındaki Hızlı Mod Ekle Linki */
.ets2-tab-quick-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: #2563eb !important;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 7px 14px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.ets2-tab-quick-submit:hover {
  background: #2563eb;
  color: #ffffff !important;
  border-color: #2563eb;
  transform: translateY(-1px);
}

/* İçerik Alanı */
.ets2-profile-content {
  padding: 32px;
}

/* Modlar Sekmesi Üst Bilgi ve Buton Çubuğu */
.ets2-mods-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.ets2-mods-count-info {
  font-size: 14.5px;
  color: #64748b;
}

.ets2-mods-count-info strong {
  color: #0f172a;
}

.ets2-btn-add-mod {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2563eb;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.ets2-btn-add-mod:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  color: #ffffff !important;
}

/* Mod Kartları Grid */
.ets2-user-mods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.ets2-user-mod-card {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.ets2-user-mod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e1;
}

.ets2-user-mod-card .mod-card-thumb {
  position: relative;
  height: 170px;
  background: #f1f5f9;
}

.ets2-user-mod-card .mod-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ets2-user-mod-card .no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  color: #94a3b8;
}

.mod-status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.mod-status-badge.status-published {
  background: #16a34a;
  color: #ffffff;
}

.mod-status-badge.status-pending {
  background: #f59e0b;
  color: #ffffff;
}

.mod-status-badge.status-draft {
  background: #64748b;
  color: #ffffff;
}

.ets2-user-mod-card .mod-card-info {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ets2-user-mod-card .mod-title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
}

.ets2-user-mod-card .mod-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.15s;
}

.ets2-user-mod-card .mod-title a:hover {
  color: #2563eb;
}

.ets2-user-mod-card .mod-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}

/* Yorum Listesi */
.ets2-user-comments-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ets2-user-comment-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px 22px;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.ets2-user-comment-card:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.ets2-user-comment-card .comment-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  margin-bottom: 10px;
}

.ets2-user-comment-card .comment-target a {
  color: #2563eb;
  text-decoration: none;
}

.ets2-user-comment-card .comment-target a:hover {
  text-decoration: underline;
}

.ets2-user-comment-card .comment-date {
  color: #94a3b8;
  font-size: 12.5px;
}

.ets2-user-comment-card .comment-text {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.6;
}

/* Ayarlar Kartı */
.ets2-settings-card {
  max-width: 740px;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.settings-grid .form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 7px;
}

.form-group .form-control {
  width: 100%;
  padding: 11px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  color: #0f172a;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.form-group .form-control:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.settings-divider {
  position: relative;
  text-align: center;
  margin: 32px 0 24px;
}

.settings-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.settings-divider span {
  position: relative;
  background: #ffffff;
  padding: 0 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.settings-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.settings-actions #btnSaveProfile,
.settings-actions button[type="submit"],
#btnSaveProfile {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 13px 32px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.2s ease !important;
  line-height: 1.4 !important;
}

.settings-actions #btnSaveProfile:hover,
.settings-actions button[type="submit"]:hover,
#btnSaveProfile:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45) !important;
  color: #ffffff !important;
}

.profile-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.profile-alert.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

.profile-alert.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* Boş Durum (Empty State) Tasarımı */
.ets2-empty-state {
  text-align: center;
  padding: 60px 24px;
  background: #fafafa;
  border-radius: 16px;
  border: 2px dashed #e2e8f0;
  max-width: 580px;
  margin: 10px auto 30px;
}

.empty-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid #dbeafe;
}

.ets2-empty-state h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.ets2-empty-state p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 26px;
}

/* Büyük Aksiyon Butonu */
.ets2-btn-hero-submit,
a.ets2-btn-hero-submit,
.ets2-empty-state .btn-primary,
.ets2-empty-state a.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 13px 32px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35) !important;
  transition: all 0.2s ease !important;
  line-height: 1.4 !important;
}

.ets2-btn-hero-submit:hover,
a.ets2-btn-hero-submit:hover,
.ets2-empty-state .btn-primary:hover,
.ets2-empty-state a.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45) !important;
  color: #ffffff !important;
}

/* Ziyaretçi Giriş Kartı */
.ets2-profile-guest-card {
  max-width: 520px;
  margin: 60px auto;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 44px 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.guest-card-icon {
  font-size: 54px;
  margin-bottom: 18px;
}

.guest-card-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 26px;
}

/* Responsive */
@media (max-width: 900px) {
  .ets2-profile-header-card {
    flex-wrap: wrap;
  }
  .ets2-header-right-side {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eef2f6;
    padding-top: 16px;
    margin-top: 8px;
  }
}

@media (max-width: 768px) {
  .ets2-profile-wrapper {
    margin: 15px 0 40px;
    border-radius: 12px;
  }

  .ets2-profile-cover {
    height: 200px;
    padding: 14px;
  }

  .ets2-profile-header-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px 24px;
  }

  .ets2-avatar-wrap {
    margin-top: -62px;
  }

  .ets2-user-title-row {
    justify-content: center;
  }

  .ets2-user-details {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ets2-user-meta-chips {
    justify-content: center;
  }

  .ets2-header-right-side {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .ets2-profile-tabs-bar {
    padding: 0 12px;
    overflow-x: auto;
  }

  .ets2-tab-btn {
    padding: 14px 12px;
    font-size: 13.5px;
    white-space: nowrap;
  }

  .ets2-tab-quick-submit {
    display: none;
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .settings-grid .form-group.full-width {
    grid-column: span 1;
  }
}

/* Karanlık Mod Desteği */
[data-theme="dark"] .ets2-profile-wrapper,
[data-theme="dark"] .ets2-profile-guest-card {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .ets2-profile-header-card {
  background: #1e293b;
  border-bottom-color: #334155;
}

[data-theme="dark"] .ets2-avatar-wrap {
  border-color: #1e293b;
  background: #1e293b;
}

[data-theme="dark"] .ets2-user-name {
  color: #f8fafc;
}

[data-theme="dark"] .ets2-user-bio {
  color: #cbd5e1;
}

[data-theme="dark"] .ets2-user-meta-chips .chip {
  background: #0f172a;
  color: #cbd5e1;
  border-color: #334155;
}

[data-theme="dark"] .ets2-user-meta-chips .chip-link:hover {
  background: #334155;
  color: #60a5fa;
  border-color: #475569;
}

[data-theme="dark"] .ets2-header-stats .stat-box {
  background: #0f172a;
  border-color: #334155;
}

[data-theme="dark"] .ets2-header-stats .stat-box:hover {
  background: #1e293b;
  border-color: #475569;
}

[data-theme="dark"] .ets2-profile-tabs-bar {
  background: #0f172a;
  border-bottom-color: #334155;
}

[data-theme="dark"] .ets2-tab-btn {
  color: #94a3b8;
}

[data-theme="dark"] .ets2-tab-btn.is-active {
  background: #1e293b;
  color: #60a5fa;
  border-bottom-color: #60a5fa;
}

[data-theme="dark"] .ets2-tab-btn .badge {
  background: #334155;
  color: #cbd5e1;
}

[data-theme="dark"] .ets2-tab-quick-submit {
  background: #0f172a;
  border-color: #334155;
  color: #60a5fa !important;
}

[data-theme="dark"] .ets2-mods-top-bar {
  border-bottom-color: #334155;
}

[data-theme="dark"] .ets2-mods-count-info strong {
  color: #f1f5f9;
}

[data-theme="dark"] .ets2-user-mod-card,
[data-theme="dark"] .ets2-user-comment-card {
  background: #0f172a;
  border-color: #334155;
}

[data-theme="dark"] .ets2-user-mod-card .mod-title a {
  color: #f8fafc;
}

[data-theme="dark"] .ets2-user-comment-card .comment-text {
  color: #e2e8f0;
}

[data-theme="dark"] .ets2-empty-state {
  background: #0f172a;
  border-color: #334155;
}

[data-theme="dark"] .ets2-empty-state h3 {
  color: #f8fafc;
}

[data-theme="dark"] .empty-icon-wrap {
  background: #1e293b;
  border-color: #334155;
  color: #60a5fa;
}

[data-theme="dark"] .form-group label {
  color: #cbd5e1;
}

[data-theme="dark"] .form-group .form-control {
  background: #0f172a;
  border-color: #334155;
  color: #f8fafc;
}

[data-theme="dark"] .settings-divider span {
  background: #1e293b;
  color: #94a3b8;
}

[data-theme="dark"] .settings-divider::before {
  background: #334155;
}
