@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;600;700&family=Audiowide&display=swap');

* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  background: linear-gradient(180deg, #0a0015 0%, #1a0033 30%, #2d1b4e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* ·¹Æ®·Î ±×¸®µå ¹è°æ */
.retro-grid {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background-image: 
    linear-gradient(0deg, transparent 24%, rgba(255, 0, 255, 0.3) 25%, rgba(255, 0, 255, 0.3) 26%, transparent 27%, transparent 74%, rgba(255, 0, 255, 0.3) 75%, rgba(255, 0, 255, 0.3) 76%, transparent 77%, transparent),
    linear-gradient(90deg, transparent 24%, rgba(0, 255, 255, 0.3) 25%, rgba(0, 255, 255, 0.3) 26%, transparent 27%, transparent 74%, rgba(0, 255, 255, 0.3) 75%, rgba(0, 255, 255, 0.3) 76%, transparent 77%, transparent);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom;
  z-index: 0;
  opacity: 0.8;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 100px; }
}

/* ÅÂ¾ç */
.sun {
  position: fixed;
  bottom: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: linear-gradient(180deg, #ff0099, #ff6600);
  border-radius: 50%;
  box-shadow: 
    0 0 80px #ff0099,
    0 0 150px #ff0099,
    inset 0 0 60px rgba(0, 0, 0, 0.3);
  z-index: 0;
  opacity: 0.8;
}

/* ÁöÆò¼± */
.horizon {
  position: fixed;
  bottom: 35%;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent,
    #00ffff 10%,
    #ff00ff 50%,
    #00ffff 90%,
    transparent);
  box-shadow: 0 0 20px #ff00ff;
  z-index: 1;
}

/* ½ºÄµ¶óÀÎ È¿°ú */
.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 999;
  animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

/* ³×¿Â ¶óÀÎ */
.neon-line {
  position: fixed;
  width: 2px;
  height: 100%;
  z-index: 0;
  opacity: 0.4;
}

.line-1 {
  left: 20%;
  background: linear-gradient(180deg, transparent, #ff00ff, transparent);
  box-shadow: 0 0 10px #ff00ff;
  animation: lineFlicker 3s infinite;
}

.line-2 {
  left: 50%;
  background: linear-gradient(180deg, transparent, #00ffff, transparent);
  box-shadow: 0 0 10px #00ffff;
  animation: lineFlicker 4s infinite;
  animation-delay: 1s;
}

.line-3 {
  left: 80%;
  background: linear-gradient(180deg, transparent, #ff0099, transparent);
  box-shadow: 0 0 10px #ff0099;
  animation: lineFlicker 3.5s infinite;
  animation-delay: 2s;
}

@keyframes lineFlicker {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.container {
  background: #0d0520;
  border: 1px solid rgba(255, 0, 255, 0.4);
  padding: 30px 25px;
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.glow-border {
  display: none;
}

.header {
  text-align: center;
  margin-bottom: 45px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 0, 255, 0.2);
}

.retro-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  color: #888;
  letter-spacing: 2px;
  padding: 4px 12px;
  border: 1px solid #444;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.logo {
  font-size: 48px;
  font-weight: 700;
  color: #e0b3ff;
  margin-bottom: 15px;
  letter-spacing: 4px;
  font-family: 'Audiowide', sans-serif;
  text-transform: uppercase;
}

.logo img {
  max-width: 180px;
  height: auto;
}

.subtitle {
  font-size: 12px;
  color: #999;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.content {
  padding: 0;
}

.status-display {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 0, 255, 0.05);
  border-left: 2px solid #ff00ff;
  margin-bottom: 30px;
}

.led-indicator {
  width: 8px;
  height: 8px;
  background: #00ff00;
  border-radius: 50%;
}

.status-text {
  font-size: 14px;
  font-weight: 400;
  color: #ccc;
  letter-spacing: 0.3px;
}

.message-panel {
  margin-bottom: 40px;
}

.panel-line {
  display: none;
}

.desc {
  font-size: 16px;
  color: #eee;
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0.3px;
  text-align: center;
}

.btn-wrapper {
  text-align: center;
  margin-bottom: 35px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 15px 45px;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  color: #e0b3ff;
  border: 1px solid #e0b3ff;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-glow {
  display: none;
}

.btn-text {
  background: none;
  -webkit-text-fill-color: #e0b3ff;
}

.btn:hover {
  background: rgba(224, 179, 255, 0.1);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.retro-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 0, 255, 0.2);
  font-size: 10px;
  color: #666;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-icon {
  color: #555;
}

.footer-text {
  color: #777;
}

/* ¹ÝÀÀÇü */
@media (max-width: 600px) {
  .sun {
    width: 150px;
    height: 150px;
    bottom: 30%;
  }
  
  .horizon {
    bottom: 30%;
  }
  
  .container {
    padding: 40px 30px;
  }
  
  .logo {
    font-size: 40px;
    letter-spacing: 3px;
  }
  
  .subtitle {
    font-size: 11px;
    letter-spacing: 3px;
  }
  
  .desc {
    font-size: 14px;
  }
  
  .btn {
    padding: 13px 40px;
    font-size: 13px;
  }
}