/* These styles are generated from project.scss. */

:root {
  --shell-width: 1120px;
  --site-bg: #060914;
  --site-bg-2: #111b37;
  --text-main: #e9eeff;
  --text-muted: #b4c1e6;
  --card-border: rgba(255, 255, 255, 0.14);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --brand: #f7aa4f;
  --brand-2: #ff6f91;
  --success: #1f7a3e;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text-main);
  background: linear-gradient(150deg, var(--site-bg) 0%, var(--site-bg-2) 52%, #261634 100%);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.035;
  background-image: radial-gradient(circle, #ffffff 1px, transparent 1px);
  background-size: 4px 4px;
}

a {
  color: #ffd394;
}

a:hover {
  color: #fff2db;
}

.shell-container {
  width: min(100% - 2rem, var(--shell-width));
  margin-inline: auto;
}

.site-bg-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 154, 139, 0.25), transparent 40%),
    radial-gradient(circle at 80% 0%, rgba(138, 128, 255, 0.28), transparent 35%),
    radial-gradient(circle at 50% 90%, rgba(255, 215, 131, 0.18), transparent 38%);
  animation: ambientShift 16s ease-in-out infinite alternate;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(90deg, rgba(11, 19, 36, 0.75), rgba(27, 16, 39, 0.72));
  border-bottom: 1px solid var(--card-border);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #fff5dd;
}

.site-brand-mark {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 18px rgba(255, 151, 99, 0.8);
}

.site-brand-text {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-menu-toggle {
  display: none;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.4rem 0.55rem;
}

.site-nav ul {
  display: flex;
  gap: 0.2rem;
  align-items: center;
  justify-content: center;
}

.site-nav .nav-link {
  color: #d3defc;
  border-radius: 10px;
  padding: 0.45rem 0.8rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.site-header-actions {
  display: flex;
  gap: 0.45rem;
}

.site-main {
  padding: 2.2rem 0 3rem;
}

.site-alert-stack {
  margin-bottom: 1rem;
}

.site-footer {
  border-top: 1px solid var(--card-border);
  background: rgba(7, 12, 24, 0.6);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 1.2rem;
}

.site-footer-copy {
  color: var(--text-muted);
}

.site-footer-links {
  display: flex;
  gap: 0.8rem;
}

.site-footer-links a {
  color: #f7d9af;
  text-decoration: none;
}

.site-footer-links a:hover {
  text-decoration: underline;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

@keyframes ambientShift {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.04) translate3d(0, -10px, 0);
  }
}

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

@media (max-width: 992px) {
  .site-header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .site-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    grid-column: 1 / -1;
  }

  .site-nav ul {
    margin-top: 0.65rem;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .site-header-actions {
    justify-self: end;
  }
}

@media (max-width: 640px) {
  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-bg-layer {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
