:root {
  --text-light: #020617;
  --text-dark: #e5e7eb;

  --glass-light: rgba(255,255,255,0.6);
  --glass-dark: rgba(255,255,255,0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Vazirmatn, system-ui;
  color: var(--text);
  overflow: hidden;
}

/* ===== Ocean Canvas ===== */
#ocean {
  position: fixed;
  inset: 0;
  z-index: -5;
  background: linear-gradient(
    to bottom,
    #020617 0%,
    #020617 20%,
    #021b2e 45%,
    #012a3f 70%,
    #00131f 100%
  );
}

/* ===== Noise ===== */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8'/></filter>\
<rect width='100%' height='100%' filter='url(%23n)' opacity='0.04'/>\
</svg>");
  animation: grain 1.4s steps(2) infinite;
  z-index: -1;
}

@keyframes grain {
  0% { transform: translate(0,0); }
  50% { transform: translate(-1%,1%); }
}

/* ===== Scene ===== */
.scene {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Center Card ===== */
.card {
  padding: 3.5rem 3rem;
  border-radius: 26px;
  backdrop-filter: blur(22px);
  background: var(--glass);
  border: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  animation: fadeUp 1.6s ease forwards;
}

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

.hero-image {
  max-width: 220px;
  margin-bottom: 1.6rem;

  /* ✅ گوشه‌های نرم */
  border-radius: 18px;

  /* ✅ عمق بصری */
  filter: drop-shadow(0 25px 50px rgba(0,0,0,0.45));

  /* ✅ انیمیشن ملایم */
  animation: floatImage 6.5s ease-in-out infinite;
}

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


.hero-text {
  max-width: 500px;
  line-height: 2;
  font-size: 1rem;
  opacity: 0.9;
}
/* ===== Footer ===== */
.footer {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 22px;

  font-size: 0.85rem;
  opacity: 0.85;
  text-align: center;
}

.footer a {
  color: #3b82f6;
  text-decoration: none;
  position: relative;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    color 0.35s ease;
}

/* خط زیر لینک */
.footer a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 0.35s ease;
}

/* Hover انیمیشن ملایم */
.footer a:hover {
  transform: translateY(-3px);
  opacity: 1;
  color: #60a5fa;
}

.footer a:hover::after {
  width: 100%;
}

