.kelime-oyunu-tool * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.kelime-oyunu-tool {
  font-family: Nunito, sans-serif;
  min-height: 100vh;
}
/* Game Container - Sıralama için flexbox */
.game-container {
  display: flex;
  flex-direction: column;
}
/* Zorluk seçici en üste */
.difficulty-selector {
  order: 1;
}
/* Info-grid ikinci sıraya */
.info-grid {
  order: 2;
}
/* Diğerleri normal sırada */
.board-container {
  order: 3;
}
.controls {
  order: 4;
}
.rack-container {
  order: 5;
}
.container {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(30, 30, 60, 0.6);
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
}
.info-box {
  background: rgba(45, 45, 80, 0.5);	
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.info-box-title {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 800;
  font-size: 11px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.message-box {
  display: flex;
  align-items: start;
  justify-content: center;
  height: 100%;
}
.message-banner {
  background: rgba(35, 35, 70, 0.8);
  padding: 10px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: left;
  font-size: 12px;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.4;
  height: 90px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.log-entry {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
  margin-bottom: 4px;
}
.log-entry:last-child {
  border-bottom: none;
}
.log-title {
  color: #a78bfa;
  font-weight: 800;
  font-size: 13px;
}
.log-def {
  color: rgba(255, 255, 255, 0.6);
}
.score-section {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.player-score {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  flex: 0 0 auto;
  width: 120px;
}
.player-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa 0, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(167, 139, 250, 0.3);
}
.score-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.score-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  text-transform: uppercase;
}
.score-value {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.board-container {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.board {
  display: grid;
  grid-template-columns: repeat(15, minmax(0, 1fr)); /* hücreler içerikten dar olabilsin (375px'te taşma yok) */
  grid-template-rows: repeat(15, minmax(0, 1fr));
  gap: 4px;
  background: rgba(25, 25, 50, 0.8);
  padding: 6px;
  width: 100%;
  max-height: 85vh;
  max-width: 85vh;
  aspect-ratio: 1;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cell {
  aspect-ratio: 1;
  min-width: 0;
  overflow: hidden;
  background: rgba(60, 60, 100, 0.5);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.cell:hover:not(.occupied):not(.center):not(.word3x):not(.word2x):not(.letter3x):not(.letter2x) {
  transform: scale(0.95);
}
.cell.center {
  background: #d4a000;
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
.cell.center:hover {
  transform: none;
}
.cell.word3x {
  background: #b91c1c;
  color: rgba(255, 255, 255, 0.9);
}
.cell.word3x:hover {
  transform: none;
}
.cell.word2x {
  background: #be185d;
  color: rgba(255, 255, 255, 0.9);
}
.cell.word2x:hover {
  transform: none;
}
.cell.letter3x {
  background: #1d4ed8;
  color: rgba(255, 255, 255, 0.9);
}
.cell.letter3x:hover {
  transform: none;
}
.cell.letter2x {
  background: #2563eb;
  color: rgba(255, 255, 255, 0.9);
}
.cell.letter2x:hover {
  transform: none;
}
.cell.occupied, .cell.placed {
  background: rgba(245, 245, 255, 0.95);
  border: 2px solid rgba(167, 139, 250, 0.3);
  font-size: clamp(10px, 1.5vw, 18px);
  font-weight: 900;
  color: #1a1a2e;
  cursor: default;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.cell.placed {
  background: linear-gradient(135deg, #fef3c7 0, #fde68a 100%);
  border: 2px solid #fbbf24;
  animation: tilePlace 0.3s ease;
  cursor: grab;
}
.cell.dragging {
  opacity: 0.5;
  transform: scale(0.9);
}
.cell.last-played {
  background: linear-gradient(135deg, #fef9c3 0, #fef08a 100%);
  border: 3px solid #fbbf24;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% {
    border-color: #fbbf24;
    box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
  }
  50% {
    border-color: #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  }
}
@keyframes tilePlace {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.tile-score {
  position: absolute;
  bottom: 2px;
  right: 3px;
  font-size: 0.45em;
  color: #333;
  font-weight: 500;
}
.bag-info {
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin-top: 4px;
  font-size: 13px;
}
.controls {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.btn {
  background: rgba(45, 45, 80, 0.8);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 24px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: Nunito, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.btn svg {
  flex-shrink: 0;
}
.btn span {
  font-size: 11px;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}
.btn:active {
  transform: translateY(0);
}
#playBtn {
  background: linear-gradient(135deg, #22c55e 0, #16a34a 100%);
  color: #fff;
  border: none;
  border-radius: 12px 0 0 12px;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}
#playBtn:hover {
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
}
#shuffleBtn {
  background: linear-gradient(135deg, #facc15 0, #eab308 100%);
  color: #1a1a2e;
  border: none;
}
#shuffleBtn:hover {
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}
#exchangeBtn {
  background: linear-gradient(135deg, #fb923c 0, #ea580c 100%);
  color: #fff;
  border: none;
}
#exchangeBtn:hover {
  box-shadow: 0 4px 15px rgba(251, 146, 60, 0.4);
}
#recallBtn {
  background: linear-gradient(135deg, #facc15 0, #eab308 100%);
  color: #1a1a2e;
  border: none;
}
#recallBtn:hover {
  box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}
#passBtn {
  background: linear-gradient(135deg, #6b7280 0, #4b5563 100%);
  color: #fff;
  border: none;
}
#passBtn:hover {
  box-shadow: 0 4px 15px rgba(107, 114, 128, 0.4);
}
#newGameBtn {
  background: linear-gradient(135deg, #ef4444 0, #dc2626 100%);
  color: #fff;
  border: none;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}
#newGameBtn:hover {
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}
.btn-primary, .btn-secondary {
  background: 0 0;
}
.rack-container {
  margin-bottom: 4px;
}
.rack {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #3b82f6 0, #2563eb 50%, #1d4ed8 100%);
  padding: 10px;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.rack-tile {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #fefefe 0, #f0f0f5 100%);
  border: 2px solid rgba(167, 139, 250, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  color: #1a1a2e;
  cursor: grab;
  position: relative;
  transition: all 0.2s ease;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.rack-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-color: rgba(167, 139, 250, 0.6);
}
.rack-tile:active {
  cursor: grabbing;
  transform: translateY(-3px);
}
.rack-tile.selected {
  background: linear-gradient(135deg, #fef3c7 0, #fde68a 100%);
  border: 3px solid #fbbf24;
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.4);
}
.rack-tile.dragging {
  opacity: 0.5;
}
.info-panel {
  background: rgba(45, 45, 80, 0.5);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.info-title {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 10px;
}
.info-content {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.8;
  font-weight: 600;
}
.info-content strong {
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 1024px) {
  .game-container {
    display: grid;
    grid-template-columns: 160px 1fr 60px 80px;
    grid-template-rows: 1fr;
    max-width: 100%;
    margin: 10vh auto 0 auto;
  }
  .info-grid,
  .board-container,
  .rack-container,
  .controls {
    height: 100%;
  }
  .board-container {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    justify-content: flex-start;
    margin: 0;
  }
  .board {
    width: 100%;
    height: auto;
    margin: 0;
  }  
  /* SOL SÜTUN: Skor (üst) + Mesaj (alt) */
  .info-grid {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
  }
  /* Skor kutusu sabit yükseklik */
  .info-box:not(.message-box) {
    flex: 0 0 100px;  /* istersen 110–120px yaparsın */
    background: rgba(45, 45, 80, 0.5);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    order: 1;
  }
  /* Mesaj kutusu kalan her şeyi kapsasın */
  .info-box.message-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: rgba(45, 45, 80, 0.5);
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    order: 2;
  }
  .message-banner {
    flex: 1;
    min-height: 0;
    height: auto !important;
    max-height: 250px;
    overflow-y: auto;   /* liste uzadıkça sadece içerik scroll */
    font-size: 11px;
    padding: 8px;
  }
  .message-box {
    height: auto;  /* globalteki height:100%'ün üstüne yazalım */
  }
  .score-section {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
  }  
  .player-score {
    width: 100%;
    justify-content: flex-start;
  }
  /* 3. SÜTUN: Harfler (Rack) + Bag Info */
  .rack-container {
    grid-column: 3;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 0;
  }  
  .rack {
    flex-direction: column;
    justify-content: flex-start;
    padding: 12px 8px;
    height: 100%;
  }  
  .rack-tile {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    font-size: 22px;
    max-width: 100%;
  }  
  /* BAG INFO - Rack'in altında */
  .bag-info {
    margin: 0;
    padding: 10px;
    background: rgba(45, 45, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 10px;
  }  
  /* 4. SÜTUN: Kontrol Butonları */
  .controls {
    grid-column: 4;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    justify-content: flex-start;
  }  
  .btn {
    width: 100%;
    padding: 8px 4px;
    font-size: 9px;
    border-radius: 6px;
  }  
  .btn svg {
    width: 16px;
    height: 16px;
  }  
  .btn span {
    font-size: 8px;
  }  
  #playBtn {
    border-radius: 6px;
  }  
  #newGameBtn {
    border-radius: 6px;
  }
}

@media (max-width: 1023px) {
  body.fullscreen .difficulty-selector{display:none;}
  .difficulty-selector {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }
  .difficulty-buttons {
    width: 100%;
    justify-content: space-between;
  }
  .difficulty-btn {
    flex: 1;
    justify-content: center;
    min-width: 0;
    padding: 10px 12px;
  }
  .difficulty-btn span:last-child {
    font-size: 12px;
  }
  .kelime-oyunu-tool {
    padding: 10px 0;
  }
  .tool-container,
  .container {
    margin:0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
  }
  .info-grid {
    grid-template-columns: 2fr 1fr;
  }
  .board {
    gap: 2px;
    padding: 0;
    margin: 8px 0;
    border: none;
    max-width: 100%;
    max-height: none;
    width: 100%;
  }
  .cell {
    font-size: 8px;
    border-radius: 3px;
  }
  .cell.occupied, .cell.placed {
    font-size: 14px;
    border-width: 1px;
  }
  .rack {
    padding: 8px 6px;
    gap: 8px;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: center;
    border-radius: 0;
  }
  .rack-tile {
    width: 42px;
    height: 42px;
    aspect-ratio: 1;
    font-size: 20px;
    max-width: none;
    max-height: none;
  }
  #exchangeBtn, #newGameBtn, #passBtn, #playBtn, #recallBtn, #shuffleBtn, .btn {
    padding: 10px 4px;
    font-size: 10px;
    flex: 1;
    border-radius: 0;
    gap: 2px;
  }
  .btn svg {
    width: 15px;
    height: 15px;
  }
  .btn span {
    font-size: 8px;
  }
  .blank-tile-letters {
    grid-template-columns: repeat(6, 1fr);
  }
  .controls {
    margin-bottom: 0;
  }
  .tile-score {
    bottom: 1px;
    right: 2px;
  }
  .score-value {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
 .message-banner{
  height: 80px;
} 
.board-container {
  margin-bottom: 0;
}
.seo-content{
    border-radius:0 !important;
}
.player-score {
  width: 100px;
}
.game-container{
    margin-top: -12px;
}
.player-avatar {
  width: 28px;
  height: 28px;
}
}
.center-notification {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, rgba(30, 30, 60, 0.98) 0, rgba(45, 45, 80, 0.98) 100%);
  color: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: simpleFade 1.5s ease-in-out forwards;
}
@keyframes simpleFade {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  10% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  80% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}
.blank-tile-modal, .exchange-modal, .game-over-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 25, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
  backdrop-filter: blur(5px);
}
.blank-tile-content, .exchange-content, .game-over-content {
  background: linear-gradient(135deg, #1e1e3c 0, #2d2d50 100%);
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  color: #fff;
}
.blank-tile-content h3, .blank-tile-content p, .exchange-content h3, .exchange-content p, .game-over-content h3, .game-over-content p {
  color: #fff;
}
.game-over-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 15px;
  color: #22c55e;
}
.game-over-title.lost {
  color: #f472b6;
}
.game-over-scores {
  display: flex;
  justify-content: space-around;
  margin: 20px 0;
  color: #fff;
}
.game-over-scores > div {
  color: #fff;
}
.game-over-score-value {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}
.blank-tile-letter-btn:hover, .exchange-confirm, .game-over-btn {
  background: linear-gradient(135deg, #22c55e 0, #16a34a 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
}
.exchange-confirm, .game-over-btn {
  width: 100%;
  padding: 12px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 10px;
  font-size: 16px;
  transition: all 0.3s ease;
}
.exchange-confirm:hover, .game-over-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}
.exchange-rack {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.exchange-tile {
  width: 45px;
  height: 45px;
  background: rgba(60, 60, 100, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s ease;
}
.exchange-tile.selected {
  background: linear-gradient(135deg, #fef3c7 0, #fde68a 100%);
  border-color: #fbbf24;
  color: #1a1a2e;
  transform: translateY(-3px);
}
.blank-tile-cancel, .exchange-cancel {
  background: rgba(100, 100, 140, 0.8);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  margin-top: 5px;
  transition: all 0.2s ease;
}
.blank-tile-cancel:hover, .exchange-cancel:hover {
  background: rgba(120, 120, 160, 0.9);
}
.blank-tile-letters {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-bottom: 15px;
}
.blank-tile-letter-btn {
  aspect-ratio: 1;
  background: rgba(60, 60, 100, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  transition: all 0.2s ease;
}
.blank-tile-letter-btn:hover {
  background: linear-gradient(135deg, #22c55e 0, #16a34a 100%);
  transform: scale(1.05);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.kelime-oyunu-tool,
.kelime-oyunu-tool td,
.kelime-oyunu-tool th {
  font-family: Nunito, sans-serif;
}
.message-banner::-webkit-scrollbar {
  width: 6px;
}
.message-banner::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}
.message-banner::-webkit-scrollbar-thumb {
  background: rgba(167, 139, 250, 0.5);
  border-radius: 3px;
}
.message-banner::-webkit-scrollbar-thumb:hover {
  background: rgba(167, 139, 250, 0.7);
}
body.fullscreen .tool-container {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Zorluk Seçici Stilleri */
.difficulty-selector {
  background: rgba(45, 45, 80, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.difficulty-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.difficulty-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.difficulty-btn {
  background: rgba(35, 35, 70, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: Nunito, sans-serif;
  width: 100%;
}

.difficulty-btn:hover {
  background: rgba(45, 45, 85, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.difficulty-btn.active {
  background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
  border-color: rgba(167, 139, 250, 0.5);
  color: #fff;
  box-shadow: 0 4px 12px rgba(167, 139, 250, 0.3);
}

.difficulty-icon {
  font-size: 16px;
  line-height: 1;
}
#optionsBtn { display: none; }
.kelime-oyunu-tool {
  width: 100%;
  max-width: 900px;
}
.game-container {
  background: rgba(30, 30, 60, 0.6);
  padding: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}
.topbar {
    transition: transform 0.25s ease, background 0.3s ease;
}
.topbar.hide {
    transform: translateY(-100%); /* yukarı kaydırarak gizle */
}
.score-group { margin-bottom: 1.5rem; }
.score-group h3 { color: #667eea; margin-bottom: 0.5rem; }
.letter-list { list-style: none; padding-left: 0; }
.letter-list li { padding: 0.25rem 0; }
.tip { background: rgba(102, 126, 234, 0.1); padding: 0.75rem; border-radius: 8px; margin-top: 0.5rem; }
.bonus-card { background: rgba(255, 255, 255, 0.05); padding: 1rem; border-radius: 8px; margin-bottom: 1rem; }
.bonus-card h3 { margin-bottom: 0.5rem; }
.tips-grid, .move-examples, .mistake-cards { display: grid; gap: 1rem; }
.tip-card, .example-box, .mistake-card { background: rgba(255, 255, 255, 0.05); padding: 1rem; border-radius: 8px; }
.strategy-list { padding-left: 1.5rem; }
.strategy-list li { margin-bottom: 0.5rem; }
.combo-note { background: rgba(255, 215, 0, 0.1); padding: 0.75rem; border-radius: 8px; margin-top: 1rem; }
.high-value { border-left: 3px solid #f093fb; padding-left: 1rem; }
.highest-value { border-left: 3px solid #ff6b6b; padding-left: 1rem; }
.joker { border-left: 3px solid #ffd700; padding-left: 1rem; }
/* ========================================
   SCRABBLE SEO CONTENT STYLES
   ======================================== */

/* Genel Section Styling */
.seo-content .seo-scoring-section,
.seo-content .bonus-squares-guide,
.seo-content .strategy-tips,
.seo-content .example-moves,
.seo-content .advanced-tips,
.seo-content .common-mistakes,
.seo-content .seo-info,
.seo-content .seo-rules {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.seo-content .seo-scoring-section h2,
.seo-content .bonus-squares-guide h2,
.seo-content .strategy-tips h2,
.seo-content .example-moves h2,
.seo-content .advanced-tips h2,
.seo-content .common-mistakes h2,
.seo-content .seo-info h2,
.seo-content .seo-rules h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.seo-content .seo-scoring-section > p,
.seo-content .bonus-squares-guide > p,
.seo-content .strategy-tips > p,
.seo-content .example-moves > p,
.seo-content .advanced-tips > p,
.seo-content .seo-info > p,
.seo-content .seo-rules > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Letter Scores Grid */
.seo-content .letter-scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.seo-content .score-group {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.seo-content .score-group:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.seo-content .score-group h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.seo-content .score-group.high-value h3 {
    color: #f093fb;
    border-bottom-color: rgba(240, 147, 251, 0.2);
}

.seo-content .score-group.highest-value h3 {
    color: #ff6b6b;
    border-bottom-color: rgba(255, 107, 107, 0.2);
}

.seo-content .score-group.joker h3 {
    color: #ffd700;
    border-bottom-color: rgba(255, 215, 0, 0.2);
}

.seo-content .letter-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.seo-content .letter-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-content .letter-list li:last-child {
    border-bottom: none;
}

.seo-content .letter-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

.seo-content .tip {
    background: rgba(102, 126, 234, 0.1);
    border-left: 3px solid #667eea;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Bonus Types Grid */
.seo-content .bonus-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4/8 kart → dengeli 2 sütun */
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.seo-content .bonus-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.seo-content .bonus-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.seo-content .bonus-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.seo-content .bonus-card.tw {
    border-left: 4px solid #ff6b6b;
}

.seo-content .bonus-card.dw {
    border-left: 4px solid #ffd700;
}

.seo-content .bonus-card.tl {
    border-left: 4px solid #4facfe;
}

.seo-content .bonus-card.dl {
    border-left: 4px solid #00b894;
}

.seo-content .bonus-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0.75rem 0;
}

.seo-content .bonus-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

.seo-content .combo-note {
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid #ffd700;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.seo-content .combo-note strong {
    color: var(--text-primary);
}

/* Tips Grid */
.seo-content .tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4/8 kart → dengeli 2 sütun */
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.seo-content .tip-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.seo-content .tip-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.seo-content .tip-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.seo-content .tip-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.seo-content .tip-card strong {
    color: var(--text-primary);
}

/* Move Examples */
.seo-content .move-examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4/8 kart → dengeli 2 sütun */
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.seo-content .example-box {
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.seo-content .example-box:hover {
    background: rgba(102, 126, 234, 0.12);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.seo-content .example-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.seo-content .example-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0.5rem 0;
}

.seo-content .example-box strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Advanced Tips */
.seo-content .advanced-tips h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
    padding-left: 0.5rem;
    border-left: 3px solid #667eea;
}

.seo-content .strategy-list {
    padding-left: 2rem;
    margin: 1rem 0;
}

.seo-content .strategy-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.seo-content .strategy-list strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Common Mistakes */
.seo-content .mistake-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 4/8 kart → dengeli 2 sütun */
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.seo-content .mistake-card {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.seo-content .mistake-card:hover {
    background: rgba(255, 107, 107, 0.12);
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateY(-2px);
}

.seo-content .mistake-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.seo-content .mistake-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.seo-content .mistake-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .seo-content .seo-scoring-section h2,
    .seo-content .bonus-squares-guide h2,
    .seo-content .strategy-tips h2,
    .seo-content .example-moves h2,
    .seo-content .advanced-tips h2,
    .seo-content .common-mistakes h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .seo-content .letter-scores-grid,
    .seo-content .bonus-types,
    .seo-content .tips-grid,
    .seo-content .move-examples,
    .seo-content .mistake-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .seo-content .score-group,
    .seo-content .bonus-card,
    .seo-content .tip-card,
    .seo-content .example-box,
    .seo-content .mistake-card {
        padding: 1.25rem;
    }

    .seo-content .score-group h3,
    .seo-content .bonus-card h3,
    .seo-content .tip-card h3,
    .seo-content .example-box h4,
    .seo-content .mistake-card h4,
    .seo-content .advanced-tips h3 {
        font-size: 1rem;
    }

    .seo-content .letter-list li,
    .seo-content .tip,
    .seo-content .bonus-card p,
    .seo-content .combo-note,
    .seo-content .tip-card p,
    .seo-content .example-box p,
    .seo-content .strategy-list li,
    .seo-content .mistake-card p {
        font-size: 0.85rem;
    }

    .seo-content .advanced-tips h3 {
        font-size: 1.1rem;
        margin: 1.5rem 0 0.75rem 0;
    }

    .seo-content .strategy-list {
        padding-left: 1.5rem;
    }
}

@media (max-width: 480px) {
    .seo-content .seo-scoring-section,
    .seo-content .bonus-squares-guide,
    .seo-content .strategy-tips,
    .seo-content .example-moves,
    .seo-content .advanced-tips,
    .seo-content .common-mistakes {
        margin-top: 2rem;
    }

    .seo-content .score-group,
    .seo-content .bonus-card,
    .seo-content .tip-card,
    .seo-content .example-box,
    .seo-content .mistake-card {
        padding: 1rem;
    }
}