:root {
  --text-main: #fff9ff;
  --text-muted: #d7c7f4;
  --accent: #9a5cff;
  --accent-dark: #7b42dc;
  --accent-soft: rgba(239, 231, 255, 0.16);
  --line: rgba(219, 202, 255, 0.24);
  --telegram-blue: #1f9bd7;
  color: var(--text-main);
  font-family: "Noto Sans KR", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow-x: hidden;
  background: #11091f;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
}

.landing-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(20px, 4vw, 48px);
  isolation: isolate;
}

.landing-shell::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(135deg, rgba(24, 10, 44, 0.7), rgba(73, 35, 123, 0.42)),
    url("./assets/img/landing-hero.png");
  background-position: center;
  background-size: cover;
  filter: blur(6px) saturate(0.9) brightness(0.42);
  transform: scale(1.12);
}

.landing-shell::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 50% 44%, rgba(143, 85, 238, 0.34), transparent 34%),
    linear-gradient(90deg, rgba(17, 9, 31, 0.98), rgba(35, 16, 62, 0.92), rgba(17, 9, 31, 0.98)),
    linear-gradient(180deg, rgba(17, 9, 31, 0.42), rgba(17, 9, 31, 0.96));
}

.landing-shell::before,
.landing-shell::after {
  pointer-events: none;
}

.background-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.background-pattern::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23d8c6ff' stroke-opacity='.13' stroke-width='1.2'%3E%3Cpath d='M34 110l36-36 36 36-36 36z'/%3E%3Cpath d='M152 42v44M130 64h44' stroke-linecap='round'/%3E%3Ccircle cx='154' cy='158' r='29'/%3E%3C/g%3E%3Cg fill='%23d8c6ff' fill-opacity='.12'%3E%3Ccircle cx='32' cy='34' r='2.2'/%3E%3Ccircle cx='198' cy='92' r='2.2'/%3E%3Ccircle cx='94' cy='190' r='2.2'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(circle at 18% 20%, rgba(216, 198, 255, 0.09) 0 2px, transparent 3px),
    radial-gradient(circle at 74% 26%, rgba(255, 255, 255, 0.06) 0 2px, transparent 3px),
    radial-gradient(circle at 35% 74%, rgba(143, 85, 238, 0.1) 0 2px, transparent 3px),
    linear-gradient(135deg, transparent 0 46%, rgba(216, 198, 255, 0.035) 46% 47%, transparent 47% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(143, 85, 238, 0.025) 48% 49%, transparent 49% 100%);
  background-position: 0 0, 0 0, 28px 18px, 0 0, 0 0, 0 0;
  background-size: 220px 220px, 118px 118px, 168px 168px, 144px 144px, 92px 92px, 132px 132px;
  transform: rotate(-10deg) scale(1.18);
  transform-origin: center;
}

.pattern-mark {
  position: absolute;
  display: block;
  opacity: 0.22;
}

.pattern-mark-diamond {
  width: clamp(54px, 8vw, 104px);
  height: clamp(54px, 8vw, 104px);
  border: 1px solid rgba(216, 198, 255, 0.18);
  background: rgba(216, 198, 255, 0.055);
  transform: rotate(45deg);
}

.pattern-mark-plus {
  width: clamp(54px, 8vw, 110px);
  height: clamp(54px, 8vw, 110px);
}

.pattern-mark-plus::before,
.pattern-mark-plus::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 12%;
  border-radius: 999px;
  background: rgba(216, 198, 255, 0.18);
  content: "";
  transform: translate(-50%, -50%);
}

.pattern-mark-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.pattern-mark-ring {
  width: clamp(62px, 9vw, 122px);
  height: clamp(62px, 9vw, 122px);
  border: 2px solid rgba(216, 198, 255, 0.13);
  border-radius: 999px;
  box-shadow: inset 0 0 30px rgba(143, 85, 238, 0.08);
}

.pattern-mark:nth-child(1) {
  left: 15%;
  top: 18%;
}

.pattern-mark:nth-child(2) {
  right: 12%;
  top: 20%;
  transform: rotate(-9deg);
}

.pattern-mark:nth-child(3) {
  right: 22%;
  bottom: 18%;
}

.pattern-mark:nth-child(4) {
  left: 8%;
  bottom: 24%;
  transform: rotate(-7deg);
}

.pattern-mark:nth-child(5) {
  right: 9%;
  bottom: 34%;
  transform: rotate(11deg);
}

.pattern-mark:nth-child(6) {
  left: 28%;
  top: 34%;
}

.landing-card {
  position: relative;
  width: min(560px, 100%);
  min-width: 0;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(195, 179, 223, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 243, 251, 0.92));
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    0 24px 80px rgba(4, 2, 12, 0.36);
  backdrop-filter: blur(10px);
}

.landing-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  content: "";
}

.brand,
.eyebrow,
h1,
.hero-copy,
.hero-actions,
.access-status {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto clamp(22px, 4vw, 34px);
}

.brand img {
  display: block;
  width: clamp(188px, 36vw, 270px);
  height: auto;
  object-fit: contain;
  filter: hue-rotate(276deg) saturate(1.22) brightness(1.08) drop-shadow(0 10px 28px rgba(143, 85, 238, 0.28));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  margin: 0 0 13px;
  padding: 0 11px;
  border: 1px solid rgba(143, 85, 238, 0.22);
  border-radius: 999px;
  background: rgba(239, 231, 255, 0.92);
  color: var(--accent-dark);
  font-family: "Inter", "Noto Sans KR", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  color: #211d2d;
  font-size: clamp(38px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0;
  word-break: keep-all;
  text-shadow: none;
}

h1 span {
  display: block;
}

.hero-copy {
  margin: 16px auto 0;
  color: #756985;
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 800;
  line-height: 1.62;
  word-break: keep-all;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 26px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 8px;
  font-weight: 900;
  min-width: 0;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.primary-button {
  border: 1px solid rgba(216, 198, 255, 0.28);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(143, 85, 238, 0.32);
}

.primary-button b {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-family: "Inter", "Noto Sans KR", sans-serif;
  font-size: 12px;
}

.secondary-button {
  gap: 9px;
  border: 1px solid rgba(118, 219, 255, 0.35);
  background: linear-gradient(180deg, rgba(245, 253, 255, 0.96), rgba(211, 242, 255, 0.94));
  color: #0b5c86;
}

.secondary-button img {
  width: 23px;
  height: 23px;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.access-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #756985;
  font-size: 12px;
  font-weight: 800;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #25c56a;
  box-shadow: 0 0 13px rgba(37, 197, 106, 0.68);
}

@media (max-width: 560px) {
  .landing-shell {
    align-items: center;
    padding: 18px 14px;
  }

  .landing-shell::before {
    background-position: center;
    transform: scale(1.18);
  }

  .landing-card {
    width: calc(100% - 16px);
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding: 25px 18px;
  }

  .brand {
    margin-bottom: 24px;
  }

  .brand img {
    width: 190px;
  }

  h1 {
    font-size: clamp(33px, 11vw, 42px);
  }

  h1 span {
    display: block;
  }

  .hero-copy {
    font-size: 15px;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .primary-button,
  .secondary-button {
    min-height: 50px;
    width: 100%;
  }

  .primary-button span,
  .secondary-button span {
    min-width: 0;
  }
}
