.nm-normalibu {
  width: 100%;
  margin-bottom: 1em;
}

.normalibu-banner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px; 
  padding: 0 20px;
  border-radius: 16px; 
  color: white;
  background: linear-gradient(90deg, #7b60f4, #e91e63, #7b60f4);
  background-size: 200% auto;
  animation: gradient-animation 8s linear infinite;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  gap: 20px;
}


.normalibu-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 75%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine-animation 5s infinite linear;
  z-index: 1;
}


.banner-left,
.banner-center,
.banner-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}


.banner-left {
  gap: 15px;
  flex-shrink: 1;
  min-width: 0;
}

.normalibu-logo {
  height: 60px; 
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  margin-top: -5px; 
}

.gunun-sorusu-text {
  font-size: 13px; 
  font-weight: 500; 
  line-height: 1.4;
  opacity: 0.9; 
}


.banner-center {
  flex-grow: 1; 
  justify-content: center;
  padding: 10px 25px;
  background-color: rgba(0, 0, 0, 0.25); 
  border-radius: 12px;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  min-width: 250px;
}

.question-text {
  font-size: 18px; 
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); 
}


.banner-right {
  gap: 20px;
  flex-shrink: 0;
}

.normalibu-avatar {
  height: 55px;
  width: auto;
  object-fit: contain;

}


.play-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 5em;
  padding: 10px 20px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  transition:
    transform 0.2s ease-in-out,
    background-color 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  background-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: pulse-animation 2s infinite ease-in-out;
}

.play-button:hover {
  transform: scale(1.08);
  background-color: rgba(255, 255, 255, 0.2);
  animation-play-state: paused;
}

.play-button .border-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

.play-button .border-rect {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #fff;
  stroke-width: 2px;
  stroke-dasharray: 15 10;
  stroke-linecap: round;
  animation: march-ants 1.2s linear infinite;
}


@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes shine-animation {
  0% {
    left: -150%;
  }
  100% {
    left: 150%;
  }
}

@keyframes march-ants {
  to {
    stroke-dashoffset: -25;
  }
}

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


/* Genel Modal Stilleri */
.normalibul-modal {
  background: #1C1C1D !important;
  color: #fff !important;
  border-radius: 20px !important;
  border: 2px solid #7b60f4;
  box-shadow: 0 0 30px rgba(123, 96, 244, 0.5);
  display: flex;
  justify-content: center;
}

.normalibul-html-container {
  padding: 0 !important;
  margin: 0 !important;
}

/* Header */
.normalibul-header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-btn {
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(45deg, #ffe000, #ffb300);
  color: #1C1C1D;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 224, 0, 0.3);
}

.leaderboard-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 224, 0, 0.5);
}

.leaderboard-btn .fa-crown {
  margin-right: 8px;
  color: #a37c00;
}

/* İçerik */
.normalibul-content {
  padding: 1.5rem;
  text-align: center;
}

.question-image {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  border-radius: 15px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.question-title {
  color: #ffe000;
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

.question-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

/* Cevap Seçenekleri */
.answers-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.answer-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.answer-option {
  flex-grow: 1;
  width: 100%;
  padding: 15px 20px;
  border-radius: 12px;
  border: 2px solid #7b60f4;
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.answer-option:not(:disabled):hover {
  background: #7b60f4;
  color: #fff;
  transform: scale(1.02);
}

.answer-option:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.answer-option.correct {
    background-color: #4CAF50 !important;
    border-color: #81C784 !important;
    color: white !important;
    animation: pulse-correct 0.5s;
}

.answer-option.incorrect {
    background-color: #e91e63 !important;
    border-color: #f06292 !important;
    color: white !important;
    animation: shake-incorrect 0.5s;
}

.vote-count {
    background: rgba(255,255,255,0.1);
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.vote-count.visible {
    opacity: 1;
    transform: scale(1);
}

/* Sonuç Mesajları */
.result-message {
    padding: 15px;
    border-radius: 12px;
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    animation: fadeIn 0.5s;
}
.result-message.success {
    background-color: #2e7d32;
    color: #fff;
}
.result-message.error {
    background-color: #c62828;
    color: #fff;
}

/* Lider Tablosu Modal */
.leaderboard-popup {
    border-color: #ffe000;
    box-shadow: 0 0 30px rgba(255, 224, 0, 0.5);
}

.leaderboard-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.back-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.back-btn:hover {
    background: #fff;
    color: #1C1C1D;
}

.leaderboard-title {
    color: #ffe000;
    margin: 0;
    flex-grow: 1;
    text-align: center;
}

.leaderboard-list {
    list-style: none;
    padding: 1rem;
    margin: 0;
    max-height: 400px;
    overflow-y: auto;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 10px;
    transition: background 0.2s;
}
.leaderboard-item:hover {
    background: rgba(255,255,255,0.1);
}

.leaderboard-item .rank {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffe000;
    width: 30px;
    text-align: center;
}

.leaderboard-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 15px;
    border: 2px solid #7b60f4;
}

.leaderboard-item .name {
    flex-grow: 1;
    font-weight: 600;
}

.leaderboard-item .score {
    font-weight: 700;
    color: #fff;
    background: #e91e63;
    padding: 5px 10px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.no-leaderboard-data {
    text-align: center;
    padding: 2rem;
    opacity: 0.7;
}

/* Animasyonlar */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse-correct { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes shake-incorrect { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Responsive */
@media (max-width: 600px) {
    .question-title { font-size: 1.5rem; }
    .answer-option { font-size: 1rem; padding: 12px; }
}



@media (max-width: 1024px) {

  .gunun-sorusu-text {
    display: none; 
  }
  .banner-center {
    padding: 10px 20px;
  }
  .question-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .normalibu-banner {
    flex-direction: column;
    height: auto;
    padding: 20px;
    text-align: center;
  }

  .banner-left,
  .banner-center,
  .banner-right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .banner-left {
    order: 1;
  }

  .banner-center {
    order: 2; 
    margin: 15px 0;
    padding: 15px;
  }

  .banner-right {
    order: 3; 
    gap: 15px;
  }

  .question-text {
    max-width: none;
    white-space: normal; 
  }

  .normalibu-logo {
    height: 100px;
  }
  .normalibu-avatar {
    display: none; 
  }
}

@media (max-width: 480px) {
  .play-button {
    width: 100%; 
    padding: 12px;
    font-size: 16px;
  }
}