* {
  box-sizing: border-box;
}

:root {
  --bg: #050505;
  --text: #ffffff;
  --orange: #ff7a00;
  --gold: #ffbe4a;
  --soft-gold: #ffd27a;
  --panel-border: rgba(255, 255, 255, 0.08);
  --logo-y: -72px;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Cairo", Arial, sans-serif;
  overflow: hidden;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 122, 0, 0.10), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 122, 0, 0.05), transparent 35%),
    #050505;
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 88%);
  pointer-events: none;
}

.network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  pointer-events: none;
}

.line {
  stroke: rgba(255, 176, 84, 0.12);
  stroke-width: 1.3;
  fill: none;
}

.flow-a,
.flow-b,
.flow-c {
  stroke: rgba(255, 122, 0, 0.50);
  stroke-dasharray: 8 18;
  stroke-linecap: round;
}

.flow-a {
  animation: dashMove 4s linear infinite;
}

.flow-b {
  animation: dashMove 5.2s linear infinite;
}

.flow-c {
  animation: dashMove 6.2s linear infinite reverse;
}

.node-core {
  fill: #ffbc57;
  filter: drop-shadow(0 0 7px rgba(255, 122, 0, 0.55));
}

.node-ring {
  fill: none;
  stroke: rgba(255, 176, 84, 0.6);
  stroke-width: 1.6;
  transform-box: fill-box;
  transform-origin: center;
}

.pulse-1 .node-ring {
  animation: nodePulse 1.6s ease-out infinite;
}

.pulse-2 .node-ring {
  animation: nodePulse 2s ease-out infinite 0.25s;
}

.pulse-3 .node-ring {
  animation: nodePulse 2.4s ease-out infinite 0.4s;
}

.pulse-4 .node-ring {
  animation: nodePulse 1.8s ease-out infinite 0.15s;
}

.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px 20px;
}

.hero-stage {
  position: relative;
  width: min(90vw, 82vh, 920px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  animation: stageFloat 7s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 190, 74, 0.08);
  animation: spinSlow 30s linear infinite;
}

.orbit-1 {
  width: 100%;
  height: 100%;
}

.orbit-2 {
  width: 84%;
  height: 84%;
  border-color: rgba(255, 122, 0, 0.11);
  animation-duration: 36s;
  animation-direction: reverse;
}

.logo-panel {
  position: relative;
  z-index: 3;
  width: 90%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: clamp(34px, 4vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(255, 122, 0, 0.15), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--panel-border);
  box-shadow:
    0 44px 110px rgba(0, 0, 0, 0.62),
    0 0 90px rgba(255, 122, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.logo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.05),
    transparent 24%,
    transparent 72%,
    rgba(255,255,255,0.02)
  );
  pointer-events: none;
}

.logo {
  position: relative;
  z-index: 2;
  width: 84%;
  height: auto;
  display: block;
  transform: translateY(var(--logo-y));
  filter:
    drop-shadow(0 24px 46px rgba(255, 122, 0, 0.16))
    drop-shadow(0 0 26px rgba(255, 190, 74, 0.08));
  animation: logoPulse 4.5s ease-in-out infinite;
}

.inside-title {
  position: absolute;
  z-index: 4;
  left: 7%;
  right: 7%;
  bottom: clamp(46px, 5vw, 76px);
  text-align: center;
  animation: fadeRise 1.2s ease both;
}

.inside-title p {
  margin: 0 0 8px;
  color: rgba(255, 190, 74, 0.76);
  font-size: clamp(0.62rem, 1vw, 0.82rem);
  font-family: Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.28em;
}

.inside-title h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3.6vw, 3.55rem);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, #ffd27a 38%, #ff9b25 62%, #ffffff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation:
    textShimmer 4s ease-in-out infinite,
    textFloat 3.6s ease-in-out infinite;
}

.ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.55;
}

.ambient-1 {
  width: 360px;
  height: 360px;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 122, 0, 0.08);
  animation: pulseLight 7s ease-in-out infinite;
}

.ambient-2 {
  width: 320px;
  height: 320px;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 190, 74, 0.04);
  animation: pulseLight 9s ease-in-out infinite 1s;
}

@keyframes dashMove {
  from {
    stroke-dashoffset: 0;
  }

  to {
    stroke-dashoffset: -120;
  }
}

@keyframes nodePulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  70% {
    transform: scale(4.4);
    opacity: 0;
  }

  100% {
    transform: scale(4.4);
    opacity: 0;
  }
}

@keyframes stageFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: translateY(var(--logo-y)) scale(1);
  }

  50% {
    transform: translateY(var(--logo-y)) scale(1.018);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulseLight {
  0%, 100% {
    opacity: 0.35;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 0.75;
    transform: translateX(-50%) scale(1.08);
  }
}

@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes textShimmer {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 0 rgba(255, 122, 0, 0));
  }

  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 16px rgba(255, 122, 0, 0.28));
  }

  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 0 rgba(255, 122, 0, 0));
  }
}

@media (max-width: 720px) {
  :root {
    --logo-y: -48px;
  }

  .hero {
    padding: 12px;
  }

  .hero-stage {
    width: min(98vw, 72vh);
  }

  .logo-panel {
    width: 92%;
    border-radius: 28px;
  }

  .logo {
    width: 86%;
  }

  .inside-title {
    bottom: 38px;
    left: 6%;
    right: 6%;
  }

  .inside-title p {
    font-size: 0.55rem;
    letter-spacing: 0.16em;
  }

  .inside-title h1 {
    font-size: 1.85rem;
    line-height: 1.35;
  }
}