:root {
  color-scheme: dark;
  font-family: "Inter", "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --text: #f8fbff;
  --muted: rgba(236, 246, 255, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --glass: rgba(8, 17, 27, 0.48);
  --cyan: #22dff7;
  --blue: #2b79ff;
  --orange: #ff8b3d;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: #05080d;
  color: var(--text);
}

a,
button {
  font: inherit;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 54px 20px 64px;
  isolation: isolate;
}

.hero__media,
.hero__media img,
.hero__shade,
.hero__scan {
  position: absolute;
  inset: 0;
}

.hero__media {
  z-index: -2;
  background: #07111d;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  animation: cinematicDrift 18s ease-in-out infinite alternate;
}

.hero__shade {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 38%, rgba(23, 189, 229, 0.2), transparent 33%),
    linear-gradient(180deg, rgba(3, 7, 13, 0.35), rgba(3, 7, 13, 0.86)),
    linear-gradient(90deg, rgba(3, 7, 13, 0.62), transparent 30%, transparent 70%, rgba(3, 7, 13, 0.62));
}

.hero__scan {
  z-index: 2;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100% 5px;
  mask-image: linear-gradient(transparent, black 20%, black 74%, transparent);
}

.hero__content {
  width: min(720px, 100%);
  text-align: center;
  animation: contentRise 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.mascot {
  position: relative;
  width: clamp(180px, 24vw, 280px);
  margin: 0 auto 10px;
  filter: drop-shadow(0 24px 54px rgba(0, 0, 0, 0.52))
    drop-shadow(0 0 34px rgba(34, 223, 247, 0.2));
}

.mascot::after {
  content: none;
}

.mascot img {
  width: 100%;
  height: auto;
  display: block;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(204, 237, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.brand {
  margin: 0;
  font-size: clamp(56px, 9vw, 112px);
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.52);
}

.brand span {
  color: var(--cyan);
}

.brand strong {
  color: var(--orange);
  font-weight: inherit;
}

.headline {
  margin: 28px 0 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 800;
  letter-spacing: 0;
}

.summary {
  max-width: 620px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.75;
  word-break: keep-all;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.action {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 14px;
  padding: 16px 18px;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 54px var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.action:hover,
.action:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(34, 223, 247, 0.62);
  background: linear-gradient(135deg, rgba(43, 121, 255, 0.44), rgba(34, 223, 247, 0.13));
  outline: none;
}

.action--primary {
  background: linear-gradient(135deg, rgba(43, 121, 255, 0.64), rgba(34, 223, 247, 0.22));
}

.action__icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: #dffaff;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(3, 11, 20, 0.36);
}

.action__icon svg,
.action__icon img {
  width: 24px;
  height: 24px;
  display: block;
}

.action__icon svg {
  fill: currentColor;
}

.action__icon--telegram {
  color: #ffffff;
  background: linear-gradient(135deg, #25a8e0, #1686c8);
}

.action__icon--notice img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transform: scale(1.22);
}

.action b,
.action small {
  display: block;
}

.action b {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 17px;
  font-weight: 800;
}

.action small {
  margin-top: 3px;
  color: rgba(236, 246, 255, 0.62);
  font-size: 12px;
}

.status {
  position: fixed;
  z-index: 3;
  display: flex;
  align-items: center;
  top: 22px;
  right: 22px;
  gap: 18px;
  padding: 11px 14px;
  border-radius: 999px;
  color: rgba(236, 246, 255, 0.82);
  font-size: 13px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: 0 18px 40px var(--shadow);
  backdrop-filter: blur(18px);
}

.status div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4bff9b;
  box-shadow: 0 0 18px #4bff9b;
}

.status strong {
  color: #fff;
  font-size: 12px;
}

@keyframes cinematicDrift {
  from {
    transform: scale(1.045) translate3d(-0.8%, -0.6%, 0);
  }

  to {
    transform: scale(1.09) translate3d(0.8%, 0.4%, 0);
  }
}

@keyframes contentRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .hero {
    align-items: center;
    padding: 76px 16px 44px;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .action {
    min-height: 70px;
  }

  .status {
    left: 14px;
    right: 14px;
    justify-content: space-between;
  }

  .mascot {
    width: 156px;
    margin-bottom: 8px;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 52px;
  }

  .summary {
    font-size: 14px;
  }

  .action b {
    font-size: 16px;
  }
}

.admin-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 20% 10%, rgba(34, 223, 247, 0.18), transparent 34%),
    linear-gradient(135deg, #06111d, #05080d 62%, #11101a);
}

.admin-shell {
  width: min(1080px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 48px 20px;
}

.admin-login {
  width: min(640px, 100%);
  margin: 13vh auto 0;
}

.admin-kicker {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.admin-login h1,
.admin-header h1 {
  margin: 0 0 24px;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(30px, 5vw, 46px);
}

.admin-card {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 27, 0.66);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.admin-card legend {
  padding: 0 6px;
  color: #fff;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.admin-card label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: rgba(236, 246, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.admin-card input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  outline: none;
  font-size: 16px;
}

.admin-card input:focus {
  border-color: rgba(34, 223, 247, 0.72);
  box-shadow: 0 0 0 3px rgba(34, 223, 247, 0.12);
}

.admin-password-row,
.admin-actions,
.admin-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-password-row input {
  min-width: 0;
  flex: 1;
}

.admin-card button,
.admin-actions button,
.admin-header a {
  min-height: 56px;
  padding: 0 24px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(43, 121, 255, 0.78), rgba(34, 223, 247, 0.32));
  cursor: pointer;
}

.admin-password-row button {
  min-width: 132px;
}

.admin-header {
  justify-content: space-between;
  margin-bottom: 22px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
  margin-top: 8px;
}

.admin-actions button:first-child {
  background: rgba(255, 255, 255, 0.08);
}

.admin-error,
.admin-saved {
  margin: 14px 0 0;
  color: #ffcf7a;
  font-weight: 800;
}

.admin-saved {
  grid-column: 1 / -1;
  text-align: right;
}

@media (max-width: 760px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-header,
  .admin-password-row,
  .admin-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-header a,
  .admin-actions button,
  .admin-card button {
    display: inline-grid;
    place-items: center;
    width: 100%;
  }
}
