.muzik2048-wrapper:fullscreen {
    align-items: center;
    justify-content: center;
  }
  
body.page-id-4183 {
  background-color: #f1f1f1 !important;
}
.emoji {
    font-size: 1.5em;
    line-height: 1;
    display: inline-block;
    margin-right: 4px;
}


h2 {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    color: #444;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    background: none;
    padding: 10px;
    border-bottom: 2px solid #bbb;
}

.kacpuan {
    display: block;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #444;
    background: #e0e0e0;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 10px auto;  /* 🔥 Ortalamak için bu çok önemli */
    width: fit-content; /* İçeriğe göre genişlik */
  }
  

  
.kacpuan:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#score {
    font-size: 24px;
    color: #222;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.score-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    background: #bbada0;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    width: 180px;
    margin: 20px auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.game-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto; /* YATAY ORTALA */
    background: #bbada0;
    padding: 20px;
    border-radius: 10px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    width: 100%;
    max-width: 360px;
	touch-action: none;

}

.tile {
    width: 100%;
    aspect-ratio: 1 / 1;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background: #cdc1b4;
    color: #fff;
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.tile.merge-animation {
    animation: mergePop 0.3s ease;
}

@keyframes mergePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); box-shadow: 0 0 10px #ff9800; }
    100% { transform: scale(1); }
}


/* Modal Body İçin Stil */
.modal-body {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #444;
    padding: 25px 30px;
    background: linear-gradient(135deg, #ffffff 50%, #f9f9f9 100%);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    line-height: 1.6;
}

/* Alt açıklamalar için stil */
.modal-body p {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Nasıl Oynanır Başlığı */
.modal-header h5 {
    font-size: 30px;
    font-weight: bold;
    color: #000000;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
}

/* Listeyi Stilize Et */
.modal-body ul {
    list-style-type: none;
    padding: 0;
}

.modal-body ul li {
    font-size: 17px;
    margin: 10px 0;
    font-weight: 500;
    text-align: left;
    padding-left: 25px;
    position: relative;
}

.modal-body ul li:before {
    content: "✔️";
    position: absolute;
    left: 0;
    font-size: 20px;
    color: #ff7043;
    top: 50%;
    transform: translateY(-50%);
}

/* Kapat Butonu */
.modal-footer .btn-secondary {
    background: #f5a623;
    color: #fff;
    font-weight: bold;
    border-radius: 12px;
    padding: 12px 20px;
    transition: background 0.3s ease;
}

.modal-footer .btn-secondary:hover {
    background: #e59400;
    transform: scale(1.05);
}




.leaderboard {
    max-width: 400px;
    margin: 0 auto;
    background-color: #f8f8f8;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .leaderboard h3 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
  }
  
  #leaderboardList .list-group-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 1.5rem;
    color: #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    transition: background-color 0.2s ease;
  }
  
  #leaderboardList .list-group-item:hover {
    background-color: #f1f1f1;
  }
  
  #leaderboardList .badge {
    font-size: 1.5rem;
    background-color: #28a745;
  }
  
  /* 🎖️ Liderlik Başlığı */
.leader-title {
    text-align: center;
    font-size: 35px;
    font-weight: 800;
    color: #ff7043;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
    position: relative;
}

.leader-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff7043, #ffa726);
    margin: 8px auto 0;
    border-radius: 2px;
}

/* 📝 Alt açıklama */
.leader-subtitle {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
}


.glow-winner {
    box-shadow: 0 0 12px #ffa726, 0 0 30px #ffa726 inset;
    border: 2px solid #ffa726;
    border-radius: 8px;
    animation: pulseGlow 1.5s infinite ease-in-out;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 8px #ff9800; }
    50% { box-shadow: 0 0 20px #ffa726, 0 0 35px #ffa726 inset; }
    100% { box-shadow: 0 0 8px #ff9800; }
}

