*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --navy:       #06071a;
  --deep:       #0b0d2e;
  --indigo:     #12164a;
  --purple-fog: #2a1e6e;
  --glow-blue:  #5060dd;
  --glow-violet:#7b5fe8;
  --silver:     #c8ceff;
  --silver-dim: #7880b8;
  --white:      #e8eaff;
  --font-en:    'Orbitron', 'Courier New', monospace;
  --font-fa:    'Vazirmatn', 'Tahoma', sans-serif;
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-fa);
  color: var(--white);
}

/* ── Starfield canvas ── */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

/* ── Corner frame decorations ── */
.frame {
  position: fixed;
  z-index: 2;
  width: 50px;
  height: 50px;
  pointer-events: none;
}
/* ── Atmospheric glow orbs ── */
.glow-orb {
  position: fixed;
  z-index: 1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.28;
}
.glow-left {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #3020a0 0%, transparent 70%);
  bottom: -80px; left: -100px;
}
.glow-right {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #4b20b0 0%, transparent 70%);
  bottom: -60px; right: -80px;
}
.glow-center {
  position: fixed;
  z-index: 1;
  width: 600px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(80,96,220,0.18) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
}

/* ── Main content ── */
.content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  animation: fadeSlideUp 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  /* NO transform here — parallax is desktop-only */
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Ship ── */
.ship-wrap {
  position: relative;
  width: 190px;
  height: 170px;
  margin-bottom: 0.5rem;
  animation: shipFloat 5s ease-in-out infinite;
  animation-delay: 1.2s;
  animation-fill-mode: both;
  flex-shrink: 0;
}

@keyframes shipFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.ship-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 18px rgba(112,128,255,0.7))
          drop-shadow(0 0 40px rgba(80,96,220,0.4));
}

.ship-glow-floor {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 16px;
  background: radial-gradient(ellipse, rgba(100,120,255,0.55) 0%, transparent 75%);
  filter: blur(6px);
}

/* ── Brand name ── */
.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.6rem;
  animation: fadeSlideUp 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.25s both;
  width: 100%;
}

.brand-name {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 11vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
}

.brand-argo {
  color: var(--silver);
  text-shadow: 0 0 30px rgba(200,210,255,0.45);
}
.brand-void {
  color: var(--glow-blue);
  text-shadow: 0 0 30px rgba(80,96,220,0.7), 0 0 60px rgba(80,96,220,0.3);
}

.brand-tagline {
  font-family: var(--font-en);
  font-size: clamp(0.5rem, 2vw, 0.7rem);
  letter-spacing: 0.3em;
  color: var(--silver-dim);
  white-space: nowrap;
}

/* ── Divider ── */
.divider {
  width: clamp(160px, 50vw, 300px);
  height: 1px;
  background: linear-gradient(to right, transparent, var(--glow-blue), var(--glow-violet), var(--glow-blue), transparent);
  margin-bottom: 1.6rem;
  opacity: 0.6;
  animation: fadeSlideUp 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.45s both;
}

/* ── Persian text ── */
.persian-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeSlideUp 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.6s both;
  width: 100%;
}

.persian-main {
  font-family: var(--font-fa);
  font-size: clamp(1.4rem, 6vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 0 25px rgba(160,180,255,0.4);
  direction: rtl;
  text-align: center;
}

.persian-sub {
  font-family: var(--font-fa);
  font-size: clamp(0.75rem, 3vw, 1rem);
  font-weight: 300;
  color: var(--silver-dim);
  direction: rtl;
  text-align: center;
}

/* ── Animated dots ── */
.dots-row {
  display: flex;
  gap: 10px;
  margin-top: 2rem;
  align-items: center;
  justify-content: center;
  animation: fadeSlideUp 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.8s both;
}

.dot {
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--glow-blue);
  box-shadow: 0 0 8px var(--glow-blue);
  animation: dotPulse 2s ease-in-out infinite;
}
.dot:nth-child(2) { animation-delay: 0.35s; background: var(--glow-violet); box-shadow: 0 0 8px var(--glow-violet); }
.dot:nth-child(3) { animation-delay: 0.7s; }

@keyframes dotPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50%       { opacity: 1;   transform: scale(1.2); }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .ship-wrap { width: 150px; height: 135px; }
  .frame { width: 32px; height: 32px; }
  .frame-tl, .frame-tr { top: 10px; }
  .frame-bl, .frame-br { bottom: 10px; }
  .frame-tl, .frame-bl { left: 10px; }
  .frame-tr, .frame-br { right: 10px; }
  .brand-tagline { letter-spacing: 0.2em; }
}
