/* OH-Hub · oh-hub.com · coming-soon page. Colours, panels and backdrop follow the main site. */
:root {
  --cyan: 0 240 255;
  --red: 255 59 84;
  --bg: #05070C;
  --text: #E2E8F0;
  --muted: #94A3B8;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- space backdrop (transform / opacity only) ---------- */
.space { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; background: linear-gradient(180deg, #03050b 0%, #060a16 55%, #0a0710 100%); }
.nebula {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 12% 8%, rgba(0, 200, 230, .20), transparent 70%),
    radial-gradient(ellipse 50% 40% at 92% 30%, rgba(0, 150, 200, .12), transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(255, 50, 80, .20), transparent 70%),
    radial-gradient(ellipse 45% 35% at 5% 90%, rgba(255, 50, 80, .10), transparent 70%);
}
.hex {
  position: absolute; inset: 0; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 2 54 17v30L28 62 2 47V17zM28 62v35M2 47 0 48M54 47l2 1' fill='none' stroke='%2300f0ff' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 0%, transparent 75%);
}
.star-wrap { position: absolute; inset: 0; will-change: opacity; }
.star-layer { position: absolute; top: 0; left: 0; border-radius: 50%; will-change: transform; animation: star-drift 240s linear infinite; }
.star-a { animation: twinkle 6s ease-in-out infinite; }
.star-b { animation: twinkle 8s ease-in-out -3s infinite; }
.star-c { animation: twinkle 10s ease-in-out -1.5s infinite; }
.star-d { animation: twinkle-soft 12s ease-in-out -6s infinite; }
.star-b .star-layer { animation-duration: 170s; }
.star-c .star-layer { animation-duration: 120s; }
.star-d .star-layer { animation-duration: 90s; }
.shooting-star {
  position: absolute; width: 110px; height: 1.5px; opacity: 0; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(0, 240, 255, .9));
  transform: rotate(-35deg);
}
.shooting-star.s1 { top: 12%; left: 62%; animation: shoot 11s ease-in 3s infinite; }
.shooting-star.s2 { top: 38%; left: 24%; animation: shoot 17s ease-in 9s infinite; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 90, 110, .9)); }
@keyframes star-drift { to { transform: translate3d(0, -100vh, 0); } }
@keyframes twinkle { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
@keyframes twinkle-soft { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }
@keyframes shoot {
  0% { opacity: 0; transform: rotate(-35deg) translate3d(0, 0, 0); }
  2% { opacity: 1; }
  8%, 100% { opacity: 0; transform: rotate(-35deg) translate3d(-420px, 0, 0); }
}

/* ---------- layout ---------- */
.page {
  position: relative; z-index: 1;
  width: 100%; max-width: 760px; min-height: 100vh; min-height: 100dvh;
  margin: 0 auto; padding: 56px 16px 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}

/* logo: the eye + the cyan / red glitch wordmark */
.brand { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.eye { width: 96px; height: 96px; filter: drop-shadow(0 0 18px rgb(var(--cyan) / .35)); }
.wordmark {
  position: relative; display: inline-block;
  font-family: 'Orbitron', sans-serif; font-weight: 900; font-size: 1.6rem; letter-spacing: .08em; color: #fff;
}
.wordmark::before, .wordmark::after { content: attr(data-text); position: absolute; inset: 0; opacity: .9; pointer-events: none; }
.wordmark::before { color: #00F0FF; transform: translateX(-1.5px); clip-path: inset(0 0 55% 0); }
.wordmark::after { color: #FF2E4D; transform: translateX(1.5px); clip-path: inset(55% 0 0 0); }

.hero { margin-top: clamp(40px, 9vh, 88px); }
.label {
  margin: 0 0 14px;
  font-family: 'JetBrains Mono', monospace; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgb(var(--cyan) / .75);
}
h1 {
  margin: 0;
  font-family: 'Orbitron', sans-serif; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 4.6rem); line-height: 1.05; letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 0 22px rgb(var(--cyan) / .45), 0 0 60px rgb(var(--cyan) / .18);
}
.tuned {
  margin: 18px 0 0;
  font-family: 'Orbitron', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: clamp(.95rem, 3.4vw, 1.35rem); letter-spacing: .32em;
  color: rgb(var(--red));
  text-shadow: 0 0 16px rgb(var(--red) / .45);
}
.tuned::after { content: '_'; margin-left: .1em; animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Discord button: glow panel with the Stardust lightning racing round it, in cyan ---------- */
.discord {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: clamp(36px, 7vh, 60px); padding: 16px 30px; max-width: 100%;
  border-radius: 20px;
  background: rgba(20, 22, 31, .94);
  border: 1px solid rgb(var(--cyan) / .35);
  box-shadow: 0 0 24px rgb(var(--cyan) / .18);
  color: #fff; text-decoration: none;
  font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: .06em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.discord svg { color: rgb(var(--cyan)); flex: none; }
.discord::after {
  content: ''; position: absolute; inset: -7px; pointer-events: none; z-index: -1;
  background: linear-gradient(115deg, rgb(var(--cyan)), #fff 22%, rgb(var(--cyan)) 45%, #9BE7FF 65%, #fff 80%, rgb(var(--cyan)));
  -webkit-mask: url('/fx/lightning.svg') 0 0 / 100% 100% no-repeat;
  mask: url('/fx/lightning.svg') 0 0 / 100% 100% no-repeat;
  opacity: .85;
  animation: crackle 2.2s steps(1, end) infinite;
}
.discord:hover { transform: translateY(-2px); border-color: rgb(var(--cyan) / .7); box-shadow: 0 0 34px rgb(var(--cyan) / .35); }
.discord:focus-visible { outline: 2px solid rgb(var(--cyan)); outline-offset: 10px; }
@keyframes crackle { 0%, 30%, 34%, 61%, 64%, 85%, 88%, 100% { opacity: .85; } 32% { opacity: .25; } 33% { opacity: .8; } 62% { opacity: .35; } 86% { opacity: .5; } }

/* ---------- teaser: glass panel topped with the Stardust city banner ---------- */
.teaser {
  width: 100%; margin-top: clamp(48px, 9vh, 80px);
  border-radius: 18px; overflow: hidden; text-align: left;
  background: rgba(20, 22, 31, .92);
  border: 1px solid rgb(var(--cyan) / .18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}
.teaser-banner {
  height: 120px;
  background: url('/banners/stardust-city.svg') center 22% / cover no-repeat, #0b1230;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
  mask-image: linear-gradient(180deg, #000 55%, transparent);
  opacity: .85;
}
.teaser h2 {
  margin: -18px 22px 4px; position: relative;
  font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgb(var(--cyan));
}
/* each feature is a small card in its own colour (--c): fades in one after another, a light sweep passes over them in turn, icons breathe */
.teaser ul { list-style: none; margin: 0; padding: 14px 22px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.teaser li {
  --c: var(--cyan);
  position: relative; overflow: hidden; min-width: 0;
  display: flex; align-items: flex-start; gap: 14px; padding: 14px 14px 14px 16px;
  border-radius: 12px;
  background:
    radial-gradient(120% 90% at 0% 0%, rgb(var(--c) / .2), transparent 60%),
    linear-gradient(135deg, rgb(var(--c) / .08), rgba(255, 255, 255, .015) 70%);
  border: 1px solid rgb(var(--c) / .25);
  animation: rise .6s cubic-bezier(.2, .7, .3, 1) backwards;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* coloured edge on the left */
.teaser li::after {
  content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0;
  background: rgb(var(--c)); box-shadow: 0 0 12px rgb(var(--c) / .8);
}
.teaser li::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(var(--c) / .22) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 160% 0;
  animation: sweep 9.8s ease-in-out infinite;
}
.teaser li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.teaser li:hover { transform: translateY(-3px); border-color: rgb(var(--c) / .6); box-shadow: 0 6px 26px rgb(var(--c) / .25); }

.teaser .ico {
  flex: none; display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 10px; color: rgb(var(--c));
  background: rgb(var(--c) / .14); border: 1px solid rgb(var(--c) / .45);
  animation: breathe 3.6s ease-in-out infinite;
  transition: color .25s ease, background-color .25s ease, transform .25s ease;
}
.teaser li:hover .ico { color: #fff; background: rgb(var(--c) / .5); transform: rotate(-8deg) scale(1.08); animation-play-state: paused; }
.teaser .txt { min-width: 0; }
.teaser li b { display: block; font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .05em; color: #fff; }
.teaser li span:not(.ico) { display: block; margin-top: 3px; font-size: .86rem; line-height: 1.45; color: #A8B3C7; }

/* colours, entrance, sweep turn and breathing phase per card */
.teaser li:nth-child(1) { --c: 0 240 255;   animation-delay: .15s; } .teaser li:nth-child(1)::before { animation-delay: 1.4s; }
.teaser li:nth-child(2) { --c: 167 139 250; animation-delay: .25s; } .teaser li:nth-child(2)::before { animation-delay: 2.8s; }
.teaser li:nth-child(3) { --c: 52 211 153;  animation-delay: .35s; } .teaser li:nth-child(3)::before { animation-delay: 4.2s; }
.teaser li:nth-child(4) { --c: 251 191 36;  animation-delay: .45s; } .teaser li:nth-child(4)::before { animation-delay: 5.6s; }
.teaser li:nth-child(5) { --c: 255 59 84;   animation-delay: .55s; } .teaser li:nth-child(5)::before { animation-delay: 7s; }
.teaser li:nth-child(6) { --c: 244 114 182; animation-delay: .65s; } .teaser li:nth-child(6)::before { animation-delay: 8.4s; }
.teaser li:nth-child(7) { --c: 96 165 250;  animation-delay: .75s; } .teaser li:nth-child(7)::before { animation-delay: 9.8s; }
.teaser li:nth-child(2n) .ico { animation-delay: -1.2s; }
.teaser li:nth-child(3n) .ico { animation-delay: -2.4s; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes sweep { 0% { background-position: 160% 0; } 14%, 100% { background-position: -60% 0; } }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 rgb(var(--c) / 0); }
  50% { box-shadow: 0 0 16px rgb(var(--c) / .5); }
}

/* ---------- socials: one chip per account, in each platform's colour ---------- */
.socials { width: 100%; margin-top: 36px; }
.socials h2 {
  margin: 0 0 14px;
  font-family: 'JetBrains Mono', monospace; font-weight: 500; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgb(var(--cyan));
}
.socials ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.soc {
  --c: var(--cyan);
  display: flex; align-items: center; gap: 12px; padding: 11px 20px 11px 14px; min-width: 180px;
  border-radius: 14px; text-align: left; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, rgb(var(--c) / .22), rgba(20, 22, 31, .92) 70%);
  border: 1px solid rgb(var(--c) / .45);
  box-shadow: 0 0 18px rgb(var(--c) / .15);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.soc svg { flex: none; color: rgb(var(--c)); filter: drop-shadow(0 0 6px rgb(var(--c) / .6)); }
.soc > span { display: flex; flex-direction: column; line-height: 1.25; font-size: .9rem; color: #CBD5E1; }
.soc b { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgb(var(--c)); }
a.soc:hover { transform: translateY(-2px); border-color: rgb(var(--c) / .8); box-shadow: 0 0 28px rgb(var(--c) / .35); }
a.soc:focus-visible { outline: 2px solid rgb(var(--c)); outline-offset: 4px; }
.soc.tiktok { --c: 37 244 238; }
.soc.tiktok svg { filter: drop-shadow(1.5px 1px 0 #FE2C55) drop-shadow(0 0 6px rgb(37 244 238 / .5)); }
.soc.twitch { --c: 169 112 255; }
.soc.discord-user { --c: 114 137 255; }

.foot { margin-top: auto; padding-top: 40px; font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .12em; color: #64748B; }

/* ---------- phones ---------- */
@media (max-width: 640px) {
  .page { padding-top: 40px; }
  .eye { width: 76px; height: 76px; }
  .star-b, .shooting-star.s2, .hex { display: none; } /* lighter on phones */
  .discord { padding: 14px 22px; font-size: .9rem; }
  .teaser ul { grid-template-columns: 1fr; padding: 10px 18px 18px; gap: 8px; }
  .teaser h2 { margin-left: 18px; margin-right: 18px; }
  .socials ul { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .star-wrap, .star-layer, .shooting-star, .discord::after, .tuned::after { animation: none !important; }
  .star-wrap { opacity: .85; }
  .shooting-star { display: none; }
  .discord { transition: none; }
  .teaser li, .teaser li::before, .teaser .ico { animation: none !important; }
  .teaser li, .teaser .ico, .soc { transition: none; }
}
