/* ----------------------------------------------------------
   FINDING TOMPAUL — Resonance Field Stylesheet
   Dark theme • Purple accents • Elegant spacing
-----------------------------------------------------------*/

/* ——— Base Colors ——— */
:root {
    --bg: #0a0714;
    --bg-light: #120e1f;
    --text: #e9e4ff;
    --text-soft: #c6baff;
    --accent: #b18aff;
    --accent-soft: #a080ff;
    --border: #3a2f55;
}

/* ——— Global Reset ——— */
html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", "Segoe UI", sans-serif;
    line-height: 1.6;
}

/* ——— Links ——— */
a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-soft);
    text-decoration: underline;
}

/* ——— Navigation Bar ——— */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
}

.top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
}

.top-nav a {
    font-size: 0.95rem;
    color: var(--text-soft);
}

.top-nav a:hover,
.top-nav .active {
    color: var(--accent);
}

/* ——— Page Wrapper ——— */
.content-container {
    max-width: 850px;
    margin: 60px auto;
    padding: 0 20px;
}

/* ——— Headers ——— */
.page-title {
    font-size: 2.4rem;
    margin-bottom: 10px;
    color: var(--accent);
    text-align: left;
}

.subtitle {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin-bottom: 40px;
}

/* ——— Section Blocks ——— */
.section-block {
    margin: 50px 0;
    padding-left: 5px;
    border-left: 2px solid var(--border);
}

.section-block h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.section-block p,
.section-block ul {
    font-size: 1.05rem;
    color: var(--text);
}

.section-block ul {
    margin-left: 20px;
}

/* ——— Footer ——— */
.site-footer {
    margin-top: 80px;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-soft);
    border-top: 1px solid var(--border);
}

/* ——— Mobile Tweaks ——— */
@media (max-width: 600px) {

    .top-nav {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .top-nav ul {
        gap: 18px;
    }

    .page-title {
        font-size: 2rem;
        text-align: center;
    }

    .content-container {
        margin: 40px auto;
    }
}

.kernel-glyph {
    text-align: center;
    margin: 3rem 0 2rem 0;
}

.kernel-glyph img {
    width: 280px;
    max-width: 40vw;
    filter: drop-shadow(0 0 20px #b57bff);
}

.nav-glyph {
    width: 22px;
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.8;
}

.nav-glyph:hover {
    opacity: 1;
}


/* Kernel Page Formatting */

.page-header {
    text-align: center;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.page-header h1 {
    font-size: 3rem;
    color: #d8b0ff;
    text-shadow: 0 0 10px #3a1f5a;
}

.subtitle {
    font-size: 1.1rem;
    color: #b995ff;
    opacity: 0.8;
}

.kernel-glyph {
    text-align: center;
    margin: 3rem 0;
}

.kernel-glyph img {
    max-width: 32%;
    min-width: 220px;
    filter: drop-shadow(0 0 25px #b57bff);
    transition: transform 0.3s ease, filter 0.4s ease;
}

.kernel-glyph img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 35px #d6aaff);
}

.kernel-content {
    width: 75%;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.kernel-content h2 {
    color: #d2a6ff;
    margin-top: 2.5rem;
}

.kernel-content p,
.kernel-content li {
    line-height: 1.6;
}

.kernel-term {
    color: #cfa0ff;
    font-style: italic;
}

.kernel-footer {
    text-align: center;
    padding: 3rem 0;
    opacity: 0.7;
    font-size: 0.9rem;
}
/* --- NAV BAR --- */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(6px);
  background: rgba(10, 5, 22, 0.72);
  border-bottom: 1px solid rgba(180, 120, 255, 0.18);
  padding: 0.6rem 0;
  z-index: 999;
  opacity: 0;
  animation: fadeInNav 1.2s ease forwards;
}

@keyframes fadeInNav {
  to { opacity: 1; }
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  color: #d2b7ff;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #bfa0ff;
  font-size: 0.95rem;
  transition: 0.25s;
}

.nav-links a:hover {
  color: #e2d3ff;
  text-shadow: 0 0 6px rgba(200, 160, 255, 0.6);
}

/* Mobile */
@media (max-width: 700px) {
  .nav-inner {
    flex-direction: column;
    gap: 0.6rem;
  }
  .nav-links a {
    margin-left: 0.8rem;
    margin-right: 0.8rem;
  }
}

.kernel-glyph img:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 0 35px #eabaff) brightness(1.25);
    animation: kernelPulse 1.5s infinite ease-in-out;
}

@keyframes kernelPulse {
    0% { filter: drop-shadow(0 0 25px #b57bff); }
    50% { filter: drop-shadow(0 0 45px #e4baff); }
    100% { filter: drop-shadow(0 0 25px #b57bff); }
}

.continuity-block {
    max-width: 850px;
    margin: 60px auto;
    padding: 0 20px;
    color: #e8d8ff;
    font-size: 1.1rem;
    line-height: 1.7;
}

.continuity-block h2 {
    font-size: 2rem;
    color: #b68cff;
    margin-bottom: 20px;
}

.continuity-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px 30px;
    margin: 30px 0;
    box-shadow: 0 0 20px rgba(180,120,255,0.08);
}


.agi-layer {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(200,200,255,0.08);
}

.agi-frame {
    background: rgba(255,255,255,0.02);
    padding: 25px 30px;
    border-radius: 10px;
    border: 1px solid rgba(180,180,255,0.07);
}

.agi-soft {
    opacity: 0.75;
    margin-bottom: 20px;
}

.agi-block {
    margin: 18px 0;
    padding-left: 15px;
    border-left: 2px solid #7c5bff;
}
