/* =========================================================
   Curbanoğlu — under construction page
   ========================================================= */

:root {
  --bg: #070910;
  --bg-soft: #0d111b;
  --panel: rgba(255, 255, 255, 0.028);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eef1f7;
  --muted: #9aa3b6;
  --faint: #6d768a;

  --gold: #e7c491;
  --gold-deep: #b7833c;
  --accent-glow: rgba(231, 196, 145, 0.32);

  --radius: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Ambient background ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, #131a2b 0%, var(--bg) 55%),
    var(--bg);
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.aurora--one {
  width: 46vmax; height: 46vmax;
  top: -14vmax; left: -10vmax;
  background: radial-gradient(circle at 35% 35%, rgba(183, 131, 60, 0.55), transparent 62%);
  animation: drift-a 26s var(--ease) infinite alternate;
}

.aurora--two {
  width: 40vmax; height: 40vmax;
  bottom: -16vmax; right: -8vmax;
  background: radial-gradient(circle at 60% 40%, rgba(56, 96, 168, 0.5), transparent 64%);
  animation: drift-b 32s var(--ease) infinite alternate;
}

.aurora--three {
  width: 32vmax; height: 32vmax;
  top: 42%; left: 52%;
  background: radial-gradient(circle at 50% 50%, rgba(120, 84, 176, 0.32), transparent 66%);
  animation: drift-c 38s var(--ease) infinite alternate;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6vmax, 5vmax, 0) scale(1.14); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(-7vmax, -4vmax, 0) scale(0.94); }
}
@keyframes drift-c {
  from { transform: translate3d(-50%, -50%, 0) scale(0.9); }
  to   { transform: translate3d(-58%, -42%, 0) scale(1.16); }
}

.grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 20%, #000 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 20%, #000 8%, transparent 72%);
  opacity: 0.65;
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.spotlight {
  position: absolute;
  width: 620px; height: 620px;
  left: 50%; top: 30%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(231, 196, 145, 0.10), transparent 62%);
  transition: left 500ms var(--ease), top 500ms var(--ease);
}

/* ---------- Layout ---------- */

.shell {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 56px);
}

.card {
  width: min(660px, 100%);
  padding: clamp(30px, 5.2vw, 56px);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012)),
    rgba(9, 12, 20, 0.62);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.07) inset,
    0 40px 90px -30px rgba(0, 0, 0, 0.85);
}

/* ---------- Monogram ---------- */

.mark {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 26px;
}

.mark svg {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 18px rgba(183, 131, 60, 0.35));
}

.mark__pulse {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid var(--accent-glow);
  animation: pulse 3.4s ease-out infinite;
}

@keyframes pulse {
  0%   { transform: scale(0.86); opacity: 0.9; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Status pill ---------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 7px 16px 7px 13px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: blip 2.2s ease-out infinite;
}

@keyframes blip {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 9px rgba(231, 196, 145, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 196, 145, 0); }
}

/* ---------- Type ---------- */

.title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 12%, #cfd6e6 55%, var(--gold) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0 auto 14px;
  max-width: 46ch;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: #d5dbe8;
}

.copy {
  margin: 0 auto 34px;
  max-width: 52ch;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--faint);
}

.foot__link {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 196, 145, 0.35);
  padding-bottom: 1px;
  transition: color 180ms var(--ease), border-color 180ms var(--ease);
}

.foot__link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.foot__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.foot__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- Entrance animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 800ms var(--ease) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes reveal {
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 520px) {
  .card { border-radius: 20px; }
}

/* ---------- Motion & contrast preferences ---------- */

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

  .reveal { opacity: 1; transform: none; }
  .spotlight { display: none; }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #c3cad9;
    --faint: #9aa3b6;
    --border: rgba(255, 255, 255, 0.2);
  }
}
