@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --color-bg: #0a0a0f;
  --color-surface: #12121a;
  --color-surface2: #1c1c2e;
  --color-border: #2a2a3e;
  --color-primary: #e63946;
  --color-primary-g: #c1121f;
  --color-correct: #06d6a0;
  --color-wrong: #ef476f;
  --color-timer: #ffd166;
  --color-streak: #f77f00;
  --color-xp: #a29bfe;
  --font-display: 'Bebas Neue', 'Anton', sans-serif;
  --font-ui: 'Nunito', 'Poppins', sans-serif;
}

.page-ben-biliyorum,
.page-ben-biliyorum body {
  background: var(--color-bg);
  font-family: var(--font-ui);
}

.page-ben-biliyorum .layout.ben-biliyorum-layout,
body.desktop-mode .page-ben-biliyorum .layout.ben-biliyorum-layout {
  max-width: 1422px !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  padding: calc(var(--header-h) + 8px) 10px 16px !important;
}

.bb-shell {
  background:
    radial-gradient(circle at 20% -5%, rgba(230, 57, 70, 0.2), transparent 42%),
    radial-gradient(circle at 90% 0%, rgba(34, 65, 132, 0.3), transparent 38%),
    linear-gradient(180deg, #0b111f 0%, #080d16 100%);
  border: 1px solid rgba(74, 100, 143, 0.46);
  border-radius: 18px;
  padding: 16px;
  min-height: calc(100vh - (var(--header-h) + 24px));
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.45);
}

.bb-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 0.7px, transparent 0.7px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
  opacity: 0.3;
}

.bb-screen {
  position: relative;
  z-index: 1;
}
.bb-screen[hidden],
.bb-loading-screen[hidden],
.bb-error-screen[hidden],
.bb-modal[hidden] {
  display: none !important;
}


.bb-loading-screen,
.bb-error-screen {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 56vh;
  gap: 14px;
}

.bb-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--color-primary);
  animation: bb-spin 0.9s linear infinite;
}

@keyframes bb-spin {
  to {
    transform: rotate(360deg);
  }
}

.bb-screen-lobby {
  display: grid;
  gap: 12px;
}

.bb-lobby-head {
  border: 1px solid rgba(74, 100, 143, 0.5);
  border-radius: 16px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(22, 30, 52, 0.96), rgba(12, 18, 34, 0.96));
  text-align: center;
}

.bb-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px;
  margin-bottom: 0;
}

.bb-brand-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bb-brand-copy {
  display: grid;
  gap: 1px;
  text-align: left;
}

.bb-brand-copy strong {
  color: #f6fbff;
  letter-spacing: 0.5px;
  font-size: 15px;
  font-weight: 900;
}

.bb-brand-copy span {
  color: #9ab4d9;
  font-size: 11px;
  font-weight: 700;
}

.bb-brand-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bb-live-presence {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bb-live-presence-pill {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(99, 131, 179, 0.72);
  background: rgba(21, 34, 56, 0.84);
  font-size: 11px;
  font-weight: 800;
  color: #dbe8ff;
}

.bb-brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 216, 122, 0.6);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(230, 57, 70, 0.2);
}

.bb-brand-site {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.bb-logo,
.bb-logo-fallback {
  width: 164px;
  height: 40px;
  margin: 0;
}

.bb-logo {
  filter: saturate(1.24) brightness(1.14) drop-shadow(0 3px 10px rgba(230, 57, 70, 0.24));
}

.bb-logo-fallback {
  border: 1px solid #5f7fb0;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #eef6ff;
}

.bb-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(36px, 6.2vw, 60px);
  line-height: 0.9;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.bb-title span {
  display: inline-block;
  background: linear-gradient(120deg, #ffffff 0%, #ffd4d8 32%, #e63946 60%, #ffffff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: letter-in 0.56s ease both, bb-shimmer 2.2s linear infinite;
}

.bb-title span:nth-child(1) { animation-delay: 0ms, 0ms; }
.bb-title span:nth-child(2) { animation-delay: 45ms, 0ms; }
.bb-title span:nth-child(3) { animation-delay: 90ms, 0ms; }
.bb-title span:nth-child(4) { animation-delay: 120ms, 0ms; }
.bb-title span:nth-child(5) { animation-delay: 140ms, 0ms; }
.bb-title span:nth-child(6) { animation-delay: 185ms, 0ms; }
.bb-title span:nth-child(7) { animation-delay: 230ms, 0ms; }
.bb-title span:nth-child(8) { animation-delay: 275ms, 0ms; }
.bb-title span:nth-child(9) { animation-delay: 320ms, 0ms; }
.bb-title span:nth-child(10) { animation-delay: 365ms, 0ms; }
.bb-title span:nth-child(11) { animation-delay: 410ms, 0ms; }
.bb-title span:nth-child(12) { animation-delay: 455ms, 0ms; }
.bb-title span:nth-child(13) { animation-delay: 500ms, 0ms; }

.bb-subtitle {
  margin: 8px 0 0;
  color: #b8cae6;
  font-size: 15px;
  font-weight: 700;
}

@keyframes bb-shimmer {
  0% { background-position: 180% 0; }
  100% { background-position: -20% 0; }
}

.bb-stat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.bb-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(96, 127, 175, 0.64);
  border-radius: 999px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  color: #d8e7ff;
  background: rgba(16, 27, 45, 0.88);
}

.bb-lobby-card {
  border: 1px solid rgba(74, 100, 143, 0.5);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(19, 28, 49, 0.92), rgba(11, 19, 34, 0.93));
  display: grid;
  gap: 10px;
}

.bb-lobby-card h2 {
  margin: 0;
  color: #f3f8ff;
  font-size: 15px;
  font-weight: 800;
}

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

.bb-category-btn {
  min-height: 84px;
  border: 1px solid rgba(74, 100, 143, 0.56);
  border-radius: 12px;
  background: linear-gradient(160deg, #171f36, #10182b);
  color: #e7f1ff;
  padding: 10px 8px;
  text-align: center;
  display: grid;
  gap: 4px;
  justify-items: center;
  align-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: option-slide-in 0.4s ease both;
}

.bb-category-btn:hover {
  transform: translateY(-1px);
  border-color: #7e9ecf;
}

.bb-category-btn.is-active {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(230, 57, 70, 0.56), 0 0 16px rgba(230, 57, 70, 0.22);
  transform: scale(1.03);
}

.bb-category-icon {
  font-size: 21px;
  line-height: 1;
  animation: correct-bounce 1.6s ease-in-out infinite;
}

.bb-category-name {
  font-size: 12px;
  font-weight: 700;
}

.bb-category-count {
  font-size: 11px;
  color: #9cb6d9;
}

.bb-segment {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.bb-segment button {
  min-height: 38px;
  border: 1px solid rgba(80, 108, 151, 0.62);
  border-radius: 999px;
  background: #122139;
  color: #d7e8ff;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.bb-segment button.is-active {
  background: linear-gradient(180deg, #3b6eb4, #2a5690);
  border-color: #6e99d6;
  color: #fff;
}

.bb-btn {
  border: 1px solid transparent;
  border-radius: 12px;
  min-height: 46px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.14s ease, opacity 0.14s ease;
}

.bb-btn:active {
  transform: scale(0.98);
}

.bb-btn-primary {
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-g));
  color: #fff;
  border-color: rgba(255, 136, 145, 0.65);
}

.bb-btn-secondary {
  background: #16253f;
  color: #dbe8fb;
  border-color: #4b6997;
}

.bb-btn-start {
  width: 100%;
  min-height: 56px;
  font-size: 16px;
}

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

.bb-session-grid article {
  border: 1px solid rgba(74, 100, 143, 0.52);
  border-radius: 11px;
  padding: 9px;
  background: rgba(12, 22, 39, 0.86);
}

.bb-session-grid span {
  display: block;
  color: #9fb6d8;
  font-size: 11px;
}

.bb-session-grid strong {
  display: block;
  margin-top: 2px;
  color: #f2f8ff;
  font-size: 18px;
}

.bb-screen-game {
  display: grid;
  gap: 10px;
  padding-top: env(safe-area-inset-top);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}

.bb-game-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.bb-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #5d7dae;
  background: #16253f;
  color: #f1f6ff;
  font-size: 18px;
  cursor: pointer;
}

.bb-progress-text,
.bb-streak {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #e6f1ff;
}

.bb-streak {
  text-align: right;
  color: #ffc671;
}

.bb-progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
  border: 1px solid rgba(85, 112, 151, 0.42);
}

.bb-game-presence {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 2px;
}

.bb-game-presence span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(92, 124, 167, 0.74);
  background: rgba(17, 30, 51, 0.84);
  font-size: 11px;
  font-weight: 800;
  color: #d9e7ff;
}

.bb-progress-track > span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #ff5f6d 0%, var(--color-primary) 100%);
  transition: width 0.25s ease;
}

.bb-timer-wrap {
  display: grid;
  place-items: center;
  padding: 6px 0;
}

.bb-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 8;
}

.bb-ring-fg {
  fill: none;
  stroke: var(--color-timer);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 282.743;
  stroke-dashoffset: 0;
  transform-origin: 50px 50px;
  transform: rotate(-90deg);
  transition: stroke 0.2s linear;
}

.bb-ring-fg.is-pulse {
  animation: timer-pulse 0.8s ease infinite;
}

#bbTimerNumber {
  fill: #f3f9ff;
  font-size: 24px;
  font-weight: 800;
}

.bb-question-card {
  border: 1px solid rgba(90, 118, 157, 0.54);
  border-radius: 15px;
  background: linear-gradient(180deg, #1a2237, #121b2f);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.bb-category-badge {
  justify-self: start;
  border: 1px solid rgba(87, 113, 149, 0.6);
  border-radius: 999px;
  min-height: 24px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  color: #9db4d6;
  font-size: 11px;
  font-weight: 700;
  text-transform: lowercase;
}

#bbQuestionText {
  margin: 0;
  color: #f5faff;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.bb-options {
  display: grid;
  gap: 8px;
}

.bb-option {
  min-height: 56px;
  border-radius: 12px;
  border: 1px solid #2a2a3e;
  background: #1c1c2e;
  color: #e9f3ff;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  animation: option-slide-in 0.35s ease both;
}

.bb-option:nth-child(1) { animation-delay: 0ms; }
.bb-option:nth-child(2) { animation-delay: 60ms; }
.bb-option:nth-child(3) { animation-delay: 120ms; }
.bb-option:nth-child(4) { animation-delay: 180ms; }
.bb-option:nth-child(5) { animation-delay: 240ms; }

.bb-option:hover {
  transform: scale(1.02);
  border-color: #4f6f9f;
}

.bb-option-key {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #506f9a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.bb-option-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bb-option.is-disabled {
  pointer-events: none;
}

.bb-option.is-hidden {
  opacity: 0.58;
  border-style: dashed;
  border-color: rgba(122, 143, 177, 0.72);
  background: linear-gradient(180deg, rgba(22, 31, 50, 0.92), rgba(15, 24, 40, 0.92));
  filter: grayscale(0.45) saturate(0.55);
  pointer-events: none;
  cursor: not-allowed;
}

.bb-option.is-hidden:hover {
  transform: none;
  border-color: rgba(122, 143, 177, 0.72);
}

.bb-option.is-hidden .bb-option-key {
  border-color: rgba(123, 146, 182, 0.82);
  color: #b5c8e6;
  background: rgba(24, 35, 57, 0.92);
}

.bb-option.is-hidden .bb-option-text {
  color: #a8bad6;
  text-decoration: line-through;
}

.bb-option.is-hidden::after {
  content: '50/50';
  grid-column: 2;
  justify-self: end;
  align-self: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(129, 151, 186, 0.78);
  background: rgba(18, 29, 48, 0.88);
  color: #c6d8f1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 20px;
}

.bb-option.is-correct {
  border-color: var(--color-correct);
  background: rgba(6, 214, 160, 0.15);
  box-shadow: 0 0 16px rgba(6, 214, 160, 0.26);
  animation: correct-bounce 0.3s ease;
}

.bb-option.is-wrong {
  border-color: var(--color-wrong);
  background: rgba(239, 71, 111, 0.15);
  animation: wrong-shake 0.5s ease;
}

.bb-game-tools {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.bb-xp-float {
  min-height: 24px;
  color: var(--color-xp);
  font-size: 18px;
  font-weight: 800;
  opacity: 0;
}

.bb-xp-float.is-show {
  opacity: 1;
  animation: xp-float 1s ease forwards;
}

.bb-answer-feedback {
  border: 1px solid rgba(90, 118, 157, 0.54);
  border-radius: 13px;
  background: rgba(17, 27, 45, 0.92);
  padding: 10px;
  display: grid;
  gap: 10px;
}

.bb-streak-banner {
  border: 1px solid rgba(247, 127, 0, 0.7);
  border-radius: 999px;
  background: rgba(247, 127, 0, 0.2);
  color: #ffdcb0;
  font-size: 12px;
  font-weight: 800;
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
}

.bb-streak-banner.is-show {
  animation: streak-pop 0.42s ease;
}

.bb-explanation {
  margin: 0;
  color: #cfe0f8;
  font-size: 13px;
  line-height: 1.45;
  animation: option-slide-in 0.28s ease;
}

.bb-screen-result {
  display: grid;
  gap: 14px;
  text-align: left;
  position: relative;
}

.bb-result-brand {
  border: 1px solid rgba(84, 110, 148, 0.48);
  border-radius: 14px;
  padding: 8px 10px;
  background: linear-gradient(180deg, rgba(23, 32, 54, 0.9), rgba(14, 23, 40, 0.9));
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  position: relative;
  z-index: 3;
}

.bb-result-brand .bb-brand-row {
  margin: 0;
  padding: 0;
}

.bb-share-top-btn {
  width: 100%;
}

#bbConfetti {
  display: none !important;
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 100% !important;
  height: 180px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

.bb-screen-result.is-confetti-active #bbConfetti {
  display: block !important;
}

.bb-result-hero {
  border: 1px solid rgba(84, 110, 148, 0.48);
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(23, 32, 54, 0.9), rgba(14, 23, 40, 0.9));
  text-align: center;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}

.bb-result-title {
  margin: 0;
  color: #f7fbff;
  font-family: var(--font-display);
  font-size: clamp(36px, 7vw, 48px);
  letter-spacing: 1px;
  line-height: 0.95;
}

.bb-result-lead {
  margin: 6px 0 0;
  color: #b8cce8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.bb-result-main {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  align-items: start;
}

.bb-result-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.bb-result-panel {
  border: 1px solid rgba(84, 110, 148, 0.48);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(22, 31, 52, 0.92), rgba(12, 20, 35, 0.92));
  display: grid;
  gap: 10px;
}

.bb-share-card {
  border: 3px solid rgba(230, 57, 70, 0.6);
  border-radius: 18px;
  padding: 16px 14px 14px;
  background:
    radial-gradient(circle at 92% 6%, rgba(230, 57, 70, 0.35), transparent 42%),
    radial-gradient(circle at 8% 94%, rgba(108, 52, 131, 0.2), transparent 44%),
    linear-gradient(180deg, #0a0a0f, #111a2c);
  color: #fff;
  width: min(100%, 360px);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto auto;
  gap: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.bb-share-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.4) 0.6px, transparent 0.8px);
  background-size: 5px 5px;
}

.bb-share-card.is-export::after {
  opacity: 0.16;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.45) 0.8px, transparent 1px);
  background-size: 4px 4px;
}

.bb-share-card::before {
  content: '';
  position: absolute;
  inset: auto -24% -26% -24%;
  height: 52%;
  background: radial-gradient(circle at center, rgba(230, 57, 70, 0.18), transparent 62%);
  pointer-events: none;
}

.bb-share-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 1;
  min-width: 0;
}

.bb-share-logo-img {
  height: 42px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.bb-share-brand-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  max-width: 46%;
}

.bb-share-brand-left {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 0;
  flex: 0 1 54%;
}

.bb-share-domain {
  font-size: clamp(11px, 1.6vw, 13px);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  letter-spacing: 0.4px;
  order: 2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.bb-share-brand-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(111, 136, 178, 0.56);
  background: rgba(12, 20, 34, 0.9);
  object-fit: cover;
  order: 1;
}

.bb-share-divider {
  z-index: 1;
  height: 1px;
  background: rgba(230, 57, 70, 0.75);
}

.bb-share-mode {
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.bb-share-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(230, 57, 70, 0.85);
  background: rgba(11, 17, 32, 0.86);
  color: #f2f8ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.bb-share-mode-text {
  margin: 0;
  color: #8888aa;
  font-size: 11px;
  font-weight: 700;
}

.bb-share-score-zone {
  z-index: 1;
  position: relative;
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.bb-share-score-ring {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03), transparent 64%);
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.bb-share-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 10.5vw, 66px);
  line-height: 1;
  letter-spacing: 1.1px;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

@media (min-width: 861px) {
  .bb-share-card h3 {
    font-size: 50px;
  }
}

.bb-share-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.bb-share-title-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 216, 122, 0.55);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.bb-share-score {
  margin: 0;
  font-size: clamp(56px, 13vw, 84px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.6px;
}

.bb-share-score span {
  color: #8888aa;
  font-size: 0.66em;
}

.bb-share-accuracy {
  margin: 0;
  color: #e1edff;
  font-size: 24px;
  font-weight: 800;
}

.bb-share-progress {
  width: 80%;
  height: 11px;
  border-radius: 999px;
  border: 1px solid rgba(100, 125, 163, 0.52);
  background: rgba(12, 21, 36, 0.9);
  overflow: hidden;
}

#bbShareProgressFill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: #ffd166;
  transition: width 0.3s ease;
}

.bb-share-level-badge {
  margin: 2px 0 0;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(13, 22, 39, 0.82);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-size: 20px;
  font-weight: 900;
}

.bb-share-stats-strip {
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bb-share-stats-strip article {
  border: 1px solid #2a2a3e;
  border-radius: 12px;
  background: rgba(28, 28, 46, 0.92);
  padding: 8px 6px;
  text-align: center;
  display: grid;
  gap: 2px;
}

.bb-share-stats-strip strong {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}

.bb-share-stats-strip span {
  color: #8888aa;
  font-size: 11px;
  font-weight: 700;
}

.bb-share-invite {
  z-index: 1;
  text-align: center;
  display: grid;
  gap: 5px;
}

#bbShareInviteText {
  margin: 0;
  color: #f3f8ff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.bb-share-invite small {
  color: #8888aa;
  font-size: 11px;
  font-weight: 700;
}

.bb-share-cta-wrap {
  z-index: 1;
  display: grid;
  gap: 6px;
}

.bb-share-cta {
  min-height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e63946, #bc1f2e);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.6px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.bb-share-cta-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.bb-share-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.bb-share-footer-meta small:first-child {
  text-align: left;
}

.bb-share-footer-meta small:nth-child(2) {
  text-align: center;
}

.bb-share-footer-meta small:last-child {
  text-align: right;
}

.bb-share-cta-wrap small {
  margin: 0;
  color: rgba(230, 236, 249, 0.42);
  font-size: 10px;
  text-align: right;
  font-weight: 700;
}

#bbShareMeta,
#bbShareTier {
  margin: 0;
  color: #cfddf4;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.bb-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bb-result-grid article {
  border: 1px solid rgba(96, 124, 162, 0.54);
  border-radius: 12px;
  background: rgba(17, 28, 46, 0.94);
  padding: 11px;
  text-align: left;
}

.bb-result-grid span {
  color: #b5cae8;
  font-size: 12px;
  font-weight: 700;
}

.bb-result-grid strong {
  display: block;
  margin-top: 4px;
  color: #f5faff;
  font-size: clamp(27px, 5vw, 32px);
  line-height: 1;
}

.bb-tier-text {
  margin: 0;
  color: #e6f0ff;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(108, 132, 164, 0.48);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(22, 35, 58, 0.85), rgba(13, 22, 36, 0.85));
  padding: 10px 12px;
  text-align: center;
}

.bb-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bb-result-actions .bb-btn {
  flex: 1 1 220px;
  min-height: 48px;
}

.bb-modal {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(4, 9, 16, 0.74);
  backdrop-filter: blur(4px);
}

.bb-modal-card {
  width: min(100%, 420px);
  border: 1px solid rgba(90, 118, 157, 0.54);
  border-radius: 14px;
  background: linear-gradient(180deg, #1a2237, #121b2f);
  padding: 14px;
  display: grid;
  gap: 10px;
}

.bb-modal-card h3 {
  margin: 0;
  color: #f5faff;
  font-size: 18px;
}

.bb-modal-card p {
  margin: 0;
  color: #cfe0f8;
  font-size: 13px;
  line-height: 1.4;
}

.bb-modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.bb-playing .bottom-nav,
body.bb-playing .mobile-bottom-nav,
body.bb-playing .bottom-navigation,
body.bb-playing footer.site-footer {
  display: none !important;
}

@media (min-width: 1100px) {
  .bb-screen-lobby {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
    grid-template-areas:
      "head head"
      "category setup"
      "category session";
  }

  .bb-lobby-head { grid-area: head; }
  .bb-category-card { grid-area: category; }
  .bb-setup-card { grid-area: setup; }
  .bb-session-card { grid-area: session; }

  .bb-setup-card,
  .bb-session-card {
    align-self: stretch;
  }

  .bb-setup-card .bb-segment {
    margin-bottom: 2px;
  }

  .bb-screen-result {
    max-width: 1120px;
    margin-inline: auto;
  }

  .bb-result-main {
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    align-items: start;
  }

  .bb-result-side .bb-result-hero {
    max-width: none;
    margin-inline: 0;
  }

  .bb-share-card {
    margin-inline: 0;
  }
}

@media (max-width: 860px) {
  .page-ben-biliyorum .layout.ben-biliyorum-layout,
  body.desktop-mode .page-ben-biliyorum .layout.ben-biliyorum-layout {
    padding: calc(var(--header-h) + 6px) 6px calc(88px + env(safe-area-inset-bottom)) !important;
  }

  .bb-shell {
    padding: 10px;
    border-radius: 14px;
  }

  .bb-brand-row {
    flex-direction: column;
    align-items: stretch;
  }

  .bb-brand-main,
  .bb-brand-site,
  .bb-brand-meta {
    justify-content: center;
  }

  .bb-brand-site {
    display: none;
  }

  .bb-brand-meta {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .bb-stat-pills {
    justify-content: center;
  }

  .bb-brand-copy {
    text-align: center;
  }

  .bb-result-main {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .bb-result-side {
    display: contents;
  }

  .bb-result-side .bb-result-hero {
    order: 1;
    margin-inline: auto;
    padding: 11px 12px;
  }

  .bb-share-top-btn {
    order: 2;
  }

  .bb-share-card {
    order: 3;
  }

  .bb-result-panel {
    order: 4;
  }

  .bb-screen-result {
    gap: 10px;
  }

  .bb-result-brand {
    padding: 8px 10px;
    margin: 0;
  }

  .bb-share-top-btn {
    min-height: 48px;
    margin: 0;
  }

  .bb-result-panel {
    padding: 10px;
    gap: 9px;
  }

  .bb-title {
    font-size: clamp(36px, 12vw, 54px);
  }

  .bb-lobby-card {
    padding: 10px;
  }

  .bb-category-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .bb-category-grid::-webkit-scrollbar {
    display: none;
  }

  .bb-category-btn {
    flex: 0 0 152px;
    min-height: 74px;
    padding: 8px 8px;
    scroll-snap-align: start;
  }

  .bb-game-top {
    grid-template-columns: auto 1fr auto;
  }

  .bb-option {
    min-height: 60px;
    padding: 12px 11px;
    gap: 8px;
    font-size: 14px;
  }

  .bb-option-key {
    width: 26px;
    height: 26px;
    font-size: 11px;
  }

  .bb-share-card {
    width: 100%;
    max-width: 380px;
  }

  .bb-share-logo-img {
    height: 46px;
  }

  .bb-share-domain {
    font-size: 12px;
  }

  .bb-share-title-icon {
    width: 44px;
    height: 44px;
  }

  .bb-share-cta {
    min-height: 46px;
    font-size: 13px;
    line-height: 1.2;
    padding: 0 10px;
  }

  .bb-share-footer-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px 10px;
  }

  .bb-share-footer-meta small:first-child,
  .bb-share-footer-meta small:nth-child(2),
  .bb-share-footer-meta small:last-child {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes letter-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes option-slide-in {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes wrong-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

@keyframes correct-bounce {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.04); }
  60% { transform: scale(0.98); }
}

@keyframes xp-float {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-60px);
  }
}

@keyframes streak-pop {
  0% {
    transform: scale(0.5) rotate(-5deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.1) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes timer-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 4px var(--color-wrong));
  }
  50% {
    filter: drop-shadow(0 0 12px var(--color-wrong));
  }
}


