/* 🔥 GLOBAL STYLES — css/eclipsion.css */

:root {
  --bg-obsidian: #05070b;
  --bg-panel: #0b0f18;
  --accent-gold: #f5c96a;
  --accent-cyan: #1dd4ff;
  --text-main: #f5f7ff;
  --text-muted: #9aa0b8;
  --border-soft: rgba(245, 201, 106, 0.25);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.75);
  --radius-lg: 18px;
  --transition-fast: 160ms ease-out;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-obsidian);
  color: var(--text-main);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100%;
}

.bg-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(29, 212, 255, 0.12) 0, transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(245, 201, 106, 0.12) 0, transparent 55%),
    url("../img/obsidian_tile.png");
  background-size: auto, auto, 256px 256px;
  opacity: 0.9;
  z-index: -1;
}

/* HEADER / NAV */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: linear-gradient(to bottom, rgba(5, 7, 11, 0.96), rgba(5, 7, 11, 0.75));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(245, 201, 106, 0.18);
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-sigil {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(29, 212, 255, 0.6);
  box-shadow:
    0 0 0 1px rgba(5, 7, 11, 1),
    0 0 24px rgba(29, 212, 255, 0.45);
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 201, 106, 0.9), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(29, 212, 255, 0.9), transparent 55%),
    #020308;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-family: "Cinzel", serif;
  letter-spacing: 0.22em;
  font-size: 0.9rem;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-link {
  position: relative;
  padding: 6px 10px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--text-main);
  background: rgba(13, 20, 35, 0.9);
  transform: translateY(-1px);
}

.nav-cta {
  padding-inline: 16px;
  border: 1px solid rgba(245, 201, 106, 0.7);
}

/* LAYOUT */

.page {
  max-width: 1120px;
  margin: 32px auto 64px;
  padding: 0 24px;
}

.section {
  margin-bottom: 40px;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-cyan);
}

.section-title {
  font-family: "Cinzel", serif;
  font-size: 1.8rem;
  margin: 4px 0;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CARDS */

.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  background: radial-gradient(circle at 0 0, rgba(245, 201, 106, 0.12), transparent 55%), var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 20px;
}

/* GLOBAL IMAGE SCALING FIX */
img {
  max-width: 75%;
  height: auto;
}

/* BUTTONS */

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(157, 167, 196, 0.7);
  background: rgba(5, 7, 11, 0.7);
  color: var(--text-main);
  font-size: 0.85rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(29, 212, 255, 0.9);
  box-shadow: 0 0 18px rgba(29, 212, 255, 0.7);
  transform: translateY(-1px);
  background: rgba(9, 14, 26, 0.95);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(245, 201, 106, 0.18);
  padding: 16px 48px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: radial-gradient(circle at 50% 0, rgba(29, 212, 255, 0.12), transparent 60%), #05070b;
}

.footer-right {
  display: flex;
  gap: 14px;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.footer-link:hover {
  color: var(--accent-gold);
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .site-header {
    padding-inline: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
  .site-footer {
    padding-inline: 18px;
    flex-direction: column;
  }
}
