/* ===== BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #1a2350;
  color: #f8fafc;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background: #1a2350;
  position: relative;
  padding-bottom: 90px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  border-left: 1px solid rgba(16, 185, 129, 0.15);
  border-right: 1px solid rgba(16, 185, 129, 0.15);
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  user-select: none;
}

/* ===== CSS VARS ===== */
:root {
  --em4: #34d399;
  --em5: #10b981;
  --em6: #059669;
  --bg: #1a2350;
  --bg2: #1d2855;
  --bg3: #243468;
  --gray: #9ca3af;
  --slate: #94a3b8;
}

/* ===== TICKER ===== */
.ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  background: #1a2350;
  border-bottom: 1px solid rgba(16, 185, 129, .1);
}

.ticker-user {
  color: #6b7280;
  font-size: 12px;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ticker-amount {
  color: #22c55e;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.ticker-text {
  color: var(--em4);
  font-size: 12px;
  font-weight: 500;
}

@keyframes slide-down {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-down {
  animation: slide-down .3s ease-out;
}

/* ===== SLIDER ===== */
.slider-row {
  display: flex;
  gap: 10px;
}

.slider-card {
  flex: 1;
  height: 58px;
  background: linear-gradient(135deg, #202c5a, #1a2350);
  border: 1px solid rgba(16, 185, 129, .25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s;
  padding: 4px;
}

.slider-card:active {
  transform: scale(.98);
}

.slider-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 4px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(16, 185, 129, .3);
  cursor: pointer;
  transition: background .2s;
}

.slider-dot.active {
  background: var(--em4);
}

/* ===== FILTER/SEARCH BAR ===== */
.filter-pill-bar {
  background: linear-gradient(to right, rgba(6, 78, 59, .4), rgba(4, 120, 87, .3));
  border-radius: 9999px;
  padding: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(16, 185, 129, .3);
}

.search-icon-btn {
  width: 34px;
  height: 34px;
  background: rgba(15, 23, 42, .8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.filter-pill {
  background: transparent;
  color: #9ca3af;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: all .2s;
}

.filter-pill.active {
  background: linear-gradient(to right, var(--em5), var(--em4));
  color: #fff;
}

.search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13px;
  flex: 1;
  font-family: inherit;
}

.search-input::placeholder {
  color: #6b7280;
}

/* ===== GAMES ROW ===== */
.games-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.games-row::-webkit-scrollbar {
  display: none;
}

.game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  min-width: 76px;
  cursor: pointer;
}

.game-ring {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--em5), #14b8a6, var(--em4));
  transition: transform .15s;
}

.game-ring:active {
  transform: scale(.97);
}

.game-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 2px;
  background: #1a2350;
}

.game-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #243060, #1a2350);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-circle span {
  color: var(--em4);
  font-size: 9px;
  font-weight: 700;
  text-align: center;
}

.game-oyna {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, var(--em5), #14b8a6);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}

.game-label {
  color: #d1d5db;
  font-size: 11px;
  text-align: center;
  width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 10px;
  font-weight: 500;
}

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  background: #1d2855;
  border-top: 1px solid rgba(16, 185, 129, .2);
  border-bottom: 1px solid rgba(16, 185, 129, .2);
}

.section-header h1,
.section-header h2 {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin: 0 6px;
}

/* ===== SITE CARDS ===== */
.sites-wrap {
  padding: 0 16px;
}

.site-row {
  display: flex;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.site-row:last-child {
  border-bottom: 0;
}

.logo-wrap {
  position: relative;
  flex-shrink: 0;
}

.badge-label {
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

.badge-yilin {
  display: inline-block;
  font-size: 7px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(90deg, #f59e0b 0%, #f59e0b 35%, #fde68a 50%, #f59e0b 65%, #f59e0b 100%);
  background-size: 200% 100%;
  animation: badge-shine 2s linear infinite;
}

.badge-trend {
  display: inline-block;
  font-size: 7px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(90deg, var(--em5) 0%, var(--em5) 35%, #6ee7b7 50%, var(--em5) 65%, var(--em5) 100%);
  background-size: 200% 100%;
  animation: badge-shine 2s linear infinite;
}

/* Yıldız: dolgun + 3D gölge; #10b981 paravan domainlerde değişir */
.badge-popular {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 4px;
  color: #10b981;
  background: transparent;
  letter-spacing: 0.5px;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.3),
    0 2px 3px rgba(0, 0, 0, 0.25),
    -0.5px -0.5px 0 rgba(255, 255, 255, 0.15);
}

@keyframes badge-shine {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.logo-box {
  width: 96px;
  height: 56px;
  background: linear-gradient(135deg, #243060, #1a2350);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  position: relative;
}

.logo-box.pinned {
  border-color: rgba(16, 185, 129, .25);
}

.logo-box .bar-left {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 2px;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  position: relative;
  z-index: 1;
}

.logo-box span {
  color: var(--em4);
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  padding: 4px;
}

.bonus-col {
  flex: 1;
  padding: 0 12px;
  text-align: center;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bonus-num {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  min-height: 26px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}

.bonus-num .tl {
  color: var(--em4);
  font-weight: 800;
}

.bonus-num .fs {
  color: var(--em4);
  font-weight: 700;
}

.bonus-type {
  color: rgba(255, 255, 255, .7);
  font-size: 11px;
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.cta-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  background: linear-gradient(to right, #10b981, #059669);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
  transition: background .2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.cta-btn:hover {
  background: linear-gradient(to right, #34d399, #10b981);
}

.cta-full {
  display: block;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, var(--em6), var(--em5));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(16, 185, 129, .3);
  box-shadow: 0 4px 16px rgba(16, 185, 129, .3);
}

/* ===== BTN SHIMMER ===== */
.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .08) 20%, rgba(255, 255, 255, .3) 50%, rgba(255, 255, 255, .08) 80%, transparent 100%);
  animation: shimmer 2.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% {
    transform: translateX(-150%) skewX(-15deg);
  }

  100% {
    transform: translateX(250%) skewX(-15deg);
  }
}

/* ===== POPUP BASE ===== */
.popup-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.popup-overlay-bg {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(15, 22, 41, 0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-fade-in-up {
  animation: fade-in-up .35s ease;
}

/* ===== 1. POPUP – Promo (ilk popup sitesi), tema 2–3 ile aynı ===== */
.promo-content {
  position: relative;
  width: 100%;
  max-width: 340px;
  padding: 40px 18px 22px;
  background: linear-gradient(160deg, #223166 0%, #1a2350 40%, #16244c 70%, #0e1935 100%);
  border-radius: 22px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(0, 0, 0, .25),
    0 0 24px rgba(16, 185, 129, .08),
    inset 0 1px 0 rgba(255, 255, 255, .06);
}
.promo-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--em5) 20%, var(--em4) 50%, var(--em5) 80%, transparent 100%);
  opacity: .95;
  border-radius: 22px 22px 0 0;
}
.popup-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(22, 36, 76, 0.9);
  color: #94a3b8;
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  padding: 0;
  transition: background .2s, color .2s, transform .12s, border-color .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.popup-x:hover {
  background: rgba(30, 41, 59, 0.95);
  color: #fff;
  border-color: rgba(16, 185, 129, 0.4);
  transform: scale(1.06);
}
.popup-x svg {
  color: inherit;
  width: 16px;
  height: 16px;
}
.promo-head {
  text-align: center;
  margin-bottom: 14px;
  padding-top: 0;
}
.promo-stars {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--em4);
  margin-bottom: 4px;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.3),
    -0.5px -0.5px 0 rgba(255, 255, 255, 0.12);
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, .25));
}
.promo-title {
  font-size: 18px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.05em;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.promo-inner {
  background: linear-gradient(160deg, rgba(34, 49, 102, 0.6) 0%, rgba(22, 36, 76, 0.85) 50%, rgba(14, 25, 53, 0.95) 100%);
  border-radius: 14px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 4px 14px rgba(0, 0, 0, .25);
  padding: 20px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.promo-inner:hover {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 20px rgba(0, 0, 0, .3), 0 0 16px rgba(16, 185, 129, .1);
}
.promo-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .04);
  border-radius: 12px;
  width: 100%;
  justify-content: center;
  border: 1px solid rgba(148, 163, 184, 0.08);
}
.promo-divider {
  width: 1px;
  height: 24px;
  background: rgba(16, 185, 129, 0.4);
}
.promo-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.promo-amount-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}
.promo-amount {
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .4), 0 0 20px rgba(16, 185, 129, .08);
  line-height: 1;
}
.promo-tl {
  font-size: 24px;
  font-weight: 800;
  color: var(--em4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.promo-type {
  font-size: 20px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.promo-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--em4), var(--em5), transparent);
  margin-bottom: 14px;
  opacity: .9;
}
.promo-desc {
  margin-bottom: 16px;
}
.promo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--em5), var(--em6));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: box-shadow .2s, transform .15s;
  box-shadow: 0 3px 12px rgba(16, 185, 129, .45), inset 0 1px 0 rgba(255, 255, 255, .2);
  letter-spacing: 0.04em;
}
.promo-cta:hover {
  box-shadow: 0 4px 18px rgba(16, 185, 129, .5), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: translateY(1px);
}

/* ===== SITE POPUP ===== */
.site-popup-content {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: linear-gradient(to bottom, #1a2350, #111b3c);
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, .25);
  overflow: visible;
  box-shadow: 0 8px 60px rgba(0, 0, 0, .7);
}

.site-popup-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-bottom: 1px solid rgba(16, 185, 129, .15);
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.site-popup-header h3 {
  color: var(--em4);
  font-size: 15px;
  font-weight: 700;
}

.site-popup-list {
  padding: 4px 14px 10px;
}

.site-popup-item {
  display: flex;
  align-items: stretch;
  gap: 10px;
  padding: 10px 4px;
  border-bottom: 1px solid rgba(16, 185, 129, .1);
  transition: transform .15s;
  cursor: pointer;
}

.site-popup-item:last-child {
  border-bottom: 0;
}

.site-popup-item:active {
  transform: scale(.98);
}

.popup-logo-box {
  width: 76px;
  height: 50px;
  background: linear-gradient(135deg, #243060, #1a2350);
  border: 1px solid rgba(16, 185, 129, .3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.popup-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  position: relative;
  z-index: 1;
}

.popup-logo-box span {
  color: var(--em4);
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  position: absolute;
}

.popup-bonus-col {
  flex: 1;
  padding: 0 6px;
  text-align: center;
}

.popup-bonus-num {
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  white-space: nowrap;
}

.popup-bonus-type {
  color: #9ca3af;
  font-size: 11px;
  margin-top: 2px;
}

.popup-cta-btn {
  flex-shrink: 0;
  width: 90px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #047857, #059669);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(16, 185, 129, .18);
  letter-spacing: 0.2px;
  white-space: nowrap;
  border: none;
}

/* ===== SITE POPUP - Trend Grid Premium (2. Popup) ===== */
.spop-box {
  width: 100%;
  max-width: 348px;
  max-height: 68vh;
  background: linear-gradient(160deg, #1a2555 0%, #0f1a3d 52%, #090f22 100%);
  border-radius: 18px;
  border: 1px solid rgba(16, 185, 129, .3);
  box-shadow: 0 0 0 1px rgba(16,185,129,.06), 0 24px 80px rgba(0,0,0,.78), inset 0 1px 0 rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.spop-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 44px 10px;
  border-bottom: 1.5px solid rgba(16, 185, 129, .28);
  flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(16, 185, 129, .06), transparent);
}

.spop-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.spop-title-row svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: .9;
}
.spop-title {
  color: #f8fafc;
  font-size: 16px;
  font-weight: 900;
  margin: 0;
  letter-spacing: 0.2px;
}

.spop-star-right {
  margin-left: 6px;
  opacity: .9;
  flex-shrink: 0;
}

.spop-x {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .2s;
}
.spop-x:hover {
  background: rgba(239, 68, 68, .2);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, .35);
  transform: translateY(-50%) scale(1.05);
}

.spop-grid-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.spop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  padding: 16px 14px 24px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.spop-grid-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(to bottom, transparent, #0d1335);
  pointer-events: none;
}

/* ===== 2. POPUP YENİ TASARIM – renkli / gradient / canlı ===== */
.spop-box-new {
  background: linear-gradient(165deg, #1e2a5c 0%, #162044 35%, #1a1548 65%, #0f1729 100%);
  border: 1px solid rgba(99, 102, 241, .25);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, .08), 0 24px 80px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.spop-top-new {
  background: linear-gradient(135deg, rgba(99, 102, 241, .15) 0%, rgba(16, 185, 129, .12) 50%, rgba(236, 72, 153, .08) 100%);
  border-bottom: 1.5px solid rgba(139, 92, 246, .35);
}

.spop-title-gradient {
  background: linear-gradient(90deg, #a5b4fc 0%, #34d399 45%, #f472b6 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: spop-title-shine 4s linear infinite;
}

@keyframes spop-title-shine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.spop-ico {
  display: inline-block;
  font-size: 14px;
  background: linear-gradient(135deg, #fde047, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, .4));
  animation: spop-star-pulse 2s ease-in-out infinite;
}

.spop-ico-right { animation-delay: .3s; }

@keyframes spop-star-pulse {
  0%, 100% { opacity: .9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.spop-card-new {
  background: linear-gradient(160deg, #2a2d5e 0%, #1e2452 50%, #151b3d 100%);
  border: 1px solid rgba(99, 102, 241, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 16px rgba(99, 102, 241, .12);
}

.spop-card-new:hover {
  border-color: rgba(16, 185, 129, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 8px 28px rgba(16, 185, 129, .2);
}

.spop-bonus-new {
  background: linear-gradient(90deg, #e0e7ff, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.spop-bonus-new .tl {
  -webkit-text-fill-color: #34d399;
  color: #34d399;
}

.spop-cta-text {
  display: inline-block;
  margin-top: 4px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, .35);
  letter-spacing: 0.3px;
}

/* ===== 2. POPUP ADAMIN GİBİ – tek kartlar, gradient, büyük bonus, Tıkla + yıldız ===== */
.spop-box-cards {
  position: relative;
  width: 100%;
  max-width: 340px;
  max-height: 75vh;
  padding: 44px 14px 20px;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.spop-x-red {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(220, 38, 38, .5);
}
.spop-x-red:hover {
  background: #b91c1c;
  transform: scale(1.05);
}

.spop-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding: 4px 0;
}

.spop-promo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .4);
  transition: transform .2s, box-shadow .2s;
}
.spop-promo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .5);
}

.spop-promo-card-blue {
  background: linear-gradient(145deg, #1e3a5f 0%, #152a48 50%, #0f1f38 100%);
  border: 1px solid rgba(96, 165, 250, .25);
  box-shadow: 0 0 40px rgba(59, 130, 246, .08), 0 4px 20px rgba(0, 0, 0, .4);
}
.spop-promo-card-gold {
  background: linear-gradient(145deg, #3d3520 0%, #2a2518 50%, #1c1910 100%);
  border: 1px solid rgba(251, 191, 36, .25);
  box-shadow: 0 0 40px rgba(245, 158, 11, .08), 0 4px 20px rgba(0, 0, 0, .4);
}
.spop-promo-card-green {
  background: linear-gradient(145deg, #0f2e1f 0%, #0d2619 50%, #081a12 100%);
  border: 1px solid rgba(52, 211, 153, .25);
  box-shadow: 0 0 40px rgba(16, 185, 129, .08), 0 4px 20px rgba(0, 0, 0, .4);
}
.spop-promo-card-purple {
  background: linear-gradient(145deg, #2e1f3d 0%, #1f1530 50%, #150d22 100%);
  border: 1px solid rgba(167, 139, 250, .25);
  box-shadow: 0 0 40px rgba(139, 92, 246, .08), 0 4px 20px rgba(0, 0, 0, .4);
}

.spop-promo-logo {
  margin-bottom: 12px;
  text-align: center;
}
.spop-promo-logo img {
  max-height: 32px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.spop-promo-fallback {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.spop-promo-bigtext {
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.25;
  letter-spacing: 0.02em;
}
.spop-promo-card-blue .spop-promo-bigtext { color: #93c5fd; }
.spop-promo-card-gold .spop-promo-bigtext { color: #fde047; }
.spop-promo-card-green .spop-promo-bigtext { color: #6ee7b7; }
.spop-promo-card-purple .spop-promo-bigtext { color: #c4b5fd; }

.spop-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto;
  padding: 10px 24px;
  border-radius: 10px;
  background: linear-gradient(180deg, #e5e7eb 0%, #9ca3af 100%);
  color: #374151;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.spop-promo-star {
  color: #f59e0b;
  font-size: 16px;
  filter: drop-shadow(0 0 4px rgba(245, 158, 11, .5));
}

.spop-card {
  text-decoration: none;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, #223166 0%, #16244c 55%, #0e1935 100%);
  border: 1px solid rgba(16, 185, 129, .4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 4px 12px rgba(0,0,0,.25), 0 1px 3px rgba(0,0,0,.15);
  transition: border-color .2s ease, box-shadow .2s ease;
  position: relative;
}
.spop-card:hover {
  border-color: rgba(16, 185, 129, .5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(0,0,0,.3), 0 0 0 1px rgba(16, 185, 129, .12);
}

.spop-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 16px;
  min-height: 120px;
}

.spop-logo-wrap {
  width: 100%;
  height: 42px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 8px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.03);
}

.spop-logo-wrap img {
  max-width: 90%;
  max-height: 26px;
  object-fit: contain;
}

.spop-fallback {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.spop-bonus {
  color: var(--em4);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,.3), 0 0 20px rgba(52, 211, 153, .12);
}
.spop-bonus .tl {
  color: var(--em4);
  font-weight: 900;
  font-size: inherit;
}

.spop-type {
  color: #b8c8dc;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: 0.3px;
}

.spop-cta {
  display: inline-block !important;
  flex-shrink: 0;
  padding: 12px 24px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--em5), var(--em6));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 10px;
  letter-spacing: 0.3px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.spop-card:hover .spop-cta {
  background: linear-gradient(135deg, var(--em4), var(--em5));
  box-shadow: 0 4px 20px rgba(16, 185, 129, .35);
}

/* ===== 2. POPUP – TREND siteler (başlık + yıldız, badge yok) ===== */
.popup2-box-trend {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 40px 20px 22px;
  background: linear-gradient(160deg, #223166 0%, #1a2350 40%, #16244c 70%, #0e1935 100%);
  border-radius: 22px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(0, 0, 0, .25),
    0 0 24px rgba(16, 185, 129, .08),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}
.popup2-box-trend::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--em5) 20%, var(--em4) 50%, var(--em5) 80%, transparent 100%);
  opacity: .95;
}
.popup2-trend-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(22, 36, 76, 0.9);
  color: #94a3b8;
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 0;
  transition: background .2s, color .2s, transform .12s, border-color .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.popup2-trend-close:hover {
  background: rgba(30, 41, 59, 0.95);
  color: #fff;
  border-color: rgba(16, 185, 129, 0.4);
  transform: scale(1.06);
}
.popup2-trend-head {
  text-align: center;
  margin-bottom: 16px;
  padding-top: 0;
}
.popup2-trend-stars {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--em4);
  margin-bottom: 4px;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.3),
    -0.5px -0.5px 0 rgba(255, 255, 255, 0.12);
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, .25));
}
.popup2-trend-title {
  font-size: 18px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.05em;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.popup2-trend-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popup2-trend-row {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border-radius: 14px;
  padding: 16px 18px;
  min-height: 72px;
  background: linear-gradient(160deg, rgba(34, 49, 102, 0.7) 0%, rgba(22, 36, 76, 0.85) 50%, rgba(14, 25, 53, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 4px 14px rgba(0, 0, 0, .25);
  transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.popup2-trend-row:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 6px 20px rgba(0, 0, 0, .3), 0 0 16px rgba(16, 185, 129, .12);
  transform: translateX(4px);
}
.popup2-trend-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.popup2-trend-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
}
.popup2-trend-logo img {
  max-height: 42px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.popup2-trend-bonus {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.popup2-trend-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  color: var(--em4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.popup2-trend-row:hover .popup2-trend-arrow {
  background: linear-gradient(135deg, var(--em5), var(--em6));
  color: #fff;
  border-color: transparent;
  transform: translateX(3px);
  box-shadow: 0 3px 12px rgba(16, 185, 129, .45), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.popup2-trend-arrow svg {
  width: 17px;
  height: 17px;
}
.popup2-trend-fallback {
  color: rgba(255, 255, 255, .94);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== 3. POPUP – 2’li grid, tema 1–2 ile aynı (yeşil/lacivert) ===== */
.popup3-box {
  position: relative;
  width: 100%;
  max-width: 350px;
  max-height: 82vh;
  padding: 32px 12px 12px;
  background: linear-gradient(160deg, #223166 0%, #1a2350 40%, #16244c 70%, #0e1935 100%);
  border-radius: 22px;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, .55),
    0 0 0 1px rgba(0, 0, 0, .25),
    0 0 24px rgba(16, 185, 129, .08),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.popup3-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--em5) 20%, var(--em4) 50%, var(--em5) 80%, transparent 100%);
  opacity: .95;
}
.popup3-box-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(22, 36, 76, 0.9);
  color: #94a3b8;
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 0;
  transition: background .2s, color .2s, transform .12s, border-color .2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.popup3-box-close:hover {
  background: rgba(30, 41, 59, 0.95);
  color: #fff;
  border-color: rgba(16, 185, 129, 0.4);
  transform: scale(1.06);
}
.popup3-head {
  text-align: center;
  margin-bottom: 10px;
  padding-top: 0;
}
.popup3-stars {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--em4);
  margin-bottom: 3px;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.35),
    0 2px 4px rgba(0, 0, 0, 0.3),
    -0.5px -0.5px 0 rgba(255, 255, 255, 0.12);
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, .25));
}
.popup3-title {
  font-size: 16px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0.05em;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}
.popup3-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 6px;
  overflow-y: auto;
  padding: 6px 2px 6px;
  -webkit-overflow-scrolling: touch;
}
.popup3-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 8px 10px;
  background: linear-gradient(160deg, rgba(34, 49, 102, 0.7) 0%, rgba(22, 36, 76, 0.85) 50%, rgba(14, 25, 53, 0.95) 100%);
  border: 1px solid rgba(16, 185, 129, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 4px 14px rgba(0, 0, 0, .25);
  transition: transform .22s ease, box-shadow .25s ease, border-color .2s ease;
}
.popup3-card:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 8px 24px rgba(0, 0, 0, .35), 0 0 16px rgba(16, 185, 129, .12);
}
.popup3-logo {
  width: 100%;
  margin-bottom: 8px;
  text-align: center;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup3-logo img {
  max-height: 30px;
  max-width: calc(100% - 32px);
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  animation: popup3-logo-glow 2.2s ease-in-out infinite;
}
.popup3-logo .popup3-fallback {
  display: block;
  margin: 0 auto;
  animation: popup3-logo-glow 2.2s ease-in-out infinite;
}
@keyframes popup3-logo-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.2)); opacity: 1; }
  50% { filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.35)); opacity: 0.95; }
}
.popup3-fallback {
  color: rgba(255, 255, 255, .96);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.popup3-amount {
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 4px;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
.popup3-amount .tl { color: var(--em4); font-weight: 800; }
.popup3-amount .fs { color: var(--em4); font-weight: 700; }
.popup3-type {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}
.popup3-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--em5), var(--em6));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 2px 10px rgba(16, 185, 129, .4), inset 0 1px 0 rgba(255, 255, 255, .2);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.popup3-cta svg { flex-shrink: 0; opacity: .95; }
.popup3-card:hover .popup3-cta {
  box-shadow: 0 4px 16px rgba(16, 185, 129, .5), inset 0 1px 0 rgba(255, 255, 255, .25);
  transform: translateY(1px);
}
.popup3-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s;
}
.popup3-card:hover .popup3-cta-icon {
  transform: translate(2px, -1px);
}

/* ===== WHEEL & TREASURE MODALS ===== */
.modal-fullbg {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 41, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-box {
  background: #1a2350;
  border-radius: 16px;
  padding: 20px 16px;
  max-width: 360px;
  width: 100%;
  position: relative;
  border: 1px solid rgba(16, 185, 129, .2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  box-sizing: border-box;
}

.modal-close-red {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.modal-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-title-row h2 {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

/* Wheel */
.wheel-wrap {
  position: relative;
  width: 256px;
  height: 256px;
  margin: 0 auto 16px;
}

.wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 28px solid var(--em4);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .3));
}

.wheel-svg {
  width: 100%;
  height: 100%;
}

.spin-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, var(--em5), var(--em6));
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, .3);
}

.spin-btn:disabled {
  opacity: .5;
}

/* Treasure */
.chest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
}

.chest-btn {
  aspect-ratio: 1;
  border-radius: 12px;
  padding: 10px;
  background: #1e2a58;
  border: 1px solid rgba(16, 185, 129, .2);
  transition: all .3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.chest-btn:hover:not(:disabled) {
  border-color: rgba(16, 185, 129, .5);
  background: #2a3868;
}

.chest-btn.selected {
  background: rgba(16, 185, 129, .3);
  border: 2px solid var(--em4);
  transform: scale(1.1);
  z-index: 10;
}

.chest-btn.dimmed {
  opacity: .4;
}

.chest-svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 72px;
  background: #1a2350;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-radius: 16px 16px 0 0;
  z-index: 40;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.nav-item:hover {
  opacity: 0.75;
}

/* Alt nav butonları (HTML inline kullanıyor) – hover şeffaflık */
.bottom-nav-inner button {
  transition: opacity 0.15s ease;
}
.bottom-nav-inner button:hover {
  opacity: 0.75;
}

/* AKTIF TAB */
.nav-item.active .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item.active svg {
  width: 26px;
  height: 26px;
  fill: white;
  stroke: none;
}

.nav-item.active .nav-label {
  color: #34d399;
  font-size: 10px;
  font-weight: 600;
}

/* INAKTIF TAB */
.nav-item:not(.active) .icon-box {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-item:not(.active) svg {
  width: 22px;
  height: 22px;
  fill: #64748b;
  stroke: none;
}

.nav-item:not(.active) .nav-label {
  color: #64748b;
  font-size: 10px;
  font-weight: 500;
}

/* YESIL ICONLAR (Telegram, Iletisim) */
.nav-item.green svg {
  fill: #34d399 !important;
}

.nav-item.green .nav-label {
  color: #34d399 !important;
}

.nav-label {
  font-size: 10px;
  font-weight: 500;
}

/* ===== STORIES ===== */
.story-site-card {
  width: 100%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all .15s;
  text-decoration: none;
  color: inherit;
}

.story-site-card:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(16, 185, 129, .3);
}

.story-site-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--em5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(16, 185, 129, .25);
}

/* ===== SCROLLBARS ===== */
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, .4);
  border-radius: 4px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, .4) transparent;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}