
:root {
  --bg: #050a35;
  --deep: #07146b;
  --blue: #1c63ff;
  --cyan: #54d9ff;
  --violet: #6b35ff;
  --purple: #9238ff;
  --pink: #f249d6;
  --peach: #ffc27b;
  --text: #ffffff;
  --muted: rgba(235, 240, 255, .78);
  --glass: rgba(255, 255, 255, .105);
  --glass-strong: rgba(255, 255, 255, .16);
  --line: rgba(255, 255, 255, .18);
  --shadow: 0 30px 80px rgba(1, 4, 42, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 101, 190, .9) 0 13%, rgba(255, 157, 105, .34) 20%, transparent 40%),
    radial-gradient(circle at 45% 55%, rgba(98, 57, 255, .88), transparent 32%),
    radial-gradient(circle at 6% 80%, rgba(0, 180, 255, .5), transparent 22%),
    linear-gradient(125deg, #03082e 0%, #071f85 34%, #5526b7 66%, #f13eaa 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: -1;
  filter: blur(4px);
}

body::before {
  width: 54vw;
  height: 54vw;
  left: 40%;
  top: 18%;
  border-radius: 42% 58% 50% 50%;
  background: radial-gradient(circle at 50% 50%, rgba(150, 96, 255, .25), transparent 60%);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 0 75px rgba(255,255,255,.12), 0 0 80px rgba(82,195,255,.2);
}

body::after {
  width: 48vw;
  height: 48vw;
  right: -10%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 202, 151, .48), rgba(255, 77, 204, .2) 45%, transparent 70%);
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  padding: 10px 14px;
  background: #fff;
  color: #111;
  border-radius: 10px;
}
.skip-link:focus { left: 10px; z-index: 100; }

.site-shell {
  width: min(1840px, 100%);
  margin: 0 auto;
  padding: 24px clamp(18px, 4vw, 48px) 42px;
}

.glass-card,
.glass-pill {
  background: linear-gradient(135deg, rgba(255,255,255,.17), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.22);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.topbar {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px 44px;
  border-radius: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-weight: 900;
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  letter-spacing: .02em;
}
.brand img {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  box-shadow: 0 12px 30px rgba(54, 102, 255, .42);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  font-size: clamp(.98rem, 1.25vw, 1.28rem);
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.nav-menu a {
  transition: .22s ease;
}
.nav-menu a:hover { color: #fff; text-shadow: 0 0 18px rgba(255,255,255,.35); }

.mobile-only { display: none; }

.login-button {
  justify-self: end;
  min-height: 58px;
  padding: 0 32px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-weight: 800;
  font-size: clamp(1rem, 1.1vw, 1.18rem);
  background: linear-gradient(135deg, rgba(30, 181, 255, .92), rgba(114, 70, 255, .86), rgba(255, 88, 198, .94));
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: 0 0 30px rgba(91, 208, 255, .35), inset 0 1px 0 rgba(255,255,255,.45);
}
.user-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 12px 12px;
  position: relative;
}
.user-icon::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: 9px;
  height: 9px;
  transform: translateX(-50%);
  border: 2px solid currentColor;
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 40px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: #fff;
  border-radius: 99px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(420px, 47%) minmax(520px, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 50px);
  min-height: calc(100vh - 155px);
  padding: clamp(54px, 6vw, 86px) 0 58px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.badge {
  width: fit-content;
  max-width: 100%;
  padding: 12px 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.88);
  font-size: clamp(.76rem, 1vw, 1rem);
  white-space: nowrap;
}
.badge i {
  width: 4px;
  height: 4px;
  background: #ff72d6;
  border-radius: 99px;
  box-shadow: 0 0 10px #ff72d6;
}

h1 {
  margin: 42px 0 20px;
  font-size: clamp(4.1rem, 6.25vw, 7.7rem);
  line-height: .98;
  letter-spacing: -.07em;
  font-weight: 900;
}
h1 span {
  background: linear-gradient(100deg, #ff5fe8 5%, #8957ff 48%, #79b6ff 92%);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-subtitle {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.2rem, 1.65vw, 1.8rem);
  line-height: 1.45;
  margin: 0 0 32px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 44px;
}
.btn {
  min-width: 230px;
  height: 72px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  font-weight: 850;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary {
  background: linear-gradient(135deg, #00c8ff 0%, #643cff 45%, #ff4edf 100%);
  box-shadow: 0 20px 45px rgba(255, 59, 221, .26), 0 0 36px rgba(58, 209, 255, .35);
  border: 1px solid rgba(255,255,255,.4);
}
.btn-primary span {
  width: 45px;
  height: 45px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.25);
}
.btn-secondary {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}
.play-dot {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 99px;
  position: relative;
}
.play-dot::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 9px;
  border-left: 9px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.feature-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 780px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.feature-icon {
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 12px 26px rgba(1,4,42,.22);
}
.feature-item p {
  margin: 0;
  display: grid;
  gap: 2px;
  font-size: clamp(.95rem, 1.1vw, 1.16rem);
}
.feature-item small {
  color: rgba(255,255,255,.78);
  font-weight: 600;
}
.divider {
  width: 1px;
  height: 54px;
  background: rgba(255,255,255,.24);
}

.phone-stage {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.glow-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.orb-one {
  width: 620px;
  height: 620px;
  left: 2%;
  top: 9%;
  background: radial-gradient(circle, rgba(77, 104, 255, .28), transparent 64%);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 0 80px rgba(255,255,255,.1), 0 0 60px rgba(70, 210, 255, .18);
}
.orb-two {
  width: 520px;
  height: 520px;
  right: 0;
  top: 4%;
  background: radial-gradient(circle, rgba(255,198,139,.24), rgba(255,64,203,.18), transparent 70%);
}

.phone {
  width: min(310px, 42vw);
  min-height: 610px;
  position: relative;
  z-index: 2;
  border-radius: 38px;
  padding: 26px 18px 17px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(242,232,255,.9)),
    linear-gradient(135deg, rgba(117,95,255,.25), rgba(255,103,207,.15));
  border: 7px solid #17152a;
  color: #151033;
  box-shadow: 0 35px 70px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.55);
  transform-style: preserve-3d;
}
.phone::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 44px;
  background: linear-gradient(135deg, rgba(255,255,255,.2), transparent 40%, rgba(255,116,223,.2));
  z-index: -1;
  filter: blur(1px);
}
.phone-notch {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 78px;
  height: 24px;
  border-radius: 999px;
  background: #050414;
  transform: translateX(-50%);
}
.phone-chat {
  transform: rotate(7deg) translateX(24px);
}
.phone-community {
  margin-left: -8px;
  transform: rotate(6deg) translateX(14px) translateY(18px);
}
.phone-head {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  color: #3d35cc;
  align-items: center;
}
.phone-head strong {
  font-size: 1.18rem;
}
.phone-head span {
  color: rgba(33, 28, 85, .72);
  letter-spacing: .28em;
}
.room-card {
  margin: 18px 0 20px;
  padding: 10px 12px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(90, 57, 204, .07);
  border: 1px solid rgba(90, 57, 204, .08);
}
.hash, .job-logo {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #3565ff, #7b36ff);
}
.room-card small { display: block; color: #18a967; font-size: .68rem; margin-top: 2px; }
.room-card em { margin-left: auto; font-style: normal; color: rgba(0,0,0,.4); }

.chat-line {
  display: flex;
  gap: 10px;
  margin: 14px 0;
  align-items: flex-start;
}
.chat-line.right {
  justify-content: flex-end;
}
.chat-line p {
  margin: 0;
  padding: 12px 14px;
  max-width: 190px;
  border-radius: 18px;
  line-height: 1.25;
  font-weight: 700;
  background: #fff;
  box-shadow: 0 10px 24px rgba(35, 21, 94, .08);
}
.chat-line.right p {
  background: linear-gradient(135deg, #a87cff, #7c4af4);
  color: #fff;
}
.chat-line small { font-size: .64rem; color: rgba(33,28,85,.66); font-weight: 700; }
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 99px;
  display: inline-block;
  background: linear-gradient(135deg, #3a2454, #e9a77a);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.72);
}
.avatar-two { background: linear-gradient(135deg, #6c2d73, #ffb78a); }
.privacy-note {
  font-size: .72rem;
  color: rgba(33,28,85,.5);
  margin: 17px 0;
}
.message-box {
  display: grid;
  grid-template-columns: 33px 1fr 38px;
  gap: 9px;
  align-items: center;
  margin-top: 18px;
}
.message-box span,
.message-box button {
  border: 0;
  width: 33px;
  height: 33px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: rgba(112,72,255,.1);
  color: #5b35f4;
}
.message-box button {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #6f45ff, #4d20de);
  color: #fff;
}
.message-box input {
  min-width: 0;
  border: 0;
  outline: 0;
  height: 36px;
  border-radius: 99px;
  padding: 0 12px;
  color: rgba(33,28,85,.6);
  background: rgba(255,255,255,.75);
}
.phone-tabs {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(64,44,120,.08);
  display: flex;
  justify-content: space-between;
  font-size: .65rem;
  color: rgba(33,28,85,.62);
}
.phone-tabs b { color: #5030ff; }
.phone-tabs-5 {
  align-items: center;
}
.phone-tabs-5 strong {
  width: 42px;
  height: 42px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #6f45ff, #4d20de);
  color: #fff;
  font-size: 1.4rem;
}

.chips {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}
.chips span,
.chips b {
  padding: 8px 11px;
  border-radius: 999px;
  font-size: .72rem;
  background: rgba(255,255,255,.65);
  color: rgba(33,28,85,.6);
}
.chips b {
  background: linear-gradient(135deg, #6f45ff, #4d20de);
  color: #fff;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 13px 0 11px;
}
.section-title b { font-size: .9rem; }
.section-title a { color: #5630d9; font-size: .72rem; font-weight: 800; }
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.mini-card {
  min-height: 132px;
  border-radius: 20px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(244,221,255,.7));
  box-shadow: 0 16px 25px rgba(39, 22, 92, .08);
  position: relative;
  overflow: hidden;
}
.mini-card b { display: block; line-height: 1.15; }
.mini-card small { display: block; color: #6945d8; margin-top: 8px; font-size: .68rem; }
.card-art {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 50px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #7b55ff, #3d75ff);
  box-shadow: 0 12px 20px rgba(62,62,190,.25);
}
.cap { transform: skew(-10deg); background: linear-gradient(135deg, #8d55ff, #d159ff); }

.job-card {
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  padding: 13px;
  margin: 10px 0;
  background: rgba(255,255,255,.68);
  box-shadow: 0 12px 22px rgba(39, 22, 92, .07);
}
.job-card p { margin: 0; }
.job-card small { display: block; font-size: .7rem; color: rgba(33,28,85,.56); margin-top: 4px; }
.job-card em { margin-left: auto; font-style: normal; color: #5d45d8; }
.figma {
  background: linear-gradient(135deg, #ff6d8f, #7e57ff, #25d6b2);
}

.explore-section,
.rules-section,
.about-section,
.join-section {
  margin: 30px 0;
}

.explore-section,
.rules-card,
.about-section,
.join-section {
  border-radius: 34px;
  padding: clamp(28px, 5vw, 62px);
}

.section-kicker {
  display: inline-flex;
  color: #7ff0ff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  margin-bottom: 12px;
}
h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.section-lead {
  max-width: 830px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  line-height: 1.6;
  margin: 18px 0 30px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.cards-grid article {
  min-height: 210px;
  border-radius: 26px;
  padding: 25px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}
.cards-grid span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.12);
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.cards-grid h3 { font-size: 1.2rem; margin: 0 0 10px; }
.cards-grid p { color: var(--muted); line-height: 1.55; margin: 0; }

.rules-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.rules-columns > div {
  border-radius: 28px;
  padding: 26px;
  background: rgba(255,255,255,.085);
  border: 1px solid rgba(255,255,255,.15);
}
.rules-columns h3 { margin: 0 0 16px; font-size: 1.35rem; }
.rules-columns ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.about-section,
.join-section {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 30px;
  align-items: center;
}
.about-section p,
.join-section p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.12rem;
}
.join-form {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.join-form input,
.join-form button {
  height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.22);
}
.join-form input {
  min-width: 240px;
  background: rgba(255,255,255,.1);
  color: #fff;
  padding: 0 18px;
  outline: 0;
}
.join-form input::placeholder { color: rgba(255,255,255,.58); }
.join-form button {
  padding: 0 26px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #00c8ff, #643cff 45%, #ff4edf);
  cursor: pointer;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 24px;
  color: rgba(255,255,255,.7);
  font-weight: 700;
}
.site-footer img {
  border-radius: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0,0,0,0);
  overflow: hidden;
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }
  .phone-stage {
    min-height: 610px;
    justify-content: flex-start;
    padding-left: 5vw;
  }
  .phone { width: min(310px, 44vw); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .site-shell { padding: 14px 14px 32px; }
  .topbar {
    grid-template-columns: 1fr auto auto;
    min-height: 76px;
    padding: 14px 16px;
    border-radius: 24px;
    position: sticky;
    top: 12px;
    z-index: 20;
  }
  .brand img { width: 44px; height: 44px; border-radius: 14px; }
  .brand span { font-size: 1.35rem; }
  .nav-toggle { display: block; order: 3; }
  .login-button {
    min-height: 44px;
    padding: 0 16px;
    font-size: .92rem;
  }
  .user-icon { display: none; }
  .nav-menu {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);
    padding: 18px;
    border-radius: 22px;
    background: rgba(6,12,62,.88);
    border: 1px solid rgba(255,255,255,.18);
    backdrop-filter: blur(22px);
  }
  .nav-menu.is-open {
    display: grid;
    gap: 15px;
  }
  .mobile-only { display: block; }
  .hero {
    gap: 14px;
    padding-top: 38px;
  }
  h1 { margin-top: 28px; font-size: clamp(3.25rem, 16vw, 5.5rem); }
  .badge { white-space: normal; border-radius: 24px; }
  .hero-actions { gap: 14px; }
  .btn { min-width: min(100%, 210px); height: 62px; border-radius: 20px; }
  .feature-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
  .divider { display: none; }
  .phone-stage {
    min-height: 520px;
    padding: 0;
    justify-content: center;
    transform: scale(.9);
    transform-origin: top center;
  }
  .phone { width: 285px; min-height: 560px; }
  .phone-community { display: none; }
  .phone-chat { transform: rotate(4deg); }
  .about-section,
  .join-section,
  .rules-columns {
    grid-template-columns: 1fr;
  }
  .join-form { justify-content: stretch; }
}

@media (max-width: 620px) {
  body::after { width: 90vw; height: 90vw; }
  .login-button { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .nav-toggle { order: initial; }
  .hero { min-height: auto; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .phone-stage {
    min-height: 450px;
    transform: scale(.78);
    margin-top: -10px;
  }
  .cards-grid { grid-template-columns: 1fr; }
  .explore-section,
  .rules-card,
  .about-section,
  .join-section { border-radius: 26px; padding: 24px; }
  .join-form { flex-direction: column; }
  .join-form input,
  .join-form button { width: 100%; }
}
