/* ARCVALT placeholder styles. Dark gaming-inspired palette: deep navy/black
   background, violet/magenta accents, generous spacing, single-page layout. */

:root {
  --bg-0: #07060f;
  --bg-1: #0d0a1f;
  --bg-2: #150a2e;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(177, 78, 255, 0.35);
  --fg: #ececf5;
  --fg-muted: #9b96b6;
  --accent: #b14eff;
  --accent-2: #7b2ff7;
  --accent-3: #4ea1ff;
  --gradient-hero:
    radial-gradient(1200px 600px at 20% 0%, rgba(123, 47, 247, 0.35), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(78, 161, 255, 0.20), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-2));
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --max-w: 1100px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #d09bff; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 24px 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 6, 15, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  letter-spacing: 0.18em;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: white;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(177, 78, 255, 0.5);
}

.brand-word { font-size: 0.95rem; }

.site-nav { display: flex; gap: 22px; }
.site-nav a {
  color: var(--fg-muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}
.site-nav a:hover { color: var(--fg); }

/* Hero */
.hero {
  position: relative;
  background: var(--gradient-hero);
  padding: 0 0 80px 0;
  border-bottom: 1px solid var(--border);
}

.hero-banner {
  width: 100%;
  height: clamp(220px, 38vw, 420px);
  background: url('../img/banner.jpg') center / cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.hero-copy {
  position: relative;
  margin-top: -40px;
  padding-top: 40px;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  letter-spacing: 0.18em;
  margin: 0 0 8px 0;
  background: linear-gradient(135deg, #fff 0%, #d09bff 60%, #4ea1ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--fg);
  margin: 0 0 12px 0;
}

.accent {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(177, 78, 255, 0.6);
}

.hero-sub { color: var(--fg-muted); margin: 0; }

/* Pillars */
.pillars { padding: 80px 0; }

.pillar-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.pillar-card:hover {
  transform: translateY(-2px);
  background: var(--surface-strong);
  border-color: var(--border-strong);
}

.pillar-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin-bottom: 14px;
  color: var(--accent);
  background: rgba(177, 78, 255, 0.10);
  border: 1px solid rgba(177, 78, 255, 0.25);
}

.pillar-card h3 {
  margin: 0 0 6px 0;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.pillar-card p { margin: 0; color: var(--fg-muted); font-size: 0.92rem; }

/* About + Contact */
.about, .contact {
  padding: 60px 0;
  border-top: 1px solid var(--border);
}
.about p, .contact p { color: var(--fg-muted); max-width: 720px; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  background: var(--bg-1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--fg-muted);
  font-size: 0.88rem;
}

.brand-mini {
  letter-spacing: 0.18em;
  font-weight: 800;
  color: var(--fg);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  box-shadow: 0 8px 24px rgba(123, 47, 247, 0.45);
}
.btn-primary:hover { transform: translateY(-1px); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--surface); }

/* 404 page */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--gradient-hero);
}

.error-content { text-align: center; max-width: 560px; }

.error-code {
  font-size: clamp(4rem, 18vw, 9rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #fff, #b14eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.error-title { font-size: 1.6rem; margin: 8px 0 12px 0; }
.error-description { color: var(--fg-muted); margin: 0 0 24px 0; }
.error-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Small screens */
@media (max-width: 640px) {
  .site-nav { display: none; }
  .pillars { padding: 60px 0; }
}
