:root {
  --bg-dark: #070a14;
  --card-bg: #0f172a;
  --gold: #f59e0b;
  --gold-glow: rgba(245, 158, 11, 0.4);
  --correct: #10b981;
  --wrong: #ef4444;
  --blue: #2563eb;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: fixed;
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

/* 🗂️ TAM EKRAN KATEGORİ SEÇİM PERDESİ */
#startOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #1e1b4b 0%, #070a14 100%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 40px 16px 50px 16px;
  overflow-y: auto;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#startOverlay.hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.overlay-brand {
  margin-top: 5px;
  margin-bottom: 1px;
}

.overlay-brand h1 {
  color: var(--gold);
  margin: 0 0 4px 0;
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 0 0 20px var(--gold-glow);
  letter-spacing: 2px;
  line-height: 1.1;
}

.overlay-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
  letter-spacing: 0.5px;
}

/* 📱 Mobil: 2 Sütun */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 1050px;
  padding: 6px 4px 16px 4px;
}

.category-card {
  position: relative;
  height: 86px; /* 110px değerinden düşürüldü */
  border-radius: 14px;
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px; /* Padding değeri biraz daraltıldı */
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(7, 10, 20, 0.92) 100%);
  z-index: 1;
  transition: background 0.25s ease;
}

.category-card:active {
  transform: scale(0.96);
}

.cat-icon {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8));
  transition: transform 0.25s ease;
}

.cat-title {
  position: relative;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.9);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Üst Stüdyo & Video Alanı */
.studio-stage {
  position: relative;
  width: 100%;
  height: 44vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid var(--gold);
  overflow: hidden;
}

video#ugurVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Sol Alt: İsim Bandı */
.host-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0, 0, 0, 0.75);
  border-left: 3px solid var(--gold);
  padding: 3px 8px;
  font-weight: bold;
  font-size: 0.72rem;
  border-radius: 0 4px 4px 0;
  z-index: 5;
  backdrop-filter: blur(4px);
}

/* ⏱️ Sağ Alt: Sayaç */
.timer-badge {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  background: rgba(15, 23, 42, 0.9);
  border-right: 3px solid var(--gold);
  border-left: none;
  border-top: 1px solid rgba(245, 158, 11, 0.4);
  border-bottom: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold);
  padding: 3px 12px;
  border-radius: 4px 0 0 4px;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 0 10px var(--gold-glow);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.timer-badge.danger {
  border-right-color: #ef4444 !important;
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.3) !important;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.7) !important;
  animation: timerPulse 0.5s infinite alternate;
}

@keyframes timerPulse {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

/* Sol Üst: Joker Butonları */
.joker-container {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 5px;
  z-index: 10;
}

.btn-joker {
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 4px 10px;
  border-radius: 14px;
  font-weight: bold;
  font-size: 0.75rem;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
}

@media (hover: hover) {
  .btn-joker:hover:not(:disabled) {
    background: var(--gold);
    color: #000;
  }
}

.btn-joker:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: #64748b;
  color: #64748b;
}

/* Sağ Üst: Para Merdiveni */
.money-ladder {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 3px 6px;
  border-radius: 5px;
  font-size: 0.55rem;
  width: 101px;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.ladder-step {
  display: flex;
  align-items: center;
  padding: 0.5px 2px;
  color: #64748b;
  line-height: 1.18;
  white-space: nowrap;
}

.ladder-step .step-num {
  width: 16px;
  text-align: right;
  margin-right: 4px;
  font-variant-numeric: tabular-nums;
}

.ladder-step .step-label {
  margin-right: auto;
}

.ladder-step .step-prize {
  text-align: right;
  font-weight: 500;
}

.ladder-step.active {
  color: #000;
  background: var(--gold);
  font-weight: bold;
  border-radius: 2px;
}

/* Alt Oyun Alanı */
.game-bottom {
  height: 56vh;
  background: radial-gradient(circle at top, #1e1b4b 0%, var(--bg-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 8px 12px env(safe-area-inset-bottom);
  gap: 8px;
}

.ad-banner-slot {
  width: 100%;
  max-width: 720px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.ad-placeholder {
  font-size: 0.8rem;
  color: #64748b;
  letter-spacing: 1px;
}

.q-box {
  width: 100%;
  max-width: 720px;
  background: rgba(15, 23, 42, 0.95);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 0 12px var(--gold-glow);
}

.opts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  width: 100%;
  max-width: 720px;
}

/* 🚨 BUTON STİLLERİ VE MOBİL YAPIŞMA (STICKY HOVER) ÇÖZÜMÜ 🚨 */
.btn-choice {
  background: #0f172a;
  border: 1.5px solid #3b82f6;
  color: #fff;
  padding: 10px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
  user-select: none !important;
}

@media (hover: hover) {
  .btn-choice:hover:not(:disabled) {
    background: #1e3a8a;
    border-color: var(--gold);
  }
}

.btn-choice:focus,
.btn-choice:active {
  outline: none !important;
  box-shadow: none !important;
}

.btn-choice.selected {
  border-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.25) !important;
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.6) !important;
}

.btn-choice.correct {
  border-color: #22c55e !important;
  background: rgba(34, 197, 94, 0.3) !important;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.8) !important;
}

.btn-choice.wrong {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.3) !important;
  box-shadow: 0 0 18px rgba(239, 68, 68, 0.8) !important;
}

/* 🎮 Çekilme ve Garanti Kontrol Alanı */
.action-control-bar {
  width: 100%;
  max-width: 720px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  padding: 6px 12px;
  margin-top: 4px;
}

.guarantee-box {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
}

.guarantee-box .val {
  color: var(--correct);
  font-weight: 800;
  font-size: 0.85rem;
}

.btn-walk-away {
  background: linear-gradient(135deg, var(--gold), #d97706);
  border: none;
  color: #000;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.btn-walk-away:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-walk-away:active {
  transform: scale(0.96);
}

/* 📺 TV Kayan Alt Şerit Stili */
.tv-bottom-ticker {
  width: 100%;
  max-width: 720px;
  height: 26px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: auto;
  margin-bottom: 2px;
}

.ticker-track {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.ticker-track span {
  display: inline-block;
  padding-left: 100%;
  animation: tickerSlide 22s linear infinite;
}

@keyframes tickerSlide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Modallar */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(4px);
}

.modal-content {
  background: var(--card-bg);
  border: 2px solid var(--gold);
  border-radius: 14px;
  padding: 20px;
  width: 85%;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 0 25px var(--gold-glow);
}

.poll-bar {
  height: 12px;
  background: var(--blue);
  border-radius: 6px;
  transition: width 0.8s ease;
  margin-top: 3px;
}

/* Oyun Sonu Modal */
.gameover-box {
  background: var(--card-bg);
  border: 2px solid var(--wrong);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
  border-radius: 18px;
  padding: 24px 20px;
  width: 90%;
  max-width: 380px;
  text-align: center;
  animation: popIn 0.3s ease-out;
}

.gameover-box.win {
  border-color: var(--gold);
  box-shadow: 0 0 35px var(--gold-glow);
}

.gameover-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ef4444;
}

.gameover-box.win .gameover-title {
  color: var(--gold);
}

.gameover-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  margin-bottom: 16px;
  line-height: 1.4;
}

.gameover-prize {
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 10px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.gameover-prize span {
  color: var(--gold);
  display: block;
  font-size: 1.25rem;
  margin-top: 4px;
}

.btn-restart {
  background: var(--gold);
  color: #000;
  border: none;
  font-size: 1rem;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 0 15px var(--gold-glow);
  transition: transform 0.15s ease;
}

.btn-restart:active {
  transform: scale(0.96);
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@media (min-width: 769px) {
  .studio-stage {
    height: 52vh;
  }

  video#ugurVideo {
    object-fit: contain;
    object-position: center center;
  }

  .game-bottom {
    height: 48vh;
    justify-content: flex-start;
    padding-top: 10px;
    gap: 10px;
  }

  .ad-banner-slot {
    width: 100%;
    max-width: 720px;
    height: 58px;
    min-height: 58px;
    max-height: 58px;
    margin: 2px auto 0 auto;
    border-radius: 16px;
    overflow: hidden;
  }

  .ad-banner-slot .ad-placeholder {
    width: 100%;
    height: 100%;
    display: block;
  }

  .ad-banner-slot img {
    width: 100%;
    height: 100%;
    max-height: 58px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
  }

  .opts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .q-box {
    font-size: 1.15rem;
    padding: 14px 20px;
  }

  .btn-choice {
    font-size: 0.98rem;
    padding: 12px 18px;
  }

  .money-ladder {
    width: 155px;
    font-size: 0.72rem;
    padding: 6px 10px;
  }

  .host-badge {
    font-size: 0.85rem;
    padding: 5px 12px;
  }

  .timer-badge {
    font-size: 1.05rem;
    padding: 5px 16px;
  }

  .action-control-bar {
    margin-top: 6px;
    padding: 8px 18px;
  }

  .guarantee-box {
    font-size: 0.88rem;
  }

  .guarantee-box .val {
    font-size: 0.95rem;
  }

  .btn-walk-away {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .tv-bottom-ticker {
    margin-top: 6px;
    height: 28px;
    font-size: 0.8rem;
  }
}

/* 🌟 Preloader Büyük Logo & TV Başlık Stili */
.preloader-logo-wrap {
  margin-bottom: 16px;
}

.preloader-big-logo {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f59e0b;
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.5), 0 8px 16px rgba(0, 0, 0, 0.8);
  animation: logoFloatPulse 3s ease-in-out infinite;
}

.preloader-sub-host {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: #e2e8f0;
  margin-bottom: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.preloader-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #f59e0b;
  letter-spacing: 3.5px;
  margin-bottom: 6px;
  text-shadow: 0 0 16px rgba(245, 158, 11, 0.4), 0 3px 6px rgba(0, 0, 0, 0.9);
}

@keyframes logoFloatPulse {
  0% {
    transform: translateY(0px) scale(1);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  }
  50% {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 0 34px rgba(245, 158, 11, 0.7);
  }
  100% {
    transform: translateY(0px) scale(1);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  }
}

@media (max-width: 600px) {
  .preloader-big-logo {
    width: 230px;
    height: 230px;
  }
  .preloader-sub-host {
    font-size: 0.95rem;
    letter-spacing: 4px;
  }
  .preloader-main-title {
    font-size: 1.7rem;
  }
}

/* 🌐 Header & Navigation (En Üst Katman) - İyileştirilmiş Esnek & Dar Alan Yapısı (iPhone SE uyumlu) */
.main-header {
  position: relative;
  width: 100%;
  background: rgba(7, 10, 20, 0.95);
  border-bottom: 1.5px solid rgba(245, 158, 11, 0.35);
  backdrop-filter: blur(8px);
  z-index: 10001;
  flex-shrink: 0;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
}

.brand-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

/* 📌 Footer (En Üst Katman) */
.main-footer {
  position: relative;
  width: 100%;
  background: #020617;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  z-index: 10001;
  flex-shrink: 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: #64748b;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 600px) {
  .header-inner {
    padding: 5px 8px;
  }
  .brand-text {
    font-size: 0.8rem;
  }
  .header-nav {
    gap: 6px;
  }
  .nav-link {
    font-size: 0.7rem;
  }
  .footer-inner {
    /* Mobil cihazlarda alt alta geçme kuralı kaldırıldı, masaüstündeki gibi yan yana kalması sağlandı */
    flex-direction: row;
    gap: 4px;
    padding: 6px 12px;
  }
}

/* 📝 Soru Gönder Sayfa Stili */
.submit-page-container {
  width: 100%;
  max-width: 760px;
  margin: 20px auto;
  padding: 0 16px 30px 16px;
  overflow-y: auto;
  z-index: 10;
}

.submit-card {
  background: rgba(15, 23, 42, 0.95);
  border: 1.5px solid var(--gold);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 0 25px var(--gold-glow);
}

.submit-header h2 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.submit-header p {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.question-form .form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

.question-form label {
  font-size: 0.8rem;
  font-weight: bold;
  color: #e2e8f0;
  margin-bottom: 5px;
}

.question-form input,
.question-form select,
.question-form textarea {
  background: #070a14;
  border: 1px solid #334155;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  outline: none;
}

.question-form input:focus,
.question-form select:focus,
.question-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.form-row.double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-submit-question {
  width: 100%;
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: #000;
  border: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 8px;
  transition: transform 0.15s ease;
}

.btn-submit-question:active {
  transform: scale(0.98);
}

.alert-box {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: bold;
}

.alert-box.success {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid var(--correct);
  color: #34d399;
}

.alert-box.error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid var(--wrong);
  color: #f87171;
}

@media (max-width: 600px) {
  .form-row.double {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ⏱️ Video Ortası Geri Sayım Efekti */
.center-countdown-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 45;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.center-countdown-overlay.active {
  opacity: 1;
  visibility: visible;
}

.countdown-dial {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 6px dashed #f59e0b;
  border-top-color: #ef4444;
  animation: dialSpin 3s linear infinite;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.countdown-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(239, 68, 68, 0.8), 0 0 20px rgba(0, 0, 0, 0.9);
  z-index: 2;
  font-family: 'Impact', 'Arial Black', sans-serif;
  animation: numberPulse 0.9s ease-in-out infinite;
}

@keyframes dialSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes numberPulse {
  0% { transform: scale(1.25); opacity: 1; }
  50% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 1; }
}

/* 📋 Sınırlandırılmış Kutu (iframe) Görünümünü Kaldırıp Düz Akışa Çevirme */
#startOverlay div[style*="max-height"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-height: none !important;
  height: auto !important;
  overflow-y: visible !important;
  padding: 0 !important;
}

/* Ön Lisans ve Lisans başlıklarını ve altındaki butonları düz akışa getir */
#startOverlay div[style*="max-height"] h3 {
  text-align: left !important;
  margin-top: 16px !important;
}

#startOverlay div[style*="max-height"] div[style*="grid-template-columns"] {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

#startOverlay div[style*="max-height"] div[style*="grid-template-columns"] button {
  width: 100% !important;
  text-align: left !important;
}