* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

body {
  min-height: 100vh;
  background: #06111f;
  overflow: hidden;
  color: white;
}

.loading-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 32px;
  background:
    radial-gradient(circle at 50% 35%, rgba(20, 224, 197, 0.22), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.2), transparent 28%),
    linear-gradient(135deg, #06111f 0%, #0b1b31 55%, #07111f 100%);
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
  animation: gridMove 16s linear infinite;
}

.glow {
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: rgba(20, 224, 197, 0.22);
  filter: blur(140px);
}

.content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 820px;
}

.logo-area {
  width: 250px;
  height: 250px;
  margin: 0 auto 48px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(20, 224, 197, 0.26);
  animation: rotate 7s linear infinite;
}

.ring::before,
.ring::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #14e0c5;
  box-shadow: 0 0 24px #14e0c5;
}

.ring::before {
  top: 28px;
  left: 52px;
}

.ring::after {
  right: 34px;
  bottom: 58px;
}

.ring.second {
  inset: 25px;
  border-color: rgba(96, 165, 250, 0.25);
  animation-duration: 10s;
  animation-direction: reverse;
}

.logo-box {
  width: 145px;
  height: 145px;
  border-radius: 40px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.22), rgba(255,255,255,0.05)),
    linear-gradient(135deg, #0f172a, #172554);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 36px 90px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.28);
  animation: breathe 2.6s ease-in-out infinite;
}

.logo-box strong {
  font-size: 64px;
  letter-spacing: -4px;
}

.logo-box strong span,
h1 span {
  color: #14e0c5;
}

h1 {
  font-size: clamp(72px, 9vw, 120px);
  line-height: .92;
  letter-spacing: -6px;
  margin-bottom: 22px;
}

.subtitle {
  color: #b7c4d8;
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 46px;
}

.status {
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
  color: #e5edf8;
  font-size: 18px;
  backdrop-filter: blur(14px);
  transition: opacity .3s ease;
}

.progress {
  width: min(600px, 92vw);
  height: 8px;
  margin: 36px auto 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.13);
  overflow: hidden;
}

.progress span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #14e0c5, #60a5fa, transparent);
  animation: loadLine 1.7s ease-in-out infinite;
}

.security {
  margin-top: 30px;
  font-size: 15px;
  color: rgba(255,255,255,0.58);
}

.security b {
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.055); }
}

@keyframes loadLine {
  from { transform: translateX(-120%); }
  to { transform: translateX(240%); }
}

@keyframes gridMove {
  from { background-position: 0 0; }
  to { background-position: 58px 58px; }
}

@media (max-width: 768px) {
  .content { max-width: 100%; }

  .logo-area {
    width: 200px;
    height: 200px;
    margin-bottom: 38px;
  }

  .logo-box {
    width: 118px;
    height: 118px;
    border-radius: 34px;
  }

  .logo-box strong { font-size: 52px; }

  h1 {
    font-size: clamp(56px, 14vw, 82px);
    letter-spacing: -4px;
  }

  .subtitle { font-size: 18px; }

  .status {
    height: 56px;
    padding: 0 26px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .loading-page { padding: 20px; }

  .logo-area {
    width: 165px;
    height: 165px;
    margin-bottom: 32px;
  }

  .logo-box {
    width: 98px;
    height: 98px;
    border-radius: 28px;
  }

  .logo-box strong { font-size: 44px; }

  .ring.second { inset: 18px; }

  h1 {
    font-size: clamp(46px, 15vw, 66px);
    letter-spacing: -3px;
  }

  .subtitle {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .status {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    font-size: 14px;
  }

  .progress {
    width: 100%;
    height: 7px;
  }

  .security { font-size: 13px; }
}
