:root {
  color-scheme: dark;
  --ink: #050816;
  --midnight: #0a1630;
  --slate: #112247;
  --gold: #c9a55c;
  --gold-soft: rgba(201, 165, 92, 0.18);
  --mist: #eef3ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(201, 165, 92, 0.16), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(36, 96, 189, 0.24), transparent 28%),
    linear-gradient(180deg, #040711 0%, #050816 44%, #081224 100%);
  color: var(--mist);
  text-rendering: optimizeLegibility;
}

html[lang="ar"] body {
  font-family: "Noto Kufi Arabic", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: rgba(201, 165, 92, 0.25);
  color: #ffffff;
}

.font-display {
  font-family: "Cormorant Garamond", serif;
}

.glass-panel {
  background: linear-gradient(180deg, rgba(10, 22, 48, 0.88), rgba(5, 8, 22, 0.76));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(3, 8, 22, 0.42);
  backdrop-filter: blur(18px);
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: auto auto -2rem -3rem;
  width: 12rem;
  height: 12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(201, 165, 92, 0.34) 0%, rgba(201, 165, 92, 0) 72%);
  filter: blur(12px);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: -2rem -2rem auto auto;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(49, 95, 176, 0.32) 0%, rgba(49, 95, 176, 0) 74%);
  filter: blur(12px);
}

.section-shell {
  position: relative;
}

.section-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.shine-card {
  position: relative;
  overflow: hidden;
}

.shine-card::after {
  content: "";
  position: absolute;
  inset: -120% auto auto -160%;
  width: 220%;
  height: 220%;
  background: linear-gradient(120deg, transparent 44%, rgba(255, 255, 255, 0.08) 50%, transparent 56%);
  transform: rotate(14deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.shine-card:hover::after {
  transform: translateX(38%) rotate(14deg);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease forwards;
}

.reveal-delay-1 {
  animation-delay: 0.1s;
}

.reveal-delay-2 {
  animation-delay: 0.2s;
}

.reveal-delay-3 {
  animation-delay: 0.3s;
}

.gallery-card img,
.hero-image {
  transition: transform 0.8s ease;
}

.gallery-card:hover img,
.hero-visual:hover .hero-image {
  transform: scale(1.04);
}

.text-balance {
  text-wrap: balance;
}

.nav-anchor {
  scroll-margin-top: 7rem;
}

.soft-ring {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 20px 50px rgba(2, 8, 23, 0.24);
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: pulse 2s infinite;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #040711;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6f86bb, #c9a55c);
  border-radius: 999px;
}

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

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
