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

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

body {
  font-family: "Noto Sans KR", sans-serif;
  background: linear-gradient(160deg, #0e0e0e 0%, #111111 50%, #0e0e0e 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  color: #e0dcff;
}

/* 배경 원형 장식 */
.bg-pattern {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(127, 119, 221, 0.05);
  animation: circleFloat 20s infinite ease-in-out;
}

.c-1 { width: 300px; height: 300px; top: -80px;  left: -80px;  animation-delay: 0s; }
.c-2 { width: 200px; height: 200px; top: 20%;   right: -60px; animation-delay: 4s; }
.c-3 { width: 150px; height: 150px; bottom: 15%; left: 10%;   animation-delay: 8s; }
.c-4 { width: 250px; height: 250px; bottom: -60px; right: 10%; animation-delay: 12s; }

@keyframes circleFloat {
  0%,  100% { transform: translate(0, 0);        }
  33%        { transform: translate(12px, -16px); }
  66%        { transform: translate(-10px, 10px); }
}

/* 컨테이너 */
.container {
  background: rgba(127, 119, 221, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(127, 119, 221, 0.25);
  padding: 38px 32px;
  max-width: 500px;
  width: 100%;
  position: relative;
  z-index: 1;
  border-radius: 4px;
  box-shadow:
    0 4px 40px rgba(127, 119, 221, 0.1),
    0 1px 4px rgba(0, 0, 0, 0.4);
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
}

/* 퍼플 코너 장식 */
.purple-border {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 24px;
  height: 24px;
  border-style: solid;
  border-color: #7F77DD;
}
.corner.tl { top: 10px; left: 10px;    border-width: 2px 0 0 2px; }
.corner.tr { top: 10px; right: 10px;   border-width: 2px 2px 0 0; }
.corner.bl { bottom: 10px; left: 10px;  border-width: 0 0 2px 2px; }
.corner.br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }

/* 헤더 */
.header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(127, 119, 221, 0.2);
}

.brand-label {
  font-size: 11px;
  font-weight: 600;
  color: #AFA9EC;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: 'Raleway', sans-serif;
}

.logo {
  margin-bottom: 14px;
}

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

.subtitle {
  font-size: 13px;
  color: #7F77DD;
  font-weight: 500;
  letter-spacing: 6px;
  text-transform: uppercase;
}

/* 상태 패널 */
.status-panel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(127, 119, 221, 0.08);
  border: 1px solid rgba(127, 119, 221, 0.2);
  border-left: 3px solid #7F77DD;
  padding: 16px 18px;
  margin-bottom: 26px;
  border-radius: 2px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1;    transform: scale(1);   }
  50%       { opacity: 0.6; transform: scale(1.2); }
}

.status-text {
  font-size: 16px;
  font-weight: 500;
  color: #CECBF6;
  letter-spacing: 0.2px;
}

/* 정보 섹션 */
.info-section {
  margin-bottom: 30px;
}

.info-label {
  font-size: 11px;
  font-weight: 600;
  color: #AFA9EC;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-family: 'Raleway', sans-serif;
}

.desc {
  font-size: 16px;
  color: #CECBF6;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.desc strong {
  color: #ffffff;
  font-weight: 600;
}

/* 접속 버튼 */
.btn-wrapper {
  text-align: center;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  text-decoration: none;
  padding: 15px 44px;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid #7F77DD;
  letter-spacing: 2px;
  text-transform: uppercase;
  overflow: hidden;
  transition: all 0.3s ease;
  font-family: 'Raleway', sans-serif;
  border-radius: 2px;
}

.btn-bg {
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #7F77DD, #534AB7);
  transition: left 0.4s ease;
  z-index: 1;
}

.btn-text,
.btn-icon,
.btn-arrow {
  position: relative;
  z-index: 2;
  color: #AFA9EC;
  transition: all 0.3s ease;
}

.btn-icon  { font-size: 14px; }
.btn-arrow { font-size: 12px; transition: transform 0.3s ease; }

.btn:hover .btn-bg    { left: 0; }
.btn:hover .btn-text,
.btn:hover .btn-icon,
.btn:hover .btn-arrow { color: #fff; }
.btn:hover .btn-arrow { transform: translateX(5px); }
.btn:hover {
  box-shadow: 0 4px 24px rgba(127, 119, 221, 0.4);
}
.btn:active { transform: scale(0.98); }

/* 소셜 버튼 */
.social-wrapper {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(127, 119, 221, 0.15);
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(127, 119, 221, 0.3);
  background: rgba(127, 119, 221, 0.08);
  color: #7F77DD;
  font-size: 21px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.social-btn i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

/* Telegram */
.social-btn.telegram:hover { border-color: #0088cc; color: #fff; box-shadow: 0 2px 16px rgba(0,136,204,0.3); }
.social-btn.telegram::before { background: #0088cc; }
.social-btn.telegram:hover::before { opacity: 1; }

/* Instagram */
.social-btn.instagram:hover { border-color: #e1306c; color: #fff; box-shadow: 0 2px 16px rgba(225,48,108,0.3); }
.social-btn.instagram::before { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.instagram:hover::before { opacity: 1; }

/* YouTube */
.social-btn.youtube:hover { border-color: #ff0000; color: #fff; box-shadow: 0 2px 16px rgba(255,0,0,0.3); }
.social-btn.youtube::before { background: #ff0000; }
.social-btn.youtube:hover::before { opacity: 1; }

.social-btn:hover { transform: translateY(-2px); }

/* 푸터 */
.tech-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(127, 119, 221, 0.12);
  font-size: 11px;
  color: #AFA9EC;
  letter-spacing: 1.5px;
  font-family: 'Raleway', sans-serif;
}

.footer-divider { color: #3C3489; }
.footer-status  { color: #22c55e; text-transform: uppercase; }

/* 반응형 */
@media (max-width: 600px) {
  .container { padding: 30px 20px; }
  .subtitle { font-size: 11px; letter-spacing: 4px; }
  .status-panel { padding: 13px 15px; }
  .desc { font-size: 15px; }
  .btn { padding: 13px 32px; font-size: 14px; }
  .circle { opacity: 0.3; }
}
