@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Crimson+Pro:ital,wght@0,300;0,400;1,300&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #050810;
  --deep: #090e1c;
  --abyss: #0c1428;
  --blue: #0f1f4a;
  --accent: #1a6bff;
  --glow: #4d8fff;
  --silver: #a8c0e8;
  --white: #dce8ff;
  --gold: #c8a96e;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--white);
  font-family: 'Crimson Pro', serif;
  overflow-x: hidden;
  cursor: default;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Background ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(26,107,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(10,30,80,0.5) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.015) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.015) 80px);
  pointer-events: none;
  z-index: 0;
}

.bg-tentacle {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
}

/* ── Particles ── */
.particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--glow);
  opacity: 0;
  animation: drift linear infinite;
}

@keyframes drift {
  0%   { opacity: 0; transform: translateY(100vh) translateX(0); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translateY(-10vh) translateX(30px); }
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  backdrop-filter: blur(20px);
  background: rgba(5,8,16,0.75);
  border-bottom: 1px solid rgba(77,143,255,0.15);
}

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(200,169,110,0.4);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 300;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--glow);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--glow);
  text-shadow: 0 0 12px rgba(77,143,255,0.6);
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* ── Page Header ── */
.page-header {
  position: relative;
  z-index: 1;
  padding: 9rem 2rem 3rem;
  text-align: center;
}

.page-header .page-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--glow);
  border: 1px solid rgba(77,143,255,0.3);
  padding: 0.3rem 1rem;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.6s ease both;
}

.page-header h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--gold) 0%, var(--white) 50%, var(--glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.6s 0.1s ease both;
}

.page-header p {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--silver);
  animation: fadeUp 0.6s 0.2s ease both;
}

/* ── Divider ── */
.divider {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 3rem;
  margin: 1rem 0;
}

.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(77,143,255,0.3), transparent);
}

.divider span { color: var(--gold); font-size: 1.2rem; }

/* ── Main content area ── */
.page-content {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
  width: 100%;
  animation: fadeUp 0.7s 0.3s ease both;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(77,143,255,0.4);
  color: var(--white);
  text-decoration: none;
  font-family: 'Crimson Pro', serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,107,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before { opacity: 1; }
.btn:hover {
  border-color: var(--glow);
  color: var(--glow);
  box-shadow: 0 0 20px rgba(77,143,255,0.25);
}

.btn-primary {
  background: rgba(26,107,255,0.2);
  border-color: var(--accent);
}

/* ── Footer ── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(77,143,255,0.12);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(5,8,16,0.5);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--silver);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--glow); }

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(77,143,255,0.2);
  color: var(--silver);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s;
}

.footer-socials a:hover {
  border-color: var(--glow);
  color: var(--glow);
  box-shadow: 0 0 12px rgba(77,143,255,0.3);
}

.footer-copy {
  color: rgba(168,192,232,0.4);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ── Responsive ── */
@media (max-width: 640px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
  footer { flex-direction: column; align-items: center; text-align: center; }
}
