* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 0;
  padding: 10px;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  overflow-x: hidden;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Dil Seçici */
.language-selector {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9em;
  font-weight: 500;
  color: #333;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lang-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
}

/* Navigation Bar */
.navbar {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.95) 100%
  );
  backdrop-filter: blur(10px);
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
  border: 1px solid rgba(102, 126, 234, 0.1);
  position: relative;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #333;
}

.nav-logo {
  font-size: 1.5em;
}

.nav-title {
  font-size: 1.2em;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #555;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95em;
}

.nav-link:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.nav-link.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.nav-link.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.nav-toggle:hover {
  background-color: rgba(102, 126, 234, 0.1);
}

.nav-toggle-bar {
  width: 25px;
  height: 3px;
  background: #667eea;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Sayfa İçerikleri */
.page-content {
  display: none !important;
}

.page-content.active {
  display: block !important;
  flex: 1;
}

/* Guide ve FAQ Stilleri */
.guide-content {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.guide-step {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 10px;
  border-left: 4px solid #667eea;
}

.guide-step h4 {
  margin: 0 0 8px 0;
  color: #667eea;
  font-size: 1.1em;
}

.guide-step p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

.faq-content {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.faq-item h4 {
  margin: 0 0 10px 0;
  color: #667eea;
  font-size: 1.05em;
}

.faq-item p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

h1 {
  text-align: center;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 40px 0 35px 0;
  padding: 20px;
  font-size: 2.5em;
  word-wrap: break-word;
  hyphens: auto;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.intro-text {
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 25px;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-info {
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 0.9em;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
  width: 100%;
}

.team-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.5);
}

.team-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  border-bottom: 3px solid #667eea;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.strategy-badge {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.7em;
  font-weight: normal;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.champions-section {
  margin-bottom: 15px;
}

.section-title {
  font-weight: bold;
  color: #555;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.champions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.champion {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.champion:hover {
  transform: scale(1.05);
}

/* Karakter maliyet renkleri - kullanıcının istediği renkler */
.cost-1 {
  background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%); /* Gri */
  color: white;
}
.cost-2 {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%); /* Yeşil */
  color: white;
}
.cost-3 {
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%); /* Mavi */
  color: white;
}
.cost-4 {
  background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%); /* Pembe */
  color: white;
}
.cost-5 {
  background: linear-gradient(135deg, #ffeb3b 0%, #f57f17 100%); /* Sarı */
  color: #333; /* Sarı üzerinde siyah yazı daha okunabilir */
}

.traits-section {
  margin-top: 15px;
}

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

.trait {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95em;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.trait:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Trait seviyeleri için özel stiller - daha belirgin ve iyileştirilmiş görünüm */
.trait.level-1 {
  background: linear-gradient(135deg, #8e9eee 0%, #9d7db8 100%);
}

.trait.level-2 {
  background: linear-gradient(135deg, #4776e6 0%, #8e54e9 100%);
}

.trait.level-3 {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
}

.trait.level-4 {
  background: linear-gradient(135deg, #ff6a88 0%, #ff99ac 100%);
}

.trait.level-5 {
  background: linear-gradient(135deg, #ffcd00 0%, #ff9a00 100%);
  color: #333;
  font-weight: bold;
}

.trait::after {
  content: attr(data-level);
  position: absolute;
  top: -8px;
  right: -8px;
  background: white;
  color: #333;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.75em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border: 2px solid #667eea;
}

.trait.emblem-boosted {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  position: relative;
}

.trait.emblem-boosted::after {
  content: "🎖️";
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 1em;
  background: none;
  box-shadow: none;
  border: none;
  width: auto;
  height: auto;
}

/* Trait bilgisi için tooltip */
.trait {
  cursor: help;
}

.trait::before {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8em;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: max-content;
  max-width: 200px;
  pointer-events: none;
  z-index: 10;
}

.trait:hover::before {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 5px);
}

.cost-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px;
  border-radius: 8px;
  margin-top: 15px;
  text-align: center;
  font-weight: 500;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 40px auto;
  flex-wrap: nowrap;
  max-width: 500px;
}

.refresh-btn,
.clear-btn {
  padding: 14px 25px;
  border: none;
  border-radius: 25px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex: 1;
}

.refresh-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  border: 2px solid transparent;
}

.refresh-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.refresh-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.5);
}

.clear-btn {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white;
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
  border: 2px solid transparent;
}

.clear-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
  background: linear-gradient(135deg, #e55a2b 0%, #e8841a 100%);
}

.clear-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.5);
}

/* Filtreler */
.filters-container {
  margin: 35px 0;
}

.filter-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(248, 250, 252, 0.98) 100%
  );
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(102, 126, 234, 0.1);
  margin: 30px 0;
  transition: all 0.3s ease;
}

.filter-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 45px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.2);
}

.filter-card h3 {
  margin: 0 0 25px 0;
  color: #333;
  font-size: 1.4em;
  text-align: center;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.filter-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-weight: 700;
  color: #444;
  font-size: 0.95em;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.filter-group label .required {
  color: #e74c3c;
  font-weight: bold;
  font-size: 1.1em;
}

.info-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 25px 30px;
  border-radius: 15px;
  text-align: center;
  font-size: 1.1em;
  margin: 25px 0;
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  line-height: 1.4;
}

.info-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: shimmer 3s infinite;
}

.filter-group select {
  padding: 12px 16px;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 12px;
  font-size: 0.95em;
  background: white;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #444;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.filter-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.filter-group select:hover {
  border-color: rgba(102, 126, 234, 0.4);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

/* Emblem Seçimi */
.emblems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 15px;
}

.emblem-option {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-height: 100px;
  position: relative;
  overflow: hidden;
}

.emblem-content {
  display: flex;
  flex-direction: column;
  padding: 12px 15px;
  gap: 12px;
}

.emblem-label {
  font-size: 0.9em;
  color: #333;
  font-weight: 600;
  margin: 0;
  text-align: center;
  cursor: default;
  line-height: 1.4;
  border-bottom: 1px solid rgba(102, 126, 234, 0.2);
  padding-bottom: 8px;
}

.emblem-controls-container {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.emblem-control-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border-radius: 8px;
  background: rgba(102, 126, 234, 0.05);
}

.emblem-control-group.givable {
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.emblem-control-group.non-givable {
  background: rgba(249, 115, 22, 0.05);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.emblem-control-label {
  font-size: 0.75em;
  font-weight: 600;
  color: #555;
  text-align: center;
  margin-bottom: 2px;
}

.emblem-control-group.givable .emblem-control-label {
  color: #16a34a;
}

.emblem-control-group.non-givable .emblem-control-label {
  color: #ea580c;
}

.emblem-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.emblem-btn {
  width: 28px;
  height: 28px;
  border: 2px solid #667eea;
  background: white;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: bold;
  color: #667eea;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.emblem-control-group.givable .emblem-btn {
  border-color: #16a34a;
  color: #16a34a;
}

.emblem-control-group.non-givable .emblem-btn {
  border-color: #ea580c;
  color: #ea580c;
}

.emblem-btn:hover:not(:disabled) {
  transform: scale(1.05);
}

.emblem-control-group.givable .emblem-btn:hover:not(:disabled) {
  background: #16a34a;
  color: white;
}

.emblem-control-group.non-givable .emblem-btn:hover:not(:disabled) {
  background: #ea580c;
  color: white;
}

.emblem-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.emblem-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #ccc;
  color: #ccc;
}

.emblem-count {
  min-width: 20px;
  text-align: center;
  font-size: 1em;
  font-weight: 600;
  color: #333;
  background: rgba(102, 126, 234, 0.1);
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.emblem-control-group.givable .emblem-count {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.emblem-control-group.non-givable .emblem-count {
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
  color: #ea580c;
}

.emblem-control-group.active .emblem-count {
  font-weight: 700;
}

.emblem-control-group.givable.active .emblem-count {
  background: rgba(34, 197, 94, 0.2);
  color: #15803d;
}

.emblem-control-group.non-givable.active .emblem-count {
  background: rgba(249, 115, 22, 0.2);
  color: #c2410c;
}

.emblem-option:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(102, 126, 234, 0.15);
}

.emblem-option.selected {
  border-color: #667eea;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
}

.emblem-option.selected::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.emblem-option.selected .emblem-count {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
}

/* Yükleme mesajı ve gösterge */
.loading-message {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.95) 100%
  );
  border-radius: 12px;
  padding: 20px 15px;
  text-align: center;
  font-size: 1em;
  color: #444;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
  margin: 15px auto;
  max-width: 800px;
  width: calc(100% - 20px);
  font-weight: 500;
  border: 1px solid rgba(102, 126, 234, 0.2);
  backdrop-filter: blur(10px);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  grid-column: 1 / -1;
}

.loading-message * {
  text-align: center;
  width: 100%;
  justify-self: center;
  align-self: center;
  display: block;
}

.loading-message br {
  display: block;
  content: "";
  margin: 0.5em 0;
}

/* Yükleme göstergesi ve ilerleme çubuğu */
.loader {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin: 10px auto 8px;
  border: 3px solid rgba(102, 126, 234, 0.2);
  border-radius: 50%;
  border-top-color: #667eea;
  border-right-color: #764ba2;
  animation: spin 1s linear infinite;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.progress {
  height: 6px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  border-radius: 4px;
  width: 0;
  max-width: 90%;
  margin: 10px auto 0;
  transition: width 0.3s ease;
  box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.progress::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.emblem-info {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  padding: 12px 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 0.9em;
  color: #555;
  text-align: center;
  font-style: italic;
  border: 1px solid rgba(102, 126, 234, 0.2);
  font-weight: 500;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pagination-info {
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2;
}

.pagination button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1em;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination button:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pagination button.active,
.pagination button.active:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.pagination .nav-btn {
  font-size: 0.9em;
  font-weight: bold;
  width: auto;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pagination .page-info {
  color: white;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.9em;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
  body {
    padding: 5px;
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container {
    padding: 0 8px;
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Modern Yazı Tabanlı Mobil Navbar */
  .nav-container {
    padding: 12px 15px;
    position: relative;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .nav-brand {
    gap: 8px;
    align-self: center;
  }

  .nav-logo {
    font-size: 1.3em;
  }

  .nav-title {
    font-size: 1.1em;
  }

  /* Yazı tabanlı menü */
  .nav-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 12px 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.2);
    position: static;
    width: auto;
    height: auto;
    z-index: auto;
    overflow: visible;
    transition: none;
  }

  .nav-menu.active {
    /* Artık active state'e gerek yok */
  }

  .nav-link {
    display: inline-block;
    font-size: 0.8em;
    font-weight: 600;
    color: #2c3e50 !important;
    text-decoration: none;
    padding: 8px 12px;
    margin: 2px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(52, 152, 219, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 85px;
    max-width: 130px;
    white-space: nowrap;
    line-height: 1.2;
  }

  .nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(52, 152, 219, 0.1),
      transparent
    );
    transition: left 0.4s ease;
  }

  .nav-link:hover::before {
    left: 100%;
  }

  .nav-link:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: rgba(52, 152, 219, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.2);
    color: #2980b9 !important;
  }

  .nav-link.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-color: #2980b9;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
  }

  .nav-link.active:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
    color: #ffffff !important;
  }

  /* Toggle button'u gizle */
  .nav-toggle {
    display: none !important;
  }

  h1 {
    font-size: 2em;
    margin: 25px 0 30px 0;
    padding: 15px;
  }

  .intro-text {
    padding: 12px;
    font-size: 0.9em;
    margin-bottom: 15px;
  }

  .filters-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .team-card {
    padding: 12px;
    margin-bottom: 8px;
    font-size: 0.9em;
  }

  .team-title {
    font-size: 1.1em;
    margin-bottom: 8px;
    padding-bottom: 6px;
  }

  .strategy-badge {
    font-size: 0.65em;
    padding: 3px 8px;
  }

  .section-title {
    font-size: 0.95em;
    margin-bottom: 6px;
  }

  .champions-grid,
  .traits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  .champion {
    padding: 6px 8px;
    font-size: 0.85em;
  }

  .trait {
    padding: 6px 8px;
    font-size: 0.8em;
  }

  .trait::after {
    width: 18px;
    height: 18px;
    font-size: 0.7em;
    top: -6px;
    right: -6px;
  }

  .cost-info {
    padding: 8px;
    font-size: 0.85em;
    margin-top: 8px;
  }

  .emblems-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .emblem-option {
    min-height: 50px;
  }

  .emblem-content {
    padding: 10px 12px;
    gap: 8px;
  }

  .emblem-label {
    font-size: 0.85em;
    line-height: 1.3;
  }

  .emblem-btn {
    width: 28px;
    height: 28px;
    font-size: 1em;
  }

  .emblem-count {
    font-size: 1em;
    padding: 3px 6px;
    min-width: 20px;
  }

  .filter-card {
    padding: 15px;
    margin-bottom: 10px;
  }

  .action-buttons {
    flex-direction: row;
    gap: 10px;
    margin: 15px auto;
    flex-wrap: nowrap;
  }

  .refresh-btn,
  .clear-btn {
    flex: 1;
    padding: 12px 15px;
    font-size: 0.9em;
    min-width: auto;
    border-radius: 18px;
  }

  .loading-message {
    padding: 15px 12px;
    font-size: 0.9em;
    margin: 10px 8px;
    border-radius: 10px;
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    text-align: center !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
    grid-column: 1 / -1;
  }

  .loading-message * {
    text-align: center !important;
    align-self: center;
  }

  .loader {
    width: 25px;
    height: 25px;
    margin: 8px auto 5px;
    border-width: 2px;
  }

  .progress {
    height: 4px;
    margin: 8px auto 0;
  }

  .filter-card {
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 12px;
  }

  .filter-card h3 {
    font-size: 1.1em;
    margin-bottom: 15px;
  }

  .filter-group select {
    padding: 8px 12px;
    font-size: 0.85em;
    border-radius: 8px;
  }

  .info-box {
    padding: 12px;
    font-size: 0.85em;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .footer-info {
    padding: 10px;
    font-size: 0.8em;
  }

  .emblem-info {
    padding: 8px 10px;
    font-size: 0.8em;
    margin-bottom: 10px;
  }
}

/* Karakter Seçim Arayüzü - Akordeon Tasarımı */
.character-selection-container {
  margin-bottom: 20px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 15px 0;
  border-bottom: 2px solid #eee;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
  margin: 0 -20px;
  padding: 15px 20px;
  border-radius: 8px;
}

.accordion-header h3 {
  margin: 0;
  color: #333;
}

.accordion-icon {
  font-size: 1.2em;
  color: #667eea;
  transition: transform 0.3s ease;
}

.accordion-icon.rotated {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.expanded {
  max-height: 1000px;
  padding-top: 20px;
}

.selection-info {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 15px;
  line-height: 1.4;
}

.selected-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.character-slot {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 15px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  color: #6c757d;
}

.character-slot:hover {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%);
  transform: translateY(-2px);
}

.character-slot.filled {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: 2px solid #667eea;
  font-weight: 500;
  position: relative;
}

.character-slot.filled:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Karakter slotları için maliyet renkleri - aynı renkler */
.character-slot.cost-1 {
  background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%); /* Gri */
  color: white;
}
.character-slot.cost-2 {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%); /* Yeşil */
  color: white;
}
.character-slot.cost-3 {
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%); /* Mavi */
  color: white;
}
.character-slot.cost-4 {
  background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%); /* Pembe */
  color: white;
}
.character-slot.cost-5 {
  background: linear-gradient(135deg, #ffeb3b 0%, #f57f17 100%); /* Sarı */
  color: #333; /* Sarı üzerinde siyah yazı daha okunabilir */
}

.character-slot .remove-character {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Karakter Tarayıcısı Container */
.character-browser-container {
  margin-top: 20px;
}

/* Karakter Tarayıcısı */
.character-browser {
  border: 2px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

.browser-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 15px 20px;
  border-bottom: 2px solid #eee;
}

.browser-header h4 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 1.1em;
}

.character-search {
  margin: 0;
}

.character-search input {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: white;
}

.character-search input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
  background: #fafafa;
}

.character-option {
  background: white;
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85em;
  font-weight: 500;
  color: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.character-option::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    135deg,
    #f093fb 0%,
    #f5576c 100%
  ); /* Varsayılan pembe */
}

/* Karakter listesi için maliyet renkli üst çizgiler */
.character-option.cost-1::before {
  background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%); /* Gri */
  height: 4px;
}
.character-option.cost-2::before {
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%); /* Yeşil */
  height: 4px;
}
.character-option.cost-3::before {
  background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%); /* Mavi */
  height: 4px;
}
.character-option.cost-4::before {
  background: linear-gradient(135deg, #9c27b0 0%, #6a1b9a 100%); /* Mor */
  height: 4px;
}
.character-option.cost-5::before {
  background: linear-gradient(135deg, #ffeb3b 0%, #f57f17 100%); /* Sarı */
  height: 4px;
}

.character-option:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: #667eea;
}

.character-option.disabled {
  background: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

.character-option.disabled::before {
  background: #ccc;
}

.character-option.disabled:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-color: #eee;
}

.character-option.selected {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transform: scale(1.02);
  position: relative;
}

.character-option.selected:hover {
  border-color: #f44336;
  background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
  transform: scale(1.02);
}

.character-option.selected::before {
  background: rgba(255, 255, 255, 0.3);
}

.character-option.selected::after {
  content: "✓ Seçili";
  position: absolute;
  top: -10px;
  right: -10px;
  background: #4caf50;
  color: white;
  font-size: 0.75em;
  padding: 6px 10px;
  border-radius: 15px;
  font-weight: bold;
  z-index: 10;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(76, 175, 80, 0.4);
  border: 2px solid white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  min-width: 50px;
  text-align: center;
  line-height: 1;
}

.character-option.selected:hover::after {
  content: "✗ Kaldır";
  background: #f44336;
  box-shadow: 0 3px 10px rgba(244, 67, 54, 0.4);
  animation: badgePulse 0.5s ease-in-out;
}

/* Badge pulse animasyonu */
@keyframes badgePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

.character-cost {
  font-size: 0.75em;
  margin-top: 4px;
  opacity: 0.8;
}

.character-traits {
  font-size: 0.7em;
  margin-top: 2px;
  color: #667eea;
  font-weight: 500;
}

.character-traits.no-traits {
  color: #dc3545;
  font-weight: bold;
}

.character-option.no-traits {
  border-color: #ffc107;
  background: #fff9e6;
}

.character-option.no-traits::before {
  background: #ffc107;
}

.character-option.no-traits:hover {
  border-color: #e0a800;
  background: #fff3cd;
}

.disabled-info {
  color: #6c757d;
  font-size: 0.7em;
  font-style: italic;
  margin-top: 4px;
  font-weight: normal;
}

@media (max-width: 768px) {
  .selected-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .character-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    padding: 15px;
  }

  .accordion-content.expanded {
    max-height: 800px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 3px;
    overflow-x: hidden;
    max-width: 100vw;
  }

  .container {
    padding: 0 6px;
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Küçük ekranlar için navbar iyileştirmeleri */
  .nav-container {
    padding: 10px 12px;
    gap: 12px;
  }

  .nav-logo {
    font-size: 1.2em;
  }

  .nav-title {
    font-size: 1em;
  }

  .nav-menu {
    padding: 10px 6px;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 0.75em;
    padding: 8px 6px;
    min-width: 80px;
    max-width: none;
    line-height: 1.2;
    white-space: nowrap;
    overflow: visible;
    text-overflow: initial;
    flex-shrink: 0;
  }

  h1 {
    font-size: 1.8em;
    margin: 20px 0 25px 0;
    padding: 12px;
  }

  .intro-text {
    padding: 10px;
    font-size: 0.85em;
    margin-bottom: 12px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .team-card {
    padding: 8px;
    font-size: 0.85em;
    margin-bottom: 6px;
  }

  .team-title {
    font-size: 1em;
    margin-bottom: 6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 4px;
  }

  .strategy-badge {
    font-size: 0.6em;
    padding: 2px 6px;
  }

  .section-title {
    font-size: 0.9em;
    margin-bottom: 4px;
  }

  .champions-grid,
  .traits-grid {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .champion {
    padding: 4px 6px;
    font-size: 0.8em;
  }

  .trait {
    padding: 4px 6px;
    font-size: 0.75em;
  }

  .trait::after {
    width: 16px;
    height: 16px;
    font-size: 0.65em;
    top: -5px;
    right: -5px;
  }

  .cost-info {
    padding: 6px;
    font-size: 0.8em;
    margin-top: 6px;
  }

  .emblems-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .pagination button {
    width: 35px;
    height: 35px;
    font-size: 0.9em;
  }

  .pagination .nav-btn {
    font-size: 0.8em;
    padding: 6px 12px;
  }

  .emblem-option {
    min-height: 45px;
  }

  .emblem-content {
    padding: 8px 10px;
    gap: 6px;
  }

  .emblem-btn {
    width: 26px;
    height: 26px;
    font-size: 0.9em;
  }

  .emblem-count {
    font-size: 0.9em;
    padding: 2px 4px;
    min-width: 18px;
  }

  .emblem-label {
    font-size: 0.8em;
    line-height: 1.2;
  }

  .selected-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .character-slot {
    padding: 10px 5px;
    font-size: 0.8em;
    min-height: 50px;
  }

  .filter-card {
    padding: 12px;
  }

  .footer-info {
    padding: 8px;
    font-size: 0.75em;
  }

  .how-it-works-section {
    margin-bottom: 15px;
  }

  .how-it-works-section h2 {
    font-size: 1.2em;
    margin-bottom: 12px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
  }

  .feature-item {
    padding: 10px 8px;
    border-radius: 6px;
    min-height: 110px;
  }

  .feature-icon {
    font-size: 1.4em;
    margin-bottom: 4px;
  }

  .feature-item h3 {
    font-size: 0.85em;
    margin-bottom: 4px;
  }

  .feature-item p {
    font-size: 0.75em;
    line-height: 1.2;
  }
}
/* Modern ve responsive footer */
.site-footer {
  color: #fff;
  margin-top: auto;
  padding: 0;
  font-size: 1em;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 25px 30px;
  gap: 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3em;
  font-weight: 700;
  flex-shrink: 0;
}
.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.footer-title {
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #fff 0%, #f0f8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95em;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}
.footer-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-shrink: 0;
}

/* Sosyal medya alt satıra wrap olduğunda ortalanma */
.footer-social {
  min-width: fit-content;
}

/* Flexbox wrap davranışı için kontrol - sosyal medya alt satıra */
@media (max-width: 950px) {
  .footer-social {
    width: 100%;
    justify-content: center;
    order: 3;
    margin-top: 5px;
  }
}

@media (max-width: 850px) {
  .footer-top {
    gap: 15px;
  }

  .footer-social {
    margin-top: 8px;
  }
}
.footer-social-link {
  color: #fff;
  font-size: 1.2em;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-social-link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.footer-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.footer-bottom {
  text-align: center;
  padding: 15px 30px 20px 30px;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    padding: 18px 15px 8px 15px;
    gap: 12px;
  }

  .footer-top {
    gap: 12px;
  }

  .footer-brand {
    font-size: 1em;
    gap: 8px;
  }
  .footer-logo {
    width: 24px;
    height: 24px;
  }
  .footer-title {
    font-size: 1em;
  }

  .footer-links {
    gap: 8px;
    font-size: 0.8em;
    flex-wrap: nowrap;
  }
  .footer-links a {
    padding: 4px 8px;
    font-size: 0.75em;
    white-space: nowrap;
  }

  .footer-social {
    gap: 8px;
  }
  .footer-social-link {
    width: 28px;
    height: 28px;
    font-size: 1em;
  }
  .footer-social-link svg {
    width: 16px;
    height: 16px;
  }
  .footer-bottom {
    padding: 12px 15px 15px 15px;
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .footer-main {
    gap: 10px;
  }

  .footer-top {
    gap: 8px;
    justify-content: center;
    flex-direction: column;
  }

  .footer-brand {
    gap: 6px;
    order: 1;
  }
  .footer-logo {
    width: 20px;
    height: 20px;
  }
  .footer-title {
    font-size: 0.9em;
  }

  .footer-links {
    gap: 6px;
    order: 2;
    justify-content: center;
  }
  .footer-links a {
    padding: 3px 6px;
    font-size: 0.7em;
  }

  /* Çok küçük ekranlarda sosyal medya alt satıra */
  .footer-social {
    gap: 10px;
    justify-content: center;
    order: 3;
  }
  .footer-social-link {
    width: 26px;
    height: 26px;
  }
  .footer-social-link svg {
    width: 15px;
    height: 15px;
  }
}

/* TraitOptimizer Nasıl Çalışır Bölümü */
.how-it-works-section {
  margin-bottom: 20px;
}

.how-it-works-section h2 {
  text-align: center;
  color: #333;
  margin-bottom: 15px;
  font-size: 1.4em;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Tablet için 2 sütun */
@media (max-width: 1024px) and (min-width: 769px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .feature-item {
    min-height: 140px;
    padding: 16px 14px;
  }

  .feature-icon {
    font-size: 1.8em;
    margin-bottom: 8px;
  }

  .feature-item h3 {
    font-size: 1em;
    margin-bottom: 8px;
  }

  .feature-item p {
    font-size: 0.85em;
    line-height: 1.3;
  }
}

.feature-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 12px 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid rgba(102, 126, 234, 0.1);
  box-shadow: 0 2px 10px rgba(102, 126, 234, 0.08);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
  font-size: 1.5em;
  margin-bottom: 6px;
  display: block;
}

.feature-item h3 {
  color: #333;
  font-size: 0.9em;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 0;
  line-height: 1.2;
}

.feature-item p {
  color: #666;
  font-size: 0.75em;
  line-height: 1.3;
  margin: 0;
  flex-grow: 1;
}

@media (max-width: 768px) {
  .how-it-works-section {
    margin-bottom: 20px;
  }

  .how-it-works-section h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 15px;
  }

  .feature-item {
    padding: 14px 10px;
    border-radius: 8px;
    min-height: 130px;
  }

  .feature-icon {
    font-size: 1.6em;
    margin-bottom: 6px;
  }

  .feature-item h3 {
    font-size: 0.95em;
    margin-bottom: 6px;
  }

  .feature-item p {
    font-size: 0.8em;
    line-height: 1.25;
  }
}

/* Mobil cihazlarda reklam optimizasyonu */
@media (max-width: 768px) {
  .loading-message {
    padding: 30px 20px;
    font-size: 1.1em;
    margin: 20px auto;
    border-radius: 15px;
  }

  .loader {
    width: 40px;
    height: 40px;
    margin: 15px auto 8px;
    border-width: 4px;
  }

  .progress {
    height: 10px;
    margin: 15px auto 0;
    max-width: 95%;
  }

  .action-buttons {
    gap: 12px;
    margin: 20px auto;
    flex-wrap: wrap;
  }

  .refresh-btn,
  .clear-btn {
    padding: 12px 20px;
    font-size: 0.95em;
    min-width: 140px;
    border-radius: 20px;
    flex: 1;
  }

  .filter-card {
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 15px;
  }

  .filter-card h3 {
    font-size: 1.2em;
    margin-bottom: 20px;
  }

  .filters-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .filter-group select {
    padding: 10px 14px;
    font-size: 0.9em;
    border-radius: 10px;
  }

  .info-box {
    padding: 15px;
    font-size: 0.9em;
    margin-bottom: 15px;
    border-radius: 12px;
  }
}

/* Çok küçük ekranlar için ek optimizasyon */
@media (max-width: 360px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .team-card {
    padding: 6px;
    font-size: 0.8em;
    margin-bottom: 4px;
  }

  .team-title {
    font-size: 0.9em;
    margin-bottom: 4px;
    padding-bottom: 3px;
  }

  .strategy-badge {
    font-size: 0.55em;
    padding: 2px 4px;
  }

  .section-title {
    font-size: 0.85em;
    margin-bottom: 3px;
  }

  .champions-grid,
  .traits-grid {
    gap: 2px;
  }

  .champion {
    padding: 3px 5px;
    font-size: 0.75em;
  }

  .trait {
    padding: 3px 5px;
    font-size: 0.7em;
  }

  .trait::after {
    width: 14px;
    height: 14px;
    font-size: 0.6em;
    top: -4px;
    right: -4px;
  }

  .cost-info {
    padding: 5px;
    font-size: 0.75em;
    margin-top: 4px;
  }

  .emblems-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .emblem-option {
    min-height: 40px;
  }

  .emblem-content {
    padding: 6px 8px;
    gap: 4px;
  }

  .emblem-label {
    font-size: 0.75em;
  }

  .emblem-btn {
    width: 24px;
    height: 24px;
    font-size: 0.8em;
  }

  .emblem-count {
    font-size: 0.8em;
    padding: 2px 3px;
    min-width: 16px;
  }

  .how-it-works-section {
    margin-bottom: 10px;
  }

  .how-it-works-section h2 {
    font-size: 1.1em;
    margin-bottom: 10px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    margin-top: 10px;
  }

  .feature-item {
    padding: 8px 6px;
    border-radius: 6px;
    min-height: 90px;
  }

  .feature-icon {
    font-size: 1.2em;
    margin-bottom: 3px;
  }

  .feature-item h3 {
    font-size: 0.75em;
    margin-bottom: 3px;
  }

  .feature-item p {
    font-size: 0.65em;
    line-height: 1.1;
  }

  .loading-message {
    padding: 12px 10px;
    font-size: 0.85em;
    margin: 8px 6px;
    border-radius: 8px;
    width: calc(100% - 12px);
    max-width: calc(100% - 12px);
    text-align: center !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    word-wrap: break-word;
    grid-column: 1 / -1;
  }

  .loading-message * {
    text-align: center !important;
    align-self: center;
  }

  .loader {
    width: 18px;
    height: 18px;
    margin: 5px auto 3px;
    border-width: 2px;
  }

  .progress {
    height: 2px;
    margin: 5px auto 0;
  }
}

/* Basit Tooltip - Hover benzeri */
.simple-tooltip {
  position: absolute;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85em;
  max-width: 250px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.2s ease;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.simple-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

.simple-tooltip-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.simple-tooltip-name {
  font-weight: bold;
  color: #fff;
}

.simple-tooltip-cost {
  font-size: 0.8em;
  opacity: 0.9;
}

.simple-tooltip-traits {
  font-size: 0.75em;
  opacity: 0.8;
  white-space: normal;
  max-width: 200px;
}

/* Tooltip ok işaretleri - dinamik pozisyon */
.simple-tooltip.tooltip-below::after {
  content: "";
  position: absolute;
  top: -5px;
  left: var(--arrow-left, 20px);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgba(0, 0, 0, 0.9);
}

.simple-tooltip.tooltip-above::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: var(--arrow-left, 20px);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.9);
}

/* Mobil için daha büyük tooltip */
@media (max-width: 768px) {
  .simple-tooltip {
    font-size: 0.9em;
    padding: 10px 14px;
    max-width: 280px;
  }

  .simple-tooltip-traits {
    max-width: 220px;
  }
}

/* ========== SİNERJİ SAYFASI STİLLERİ ========== */

/* Takım Boyutu Arttırıcı Kontrolleri */
.booster-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.booster-controls label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  display: block;
}

.booster-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin: 12px 0;
}

.booster-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booster-btn.minus {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.booster-btn.plus {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
}

.booster-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.booster-btn:active {
  transform: scale(0.95);
}

.booster-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.booster-input {
  width: 80px;
  height: 40px;
  text-align: center;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  background: white;
  color: #333;
}

.booster-info {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 6px;
}

.booster-info strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Sinerji Hedefleri */
.synergy-goals {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.goal-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.goal-icon {
  font-size: 1.5em;
  min-width: 40px;
  text-align: center;
}

.goal-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.goal-text strong {
  color: #2c3e50;
  font-size: 0.9em;
}

.goal-text span {
  color: #555;
  font-size: 0.85em;
  line-height: 1.3;
}

/* Sinerji İstatistikleri */
.synergy-stats {
  margin-top: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: 12px;
  border: 1px solid #e1e8ed;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-value {
  font-size: 2em;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85em;
  color: #666;
  font-weight: 500;
}

/* Sinerji Sayfası Responsif Tasarım */
@media (max-width: 768px) {
  .booster-input-group {
    flex-direction: row;
    justify-content: center;
    gap: 12px;
  }

  .booster-btn {
    width: 35px;
    height: 35px;
    font-size: 1em;
  }

  .booster-input {
    width: 70px;
    height: 35px;
    font-size: 1em;
  }

  .synergy-goals {
    gap: 12px;
  }

  .goal-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 16px 12px;
  }

  .goal-icon {
    font-size: 1.8em;
    margin-bottom: 8px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-item {
    padding: 12px 8px;
  }

  .stat-value {
    font-size: 1.5em;
  }

  .stat-label {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .booster-controls {
    gap: 12px;
  }

  .booster-input-group {
    gap: 8px;
    justify-content: center;
  }

  .booster-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9em;
  }

  .booster-input {
    width: 60px;
    height: 32px;
    font-size: 0.9em;
  }

  .goal-item {
    padding: 12px 8px;
  }

  .goal-icon {
    font-size: 1.5em;
  }

  .goal-text strong {
    font-size: 0.85em;
  }

  .goal-text span {
    font-size: 0.8em;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stat-item {
    padding: 10px 6px;
  }

  .stat-value {
    font-size: 1.3em;
  }

  .stat-label {
    font-size: 0.75em;
  }
}

/* Genel Sinerji Sayfası Düzenlemeleri */
#page-sinerji .character-selection-container {
  margin-bottom: 24px;
}

#page-sinerji .filters-container {
  margin-bottom: 24px;
}

#page-sinerji .info-box {
  margin-bottom: 16px;
}

#page-sinerji .emblem-info {
  margin-bottom: 16px;
  font-style: italic;
  color: #666;
}

/* Sinerji Sonuçları için Özel Stiller */
#synergyResultsContainer {
  margin-top: 24px;
}

#synergyResultsContainer .team-card {
  border-left: 4px solid #3498db;
}

#synergyResultsContainer .team-card:hover {
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.2);
}

/* Sinerji Vurgusu için Özel Trait Stilleri */
.synergy-trait.max-level {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  font-weight: bold;
  position: relative;
}

.synergy-trait.max-level::after {
  background: #e74c3c;
  color: white;
  font-weight: bold;
}

.synergy-trait.high-synergy {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  position: relative;
}

.synergy-trait.high-synergy::after {
  background: #27ae60;
  color: white;
}

/* Trait Aktivasyon Sayısı Stilleri */
.trait-activation-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7em;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.synergy-trait {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  margin: 2px;
  border-radius: 16px;
  font-size: 0.85em;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Farklı aktivasyon seviyelerine göre sayı renkleri */
.synergy-trait.level-1 .trait-activation-count {
  background: #95a5a6;
}

.synergy-trait.level-2 .trait-activation-count {
  background: #3498db;
}

.synergy-trait.level-3 .trait-activation-count {
  background: #9b59b6;
}

.synergy-trait.level-4 .trait-activation-count {
  background: #f39c12;
}

.synergy-trait.level-5 .trait-activation-count,
.synergy-trait.max-level .trait-activation-count {
  background: #e74c3c;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Maksimum seviye trait'ler için özel animasyon */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(231, 76, 60, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }
}

/* Mobil cihazlar için trait aktivasyon sayısı */
@media (max-width: 768px) {
  .trait-activation-count {
    width: 18px;
    height: 18px;
    font-size: 0.65em;
    top: -6px;
    right: -6px;
  }

  .synergy-trait {
    font-size: 0.8em;
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .trait-activation-count {
    width: 16px;
    height: 16px;
    font-size: 0.6em;
    top: -5px;
    right: -5px;
  }

  .synergy-trait {
    font-size: 0.75em;
    padding: 4px 8px;
  }
}

/* Sinerji Takım Kartları için Özel Animasyon */
@keyframes synergyGlow {
  0% {
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
  }
  50% {
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.5);
  }
  100% {
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
  }
}

#synergyResultsContainer .team-card.high-synergy {
  animation: synergyGlow 2s ease-in-out infinite;
}

/* Karakter Emblem Badge Gösterimi */
.champion.has-emblem {
  position: relative;
  /* Arka plan rengini kaldırıyoruz - sadece badge yeterli */
  border: 1px solid #f39c12;
  box-shadow: 0 1px 3px rgba(243, 156, 18, 0.2);
}

.champion-emblem-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 0.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 10;
  /* Animasyonu kaldırıyoruz - çok dikkat dağıtıcı */
}

/* Emblem glow animasyonu kaldırıldı - çok dikkat dağıtıcıydı */

/* Sinerji sayfası için champions-grid düzenlemesi */
#synergyResultsContainer .champions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 8px;
  justify-items: center;
  align-items: center;
  margin-top: 8px;
}

/* Sinerji sayfası karakterleri için özel stiller */
#synergyResultsContainer .champion {
  width: 85px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8em;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 4px 6px;
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
}

/* Mobil cihazlar için emblem badge gösterimi */
@media (max-width: 768px) {
  .champion-emblem-badge {
    width: 14px;
    height: 14px;
    font-size: 0.55em;
    top: -5px;
    right: -5px;
  }

  #synergyResultsContainer .champion {
    width: 80px;
    height: 30px;
    font-size: 0.75em;
  }

  #synergyResultsContainer .champions-grid {
    grid-template-columns: repeat(auto-fit, minmax(85px, 1fr));
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .champion-emblem-badge {
    width: 12px;
    height: 12px;
    font-size: 0.5em;
    top: -4px;
    right: -4px;
  }

  #synergyResultsContainer .champion {
    width: 75px;
    height: 28px;
    font-size: 0.7em;
    padding: 3px 4px;
  }

  #synergyResultsContainer .champions-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 4px;
  }
}

@media (max-width: 768px) {
  .emblem-control-group {
    padding: 6px 3px;
    gap: 4px;
  }

  .emblem-control-label {
    font-size: 0.7em;
  }

  .emblem-btn {
    width: 24px;
    height: 24px;
    font-size: 1em;
  }

  .emblem-count {
    min-width: 18px;
    font-size: 0.9em;
    padding: 2px 5px;
  }

  .emblem-controls-container {
    gap: 6px;
  }
}

/* Takım Konfigürasyonu Alanı */
.team-config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 15px;
}

.config-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.config-group label {
  font-weight: 600;
  color: #444;
  font-size: 0.9em;
}

.config-group select {
  padding: 10px 12px;
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 8px;
  font-size: 0.9em;
  background: white;
  color: #444;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.config-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.config-group .booster-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}

.team-size-summary {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  padding: 12px 15px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.team-size-summary strong {
  color: #667eea;
  font-size: 1.1em;
  margin: 0 5px;
}

.team-size-summary small {
  display: block;
  color: #16a34a;
  font-weight: 500;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .team-config-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .config-group label {
    font-size: 0.85em;
  }

  .config-group select {
    padding: 8px 10px;
    font-size: 0.85em;
  }

  .config-group .booster-input-group {
    justify-content: center;
  }

  .team-size-summary {
    padding: 10px 12px;
    font-size: 0.9em;
  }
}

/* SEO İçerik Stilleri */
.seo-compact-content {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.seo-compact-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.7s ease;
}

.seo-compact-content:hover::before {
  left: 100%;
}

.seo-compact-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.seo-enrichment-content {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.seo-enrichment-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(38, 224, 127, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.seo-enrichment-content:hover::before {
  left: 100%;
}

.seo-enrichment-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* SEO İçerik Responsive Tasarım */
@media (max-width: 768px) {
  .seo-compact-content {
    padding: 18px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
  }

  .seo-enrichment-content {
    padding: 20px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin: 20px 0 !important;
  }
}

@media (max-width: 480px) {
  .seo-compact-content {
    padding: 15px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    border-radius: 12px !important;
  }

  .seo-enrichment-content {
    padding: 18px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 18px 0 !important;
    border-radius: 12px !important;
  }
}

/* SEO metinleri için özel typography */
.seo-compact-content strong,
.seo-enrichment-content strong {
  color: #667eea;
  font-weight: 700;
}

.seo-compact-content [data-lang-key="seoCompactDesc"],
.seo-enrichment-content [data-lang-key="seoEnrichmentDesc"] {
  color: #444;
  font-weight: 500;
}

/* Hover efektleri için ekstra animasyonlar */
@keyframes seoGlow {
  0% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  }
  100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
}

.seo-compact-content:hover {
  animation: seoGlow 2s ease-in-out infinite;
}

@keyframes seoEnrichmentGlow {
  0% {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow: 0 10px 30px rgba(38, 224, 127, 0.15);
  }
  100% {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  }
}

.seo-enrichment-content:hover {
  animation: seoEnrichmentGlow 2.5s ease-in-out infinite;
}

/* Tutorial Modal System */
.floating-help-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.floating-help-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.help-icon {
  font-size: 1.2em;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.tutorial-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  backdrop-filter: blur(5px);
}

.tutorial-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tutorial-modal-content {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.95) 100%
  );
  border-radius: 20px;
  max-width: 90vw;
  max-height: 85vh;
  width: 800px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(102, 126, 234, 0.2);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Mobil için özel animasyon */
@media (max-width: 768px) {
  @keyframes modalSlideIn {
    from {
      transform: translateY(10px) scale(0.98);
      opacity: 0;
    }
    to {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
  }
}

.tutorial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 2px solid rgba(102, 126, 234, 0.1);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px 20px 0 0;
}

.tutorial-header h2 {
  margin: 0;
  font-size: 1.5em;
  font-weight: 700;
}

.tutorial-close {
  background: none;
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tutorial-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.tutorial-tabs {
  display: flex;
  padding: 0 25px;
  background: rgba(102, 126, 234, 0.05);
  border-bottom: 1px solid rgba(102, 126, 234, 0.1);
  gap: 5px;
}

.tutorial-tab {
  background: none;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9em;
  color: #666;
  border-radius: 10px 10px 0 0;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.tutorial-tab:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.tutorial-tab.active {
  background: white;
  color: #667eea;
  border-bottom: 3px solid #667eea;
}

.tutorial-content {
  padding: 25px;
  overflow-y: auto;
  flex: 1;
  line-height: 1.6;
}

.tutorial-content h3 {
  color: #667eea;
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.2em;
  border-left: 4px solid #667eea;
  padding-left: 15px;
}

.tutorial-content h4 {
  color: #333;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.tutorial-content p {
  margin-bottom: 15px;
  color: #555;
}

.tutorial-content ul {
  margin-bottom: 15px;
  padding-left: 20px;
}

.tutorial-content li {
  margin-bottom: 8px;
  color: #555;
}

.tutorial-content code {
  background: rgba(102, 126, 234, 0.1);
  padding: 3px 8px;
  border-radius: 5px;
  font-family: "Courier New", monospace;
  color: #667eea;
  font-size: 0.9em;
}

.tutorial-step {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.05) 0%,
    rgba(118, 75, 162, 0.05) 100%
  );
  border: 1px solid rgba(102, 126, 234, 0.1);
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #667eea;
}

.tutorial-step h4 {
  margin-top: 0;
  color: #667eea;
}

.tutorial-highlight {
  background: linear-gradient(135deg, #fff3cd, #ffeaa7);
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 12px;
  margin: 10px 0;
  color: #856404;
}

.tutorial-warning {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 12px;
  margin: 10px 0;
  color: #721c24;
}

.tutorial-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 12px;
  margin: 10px 0;
  color: #155724;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .floating-help-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    font-size: 0.8em;
  }

  .help-text {
    display: none;
  }

  .tutorial-modal {
    padding: 10px;
    align-items: flex-start;
    padding-top: 5vh;
  }

  .tutorial-modal-content {
    max-width: 95vw;
    max-height: 90vh;
    margin: 0;
    border-radius: 15px;
    width: 100%;
  }

  .tutorial-header {
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
  }

  .tutorial-header h2 {
    font-size: 1.3em;
  }

  .tutorial-close {
    width: 35px;
    height: 35px;
    font-size: 1.8em;
  }

  .tutorial-tabs {
    flex-wrap: wrap;
    padding: 0 15px;
    gap: 2px;
  }

  .tutorial-tab {
    padding: 10px 8px;
    font-size: 0.75em;
    flex: 1;
    min-width: 70px;
    text-align: center;
  }

  .tutorial-content {
    padding: 15px;
    font-size: 0.9em;
    max-height: 60vh;
    overflow-y: auto;
  }

  .tutorial-step {
    padding: 12px;
    margin: 10px 0;
  }

  .tutorial-step h4 {
    font-size: 1em;
    margin-bottom: 8px;
  }

  .tutorial-highlight,
  .tutorial-warning,
  .tutorial-success {
    padding: 10px;
    margin: 8px 0;
  }
}

@media (max-width: 480px) {
  .tutorial-modal {
    padding: 5px;
    padding-top: 3vh;
  }

  .tutorial-modal-content {
    max-width: 98vw;
    max-height: 95vh;
    margin: 0;
    border-radius: 12px;
  }

  .tutorial-header {
    padding: 12px 15px;
    border-radius: 12px 12px 0 0;
  }

  .tutorial-header h2 {
    font-size: 1.1em;
    line-height: 1.2;
  }

  .tutorial-close {
    width: 30px;
    height: 30px;
    font-size: 1.6em;
  }

  .tutorial-tabs {
    padding: 0 8px;
    gap: 1px;
  }

  .tutorial-tab {
    padding: 8px 4px;
    font-size: 0.7em;
    min-width: 55px;
    line-height: 1.1;
  }

  .tutorial-content {
    padding: 12px;
    font-size: 0.85em;
    max-height: 65vh;
  }

  .tutorial-step {
    padding: 10px;
    margin: 8px 0;
  }

  .tutorial-step h4 {
    font-size: 0.95em;
    margin-bottom: 6px;
  }

  .tutorial-step p {
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .tutorial-highlight,
  .tutorial-warning,
  .tutorial-success {
    padding: 8px;
    margin: 6px 0;
    font-size: 0.8em;
  }
}
