/* font */
@font-face {
  font-family: "NotoSansKR", sans-serif;
  src: url("../fonts/NotoSansKR-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "NotoSansKR", sans-serif;
  src: url("../fonts/NotoSansKR-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "NotoSansKR", sans-serif;
  src: url("../fonts/NotoSansKR-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "NotoSansKR", sans-serif;
  src: url("../fonts/NotoSansKR-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "NotoSansKR", sans-serif;
  src: url("../fonts/NotoSansKR-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto", sans-serif;
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Roboto", sans-serif;
  src: url("../fonts/Roboto-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Roboto", sans-serif;
  src: url("../fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto", sans-serif;
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f8fafc;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2dd4bf;
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.text-gradient {
  background: linear-gradient(to right, #2dd4bf, #facc15);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Globe positioned on the right */
.globe-container {
  perspective: 1000px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  z-index: 0;
}

.globe {
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: url("../image/earth-bg.jpg");
  background-size: 200% 100%;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(45, 212, 191, 0.4);
  position: relative;
  animation: rotateGlobe 30s linear infinite;
  transform-style: preserve-3d;
}

.globe::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  box-shadow: -40px 10px 70px 10px rgba(0, 0, 0, 0.9) inset;
}

@keyframes rotateGlobe {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.route-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.orbit-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #facc15;
  border-radius: 50%;
  box-shadow: 0 0 10px #facc15;
  offset-path: path("M 50 210 A 160 80 0 1 1 370 210 A 160 80 0 1 1 50 210");
  animation: orbit 6s linear infinite;
}

.orbit-dot-2 {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #2dd4bf;
  border-radius: 50%;
  box-shadow: 0 0 8px #2dd4bf;
  offset-path: path("M 210 50 A 80 160 0 1 0 210 370 A 80 160 0 1 0 210 50");
  animation: orbit 8s linear infinite reverse;
}

@keyframes orbit {
  0% {
    offset-distance: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}
