/* Artefacts Sanctuary Styles - BigFatDevelopments */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;700&family=Newsreader:opsz,wght@6..72,200;6..72,300;6..72,400&display=swap');

:root {
    --void: #010409;
    --surface: #0a0e14;
    --text-primary: #e2e8f0;
    --text-muted: #8b9bb4;
    --accent: #52b788;
    --font-mono: 'JetBrains Mono', monospace;
    --font-serif: 'Newsreader', serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--void);
    color: var(--text-primary);
    font-family: var(--font-serif);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Ambient background - Centre of Gravity */
.ambient-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.035) 0%, rgba(1, 4, 9, 0) 65%);
    z-index: 0;
    pointer-events: none;
}

/* Dynamic Floating Nav */
.floating-nav {
    position: fixed;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(10, 14, 20, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(82, 183, 136, 0.15);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    z-index: 100;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    opacity: 0;
    animation: fadeIn 2s ease forwards 0.5s;
    cursor: grab;
    user-select: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.floating-nav:active {
    cursor: grabbing;
    border-color: rgba(82, 183, 136, 0.4);
    background: rgba(10, 14, 20, 0.6);
}

.floating-nav.horizontal {
    flex-direction: row;
    padding: 1.2rem 2rem;
    align-items: center;
}

.floating-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.15em;
    pointer-events: auto;
}

.floating-nav a:hover, .floating-nav a.active {
    color: var(--accent);
}

/* Toggle Button */
.nav-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: -0.5rem;
}

.floating-nav.horizontal .nav-controls {
    margin-bottom: 0;
    margin-left: 1rem;
    border-left: 1px solid rgba(255,255,255,0.1);
    padding-left: 1.5rem;
}

.toggle-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.2);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}
.toggle-btn:hover {
    color: var(--accent);
}
.toggle-btn svg {
    width: 14px;
    height: 14px;
}

/* Main Content Area */
main {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 4rem;
    box-sizing: border-box;
}

/* Hero */
.hero {
    text-align: left;
    margin-bottom: 4vh;
    opacity: 0;
    animation: fadeIn 3s ease forwards 0.5s;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 300;
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1;
}

.hero p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: rgba(82, 183, 136, 0.1);
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(82, 183, 136, 0.2);
    margin: 0;
}

/* The Definition (Quality without a name) */
.definition {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 0 5vh 0;
    text-align: left;
    opacity: 0;
    animation: fadeInUp 2s ease forwards 1.2s;
}

.definition p {
    margin-bottom: 1.5rem;
}

.definition p:last-child {
    margin-bottom: 0;
}

.definition .highlight {
    color: #ffffff;
    font-style: italic;
}

/* The Doors */
.doors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    opacity: 0;
    animation: fadeInUp 2s ease forwards 1.8s;
}

@media (max-width: 800px) {
    .doors { grid-template-columns: 1fr; gap: 1.5rem; }
    main { height: auto; min-height: 100vh; padding: 10vh 2rem; justify-content: flex-start; }
    .floating-nav { left: 50%; top: auto; bottom: 1rem; transform: translateX(-50%); flex-direction: row; padding: 1rem; gap: 1rem; width: 90%; max-width: 400px; justify-content: space-around; font-size: 0.65rem; } .nav-controls { display: none; }
}

.door {
    background: rgba(10, 14, 20, 0.3);
    border: 1px solid rgba(255,255,255,0.03);
    padding: 2rem 1.5rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: block;
    border-radius: 8px;
}

.door:hover {
    border-color: rgba(82, 183, 136, 0.4);
    background: rgba(82, 183, 136, 0.03);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.door h2 {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin: 0 0 1rem 0;
}

.door p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.coming-soon {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border: 1px dashed rgba(82, 183, 136, 0.3);
    border-radius: 4px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Merged Bloom Injection */
:root {
  --seed-gold-glow: #FFD299;
  --seed-peach-soft: #FF9EAA;
  --seed-violet-soft: #B892FF;
  --seed-cyan-glow: #4EF0F0;
  --seed-cyan-light: #A5F3FC;
}
.bloom-text { color: var(--seed-cyan-light); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .bloom-text {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
  .bloom-artefacts {
    background-image: linear-gradient(90deg, var(--seed-gold-glow) 0%, var(--seed-peach-soft) 33%, var(--seed-violet-soft) 66%, var(--seed-cyan-glow) 100%);
  }
}
