/* Font Classes */
.pacifico-regular {
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}

.sacramento-regular {
  font-family: "Sacramento", cursive;
  font-weight: 400;
  font-style: normal;
}

.young-serif-regular {
  font-family: "Young Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.monoton-regular {
  font-family: "Monoton", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.black-ops-one-regular {
  font-family: "Black Ops One", system-ui;
  font-weight: 400;
  font-style: normal;
}

.nixie-one-regular {
  font-family: "Nixie One", system-ui;
  font-weight: 400;
  font-style: normal;
}

.playwrite-gb-j-guides-regular {
  font-family: "Playwrite GB J Guides", cursive;
  font-weight: 400;
  font-style: normal;
}

.playwrite-gb-j-guides-regular-italic {
  font-family: "Playwrite GB J Guides", cursive;
  font-weight: 400;
  font-style: italic;
}

/* Root Colors & Variables */
:root {
    --light-purple: #d6c1ff;
    --soft-pink: #ffc0cb;
    --pure-white: #ffffff;
    --steel: #b3b3b3;
    --signal-blue: #a788ff; /* for scan/hover accent */
    --carbon-texture: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}

/* Body */
body {
    background-color: var(--pure-white);
    color: #4b3b6c; /* Dark purple text for contrast */
    font-family: "Young Serif", serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Headers & Typography */
.header-font { font-family: "Black Ops One", system-ui; color: #6b4aff; }
.cursive { font-family: "Playwrite GB J Guides", cursive; font-style: italic; color: #b368c7; }
.fun-heading { font-family: "Monoton", sans-serif; letter-spacing: 2px; color: #a788ff; }
.logo-font { font-family: "Nixie One", system-ui; color: #b368c7; }
.signature { font-family: "Pacifico", cursive; color: #ff85b3; }

/* Initial Loading / Scan Animation */
#loader {
    position: fixed;
    inset: 0;
    background: var(--pure-white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

.scan-line {
    width: 100%;
    height: 2px;
    background: var(--signal-blue);
    position: absolute;
    top: 50%;
    animation: scan 2s infinite ease-in-out;
    box-shadow: 0 0 15px var(--signal-blue);
}

@keyframes scan {
    0% { top: 0; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.progress-container {
    width: 200px;
    height: 1px;
    background: var(--steel);
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: var(--soft-pink);
    transition: width 3s cubic-bezier(0.1, 0, 0.3, 1);
}

/* UI Components */
.btn-armored {
    border: 1px solid rgba(179,179,179,0.5);
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    transition: all 0.4s;
    background: rgba(255,192,203,0.2); /* soft pink */
    position: relative;
    overflow: hidden;
    font-family: "Sacramento", cursive;
    color: #4b3b6c;
}

.btn-armored:hover {
    background: var(--light-purple);
    color: var(--pure-white);
    border-color: var(--light-purple);
}

.glass-card {
    background: rgba(198,178,255,0.2);
    border: 1px solid rgba(179,179,179,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover { 
    border-color: rgba(198,178,255,0.5); 
    background: rgba(198,178,255,0.3);
    transform: translateY(-5px);
}

/* Reveal Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: 1s all ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Overlay System */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.95);
    z-index: 8000;
    display: none;
    overflow-y: auto;
    padding: 5vw;
}

.overlay.active { display: block; }

.page-node { display: none; }
.page-node.active { display: block; }

/* Grid Background */
.grid-bg {
    background-image: radial-gradient(circle, rgba(198,178,255,0.2) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Navigation Links */
.nav-link { 
    font-size: 10px; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    opacity: 0.5; 
    transition: 0.3s;
    cursor: pointer;
    font-family: "Black Ops One", system-ui;
    color: #6b4aff;
}

.nav-link:hover { opacity: 1; color: var(--soft-pink); }

/* Scrollbar Styling */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #fdfcff; }
::-webkit-scrollbar-thumb { background: #d6c1ff; }
