:root {
  --black: #030303;
  --charcoal: #11100f;
  --copper: #ff7a1a;
  --copper-soft: #ffb064;
  --white: #fff7ee;
  --muted: #c6b7aa;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--white);
  background: var(--black);
}

a {
  color: inherit;
}

.portal-page {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  width: 100vw;
  gap: clamp(20px, 3vh, 30px);
  padding: clamp(26px, 4vw, 60px) clamp(18px, 4vw, 64px);
  background:
    radial-gradient(circle at 77% 78%, rgba(255, 122, 26, 0.15), transparent 28%),
    radial-gradient(circle at 16% 47%, rgba(255, 122, 26, 0.13), transparent 29%),
    linear-gradient(118deg, #020202 0%, #0b0705 42%, #160b05 61%, #030303 100%);
}

.portal-page::before,
.portal-page::after,
.texture,
.ambient,
.spark-field,
.wall-feature,
.robot-feature {
  pointer-events: none;
}

.portal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -7;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.93), transparent 28%, transparent 62%, rgba(0, 0, 0, 0.88)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 18px);
}

.portal-page::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 4;
  background: radial-gradient(ellipse at center, transparent 34%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

.texture {
  position: absolute;
  inset: 0;
  z-index: -6;
}

.texture-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.18;
}

.texture-honeycomb {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 122, 26, 0.18) 1px, transparent 2px) 0 0 / 28px 24px,
    linear-gradient(30deg, transparent 42%, rgba(255, 255, 255, 0.05) 43%, rgba(255, 255, 255, 0.05) 45%, transparent 46%) 0 0 / 56px 48px,
    linear-gradient(-30deg, transparent 42%, rgba(255, 255, 255, 0.035) 43%, rgba(255, 255, 255, 0.035) 45%, transparent 46%) 0 0 / 56px 48px;
  opacity: 0.12;
  mix-blend-mode: screen;
}

.ambient {
  position: absolute;
  z-index: -5;
  border-radius: 999px;
  filter: blur(34px);
}

.ambient-left {
  width: min(34vw, 520px);
  height: min(34vw, 520px);
  left: -8vw;
  top: 28vh;
  background: rgba(255, 122, 26, 0.13);
}

.ambient-right {
  width: min(48vw, 680px);
  height: min(48vw, 680px);
  right: -12vw;
  bottom: -7vh;
  background: rgba(255, 105, 18, 0.19);
}

.spark-field {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
}

.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: var(--copper-soft);
  box-shadow: 0 0 12px var(--copper), 0 0 28px rgba(255, 72, 0, 0.8);
  opacity: 0;
  animation: drift var(--duration, 5s) linear var(--delay, 0s) infinite;
}

.wall-feature {
  position: absolute;
  z-index: 0;
  left: clamp(-80px, 3vw, 72px);
  top: 50%;
  width: clamp(330px, 40vw, 560px);
  transform: translateY(-50%) perspective(1000px) rotateY(10deg) rotateZ(-2deg);
  opacity: 0.72;
  mix-blend-mode: screen;
  filter: brightness(0.58) saturate(0.98) contrast(1.12) drop-shadow(0 0 38px rgba(255, 122, 26, 0.28));
}

.wall-feature::before {
  content: "";
  position: absolute;
  inset: 12% 20% 22% 8%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.2), rgba(255, 122, 26, 0.06) 48%, transparent 72%);
  filter: blur(22px);
}

.wall-feature img {
  display: block;
  width: 100%;
  height: auto;
}

.robot-feature {
  position: absolute;
  z-index: 2;
  right: clamp(-40px, 2vw, 74px);
  bottom: clamp(-72px, -5vh, -26px);
  width: clamp(440px, 43vw, 680px);
  opacity: 0.9;
  mix-blend-mode: multiply;
  filter: brightness(1.54) contrast(1.38) saturate(1.24) drop-shadow(0 26px 46px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 42px rgba(255, 122, 26, 0.3));
  animation: robotFloat 8s ease-in-out infinite;
}

.robot-feature::before {
  content: "";
  position: absolute;
  right: 6%;
  bottom: 8%;
  z-index: -1;
  width: 78%;
  height: 64%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.34), rgba(255, 122, 26, 0.12) 45%, transparent 72%);
  filter: blur(22px);
}

.robot-feature::after {
  content: "";
  position: absolute;
  left: 39%;
  bottom: 13%;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle, #fff5c8 0 14%, #ff9a2d 28%, rgba(255, 72, 0, 0.26) 62%, transparent 70%);
  box-shadow: 0 0 18px rgba(255, 190, 90, 0.82), 0 0 46px rgba(255, 91, 0, 0.5);
  animation: laserFlicker 1.7s ease-in-out infinite;
}

.robot-feature img {
  display: block;
  width: 100%;
  height: auto;
}

.announcement {
  position: relative;
  z-index: 6;
  width: min(100%, 590px);
  margin-inline: auto;
  text-align: center;
  flex: 0 0 auto;
  animation: fadeUp 900ms ease-out both;
}

.announcement::before {
  content: "";
  position: absolute;
  inset: -34px -28px;
  z-index: -1;
  border-radius: 16px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.12) 56%, transparent 74%);
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.35vw, 4.5rem);
  line-height: 0.95;
  font-weight: 820;
  letter-spacing: 0.15em;
  text-wrap: balance;
  text-indent: 0.15em;
  text-shadow:
    0 0 1px rgba(255, 255, 255, 0.48),
    0 0 18px rgba(255, 122, 26, 0.16),
    0 10px 28px rgba(0, 0, 0, 0.78);
}

.subtitle-row {
  display: grid;
  grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  width: min(100%, 500px);
  margin: clamp(14px, 2vw, 22px) auto 0;
}

.subtitle-row span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.92));
  box-shadow: 0 0 10px rgba(255, 122, 26, 0.34);
}

.subtitle-row span:last-child {
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.92), transparent);
}

.coming-soon {
  margin: 0;
  font-size: clamp(1.25rem, 2.55vw, 2.45rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  color: transparent;
  background: linear-gradient(180deg, #fff4d8 0%, #ff9b3d 46%, #8d350d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 11px rgba(255, 122, 26, 0.28));
  animation: titleGlow 3.4s ease-in-out infinite;
}

.body-copy {
  max-width: 520px;
  margin: clamp(18px, 2.5vw, 28px) auto 0;
  color: rgba(255, 247, 238, 0.78);
  font-size: clamp(0.94rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(100%, 480px);
  margin: clamp(22px, 3vw, 34px) auto 0;
  padding: 15px 20px;
  border: 1px solid rgba(255, 122, 26, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 122, 26, 0.12), rgba(255, 122, 26, 0.025)),
    rgba(5, 5, 5, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 26px rgba(255, 122, 26, 0.17),
    0 22px 58px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(12px);
  text-align: left;
}

.contact-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  fill: #ffab59;
  filter: drop-shadow(0 0 10px rgba(255, 122, 26, 0.42));
}

.contact-box p {
  margin: 0 0 7px;
  color: var(--white);
  font-weight: 800;
}

.contact-box a {
  display: inline-block;
  max-width: 100%;
  color: #ffbc78;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-box a:hover {
  color: #fff1d6;
}

.site-footer {
  position: relative;
  z-index: 7;
  width: min(100% - 32px, 680px);
  margin-inline: auto;
  transform: none;
  text-align: center;
  animation: fadeUp 900ms ease-out 180ms both;
}

.connect-label {
  margin: 0;
  color: var(--copper);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 122, 26, 0.48);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.social-links a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 122, 26, 0.46);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 122, 26, 0.18), rgba(255, 255, 255, 0.045));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 18px rgba(255, 122, 26, 0.15);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 188, 120, 0.95);
  background: linear-gradient(145deg, rgba(255, 122, 26, 0.34), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 28px rgba(255, 122, 26, 0.48);
}

.social-links svg {
  width: 21px;
  height: 21px;
  fill: var(--white);
}

.ccd-mark {
  display: inline-grid;
  min-width: 58px;
  height: 32px;
  margin-top: 18px;
  place-items: center;
  border-top: 1px solid rgba(255, 122, 26, 0.54);
  border-bottom: 1px solid rgba(255, 122, 26, 0.42);
  color: #ffc27d;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-shadow: 0 0 14px rgba(255, 122, 26, 0.56);
}

.ccd-row {
  display: grid;
  grid-template-columns: minmax(42px, 84px) auto minmax(42px, 84px);
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.ccd-row > span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 26, 0.72));
}

.ccd-row > span:last-child {
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.72), transparent);
}

.ccd-row .ccd-mark {
  margin-top: 0;
}

.copyright {
  margin: 9px 0 0;
  color: rgba(255, 247, 238, 0.58);
  font-size: 0.78rem;
}

@keyframes fadeUp {
  from {
    transform: translateY(16px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes titleGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(255, 122, 26, 0.22));
  }

  50% {
    filter: drop-shadow(0 0 18px rgba(255, 122, 26, 0.44));
  }
}

@keyframes laserFlicker {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.58;
  }

  48% {
    transform: scale(1.08);
    opacity: 0.9;
  }

  56% {
    transform: scale(0.76);
    opacity: 0.48;
  }
}

@keyframes robotFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }

  12% {
    opacity: 0.95;
  }

  100% {
    transform: translate3d(var(--tx), var(--ty), 0) rotate(180deg);
    opacity: 0;
  }
}

@media (max-width: 1180px) {
  .wall-feature {
    left: -42px;
    width: min(48vw, 500px);
    opacity: 0.56;
  }

  .robot-feature {
    right: -54px;
    bottom: -58px;
    width: min(50vw, 540px);
    opacity: 0.72;
  }

  .announcement {
    width: min(100%, 560px);
  }
}

@media (max-width: 860px) {
  .portal-page {
    justify-content: center;
    padding-top: 58px;
    padding-bottom: 42px;
  }

  .wall-feature {
    left: -190px;
    top: 34vh;
    width: 500px;
    opacity: 0.22;
  }

  .robot-feature {
    right: -118px;
    bottom: -30px;
    width: min(66vw, 400px);
    opacity: 0.48;
  }

  .site-footer {
    width: min(100%, 620px);
  }
}

@media (max-width: 620px) {
  .portal-page {
    padding: 52px 16px 34px;
    gap: 18px;
  }

  .wall-feature {
    left: -245px;
    top: 25vh;
    width: 430px;
    opacity: 0.14;
  }

  .robot-feature {
    right: -132px;
    bottom: -18px;
    width: 330px;
    opacity: 0.34;
  }

  h1 {
    font-size: clamp(2.1rem, 11.5vw, 3.2rem);
    letter-spacing: 0.07em;
    text-indent: 0.07em;
  }

  .subtitle-row {
    grid-template-columns: minmax(28px, 1fr) auto minmax(28px, 1fr);
    gap: 12px;
  }

  .coming-soon {
    font-size: clamp(1.25rem, 7.5vw, 2.1rem);
    letter-spacing: 0.09em;
    text-indent: 0.09em;
  }

  .body-copy {
    font-size: 0.98rem;
  }

  .contact-box {
    justify-content: flex-start;
    gap: 10px;
    padding: 16px;
  }

  .contact-box p,
  .contact-box a {
    font-size: 0.92rem;
  }

  .contact-icon {
    width: 24px;
    height: 24px;
  }

  .social-links a {
    width: 42px;
    height: 42px;
  }
}

@media (max-height: 760px) and (min-width: 861px) {
  .announcement {
    transform: none;
  }

  .site-footer {
    width: min(100% - 32px, 640px);
  }

  .contact-box {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .spark {
    display: none;
  }
}
