:root {
  --bg-black: #050507;
  --ink-light: #ececf3;
  --ink-soft: #c8c8d3;
  --ink-muted: #9493a0;
  --charcoal: #191a20;
  --gunmetal: #262830;
  --purple-bright: #8f4ccf;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Rajdhani", sans-serif;
  color: var(--ink-light);
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
  background: #030409;
}

body.index-page {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
}

body.index-page .under-construction {
  height: 100dvh;
  min-height: 100dvh;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  overflow: hidden;
}

body.index-page .tw-footer {
  margin-top: 0.95rem;
}

.page-bg {
  position: fixed;
  inset: -1.5rem;
  z-index: -1;
  background:
    radial-gradient(circle at 0% 0%, rgba(143, 76, 207, 0.28) 0%, rgba(80, 34, 122, 0.2) 16%, transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(143, 76, 207, 0.24) 0%, rgba(80, 34, 122, 0.18) 18%, transparent 38%),
    linear-gradient(180deg, rgba(2, 2, 4, 0.66) 0%, rgba(3, 3, 6, 0.58) 100%),
    radial-gradient(circle at 50% -18%, rgba(143, 76, 207, 0.13), transparent 42%),
    radial-gradient(circle at 8% 84%, rgba(48, 40, 68, 0.2), transparent 34%),
    radial-gradient(circle at 92% 72%, rgba(143, 76, 207, 0.08), transparent 36%),
    url("../img/brown_leather_20-4K/brown_leather_20-4K/4K-leather_20_baseColor.jpeg"),
    radial-gradient(circle at 50% -18%, rgba(143, 76, 207, 0.1), transparent 42%),
    radial-gradient(circle at 8% 84%, rgba(48, 40, 68, 0.16), transparent 34%),
    radial-gradient(circle at 92% 72%, rgba(143, 76, 207, 0.06), transparent 36%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.012) 0,
      rgba(255, 255, 255, 0.012) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(180deg, #020204 0%, #030306 42%, #070911 100%);
  background-position: left top, right bottom, center, center, 8% 84%, 92% 72%, center, center, center, center;
  background-size: auto, auto, auto, auto, auto, auto, 1200px auto, auto, auto, auto;
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, no-repeat, repeat, repeat, repeat, no-repeat;
  background-blend-mode: screen, screen, normal, screen, multiply, screen, normal, soft-light, soft-light, normal;
  filter: blur(3px);
}

.under-construction {
  width: min(760px, 92vw);
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.32rem;
  padding: 2.5rem 1.6rem;
  position: relative;
}

.under-construction::before,
.under-construction::after {
  content: "";
  position: absolute;
  left: 50%;
  pointer-events: none;
  transform: translateX(-50%);
}

.under-construction::before {
  top: 12%;
  width: min(620px, 90%);
  height: min(520px, 62vh);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.48) 32%, rgba(0, 0, 0, 0.12) 62%, transparent 78%),
    radial-gradient(circle at 50% 40%, rgba(143, 76, 207, 0.16) 0%, transparent 54%);
  filter: blur(34px);
  opacity: 0.92;
  z-index: 0;
}

.under-construction::after {
  inset: auto;
  top: 22%;
  width: min(520px, 76%);
  height: min(360px, 44vh);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.34) 0%, transparent 72%);
  filter: blur(28px);
  opacity: 0.85;
  z-index: 0;
}

.logo-wrap {
  margin: 0 auto 1rem;
  width: min(188px, 42vw);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 50% 30%, #1a1623 0%, #090a10 74%);
  box-shadow:
    inset 0 0 0 6px rgba(9, 10, 14, 0.92),
    inset 0 0 28px rgba(143, 76, 207, 0.18),
    0 28px 42px rgba(0, 0, 0, 0.58);
  display: grid;
  place-items: center;
  padding: 0.72rem;
  position: relative;
  z-index: 1;
}

.main-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.92) brightness(0.96) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.72));
}

.status {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(0.8rem, 1vw, 0.94rem);
  color: var(--purple-bright);
  opacity: 0.74;
  position: relative;
  z-index: 1;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.72);
}

.title {
  margin: 0.35rem 0 0;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(2.2rem, 4.8vw, 3.9rem);
  font-weight: 700;
  line-height: 1.08;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.14),
    0 16px 34px rgba(0, 0, 0, 0.72);
  position: relative;
  z-index: 1;
}

.subtitle {
  margin: 0.9rem auto 0;
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.62);
}

.divider {
  width: min(280px, 50vw);
  height: 1px;
  margin: 1.35rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(143, 76, 207, 0.68), transparent);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.46);
}

.footer-note {
  margin: 0.9rem 0 0;
  color: var(--ink-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.56);
}

.page-actions {
  margin: 0.85rem 0 0;
  position: relative;
  z-index: 1;
}

.text-link {
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  border-bottom: 1px solid rgba(143, 76, 207, 0.52);
  padding-bottom: 0.2rem;
  font-size: 0.84rem;
  text-shadow: 0 8px 16px rgba(0, 0, 0, 0.54);
}

.text-link:hover,
.text-link:focus {
  color: var(--ink-light);
  border-bottom-color: rgba(143, 76, 207, 0.9);
}

.invite-btn {
  display: inline-block;
  margin-top: 0.2rem;
  border: 1px solid rgba(143, 76, 207, 0.72);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(143, 76, 207, 0.34) 0%, rgba(74, 35, 112, 0.28) 100%);
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-decoration: none;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.72rem 1rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.42);
}

.invite-btn:hover,
.invite-btn:focus {
  border-color: rgba(143, 76, 207, 1);
  color: #ffffff;
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 760px) {
  body.index-page .under-construction {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .under-construction {
    padding-top: 1.8rem;
    padding-bottom: 1.8rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .under-construction::before {
    width: min(460px, 96%);
    height: min(420px, 54vh);
    top: 16%;
  }

  .under-construction::after {
    width: min(380px, 82%);
    height: min(280px, 36vh);
    top: 26%;
  }

  .logo-wrap {
    width: min(168px, 44vw);
  }

  .title {
    letter-spacing: 0.14em;
  }
}
