.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: splash-fade-in 0.35s ease;
}

.splash-overlay.splash-mode-fullscreen {
  padding: 0;
  background: #0b1224;
}

.splash-overlay.splash-mode-fullscreen .splash-card {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  border-radius: 0;
  border: none;
}

.splash-card {
  position: relative;
  width: min(420px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: linear-gradient(165deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: #e2e8f0;
  animation: splash-slide-up 0.4s ease;
}

.splash-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  color: #cbd5e1;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.splash-close:hover {
  background: rgba(30, 41, 59, 0.95);
  color: #fff;
}

.splash-head {
  padding: 28px 22px 12px;
  text-align: center;
}

.splash-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 16px;
  background: #0b1224;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.splash-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.splash-head h2 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
}

.splash-head p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #94a3b8;
}

.splash-body {
  padding: 8px 18px 22px;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.splash-custom {
  font-size: 14px;
  line-height: 1.55;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.splash-custom img,
.splash-custom video,
.splash-custom iframe {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

.splash-overlay.splash-mode-modal .splash-card[style*="flex"] .splash-steps {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.splash-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-bottom: 18px;
}

.splash-carousel-wrap .splash-steps {
  flex: 1 1 auto;
  min-width: 0;
}

.splash-carousel-nav {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, .4);
  background: rgba(15, 23, 42, .92);
  color: #e2e8f0;
  font-size: 24px;
  line-height: 1;
  padding: 0 0 2px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.splash-carousel-nav:hover {
  background: rgba(30, 41, 59, .98);
  border-color: rgba(56, 189, 248, .55);
  color: #fff;
  transform: scale(1.04);
}

.splash-carousel-counter {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #94a3b8;
  pointer-events: none;
}

.splash-steps {
  position: relative;
  min-height: 280px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.splash-step {
  display: none;
  text-align: center;
  animation: splash-step-in 0.45s ease;
}

.splash-step.active {
  display: block;
}

.splash-step p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.45;
  color: #cbd5e1;
}

.splash-step p b {
  color: #38bdf8;
}

.splash-phone {
  position: relative;
  width: 200px;
  height: 360px;
  margin: 0 auto;
  border-radius: 28px;
  border: 3px solid #334155;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  box-shadow: inset 0 0 0 2px #0f172a, 0 12px 30px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.splash-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 18px;
  border-radius: 12px;
  background: #020617;
  z-index: 2;
}

.splash-phone-screen {
  position: absolute;
  inset: 28px 10px 12px;
  border-radius: 14px;
  background: #0b1224;
  overflow: hidden;
}

.splash-mini-bar {
  height: 36px;
  background: linear-gradient(90deg, #1e3a5f, #312e81);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: #e2e8f0;
}

.splash-mini-content {
  padding: 10px;
  font-size: 9px;
  color: #64748b;
  line-height: 1.4;
}

.splash-finger {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.35);
  border: 2px solid #38bdf8;
  pointer-events: none;
  z-index: 5;
  animation: splash-tap 1.6s ease-in-out infinite;
}

.splash-finger::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #38bdf8;
}

.splash-share-btn {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #1e40af;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: splash-pulse 1.6s ease-in-out infinite;
}

.splash-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1e293b;
  border-radius: 14px 14px 0 0;
  padding: 10px 8px 16px;
  transform: translateY(100%);
  animation: splash-sheet-up 2.4s ease-in-out infinite;
}

.splash-sheet-item {
  padding: 8px 10px;
  margin: 4px 0;
  border-radius: 8px;
  font-size: 10px;
  color: #cbd5e1;
  background: #0f172a;
}

.splash-sheet-item.highlight {
  background: #1d4ed8;
  color: #fff;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.splash-add-btn {
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  animation: splash-pulse 1.4s ease-in-out infinite;
}

.splash-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.splash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
  transition: background 0.25s, transform 0.25s;
  cursor: pointer;
}

.splash-dot.active {
  background: #38bdf8;
  transform: scale(1.2);
}

.splash-actions {
  padding: 0 18px 20px;
  text-align: center;
}

.splash-actions .btn {
  min-width: 140px;
}

.splash-install-btn-ios {
  background: linear-gradient(135deg, #15803d, #16a34a, #22c55e) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 20px rgba(22, 163, 74, .4);
  animation: splash-install-glow-ios 2s ease-in-out infinite;
}

.splash-install-btn-android {
  background: linear-gradient(135deg, #16a34a, #059669) !important;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  font-weight: 800 !important;
  box-shadow: 0 6px 20px rgba(22, 163, 74, .4);
  animation: splash-install-glow-android 2s ease-in-out infinite;
}

@keyframes splash-install-glow-ios {
  0%, 100% { box-shadow: 0 6px 20px rgba(22, 163, 74, .35); }
  50% { box-shadow: 0 8px 28px rgba(74, 222, 128, .5); }
}

@keyframes splash-install-glow-android {
  0%, 100% { box-shadow: 0 6px 20px rgba(22, 163, 74, .35); }
  50% { box-shadow: 0 8px 28px rgba(74, 222, 128, .5); }
}

/* Android yükleme kılavuzu */
.splash-phone-android {
  width: 200px;
  height: 340px;
  border-radius: 22px;
  background: #0f172a;
  border: 2px solid rgba(74, 222, 128, .35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}
.splash-phone-screen-android {
  margin: 10px;
  height: calc(100% - 20px);
  border-radius: 14px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  overflow: hidden;
  position: relative;
}
.splash-android-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(15, 23, 42, .9);
  border-bottom: 1px solid rgba(74, 222, 128, .2);
  font-size: 9px;
  color: #cbd5e1;
}
.splash-chrome-menu-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(74, 222, 128, .18);
  color: #86efac;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
  animation: splash-pulse-android 1.6s ease-in-out infinite;
}
.splash-android-sheet {
  margin-top: 8px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.splash-android-sheet-item {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 10px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .04);
}
.splash-android-sheet-item.highlight {
  background: rgba(34, 197, 94, .22);
  color: #bbf7d0;
  font-weight: 700;
  border: 1px solid rgba(74, 222, 128, .35);
}
.splash-android-confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
}
.splash-android-app-icon {
  width: 56px !important;
  height: 56px !important;
  margin: 0 !important;
}
.splash-android-app-name {
  font-size: 11px;
  color: #e2e8f0;
  font-weight: 700;
}
.splash-android-install-cta {
  padding: 8px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  animation: splash-pulse-android 1.4s ease-in-out infinite;
}
.splash-finger-android::after {
  background: rgba(74, 222, 128, .35);
}
.splash-dot-android.active {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, .6);
}
@keyframes splash-pulse-android {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .45); }
  50% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
}

.splash-steps-desktop { min-height: 300px; }
.splash-desktop-frame {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  border: 2px solid rgba(74, 222, 128, .3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
  text-align: left;
}
.splash-desktop-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: #1e293b;
  border-bottom: 1px solid rgba(148, 163, 184, .2);
  font-size: 10px;
  color: #cbd5e1;
}
.splash-desktop-dots {
  display: inline-flex;
  gap: 4px;
}
.splash-desktop-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
  display: block;
}
.splash-desktop-tab { flex: 1; text-align: center; font-weight: 600; }
.splash-desktop-menu { position: relative; z-index: 2; }
.splash-desktop-urlbar {
  margin: 8px 10px 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, .9);
  border: 1px solid rgba(74, 222, 128, .2);
  font-size: 9px;
  color: #94a3b8;
}
.splash-desktop-content {
  padding: 18px 10px 24px;
  text-align: center;
  font-size: 10px;
  color: #64748b;
}
.splash-desktop-menus {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  min-height: 170px;
}
.splash-desktop-menu-main,
.splash-desktop-menu-sub {
  width: 148px;
  border-radius: 8px;
  background: rgba(30, 41, 59, .96);
  border: 1px solid rgba(148, 163, 184, .18);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.splash-desktop-menu-item {
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 9px;
  color: #cbd5e1;
  line-height: 1.3;
}
.splash-desktop-menu-item.highlight {
  background: rgba(34, 197, 94, .22);
  color: #bbf7d0;
  font-weight: 700;
  border: 1px solid rgba(74, 222, 128, .35);
}
.splash-desktop-confirm-frame {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.splash-desktop-install-dialog {
  width: 220px;
  border-radius: 12px;
  background: rgba(30, 41, 59, .98);
  border: 1px solid rgba(74, 222, 128, .25);
  padding: 16px 14px;
  text-align: center;
  position: relative;
}
.splash-desktop-app-icon {
  width: 52px !important;
  height: 52px !important;
  margin: 0 auto 8px !important;
}
.splash-desktop-app-name {
  font-size: 11px;
  color: #e2e8f0;
  font-weight: 700;
  margin-bottom: 10px;
}
.splash-desktop-install-cta {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  animation: splash-pulse-android 1.4s ease-in-out infinite;
}
.splash-finger-desktop::after {
  background: rgba(74, 222, 128, .35);
}
.splash-dot-desktop.active {
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, .6);
}

.splash-safari-frame {
  border-color: rgba(56, 189, 248, .22);
}
.splash-safari-menubar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, .92);
  border-bottom: 1px solid rgba(148, 163, 184, .18);
  font-size: 10px;
  color: #cbd5e1;
}
.splash-safari-apple {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(135deg, #94a3b8, #64748b);
}
.splash-safari-menu-item.highlight {
  color: #38bdf8;
  font-weight: 700;
}
.splash-safari-titlebar {
  border-top: none;
}
.splash-safari-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(15, 23, 42, .75);
  border-bottom: 1px solid rgba(148, 163, 184, .15);
  position: relative;
}
.splash-safari-toolbar-url {
  flex: 1 1 auto;
  font-size: 10px;
  color: #94a3b8;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(30, 41, 59, .85);
  border: 1px solid rgba(148, 163, 184, .2);
  text-align: center;
}
.splash-safari-share-toolbar-btn {
  flex: 0 0 auto;
  width: 30px;
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, .55);
  animation: splash-pulse 1.5s ease-in-out infinite;
}
.splash-safari-share-sheet {
  margin: 10px auto 12px;
  width: min(230px, 94%);
  border-radius: 12px;
  background: rgba(51, 65, 85, .96);
  border: 1px solid rgba(148, 163, 184, .28);
  overflow: hidden;
  position: relative;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
}
.splash-safari-share-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 10px;
  line-height: 1.35;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}
.splash-safari-share-head b {
  color: #f1f5f9;
  font-size: 11px;
}
.splash-safari-share-head-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}
.splash-safari-share-head-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.splash-safari-share-item {
  padding: 7px 12px;
  font-size: 10px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148, 163, 184, .1);
}
.splash-safari-share-item:last-child {
  border-bottom: none;
}
.splash-safari-share-item.highlight {
  background: rgba(56, 189, 248, .2);
  color: #7dd3fc;
  font-weight: 700;
}
.splash-safari-dropdown {
  margin: 10px 12px 12px;
  width: 168px;
  border-radius: 8px;
  background: rgba(30, 41, 59, .98);
  border: 1px solid rgba(56, 189, 248, .2);
  overflow: hidden;
  position: relative;
}
.splash-safari-dropdown-item {
  padding: 8px 12px;
  font-size: 11px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
}
.splash-safari-dropdown-item:last-child {
  border-bottom: none;
}
.splash-safari-dropdown-item.highlight {
  background: rgba(56, 189, 248, .18);
  color: #7dd3fc;
  font-weight: 700;
}
.splash-safari-dock-dialog {
  padding: 16px 14px 12px;
  text-align: center;
  position: relative;
}
.splash-safari-dock-hint {
  font-size: 10px;
  color: #94a3b8;
  margin-bottom: 12px;
}
.splash-safari-dock-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, .75);
  border: 1px solid rgba(148, 163, 184, .2);
}
.splash-safari-dock-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  overflow: hidden;
  opacity: .55;
}
.splash-safari-dock-icon.highlight {
  opacity: 1;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, .55);
  animation: splash-pulse 1.4s ease-in-out infinite;
}
.splash-safari-dock-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.splash-dot-safari.active {
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, .55);
}

@keyframes splash-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes splash-slide-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes splash-step-in {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes splash-tap {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(0.85); opacity: 1; }
}

@keyframes splash-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
}

@keyframes splash-sheet-up {
  0%, 15% { transform: translateY(100%); }
  35%, 75% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

@media (max-width: 480px) {
  .splash-card {
    border-radius: 14px;
  }
  .splash-phone {
    width: 180px;
    height: 320px;
  }
}
