﻿/* --- HEADER YAPISI --- */
.header {
  background: #0e1b42;
  color: white;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 3000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.header-content-limit {
  width: 100%;
  max-width: 1600px;
  /* Sol tarafa kaydırma için ayar */
  margin-right: auto;
  margin-left: 0;
  padding: 5px 25px 0px 10px;
  box-sizing: border-box;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Kırmızı boşlukları silmek için marjini sıfırladık */
  margin-bottom: 0px;
}

/* MARKA ALANI */
.brand-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-img {
  /* Logo boyutunu dikey alana yayılacak şekilde artırdık */
  height: 65px;
  width: 65px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(207, 10, 44, 0.3));
}

.brand-text {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.brand-text .main-text {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-text .sub-text {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  padding-left: 8px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ccc;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.action-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #ffffff !important;
}

/* KULLANICI MENÜSÜ & DROPDOWN */
.user-menu-wrapper {
  position: relative;
}

.user-btn {
  background: transparent;
  border: none;
  color: #eee;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.user-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.user-avatar {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 0.8rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 110%;
  background-color: #1c2438 !important;
  /* Opak arka plan */
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 9999;
  /* En üstte olmasını garanti et */
  overflow: hidden;
  animation: fadeInDropdown 0.2s ease;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  color: #ddd;
  text-decoration: none;
  font-size: 0.85rem;
  transition: 0.2s;
}

.dropdown-item:hover {
  background-color: #2c344a;
  color: #fff;
}

.dropdown-item i {
  width: 15px;
  text-align: center;
  color: var(--secondary);
}

.dropdown-item.logout {
  color: #ff6b6b;
}

.dropdown-item.logout:hover {
  background: rgba(255, 107, 107, 0.1);
}

.dropdown-item.logout i {
  color: #ff6b6b;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 0;
}

@keyframes fadeInDropdown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- ORTA KONTROL ALANI --- */
.control-wrapper {
  display: flex;
  align-items: center;
  /* Sola hizalı */
  justify-content: flex-start;
  gap: 15px;
  /* Kırmızı boşlukları silmek için padding'i sıfırladık */
  padding-bottom: 0;
  position: relative;
  flex-wrap: wrap;
}

.search-container {
  position: relative;
  width: 300px;
  flex-shrink: 0;
}

#searchInput {
  width: 100%;
  padding: 6px 15px 6px 35px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: white;
  font-size: 0.85rem;
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

#searchInput::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#searchInput:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: #cf0a2c;
  outline: none;
  box-shadow: 0 0 0 2px rgba(207, 10, 44, 0.15);
}

.search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Filtre Alanı */
.filter-container {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
  padding-bottom: 2px;
  max-width: 100%;
  position: relative;
}

.filter-container::-webkit-scrollbar {
  height: 0px;
}

/* GENEL FİLTRE BUTONU */
.filter-btn {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.75);
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 1;
}

.filter-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* Aktif Buton */
.filter-btn.active {
  background-color: #cf0a2c !important;
  color: #ffffff !important;
  border-color: #cf0a2c !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(207, 10, 44, 0.3);
}

.divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
  margin: 0 4px;
}

.link-btn {
  color: rgba(255, 255, 255, 0.7);
}

.link-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* --- TICKER (Duyuru Barı İyileştirmesi) --- */
.news-ticker-box {
  width: 100%;
  /* Rengi üst barın ana rengine yakın, hafif koyu yaptık */
  background: #0a1532;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0 25px;
  height: 25px;
  /* Duyuru barını daralttık */
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 0px;
  box-sizing: border-box;
  overflow: hidden;
}

.news-ticker-box:hover {
  background: #1c2438;
}

.ticker-label {
  font-size: 0.65rem;
  color: #cf0a2c;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  min-width: fit-content;
  z-index: 5;
  background: #0a1532;
  /* Arka planı kutu arka planıyla eşleştirdik */
  padding-right: 15px;
  height: 100%;
  display: flex;
  align-items: center;
}

.pulse-dot {
  width: 5px;
  height: 5px;
  background: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.ticker-scroll-wrapper {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* KAYAN YAZI ANİMASYONU */
.ticker-content {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  position: absolute;
  left: 100%;
  animation: ticker-scroll 60s linear infinite;
  font-weight: 500;
  font-family: "Outfit", sans-serif;
}

/* Duyuru barında akan tarih rengi: kurumsal gri */
.ticker-content .ticker-date,
.ticker-content .news-date {
  color: var(--corp-gray) !important;
  font-weight: 800;
  letter-spacing: 0.4px;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%) translateX(-200px);
  }
}

/* --- CARDS & GRID --- */
/* --- MODERN HOME PAGE DASHBOARD --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  width: 100%;
  align-items: stretch;
}

.home-edit {
  background: white;
  border: 1px solid #e0e6ed;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1e293b;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.home-edit:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.hero-section {
  background: linear-gradient(135deg, #0e1b42 0%, #1e3a8a 100%);
  border-radius: 12px;
  padding: 10px 20px;
  /* Padding azaltıldı */
  margin-bottom: 20px;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
}

.hero-greeting {
  font-size: 1.2rem;
  /* Font küçültüldü */
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 0.82rem;
  /* Font küçültüldü */
  opacity: 0.8;
  margin-top: 2px;
  max-width: 800px;
  /* Daha geniş alan */
  line-height: 1.2;
}

.hero-quick-access {
  display: flex;
  gap: 10px;
  position: relative;
  z-index: 2;
  margin-left: 20px;
}

.hero-btn {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  cursor: pointer;
  white-space: nowrap;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hero-btn i {
  font-size: 1.2rem;
  color: #fbbf24;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  /* Gap azaltıldı */
  margin-bottom: 30px;
}

.home-card {
  background: white;
  border-radius: 16px;
  /* Daha modern/yumuşak köşe */
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.home-card-header {
  padding: 15px 20px;
  /* Padding azaltıldı */
  background: #f8fafc;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.home-card-header i {
  font-size: 1.15rem;
  color: #1e3a8a;
}

.home-card-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}

.home-card-body {
  padding: 15px 20px;
  /* Padding azaltıldı */
  flex-grow: 1;
  max-height: 320px;
  /* Maksimum yükseklik sınırı */
  overflow-y: auto;
}

/* Home Mini Item Styles */
.home-mini-item {
  padding: 12px 0;
  border-bottom: 1px solid #f8fafc;
  transition: all 0.2s;
}

.home-mini-item:last-child {
  border-bottom: none;
}

.home-mini-date {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.home-mini-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 4px;
}

.home-mini-desc {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clickable {
  cursor: pointer;
}

.clickable:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
}

/* Home Quote Styles */
.home-quote-container {
  padding: 5px;
  position: relative;
}

.home-quote-icon {
  font-size: 1.5rem;
  color: #1e3a8a;
  opacity: 0.1;
  margin-bottom: 10px;
}

.home-quote-text {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
  color: #334155;
  margin-bottom: 12px;
  font-weight: 500;
}

.home-quote-author {
  text-align: right;
  font-weight: 700;
  color: #1e3a8a;
  font-size: 0.82rem;
}

/* Home Leaderboard Styles */
.home-leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.home-leaderboard-table th {
  text-align: left;
  color: #64748b;
  border-bottom: 1px solid #f1f5f9;
  padding: 8px 0;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.65rem;
}

.home-leaderboard-table td {
  padding: 10px 0;
  border-bottom: 1px solid #f8fafc;
  color: #1e293b;
}

.home-leaderboard-table tr:last-child td {
  border-bottom: none;
}

.container {
  padding: 20px 30px;
  /* Padding azaltıldı */
  max-width: 1600px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--info);
  opacity: 0.8;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #e2e8f0;
}

.card.Teknik::after {
  background: var(--primary);
}

.card.İkna::after {
  background: var(--accent);
}

.card.Kampanya::after {
  background: var(--success);
}

.card.Bilgi::after {
  background: var(--info);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  padding-right: 30px;
}

.card-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
  color: #1e293b;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f8fafc;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  border: 1px solid #f1f5f9;
}

.card-content {
  font-size: 0.92rem;
  color: #475569;
  margin-bottom: 18px;
  line-height: 1.6;
  flex-grow: 1;
  cursor: pointer;
}

.card-text-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.script-box {
  background: #fdfaf3;
  border: 1px solid #f9f1d8;
  padding: 12px 15px;
  border-radius: 10px;
  font-style: italic;
  color: #78350f;
  margin-top: auto;
  position: relative;
  font-size: 0.88rem;
  line-height: 1.5;
}

.card-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn {
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-copy {
  background: #f1f5f9;
  color: #1e293b;
}

.btn-copy:hover {
  background: #e2e8f0;
  transform: scale(1.02);
}

.btn-link {
  background: #eff6ff;
  color: #2563eb;
  text-decoration: none;
}

.btn-link:hover {
  background: #dbeafe;
  transform: scale(1.02);
}

.new-badge {
  position: absolute;
  top: 12px;
  left: 5px;
  background: #10b981;
  color: white;
  font-size: 0.65rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 800;
  z-index: 15;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.icon-wrapper {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 20;
}

.edit-icon {
  color: #f59e0b;
  cursor: pointer;
  display: none;
  font-size: 0.95rem;
  padding: 6px;
  background: white;
  border-radius: 80px;
  border: 1px solid #fde68a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body.editing .edit-icon {
  display: flex !important;
}

.fav-icon {
  color: #cbd5e1;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.fav-icon:hover {
  color: #94a3b8;
  transform: scale(1.1);
}

.fav-icon.active {
  color: #f59e0b;
}

/* MODAL/MODÜL STİLLERİ */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 27, 66, 0.8);
  z-index: 5000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

.modal-content {
  background: white;
  width: 90%;
  max-width: 800px;
  border-radius: 8px;
  padding: 30px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: 0.2s;
}

.close-modal:hover {
  color: #333;
}

.swal2-container {
  z-index: 10000 !important;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

.crafted-by-badge {
  position: fixed;
  bottom: 5px;
  right: 10px;
  font-family: sans-serif;
  font-size: 0.65rem;
  color: #0e1b42;
  opacity: 0.2;
  z-index: 9999;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* NEWS ITEMS & BADGES */
.news-item {
  border-left: 4px solid var(--primary);
  padding: 15px 15px 15px 20px;
  margin-bottom: 20px;
  position: relative;
  background-color: #fcfcfc;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  border-left-width: 4px;
}

.news-date {
  font-size: 0.75rem;
  color: #999;
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  line-height: 1.3;
}

.news-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.news-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  margin-top: 5px;
  font-weight: 700;
  text-transform: uppercase;
}

.tag-fix {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.tag-update {
  background: #fff3e0;
  color: #ef6c00;
  border: 1px solid #ffe0b2;
}

.tag-info {
  background: #e3f2fd;
  color: #0277bd;
  border: 1px solid #bbdefb;
}

/* PENALTY & FUNCTIONAL STYLES (Restored) */
.penalty-stats {
  background: #111;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 15px;
  border: 1px solid #333;
}

.penalty-stats span span {
  color: var(--secondary);
}

.joker-btn {
  background: #6a1b9a;
  color: white;
  padding: 10px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  flex: 1;
  margin: 0 5px;
  font-weight: bold;
  transition: all 0.2s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
}

.joker-btn:hover:not(:disabled) {
  background: #ab47bc;
  transform: translateY(-2px);
}

.joker-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.penalty-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.penalty-btn {
  padding: 15px 10px;
  background: rgba(14, 27, 66, 0.8);
  color: #fff;
  border: 2px solid #00f2ff;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 5px rgba(0, 242, 255, 0.3);
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.penalty-btn:hover:not(:disabled) {
  background: #00f2ff;
  color: #0e1b42;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.8), 0 0 40px rgba(0, 242, 255, 0.4);
  text-shadow: none;
}

.penalty-btn:active:not(:disabled) {
  transform: translateY(-1px) scale(0.98);
}

.penalty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.penalty-btn.wrong-first-try {
  background: rgba(211, 47, 47, 0.8) !important;
  color: white !important;
  border-color: #ff5252 !important;
  box-shadow: 0 0 15px rgba(211, 47, 47, 0.5) !important;
  opacity: 0.8;
  cursor: not-allowed;
}

.penalty-field {
  background: radial-gradient(circle at 50% 30%,
      #2e7d32 0%,
      #1b5e20 40%,
      #0a250a 100%);
  border: 4px solid #00f2ff;
  border-radius: 12px;
  height: 400px;
  /* Reduced from 480px */
  position: relative;
  overflow: hidden;
  perspective: 1000px;
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.4),
    inset 0 0 100px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.stadium-stands {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: radial-gradient(circle,
      rgba(0, 242, 255, 0.1) 1px,
      transparent 1px),
    linear-gradient(to bottom, #050a14 0%, #0e1b42 100%);
  background-size: 15px 15px, 100% 100%;
  z-index: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.double-indicator {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #ff00ff, #00f2ff);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 800;
  z-index: 100;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
  animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
  from {
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.6);
    transform: translateX(-50%) scale(1);
  }

  to {
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.9);
    transform: translateX(-50%) scale(1.05);
  }
}

.goal-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 100;
  font-size: 5rem;
  font-weight: 900;
  text-shadow: 0 0 20px rgba(255, 255, 255, 1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  opacity: 0;
}

.goal-message.show {
  transform: translate(-50%, -50%) scale(1.2);
  opacity: 1;
  animation: goalShake 0.5s;
}

@keyframes goalShake {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.4);
  }

  100% {
    transform: translate(-501%, -50%) scale(1.2);
  }
}

/* Gamer Modal Enhancements */
.gamer-modal {
  background: rgba(10, 20, 40, 0.98) !important;
  border: 2px solid #00f2ff !important;
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.4),
    inset 0 0 15px rgba(0, 242, 255, 0.1) !important;
  backdrop-filter: none !important;
  /* Removed blur to fix user complaint */
  color: #fff !important;
  max-height: 98vh !important;
  overflow-y: auto !important;
  padding: 20px !important;
}

/* Responsive Scaling for Games on smaller screens */
@media screen and (max-height: 800px) {
  .gamer-modal {
    transform: scale(0.9);
    transform-origin: center top;
  }
}

@media screen and (max-height: 700px) {
  .gamer-modal {
    transform: scale(0.8);
  }
}

.gamer-modal h2 {
  text-shadow: none !important;
  /* Removed blur effect */
  color: #00f2ff !important;
  /* Ensuring high contrast cyan */
}

.gamer-modal p {
  color: #fff !important;
  font-size: 1.05rem;
  text-shadow: none !important;
  /* Removed blur effect */
}

/* Gamer Action Buttons */
.gamer-modal .game-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.gamer-modal .game-hub-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(0, 242, 255, 0.2) !important;
  border-radius: 15px !important;
  padding: 20px !important;
  text-align: center;
  transition: all 0.3s !important;
  cursor: pointer !important;
}

.gamer-modal .game-hub-card:hover {
  background: rgba(0, 242, 255, 0.1) !important;
  border-color: #00f2ff !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(0, 242, 255, 0.1) !important;
}

.gamer-modal .gh-title {
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 1.2rem !important;
  margin: 10px 0 !important;
}

.gamer-modal .gh-desc {
  color: #aaa !important;
  font-size: 0.85rem !important;
  margin-bottom: 15px !important;
}

.gamer-modal .gh-cta {
  background: #00f2ff !important;
  color: #0e1b42 !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-weight: 900 !important;
  display: inline-block !important;
}

.gamer-modal .btn-copy {
  background: #00f2ff !important;
  color: #0e1b42 !important;
  font-weight: 900 !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.4) !important;
  transition: all 0.2s !important;
  cursor: pointer !important;
}

.gamer-modal .btn-copy:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.7) !important;
  background: #fff !important;
}

.gamer-modal .btn-link {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 10px 20px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
}

.gamer-modal .btn-link:hover {
  background: rgba(255, 255, 255, 0.2) !important;
}

.quick-chip {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 242, 255, 0.5);
  padding: 6px 15px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.quick-chip span {
  color: #00f2ff;
  text-shadow: 0 0 5px rgba(0, 242, 255, 0.8);
}

.quick-topbar {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.quick-question {
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 4px solid #00f2ff;
  margin-bottom: 20px;
}

.quick-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.grass-stripes {
  position: absolute;
  top: 120px;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(180deg,
      rgba(255, 255, 255, 0.03) 0%,
      rgba(255, 255, 255, 0.03) 40px,
      transparent 40px,
      transparent 80px);
  z-index: 0;
  transform: rotateX(20deg) scale(1.1);
  transform-origin: top;
}

.goal-container {
  position: relative;
  width: 320px;
  height: 160px;
  margin: 50px auto 0 auto;
  transform-style: preserve-3d;
  z-index: 2;
  perspective: 600px;
}

.goal-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to bottom, #f0f0f0, #bdbdbd);
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.goal-post-left,
.goal-post-right {
  position: absolute;
  top: 0;
  width: 10px;
  height: 100%;
  background: linear-gradient(to right, #f0f0f0, #bdbdbd);
  border-radius: 5px;
  z-index: 5;
}

.goal-post-left {
  left: 0;
}

.goal-post-right {
  right: 0;
}

.goal-net {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 310px;
  height: 155px;
  background: repeating-linear-gradient(45deg,
      transparent,
      transparent 5px,
      rgba(255, 255, 255, 0.3) 5px,
      rgba(255, 255, 255, 0.3) 6px),
    repeating-linear-gradient(-45deg,
      transparent,
      transparent 5px,
      rgba(255, 255, 255, 0.3) 5px,
      rgba(255, 255, 255, 0.3) 6px);
  background-color: rgba(0, 0, 0, 0.2);
  transform: translateZ(-40px);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.ball-wrapper {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  transition: all 0.6s cubic-bezier(0.1, 0.5, 0.3, 1);
  width: 36px;
  height: 36px;
}

.football {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
  background-image: radial-gradient(circle at 50% 50%,
      rgba(0, 0, 0, 0.1) 40%,
      transparent 50%),
    conic-gradient(#fff 0deg,
      #fff 45deg,
      #222 45deg,
      #222 90deg,
      #fff 90deg,
      #fff 135deg,
      #222 135deg,
      #222 180deg,
      #fff 180deg,
      #fff 225deg,
      #222 225deg,
      #222 270deg,
      #fff 270deg,
      #fff 315deg,
      #222 315deg,
      #222 360deg);
  background-size: 200% 200%;
  box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.4),
    0 5px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: spinIdle 10s linear infinite;
}

@keyframes spinIdle {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

.ball-shadow {
  width: 30px;
  height: 6px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(3px);
  transition: all 0.6s;
}

.keeper-wrapper {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 130px;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1.2);
  perspective: 500px;
}

.player-figure {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.head {
  width: 28px;
  height: 32px;
  background: radial-gradient(circle at 10px 10px, #ffcc80, #e65100);
  border-radius: 50% 50% 45% 45% / 50% 50% 55% 55%;
  margin: 0 auto;
  position: relative;
  z-index: 4;
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.3), 0 2px 5px rgba(0, 0, 0, 0.4);
  transform: translateZ(5px);
}

.head::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 12px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  filter: blur(3px);
}

.head::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 5px;
  width: 18px;
  height: 10px;
  background: #3e2723;
  border-radius: 50%;
  transform: rotate(-10deg);
}

.torso {
  width: 45px;
  height: 50px;
  background: linear-gradient(135deg, #ffeb3b 0%, #fbc02d 50%, #f9a825 100%);
  border-radius: 8px 8px 12px 12px;
  margin: -5px auto 0;
  position: relative;
  z-index: 3;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
    inset 0 4px 6px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #333;
  font-size: 10px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transform: translateZ(3px);
  overflow: hidden;
}

.torso::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.05),
      transparent 20%,
      transparent 80%,
      rgba(0, 0, 0, 0.05)),
    linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.torso::after {
  content: "SSP";
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #0e1b42;
  font-size: 12px;
  font-weight: 800;
  opacity: 0.8;
  z-index: 2;
}

.arms {
  position: absolute;
  top: 35px;
  width: 100%;
  height: 15px;
  z-index: 2;
}

.arm {
  width: 16px;
  height: 45px;
  background: linear-gradient(135deg, #ffeb3b 0%, #fbc02d);
  border-radius: 10px;
  position: absolute;
  top: 0;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  transform-origin: top center;
}

.arm.left {
  left: -8px;
  transform: rotate(25deg) translateZ(2px);
}

.arm.right {
  right: -8px;
  transform: rotate(-25deg) translateZ(2px);
}

.gloves {
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  bottom: -8px;
  left: -2px;
  border: 3px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateZ(6px);
}

.gloves::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #f00;
  border-radius: 50%;
  top: 5px;
  left: 5px;
}

.shorts {
  width: 45px;
  height: 30px;
  background: linear-gradient(to bottom, #212121, #000);
  margin: -8px auto 0;
  border-radius: 0 0 12px 12px;
  position: relative;
  z-index: 2;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  transform: translateZ(1px);
}

.legs {
  position: relative;
  width: 45px;
  margin: 0 auto;
}

.leg {
  width: 16px;
  height: 45px;
  background: linear-gradient(to bottom, #212121, #000);
  position: absolute;
  top: -8px;
  border-radius: 0 0 8px 8px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  transform-origin: top center;
}

.leg.left {
  left: 5px;
  transform: rotate(8deg) translateZ(2px);
}

.leg.right {
  right: 5px;
  transform: rotate(-8deg) translateZ(2px);
}

.sock {
  width: 100%;
  height: 22px;
  background: linear-gradient(to bottom, #fff, #eee);
  position: absolute;
  bottom: 0;
  border-radius: 0 0 8px 8px;
  border-top: 2px solid #ddd;
  box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}

.shoe {
  width: 22px;
  height: 14px;
  background: linear-gradient(to right, #d32f2f, #c62828);
  position: absolute;
  bottom: -12px;
  left: -3px;
  border-radius: 6px 6px 3px 3px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
    inset -3px -3px 4px rgba(0, 0, 0, 0.4);
  transform: translateZ(8px);
}

.keeper-shadow {
  width: 50px;
  height: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  margin: -5px auto 0 auto;
  filter: blur(4px);
}

.shooter-wrapper {
  position: absolute;
  bottom: -50px;
  left: 45%;
  transform: translateX(-50%) scale(1.4);
  z-index: 20;
  transition: all 0.3s ease-in;
  width: 70px;
  height: 130px;
  perspective: 500px;
}

.shooter-wrapper .head {
  background: radial-gradient(circle at 10px 10px, #3e2723, #000);
  box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.4), 0 2px 5px rgba(0, 0, 0, 0.4);
}

.shooter-wrapper .head::before {
  display: none;
}

.shooter-wrapper .head::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0px;
  width: 28px;
  height: 15px;
  background: #3e2723;
  border-radius: 50%;
  transform: rotate(5deg);
}

.shooter-wrapper .torso {
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 50%, #a11616 100%);
  color: white;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3),
    inset 0 4px 6px rgba(255, 255, 255, 0.2);
}

.shooter-wrapper .torso::after {
  content: "10";
  font-size: 16px;
  font-weight: 800;
  opacity: 0.9;
  z-index: 2;
}

.shooter-wrapper .torso::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.1),
      transparent 20%,
      transparent 80%,
      rgba(0, 0, 0, 0.1)),
    linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.2));
  z-index: 1;
}

.shooter-wrapper .arm {
  background: linear-gradient(to right, #d32f2f, #b71c1c);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.shooter-wrapper .arm.left {
  transform: rotate(20deg) translateZ(2px);
}

.shooter-wrapper .arm.right {
  transform: rotate(-20deg) translateZ(2px);
}

.shooter-wrapper .gloves {
  display: none;
}

.shooter-wrapper .shorts {
  background: linear-gradient(to bottom, #0e1b42, #000);
  border: 1px solid #000;
}

.shooter-wrapper .leg {
  background: linear-gradient(to bottom, #d32f2f, #b71c1c);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
}

.shooter-wrapper .leg.left {
  transform: rotate(10deg) translateZ(2px);
}

.shooter-wrapper .leg.right {
  transform: rotate(-10deg) translateZ(2px);
}

.shooter-wrapper .sock {
  background: linear-gradient(to bottom, #d32f2f, #b71c1c);
  border-top: 2px solid #a11616;
  display: none;
}

.shooter-wrapper .shoe {
  background: linear-gradient(to right, #212121, #000);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
    inset -3px -3px 4px rgba(0, 0, 0, 0.4);
}

.keeper-shadow {
  width: 50px;
  height: 10px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  margin: -5px auto 0 auto;
  filter: blur(4px);
}

.shooter-run {
  bottom: 80px !important;
  left: 50% !important;
  transform: translateX(-50%) scale(1.1) !important;
}

.shooter-run .arm.left {
  animation: runArm 0.3s infinite alternate;
}

.shooter-run .arm.right {
  animation: runArm 0.3s infinite alternate-reverse;
}

@keyframes runArm {
  from {
    transform: rotate(20deg) translateZ(2px);
  }

  to {
    transform: rotate(-20deg) translateZ(2px);
  }
}

.ball-shoot-left-top {
  bottom: 300px !important;
  /* Adjusted for 400px height */
  left: 35% !important;
  transform: scale(0.4) rotate(720deg) !important;
}

.ball-shoot-right-top {
  bottom: 300px !important;
  left: 65% !important;
  transform: scale(0.4) rotate(720deg) !important;
}

.ball-shoot-left-low {
  bottom: 250px !important;
  left: 32% !important;
  transform: scale(0.45) rotate(720deg) !important;
}

.ball-shoot-right-low {
  bottom: 250px !important;
  left: 68% !important;
  transform: scale(0.45) rotate(720deg) !important;
}

.ball-miss-left {
  bottom: 300px !important;
  left: 10% !important;
  transform: scale(0.3) !important;
  opacity: 0;
}

.ball-miss-right {
  bottom: 300px !important;
  left: 90% !important;
  transform: scale(0.3) !important;
  opacity: 0;
}

.keeper-dive-left {
  transform: translateX(-140px) translateY(50px) rotate(-70deg) !important;
}

.keeper-dive-left .arm.left {
  transform: rotate(-180deg) translateZ(2px);
}

.keeper-dive-right {
  transform: translateX(140px) translateY(50px) rotate(70deg) !important;
}

.keeper-dive-right .arm.right {
  transform: rotate(-180deg) translateZ(2px);
}

.evaluation-details-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  margin-top: 0;
}

.evaluation-summary {
  transition: background 0.2s;
}

.evaluation-summary:hover {
  background: #fcfcfc;
}

.quality-controls-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.quality-filter-group {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-grow: 1;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1rem;
  background: #f0f4ff;
  border: 1px solid #d0d8f0;
  justify-content: space-around;
}

.eval-modal-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
  font-family: "Segoe UI", sans-serif;
}

.eval-header-card {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border-left: 5px solid var(--primary);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.score-dashboard {
  background: #0e1b42;
  color: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 5px 15px rgba(14, 27, 66, 0.3);
  margin-bottom: 10px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.score-circle-outer {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--success) 0%, #444 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.score-circle-inner {
  width: 64px;
  height: 64px;
  background: #0e1b42;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
}

.criteria-container {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 5px;
}

.criteria-row {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.criteria-row:hover {
  border-color: #bbb;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
}

.criteria-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

/* ESKİ SLIDER STİLLERİ YERİNE YENİ BUTON KONTROLLERİ */
.criteria-controls {
  display: block;
  /* Eski flex yerine blok yaptık */
  background: #f9f9f9;
  padding: 10px;
  border-radius: 6px;
}

.score-badge {
  background: #333;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

.note-input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 6px;
  font-size: 0.85rem;
  background: #fff;
}

.note-input:focus {
  border-color: var(--secondary);
  outline: none;
}

/* YENİ BUTON SINIFLARI */
.eval-button-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.eval-button {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.1s;
  flex-grow: 1;
  text-align: center;
  color: #555;
  background: #fff;
  white-space: nowrap;
  /* Metnin sığmasını sağla */
}

.eval-button:hover:not(.active) {
  border-color: var(--primary);
  background: #f0f4ff;
}

/* İyi Puan: Yeşil */
.eval-good {
  border-color: #2e7d32;
  color: #1b5e20;
  background: #e8f5e9;
}

.eval-good.active {
  background: #2e7d32;
  color: white;
  border-color: #1b5e20;
  box-shadow: 0 2px 4px rgba(46, 125, 50, 0.3);
}

/* Orta Puan: Turuncu */
.eval-medium {
  border-color: #ed6c02;
  color: #e65100;
  background: #fff3e0;
}

.eval-medium.active {
  background: #ed6c02;
  color: white;
  border-color: #e65100;
  box-shadow: 0 2px 4px rgba(237, 108, 2, 0.3);
}

/* Kötü Puan: Kırmızı */
.eval-bad {
  border-color: #d32f2f;
  color: #b71c1c;
  background: #ffebee;
}

.eval-bad.active {
  background: #d32f2f;
  color: white;
  border-color: #b71c1c;
  box-shadow: 0 2px 4px rgba(211, 47, 47, 0.3);
}

/* YENİ BUTON SINIFLARI BİTİŞ */
.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.quiz-btn-opt {
  padding: 15px;
  border: 2px solid #eee;
  background: white;
  border-radius: 8px;
  cursor: pointer;
}

.quiz-btn-opt.correct {
  background: #c8e6c9;
  border-color: #2e7d32;
  color: #1b5e20;
}

.quiz-btn-opt.wrong {
  background: #ffcdd2;
  border-color: #c62828;
  color: #b71c1c;
}

.wizard-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  padding: 15px;
  border: 2px solid #eee;
  border-radius: 8px;
  background: white;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
}

.option-btn:hover {
  border-color: var(--primary);
  background: #f0f4ff;
}

.result-box {
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
}

.res-red {
  background: #ffebee;
  border: 2px solid #ef5350;
  color: #c62828;
}

.res-green {
  background: #e8f5e9;
  border: 1px solid #66bb6a;
  color: #2e7d32;
}

.res-yellow {
  background: #fff8e1;
  border: 2px solid #ffca28;
  color: #f57f17;
}

.restart-btn {
  margin-top: 20px;
  background: #555;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.highlight {
  background-color: yellow;
  font-weight: bold;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.sales-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.guide-item {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition: 0.3s;
  background: #f8f9fa;
  cursor: pointer;
  position: relative;
}

.guide-item:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guide-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.guide-title {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 5px;
  display: block;
}

.guide-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
  font-style: italic;
}

.guide-tip {
  background: #e3f2fd;
  color: #0277bd;
  padding: 5px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pronunciation-badge {
  color: #e65100;
  font-size: 0.85rem;
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
  font-style: italic;
}

.sales-item {
  border: 1px solid #d1fae5;
  background: #ecfdf5;
  border-radius: 8px;
  padding: 15px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sales-item:hover {
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
  border-color: var(--sales);
}

.sales-item.active {
  background: #d1fae5;
  border-left: 6px solid var(--sales);
}

.sales-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sales-title {
  font-weight: 800;
  color: #065f46;
  font-size: 1.1rem;
  margin: 0;
  padding-right: 25px;
}

.sales-text {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #a7f3d0;
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
  animation: fadeIn 0.4s ease-in;
}

.sales-item.active .sales-text {
  display: block;
}

