* {
  box-sizing: border-box;
}

:root {
  --bg-left: #e2a5c8;
  --bg-mid: #ad9dde;
  --bg-right: #9fd5ee;
  --card-shadow: 0 18px 44px rgba(73, 62, 130, 0.045);
  --logo-filter: none;
  --card-filter: none;
  --lock-tone: rgba(255, 255, 255, 0.68);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 11% 26%, rgba(255, 203, 230, 0.34), transparent 25%),
    radial-gradient(circle at 51% 34%, rgba(202, 184, 247, 0.2), transparent 28%),
    radial-gradient(circle at 89% 27%, rgba(190, 246, 248, 0.3), transparent 24%),
    linear-gradient(110deg, var(--bg-left) 0%, var(--bg-mid) 48%, var(--bg-right) 100%);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: background 420ms ease;
}

body[data-theme="mono"] {
  --bg-left: #d5ccd3;
  --bg-mid: #b5b7c2;
  --bg-right: #d4dde3;
  --card-shadow: 0 18px 44px rgba(31, 33, 39, 0.06);
  --logo-filter: grayscale(1) saturate(0) contrast(0.92) brightness(0.98);
  --card-filter: grayscale(1) saturate(0) contrast(0.94) brightness(1.04);
  --lock-tone: rgba(255, 255, 255, 0.78);
}

body[data-theme="mono"]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 22%, rgba(244, 232, 241, 0.34), transparent 26%),
    radial-gradient(circle at 84% 26%, rgba(222, 237, 242, 0.28), transparent 24%),
    linear-gradient(115deg, rgba(173, 164, 178, 0.18), rgba(255, 255, 255, 0.08) 48%, rgba(150, 163, 174, 0.14));
}

.page-shell {
  width: 100%;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2.2rem 1.5rem 2.4rem;
  position: relative;
}

.theme-bulb {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 auto 1.1rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 40px rgba(73, 62, 130, 0.04);
  cursor: pointer;
  backdrop-filter: blur(10px) saturate(118%);
  -webkit-backdrop-filter: blur(10px) saturate(118%);
}

.theme-bulb:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.72);
  outline-offset: 0.3rem;
}

.theme-bulb svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    stroke 220ms ease,
    filter 220ms ease;
}

.bulb-glass,
.bulb-base {
  stroke: rgba(255, 250, 202, 0.94);
  stroke-width: 1.7;
}

.bulb-rays {
  stroke: rgba(255, 244, 170, 0.88);
  stroke-width: 1.55;
  filter: drop-shadow(0 0 10px rgba(255, 234, 132, 0.42));
}

body[data-theme="mono"] .bulb-glass,
body[data-theme="mono"] .bulb-base {
  stroke: rgba(255, 255, 255, 0.62);
}

body[data-theme="mono"] .bulb-rays {
  stroke: rgba(255, 255, 255, 0.2);
  opacity: 0.18;
  filter: none;
}

.theme-bulb:hover svg {
  transform: scale(1.04);
}

.landing-image {
  display: block;
  width: min(360px, calc(100vw - 3rem));
  max-width: 360px;
  height: auto;
  opacity: 0.68;
  object-fit: contain;
  filter: var(--logo-filter);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 93%, transparent 100%);
  transition:
    filter 420ms ease,
    opacity 420ms ease,
    transform 180ms ease;
}

.area-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  width: min(840px, calc(100% - 3rem));
  margin-top: 2.5rem;
}

.area-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
}

.area-link {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.card-frame {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 42px;
  overflow: hidden;
  isolation: isolate;
}

.card-frame::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: inherit;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.22),
    inset 0 -1px 2px rgba(255, 255, 255, 0.1);
}

.card-frame::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 2;
  pointer-events: none;
  border-radius: calc(42px - 2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), transparent 36%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.065), transparent 38%);
}

.area-link:hover,
.area-link:focus-visible {
  transform: translateY(-4px);
}

.area-card-art {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.72;
  mix-blend-mode: screen;
  filter: var(--card-filter) drop-shadow(var(--card-shadow));
  clip-path: inset(5.5% round 34px);
  transform: scale(1.14);
  transition:
    filter 420ms ease,
    opacity 420ms ease,
    transform 180ms ease;
}

.area-link--private .area-card-art {
  mix-blend-mode: normal;
  opacity: 0.8;
}

body[data-theme="mono"] .area-link--private .area-card-art {
  mix-blend-mode: screen;
  opacity: 0.72;
}

.area-link:hover .area-card-art,
.area-link:focus-visible .area-card-art {
  opacity: 0.72;
  transform: scale(1.14);
}

.instagram-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  min-height: 2.15rem;
  padding: 0.42rem 0.78rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 10px 28px rgba(72, 62, 130, 0.025);
  backdrop-filter: blur(14px) saturate(112%);
  -webkit-backdrop-filter: blur(14px) saturate(112%);
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.instagram-pill:hover,
.instagram-pill:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.84);
  transform: translateY(-3px);
}

.instagram-pill svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
}

.lock-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.95rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--lock-tone);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: color 420ms ease;
}

.lock-badge svg {
  width: 1rem;
  height: 1rem;
}

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-top: 2.8rem;
}

.scroll-cue span {
  width: 1rem;
  height: 1rem;
  border-right: 2px solid rgba(255, 255, 255, 0.32);
  border-bottom: 2px solid rgba(255, 255, 255, 0.32);
  transform: rotate(45deg);
}

@media (max-width: 860px) {
  .hero {
    padding: 1.6rem 1rem 2rem;
  }

  .landing-image {
    width: min(330px, calc(100vw - 2rem));
    max-width: 330px;
  }

  .theme-bulb {
    margin: 1.6rem auto 1.1rem;
  }

  .area-nav {
    width: min(100%, 430px);
    margin-top: 2rem;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 1.2rem 0.85rem 1.4rem;
  }

  .landing-image {
    width: min(290px, calc(100vw - 1.5rem));
    max-width: 290px;
  }

  .theme-bulb {
    margin: 1rem auto 1.1rem;
  }

  .area-nav {
    width: 100%;
    gap: 1rem;
    margin-top: 1.7rem;
  }

  .area-link {
    width: 100%;
  }
}
