* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #000000;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

.screen {
  display: none;
  min-height: 100vh;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.screen.active {
  display: flex;
}

/* ================= ADIM 1: WELCOME ================= */
#step-welcome {
  align-items: flex-start;
  padding-top: 16vh;
}

.welcome-box {
  width: 100%;
  max-width: 440px;
  padding: 0 20px;
  text-align: center;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 12px;
  filter: drop-shadow(-2px -1.5px 0px #25f4ee) drop-shadow(2px 1.5px 0px #fe2c55);
}

.welcome-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 6px;
}

.welcome-subtitle {
  font-size: 13.5px;
  color: #a0a0a8;
  margin-bottom: 22px;
}

.input-wrapper {
  display: flex;
  align-items: center;
  background-color: #16171d;
  border: 1px solid #2e303a;
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.2s;
}

.input-wrapper:focus-within {
  border-color: #4b4e5e;
}

.at-prefix {
  color: #8a8b91;
  font-size: 15px;
  margin-right: 6px;
  user-select: none;
}

#username-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 15px;
  width: 100%;
}

#username-input::placeholder {
  color: #5c5e66;
}

.search-status {
  margin-top: 18px;
  font-size: 12.5px;
  color: #8a8b91;
}

/* Eşleşen Profil Kartı */
.profile-card {
  display: flex;
  align-items: center;
  background-color: #141519;
  border: 1px solid #282a32;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 18px;
  text-align: left;
  animation: fadeIn 0.25s ease;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 14px;
  flex-shrink: 0;
  background: #222;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.04) saturate(1.06);
}

.profile-info {
  flex: 1;
  min-width: 0;
}

.profile-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.profile-username {
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
}

.profile-fullname {
  font-size: 13px;
  color: #9e9fa6;
  margin-top: 2px;
}

.profile-stats {
  font-size: 12.5px;
  color: #d8d8de;
  margin-top: 3px;
  font-weight: 500;
}

.clear-btn {
  background: transparent;
  border: none;
  color: #8a8b91;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}

.clear-btn:hover {
  color: #ffffff;
}

.tap-hint {
  font-size: 11.5px;
  color: #7c7d85;
  margin-top: 14px;
}

/* Ana Buton */
.primary-btn {
  margin-top: 18px;
  width: 100%;
  padding: 13px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  background-color: #fe2c55;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

.primary-btn:disabled {
  background-color: #5c1624;
  color: rgba(255, 255, 255, 0.55);
  cursor: not-allowed;
}

.primary-btn:not(:disabled):hover {
  background-color: #ef234b;
}

/* ================= ADIM 2: YÜKLEME & LOGO ================= */
.loading-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.loading-logo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: zoomPop 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-logo-large {
  color: #ffffff;
  filter: drop-shadow(-3px -2px 0px #25f4ee) drop-shadow(3px 2px 0px #fe2c55);
}

.brand-wordmark {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.dual-dots {
  position: relative;
  width: 34px;
  height: 16px;
}

.dual-dots .dot {
  position: absolute;
  top: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.dual-dots .dot.cyan {
  background-color: #25f4ee;
  left: 2px;
  animation: orbitLeft 0.85s infinite ease-in-out;
}

.dual-dots .dot.pink {
  background-color: #fe2c55;
  right: 2px;
  animation: orbitRight 0.85s infinite ease-in-out;
}

@keyframes orbitLeft {
  0%, 100% { transform: translateX(0) scale(1); z-index: 2; }
  50% { transform: translateX(17px) scale(0.85); z-index: 1; }
}

@keyframes orbitRight {
  0%, 100% { transform: translateX(0) scale(1); z-index: 1; }
  50% { transform: translateX(-17px) scale(1.1); z-index: 2; }
}

.loading-text {
  font-size: 13px;
  color: #9a9ba3;
}

/* ================= ADIM 3: HAREKETLİ BEYAZ / SİYAH / BEYAZ EKRAN ================= */
#step-intro.light-intro {
  flex-direction: column;
  justify-content: space-between;
  background-color: #000000;
  overflow: hidden;
}

.intro-top {
  width: 100%;
  background: #ffffff;
  color: #111111;
  min-height: 44vh;
  padding: 28px 44px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation: slidePanelTop 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slidePanelTop {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.brand-logo-small {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 21px;
  margin-bottom: 14px;
  animation: fadeIn 0.5s ease 0.15s both;
}

.brand-logo-small svg {
  filter: drop-shadow(-1.5px -1px 0px #25f4ee) drop-shadow(1.5px 1px 0px #fe2c55);
}

.intro-welcome-heading {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.7px;
  display: flex;
  flex-direction: column;
}

.anim-line {
  display: block;
  opacity: 0;
  transform: translateY(22px);
  animation: lineSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.anim-line.line-1 { animation-delay: 0.15s; }
.anim-line.line-2 { animation-delay: 0.3s; }
.anim-line.line-3 { animation-delay: 0.45s; }

@keyframes lineSlideUp {
  0% { opacity: 0; transform: translateY(22px); filter: blur(4px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.sparkle-anim {
  display: inline-block;
  color: #c77dff;
  animation: sparkleSpin 2.2s infinite ease-in-out;
  transform-origin: center;
}

@keyframes sparkleSpin {
  0%, 100% { transform: scale(1) rotate(0deg); color: #c77dff; }
  50% { transform: scale(1.22) rotate(18deg); color: #fe2c55; }
}

.intro-stage-text {
  text-align: center;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.intro-red-sub {
  font-size: 23px;
  font-weight: 800;
  color: #fe2c55;
  line-height: 1.2;
  animation: springTextPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.intro-main-sub {
  font-size: 24px;
  font-weight: 800;
  color: #161823;
  line-height: 1.25;
  animation: textRiseIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes textRiseIn {
  from { opacity: 0; transform: translateY(18px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes springTextPop {
  0% { opacity: 0; transform: translateY(14px) scale(0.85); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.intro-middle-bar {
  width: 100%;
  padding: 38px 20px;
  text-align: center;
  background: #000000;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
}

.handle-pulse {
  display: inline-block;
  animation: handleGlow 1.8s infinite ease-in-out alternate;
}

@keyframes handleGlow {
  from { transform: scale(0.98); opacity: 0.88; }
  to { transform: scale(1.03); opacity: 1; text-shadow: -1.5px 0 rgba(37, 244, 238, 0.45), 1.5px 0 rgba(254, 44, 85, 0.45); }
}

.intro-bottom {
  width: 100%;
  background: #ffffff;
  color: #111111;
  min-height: 36vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  animation: slidePanelBottom 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slidePanelBottom {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* SVG İllüstrasyon Hareketleri */
.illus-box {
  margin-bottom: 6px;
  animation: stagePopIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes stagePopIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.88); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.canvas-bob {
  animation: bobUpDown 2s infinite ease-in-out alternate;
}

@keyframes bobUpDown {
  from { transform: translateY(0px); }
  to { transform: translateY(-4px); }
}

.sun-pulse {
  transform-origin: 42px 34px;
  animation: sunScale 1.6s infinite ease-in-out alternate;
}

@keyframes sunScale {
  from { transform: scale(0.94) rotate(-4deg); }
  to { transform: scale(1.06) rotate(4deg); }
}

.brush-hand {
  transform-origin: 90px 42px;
  animation: brushPaint 1.1s infinite ease-in-out alternate;
}

@keyframes brushPaint {
  0% { transform: translate(-8px, -6px) rotate(-8deg); }
  50% { transform: translate(4px, 2px) rotate(6deg); }
  100% { transform: translate(-4px, 8px) rotate(-4deg); }
}

.draw-stroke {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawLineLoop 1.5s infinite ease-in-out;
}

.draw-stroke.st1 { animation-delay: 0s; }
.draw-stroke.st2 { animation-delay: 0.2s; }
.draw-stroke.st3 { animation-delay: 0.4s; }
.draw-stroke.st4 { animation-delay: 0.6s; }

@keyframes drawLineLoop {
  0% { stroke-dashoffset: 40; }
  50%, 85% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -40; }
}

.sparkle-star {
  transform-origin: center;
  animation: twinkleStar 1.2s infinite ease-in-out alternate;
}

.sparkle-star.s2 { animation-delay: 0.5s; }

@keyframes twinkleStar {
  from { transform: scale(0.6); opacity: 0.4; }
  to { transform: scale(1.15); opacity: 1; }
}

.float-dot {
  animation: bobUpDown 1.4s infinite ease-in-out alternate;
}

/* Aşama 2 SVG Animasyonları */
.card-tilt-float {
  transform-origin: 68px 45px;
  animation: cardFloatTilt 1.8s infinite ease-in-out alternate;
}

@keyframes cardFloatTilt {
  from { transform: translateY(2px) rotate(-3deg); }
  to { transform: translateY(-5px) rotate(4deg); }
}

.badge-pop-loop {
  transform-origin: 46px 52px;
  animation: badgeBounce 1.4s infinite cubic-bezier(0.34, 1.56, 0.64, 1) alternate;
}

@keyframes badgeBounce {
  0% { transform: scale(0.88) translateY(3px); }
  100% { transform: scale(1.1) translateY(-3px); }
}

.burst-rays {
  transform-origin: 65px 45px;
  animation: raysPulse 1.1s infinite ease-in-out alternate;
}

@keyframes raysPulse {
  from { transform: scale(0.92); opacity: 0.5; }
  to { transform: scale(1.06); opacity: 1; }
}

.intro-bottom-text-group.morph-anim {
  animation: textRiseIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-bottom h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #161823;
}

.intro-bottom p {
  font-size: 12px;
  color: #777;
}

/* ================= ADIM 4: ARAMA SİMÜLASYONU ================= */
#step-showcase {
  background: #000000;
}

.showcase-container {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 92vh;
  background: #0d0e12;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.35s ease;
}

.showcase-searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.back-arrow {
  font-size: 26px;
  color: #ffffff;
  line-height: 1;
}

.showcase-input-box {
  flex: 1;
  background: #23252f;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  min-height: 36px;
}

.showcase-tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #22242e;
  padding-bottom: 9px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: #8a8b91;
}

.showcase-tabs .tab.active {
  color: #ffffff;
  font-weight: 600;
  position: relative;
}

.showcase-tabs .tab.active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  right: 0;
  height: 2px;
  background: #ffffff;
}

/* Skeleton Loader */
.skeleton-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
}

.sk-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1f2129;
  animation: pulseBg 1.1s infinite ease-in-out;
}

.sk-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sk-line {
  height: 10px;
  border-radius: 5px;
  background: #1f2129;
  animation: pulseBg 1.1s infinite ease-in-out;
}

.sk-line.w40 { width: 42%; }
.sk-line.w70 { width: 72%; }

.sk-btn {
  width: 68px;
  height: 28px;
  border-radius: 6px;
  background: #1f2129;
  animation: pulseBg 1.1s infinite ease-in-out;
}

@keyframes pulseBg {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}

.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 4px;
  border-radius: 10px;
  animation: rowFadeSlide 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rowFadeSlide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.showcase-item.featured {
  background: linear-gradient(90deg, #191b24 0%, #14161e 100%);
  border: 1px solid #2c3040;
  padding: 10px;
  margin-bottom: 8px;
  animation: featuredFlyTop 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes featuredFlyTop {
  0% { opacity: 0; transform: translateY(35px) scale(0.92); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.badge-burst {
  animation: badgeBurstIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes badgeBurstIn {
  0% { transform: scale(0) rotate(-45deg); opacity: 0; }
  70% { transform: scale(1.35) rotate(8deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.showcase-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: #222;
  flex-shrink: 0;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.04) saturate(1.06);
}

.showcase-meta {
  flex: 1;
  min-width: 0;
}

.showcase-title {
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.showcase-sub {
  font-size: 11.5px;
  color: #8a8b91;
  margin-top: 2px;
  line-height: 1.35;
  white-space: pre-line;
}

.follow-pill {
  background: #fe2c55;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.showcase-footer {
  position: relative;
  margin-top: auto;
  text-align: center;
  padding: 36px 10px 18px;
}

.showcase-footer h2 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.22;
  position: relative;
  z-index: 2;
}

.status-title-anim {
  animation: textRiseIn 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.floating-metrics {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.metric-pill {
  position: absolute;
  background: rgba(30, 32, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e2ea;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 12px;
  animation: floatUp 1.4s infinite ease-in-out alternate;
}

.m-icon.pink { color: #fe2c55; }
.m-icon.cyan { color: #25f4ee; }

.metric-pill.m-left { top: 4px; left: 16px; animation-delay: 0s; }
.metric-pill.m-right { top: 8px; right: 18px; animation-delay: 0.25s; }
.metric-pill.m-bottom-left { bottom: 6px; left: 24px; animation-delay: 0.5s; }
.metric-pill.m-bottom-right { bottom: 8px; right: 22px; animation-delay: 0.75s; }

@keyframes floatUp {
  from { transform: translateY(2px) scale(0.96); }
  to { transform: translateY(-7px) scale(1.04); }
}

/* ================= ADIM 5: MODAL EKRANI ================= */
#step-modal {
  background: #000000;
  padding: 0;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  min-height: 100vh;
  background: #ffffff;
  color: #161823;
  border-radius: 0;
  padding: 14px 24px 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  animation: zoomPop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-view {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

#modal-form-view .modal-topbar {
  border-bottom: 1px solid #e8e8ec;
  margin: 0 -24px 22px;
  padding: 2px 24px 14px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-top-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.04) saturate(1.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.icon-btn {
  background: transparent;
  border: none;
  font-size: 20px;
  color: #161823;
  cursor: pointer;
  padding: 4px 6px;
}

.modal-brand-icon {
  color: #161823;
  filter: drop-shadow(-2px -1px 0px #25f4ee) drop-shadow(2px 1px 0px #fe2c55);
}

.modal-brand-title {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #161823;
}

.modal-brand-title svg {
  filter: none;
  flex-shrink: 0;
}

.support-icon {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.modal-body-spaced {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.selected-account-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8f8f9;
  border: 1px solid #ededf0;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
}

.modal-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.04) saturate(1.06);
}

.modal-account-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.modal-account-text strong {
  font-size: 14.5px;
  color: #161823;
}

.modal-account-text span {
  font-size: 12px;
  color: #8a8b91;
  margin-top: 2px;
}

.chevron {
  font-size: 20px;
  color: #8a8b91;
}

.modal-bottom-actions {
  text-align: center;
}

.text-link-btn {
  background: transparent;
  border: none;
  color: #555865;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 4px;
}

/* İletişim Formu */
.form-heading {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-align: left;
  margin-bottom: 22px;
  color: #161823;
}

#verification-form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.field-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  animation: fadeIn 0.2s ease;
}

.field-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f1f1f2;
  border: none;
  border-radius: 999px;
  padding: 15px 20px;
  margin-bottom: 0;
}

.required-dot {
  width: 8px;
  height: 8px;
  background: #fe2c55;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(254, 44, 85, 0.2);
  margin-right: 0;
  flex-shrink: 0;
}

.country-prefix {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  border-right: 1px solid #d4d4da;
  padding-right: 12px;
  margin-right: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #161823;
  cursor: pointer;
  white-space: nowrap;
}

.field-box input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14.5px;
  color: #161823;
  width: 100%;
}

/* Ülke Kodu Seçici Alt Çekmece */
.country-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.44);
  z-index: 26;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  animation: fadeIn 0.18s ease;
}

.country-picker-sheet {
  background: #ffffff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  height: 62%;
  max-height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.16);
  animation: slideUpSheet 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.country-search-header {
  padding: 16px 16px 14px;
  border-bottom: 1px solid #efefef;
  flex-shrink: 0;
}

.country-search-box {
  background: #f1f1f2;
  border-radius: 999px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
}

.country-search-box input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #161823;
}

.country-search-box input::placeholder {
  color: #8a8b91;
}

.country-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0 12px;
}

.country-list::-webkit-scrollbar {
  width: 5px;
}

.country-list::-webkit-scrollbar-thumb {
  background: #a5a6ae;
  border-radius: 4px;
}

.country-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  cursor: pointer;
  transition: background-color 0.14s ease;
}

.country-item:hover {
  background-color: #f6f6f8;
}

.country-item-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #161823;
}

.country-item-dial {
  font-size: 14.5px;
  font-weight: 600;
  color: #82848e;
}

/* Onay Kutuları */
.consent-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  animation: fadeIn 0.25s ease;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: #f8f8fa;
  border: 1px solid #ededf2;
  border-radius: 10px;
  padding: 12px 13px;
  cursor: pointer;
  user-select: none;
}

.consent-item input {
  display: none;
}

.custom-check {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  border: 1.8px solid #c4c5ce;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.consent-item input:checked + .custom-check {
  background-color: #fe2c55;
  border-color: #fe2c55;
}

.consent-item input:checked + .custom-check::after {
  content: "✓";
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.consent-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.consent-text strong {
  font-size: 12.5px;
  color: #161823;
}

.consent-text span {
  font-size: 11px;
  color: #777982;
  line-height: 1.38;
}

.form-footer {
  margin-top: auto;
  padding-top: 14px;
}

.email-domains {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.domain-chip {
  background: #f2f2f5;
  border: 1px solid #e4e4ea;
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 11.5px;
  color: #3a3c46;
  cursor: pointer;
  white-space: nowrap;
}

.domain-chip:hover {
  background: #e6e6ed;
}

#submit-form-btn:disabled {
  background-color: #f8b4c2;
  color: #ffffff;
}

/* Yükleme Katmanı */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(1.5px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

/* ================= ADIM 5C & 5D & 5E & 5F & 5G & 5H & 5I: EK ŞABLON EKRANLARI ================= */
#modal-extra-view .modal-topbar,
#modal-box-view .modal-topbar,
#modal-mail-box-view .modal-topbar,
#modal-box4-phone-view .modal-topbar,
#modal-box4-mail-view .modal-topbar,
#modal-app-box-view .modal-topbar,
#modal-security-guide-view .modal-topbar,
#modal-passkey-guide-view .modal-topbar,
#modal-queue-view .modal-topbar,
#modal-id-intro-view .modal-topbar,
#modal-id-upload-view .modal-topbar,
#modal-id-fail-view .modal-topbar,
#modal-id-success-view .modal-topbar,
#modal-final-ready-view .modal-topbar {
  border-bottom: 1px solid #e8e8ec;
  margin: 0 -24px 12px;
  padding: 2px 24px 14px;
}

.step-progress-row {
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #f0f0f3;
  margin: 0 -24px 26px;
  padding: 0 24px 12px;
}

.prog-seg {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background-color: #ebebef;
}

.prog-seg.done {
  background-color: #ff9eb0;
}

.prog-seg.active {
  background-color: #fe2c55;
}

.prog-seg.short {
  flex: 0 0 22px;
}

.prog-seg.long {
  flex: 1;
}

.prog-dot.active-red-dot {
  background-color: #fe2c55;
  border-color: #fe2c55;
}

.prog-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1.5px solid #c8c8d0;
  flex-shrink: 0;
}

.prog-check {
  font-size: 10px;
  color: #b8b8c2;
  line-height: 1;
  flex-shrink: 0;
}

.extra-heading {
  font-size: 26px;
  margin-bottom: 20px;
}

.extra-form-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.extra-pill-box {
  flex: 0 0 auto;
  padding: 14px 18px;
  margin-bottom: 14px;
  border: 1px solid transparent;
  transition: background-color 0.2s, border-color 0.2s;
}

.extra-pill-box.input-error {
  background-color: #fff2f4;
  border-color: #ffd4dc;
}

.extra-rule-hint {
  color: #8a8b91;
  font-size: 12.5px;
  font-weight: 500;
  margin: -4px 0 12px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.extra-rule-hint .rule-check-icon {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.65;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.extra-rule-hint.rule-valid {
  color: #16a34a;
}

.extra-rule-hint.rule-valid .rule-check-icon {
  opacity: 1;
  color: #16a34a;
}

.extra-rule-hint.rule-invalid {
  color: #fe2c55;
}

.extra-rule-hint.rule-invalid .rule-check-icon {
  opacity: 1;
  color: #fe2c55;
}

.extra-error-msg {
  color: #fe2c55;
  font-size: 13px;
  font-weight: 500;
  margin: -4px 0 12px 4px;
}

.eye-btn {
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 2px;
  margin-left: 8px;
  color: #161823;
}

.masked-field {
  -webkit-text-security: disc;
  text-security: disc;
}

.masked-field::placeholder {
  -webkit-text-security: none;
  text-security: none;
}

.blue-sub-link {
  display: inline-block;
  color: #1b65d6;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  align-self: flex-start;
}

.blue-sub-link:hover {
  text-decoration: underline;
}

.extra-continue-btn {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  background-color: #fe2c55;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.extra-continue-btn:disabled {
  background-color: #ededf0;
  color: #9e9fa6;
  cursor: not-allowed;
}

/* ================= ADIM 5D: 6 KUTULU EKRAN ================= */
.box-step-heading {
  font-size: 28px;
  margin-bottom: 10px;
}

.sent-phone-subtext {
  color: #82848e;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.45;
}

.sent-phone-subtext strong {
  color: #545661;
  font-weight: 700;
}

.digit-boxes-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.digit-box-input {
  width: 48px;
  height: 50px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  background-color: #f1f1f2;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #161823;
  outline: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.digit-boxes-4-row {
  gap: 10px;
}

.digit-box-4-input {
  width: 52px;
  height: 52px;
}

.digit-box-input:focus {
  border-color: #161823;
  background-color: #ffffff;
}

.digit-box-input.box-error {
  border-color: #fe2c55;
  background-color: #ffffff;
}

.box-error-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fe2c55;
  font-size: 13px;
  font-weight: 600;
  margin: -8px 0 14px 2px;
}

.box-error-msg svg {
  flex-shrink: 0;
}

.resend-timer-text {
  color: #82848e;
  font-size: 13.5px;
  font-weight: 500;
}

/* ================= ADIM 5I: GÜVENLİK ADIMI REHBER EKRANI ================= */
.security-guide-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.security-guide-inner {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.security-guide-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #161823;
  margin-bottom: 10px;
}

.security-guide-subtitle {
  font-size: 13.5px;
  color: #696b75;
  line-height: 1.42;
  margin-bottom: 16px;
}

.security-mockup-card {
  background: #ffffff;
  border-radius: 10px;
  margin-bottom: 16px;
}

.security-mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4px 10px;
  border-bottom: 1px solid #f2f2f5;
  font-size: 14px;
  font-weight: 700;
  color: #161823;
}

.mockup-header-spacer {
  width: 18px;
}

.security-mockup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4px;
  font-size: 13px;
  color: #2f313b;
}

.security-mockup-row.highlight-row {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding-top: 8px;
}

.highlight-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.red-box-tag {
  display: inline-block;
  border: 1.8px solid #d9232a;
  padding: 3px 6px;
  font-size: 13px;
  font-weight: 600;
  color: #161823;
  margin-left: -4px;
}

.off-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #82848e;
  font-size: 12.5px;
}

.highlight-row-desc {
  font-size: 11px;
  color: #8a8b91;
  line-height: 1.38;
}

.security-steps-list {
  padding-left: 18px;
  margin: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #161823;
  line-height: 1.42;
}

.security-circle-check {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  margin-bottom: 20px;
}

.security-circle-check input {
  display: none;
}

.circle-radio-ui {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.8px solid #b5b6be;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.security-circle-check input:checked + .circle-radio-ui {
  background-color: #fe2c55;
  border-color: #fe2c55;
}

.security-circle-check input:checked + .circle-radio-ui::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-bottom: 1px;
}

.circle-check-label {
  font-size: 14px;
  font-weight: 700;
  color: #161823;
}

/* 2FA Tespit Edilemedi Uyarı Penceresi */
.security-alert-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 16, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 28;
  animation: fadeIn 0.2s ease;
}

.security-alert-dialog {
  width: 100%;
  max-width: 315px;
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 22px 22px;
  text-align: center;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  animation: zoomPop 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.security-alert-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fff0f3;
  color: #fe2c55;
  font-size: 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.security-alert-title {
  font-size: 17.5px;
  font-weight: 800;
  color: #161823;
  margin-bottom: 10px;
}

.security-alert-desc {
  font-size: 13.5px;
  color: #545661;
  line-height: 1.46;
  margin-bottom: 22px;
}

.security-alert-ok-btn {
  width: 100%;
  padding: 13px 20px;
  border-radius: 999px;
  border: none;
  background-color: #141620;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.16s ease;
}

.security-alert-ok-btn:hover {
  opacity: 0.92;
}

/* ================= ADIM 5J: YAPILANDIRMA HATASI EKRANI ================= */
.passkey-guide-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.passkey-guide-inner {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.passkey-top-triangle {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.passkey-guide-title {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  color: #161823;
  line-height: 1.24;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

.passkey-warning-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: #fff2f4;
  border-left: 4px solid #fe2c55;
  border-radius: 12px;
  padding: 13px 15px;
  margin-bottom: 14px;
}

.passkey-warn-emoji {
  font-size: 16px;
  line-height: 1.3;
  flex-shrink: 0;
}

.passkey-warn-text p {
  font-size: 12.8px;
  color: #161823;
  line-height: 1.44;
}

.passkey-warn-text .passkey-warn-sub {
  margin-top: 6px;
  color: #464852;
}

.passkey-steps-card {
  background-color: #f8f8fa;
  border: 1px solid #ececf0;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.passkey-steps-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.8px;
  font-weight: 800;
  color: #161823;
  margin-bottom: 10px;
}

.passkey-step-item {
  font-size: 12.8px;
  color: #161823;
  line-height: 1.45;
  margin-bottom: 7px;
}

.step-red-label {
  color: #fe2c55;
  font-weight: 700;
}

.passkey-steps-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  border-top: 1px solid #e8e8ee;
  padding-top: 10px;
  margin-top: 10px;
  font-size: 11.5px;
  color: #82848e;
  line-height: 1.38;
}

.passkey-steps-note svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.passkey-account-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1px solid #ececf0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.passkey-account-label {
  font-size: 13px;
  color: #696b75;
}

.passkey-account-label strong {
  color: #161823;
  font-weight: 700;
}

.passkey-continue-btn {
  width: 100%;
  padding: 15px 20px;
  border-radius: 10px;
  border: none;
  background-color: #fe2c55;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.16s ease;
}

.passkey-continue-btn:hover {
  opacity: 0.94;
}

/* ================= ADIM 5K: SIRADASINIZ (60s GERİ SAYIM) EKRANI ================= */
.queue-view-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 26px;
}

.queue-view-title {
  font-size: 21px;
  font-weight: 800;
  color: #161823;
  text-align: center;
  margin-bottom: 10px;
}

.queue-view-subtitle {
  font-size: 13.5px;
  color: #737580;
  text-align: center;
  line-height: 1.46;
  margin-bottom: 36px;
}

.queue-ring-wrapper {
  position: relative;
  width: 168px;
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.queue-ring-svg {
  transform: rotate(-90deg);
}

.queue-ring-arc {
  transform-origin: 84px 84px;
  animation: spinQueueArc 1.6s linear infinite;
}

@keyframes spinQueueArc {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.queue-countdown-num {
  position: absolute;
  font-size: 46px;
  font-weight: 800;
  color: #161823;
  letter-spacing: -1px;
}

/* ================= ADIM 5L & 5M: KİMLİĞİNİ DOĞRULA EKRANLARI ================= */
.id-intro-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.id-intro-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 38px;
}

.id-card-illustration {
  margin-bottom: 22px;
}

.id-intro-title {
  font-size: 21px;
  font-weight: 800;
  color: #161823;
  margin-bottom: 8px;
}

.id-intro-subtitle {
  font-size: 13.5px;
  color: #737580;
  margin-bottom: 12px;
}

.id-more-info-link {
  color: #fe2c55;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.id-more-info-link:hover {
  text-decoration: underline;
}

.id-intro-footer {
  margin-top: auto;
  padding-top: 24px;
}

.id-legal-note {
  font-size: 11.5px;
  color: #737580;
  line-height: 1.46;
  margin-bottom: 14px;
}

.id-legal-note strong {
  color: #161823;
  font-weight: 700;
}

.id-upload-body {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.id-upload-subnav {
  border-bottom: 1px solid #f0f0f3;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.id-subnav-back-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 2px;
}

.id-upload-heading {
  font-size: 23px;
  font-weight: 800;
  color: #161823;
  margin-bottom: 8px;
}

.id-upload-subtitle {
  font-size: 13.5px;
  color: #737580;
  line-height: 1.46;
  margin-bottom: 18px;
}

.id-upload-dropzone {
  border: 1.5px dashed #d4d4dc;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 16px;
  background-color: #ffffff;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.id-upload-dropzone:hover {
  border-color: #fe2c55;
  background-color: #fffbfc;
}

.id-upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.id-dropzone-title {
  font-size: 14px;
  font-weight: 700;
  color: #161823;
  margin-top: 4px;
}

.id-dropzone-sub {
  font-size: 12.5px;
  color: #82848e;
}

.id-upload-preview-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.id-upload-preview-img {
  max-width: 100%;
  max-height: 150px;
  border-radius: 8px;
  object-fit: contain;
}

.id-upload-file-name {
  font-size: 12px;
  color: #545661;
  font-weight: 600;
}

.id-upload-continue-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 8px;
  border: none;
  background-color: #fe2c55;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, opacity 0.18s ease;
}

.id-upload-continue-btn:disabled {
  background-color: #f9a8b8;
  color: #ffffff;
  cursor: not-allowed;
}

.id-result-body {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.id-result-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 18px;
}

.id-fail-desc {
  font-size: 13.5px;
  color: #737580;
  line-height: 1.48;
  margin-bottom: 12px;
  max-width: 330px;
}

.prog-check.done-check {
  color: #fe2c55;
  font-weight: 800;
}

.final-ready-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding-bottom: 60px;
}

.final-ready-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-ready-title {
  font-size: 24px;
  font-weight: 800;
  color: #161823;
  margin-bottom: 10px;
}

.final-ready-subtitle {
  font-size: 13.5px;
  color: #737580;
  line-height: 1.48;
  margin-bottom: 18px;
}

.final-ready-subtitle strong {
  color: #464852;
  font-weight: 700;
}

.final-redirect-note {
  font-size: 12.5px;
  color: #737580;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomPop {
  from { opacity: 0; transform: scale(0.88); }
  to { opacity: 1; transform: scale(1); }
}
