*,
*::before,
*::after {
  box-sizing: border-box;
}

.welcome-body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #fff;
  background: #0a0d12;
  overflow-x: hidden;
}

.welcome-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.welcome-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: #0a0d12;
  background-image: url("/images/landing-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.22) 100%),
    radial-gradient(ellipse at 78% 62%, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.35) 72%);
}

.welcome-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 0;
}

.welcome-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.7rem 1rem 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 0.85rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.welcome-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  animation: welcome-brand-shine 2.8s ease-in-out 1.1s 1;
  pointer-events: none;
}

.welcome-logo {
  height: 3.25rem;
  width: auto;
  object-fit: contain;
}

.welcome-brand-sub {
  margin: 0.4rem 0 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #374151;
  text-shadow: none;
}

.welcome-partner-fixed {
  position: fixed;
  right: 1.75rem;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  z-index: 3;
}

@media (max-width: 767px) {
  .welcome-partner-fixed {
    bottom: calc(7.5rem + env(safe-area-inset-bottom));
  }
}

.welcome-partner-label {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.welcome-main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.25rem 1rem 7.5rem;
  text-align: center;
}

.welcome-title {
  margin: 0.15rem 0 0.3rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.85rem, 5.5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 24px rgba(255, 255, 255, 0.22),
    0 4px 28px rgba(0, 0, 0, 0.65);
}

.welcome-subtitle {
  margin: 0 0 0.75rem;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(0.95rem, 3vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

.welcome-map-wrap {
  width: min(980px, 100%);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 0 0.5rem;
}

.turkey-map-host {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

.turkey-map {
  width: 100%;
  height: auto;
  max-height: min(62vh, 560px);
  overflow: visible;
  filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.42));
}

.turkey-map-loader {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-top-color: #f97316;
  border-radius: 50%;
  animation: welcome-spin 0.8s linear infinite;
}

.turkey-map-error {
  margin: 0;
  color: #fca5a5;
  font-weight: 600;
}

@keyframes welcome-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes welcome-brand-shine {
  to {
    transform: translateX(130%);
  }
}

@keyframes welcome-bg-in {
  from {
    transform: scale(1.05);
    opacity: 0.7;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes welcome-reveal-down {
  from {
    opacity: 0;
    transform: translateY(-22px) scale(0.96);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes welcome-reveal-up {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes welcome-reveal-title {
  from {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(6px);
    text-shadow:
      0 0 18px rgba(255, 255, 255, 0.15),
      0 4px 28px rgba(0, 0, 0, 0.65);
  }

  65% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    text-shadow:
      0 0 34px rgba(255, 255, 255, 0.42),
      0 4px 28px rgba(0, 0, 0, 0.65);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    text-shadow:
      0 0 20px rgba(255, 255, 255, 0.18),
      0 4px 28px rgba(0, 0, 0, 0.65);
  }
}

@keyframes welcome-reveal-scale {
  from {
    opacity: 0;
    transform: scale(0.92);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes welcome-reveal-left {
  from {
    opacity: 0;
    transform: translateX(24px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .welcome-bg {
    animation: welcome-bg-in 1.1s ease-out both;
  }

  .welcome-reveal {
    opacity: 0;
    animation-duration: 0.9s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    animation-fill-mode: forwards;
  }

  .welcome-reveal--brand {
    animation-name: welcome-reveal-down;
    animation-delay: 0.08s;
  }

  .welcome-reveal--title {
    animation-name: welcome-reveal-title;
    animation-delay: 0.28s;
    animation-duration: 1.1s;
  }

  .welcome-reveal--subtitle {
    animation-name: welcome-reveal-up;
    animation-delay: 0.42s;
  }

  .welcome-reveal--map {
    animation-name: welcome-reveal-scale;
    animation-delay: 0.58s;
  }

  .welcome-reveal--partner {
    animation-name: welcome-reveal-left;
    animation-delay: 0.78s;
  }

  #mobile-city-sheet:not([hidden]) {
    animation: welcome-sheet-up 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.95s both;
  }
}

@keyframes welcome-sheet-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome-reveal {
    opacity: 1;
    animation: none !important;
  }

  .welcome-brand::after {
    animation: none;
  }

  .welcome-bg {
    animation: none;
  }
}

.map-city-marker {
  cursor: default;
}

.map-city-marker.is-enabled {
  cursor: pointer;
}

.map-city-marker.is-enabled .map-pin-body {
  fill: #f97316;
  stroke: #fff;
  stroke-width: 1.8;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  transition: fill 0.15s ease, transform 0.15s ease;
}

.map-city-marker.is-enabled:hover .map-pin-body,
.map-city-marker.is-enabled:focus-visible .map-pin-body {
  fill: #fb923c;
  transform: scale(1.08);
}

.map-city-marker.is-disabled .map-pin-body {
  fill: rgba(249, 115, 22, 0.5);
  stroke: rgba(255, 255, 255, 0.65);
  stroke-width: 1.5;
}

.map-city-marker.is-disabled .map-city-label {
  opacity: 0.58;
}

.map-pin-dot {
  fill: #fff;
}

.map-city-label {
  fill: #fff;
  font-size: 14px;
  font-weight: 700;
  paint-order: stroke fill;
  stroke: rgba(0, 0, 0, 0.72);
  stroke-width: 3px;
  stroke-linejoin: round;
  pointer-events: none;
}

.mobile-city-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 0.75rem 1rem calc(1rem + env(safe-area-inset-bottom));
  background: rgba(10, 13, 18, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem 1.25rem 0 0;
  backdrop-filter: blur(12px);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
}

.mobile-city-sheet[hidden] {
  display: none !important;
}

.mobile-city-sheet-handle {
  width: 42px;
  height: 4px;
  margin: 0 auto 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.mobile-city-sheet-title {
  margin: 0 0 0.65rem;
  text-align: center;
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.mobile-city-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 38vh;
  overflow-y: auto;
}

.mobile-city-btn {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mobile-city-btn.is-enabled {
  border-color: rgba(249, 115, 22, 0.55);
  background: rgba(249, 115, 22, 0.18);
  cursor: pointer;
}

.mobile-city-btn.is-enabled:hover {
  background: rgba(249, 115, 22, 0.32);
}

.mobile-city-btn.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mobile-city-btn-status {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 768px) {
  .welcome-main {
    padding-bottom: 2rem;
  }

  .mobile-city-sheet {
    display: none !important;
  }

  .map-city-marker.is-disabled {
    pointer-events: none;
  }
}

@media (max-width: 767px) {
  .welcome-header {
    padding: 1.1rem 1.1rem 0;
  }

  .welcome-main {
    padding-top: 1.75rem;
  }

  .welcome-title {
    margin-top: 0.5rem;
  }

  .welcome-brand {
    padding: 0.6rem 0.85rem 0.7rem;
  }

  .welcome-brand-sub {
    margin-top: 0.5rem;
    font-size: 0.72rem;
  }

  .welcome-logo {
    height: 2.6rem;
  }

  .welcome-map-wrap {
    max-height: 50vh;
  }

  .turkey-map {
    max-height: 48vh;
  }

  .map-city-marker.is-enabled {
    cursor: default;
    pointer-events: none;
  }

  .map-city-label {
    font-size: 11px;
    stroke-width: 2px;
  }
}
