/* tokens.css — single source of truth */
@import url('fonts.css');

:root {
    /* ── Accent ── */
    --accent:              #ff6b00;
    --accent-2:            #ff8c00;
    --clr-primary:         var(--accent);
    --clr-primary-hover:   #ff8533;
    --clr-primary-alpha:   rgba(255, 107, 0, 0.15);
    --clr-primary-glow:    rgba(255, 107, 0, 0.4);
    --accent-glow:         rgba(255, 107, 0, 0.4);
    --accent-soft:         rgba(255, 107, 0, 0.12);
    --accent-soft-2:       rgba(255, 107, 0, 0.08);
    --border-accent:       rgba(255, 107, 0, 0.40);

    /* ── Backgrounds ── */
    --bg-base:             #0a0b10;
    --bg-1:                #0f172a;
    --bg-2:                #111827;
    --bg-3:                #1e293b;
    --bg-surface:          rgba(18, 20, 28, 0.65);
    --bg-card:             rgba(255, 255, 255, 0.04);
    --bg-card-hover:       rgba(255, 255, 255, 0.07);

    /* ── Unified Canvas Background (Aurora Glow on Slate) ── */
    --bg-canvas:           radial-gradient(circle at top right, rgba(255, 107, 0, 0.14), transparent 28%),
                           radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.12), transparent 32%),
                           linear-gradient(135deg, var(--bg-1), var(--bg-2) 45%, var(--bg-3));

    /* ── Surfaces / Glass ── */
    --surface:             rgba(255, 255, 255, 0.06);
    --surface-strong:      rgba(255, 255, 255, 0.1);
    --surface-hover:       rgba(255, 255, 255, 0.12);
    --border:              rgba(255, 255, 255, 0.12);
    --border-strong:       rgba(255, 255, 255, 0.18);
    --glass-border:        rgba(255, 255, 255, 0.06);
    --glass-highlight:     rgba(255, 255, 255, 0.1);

    /* ── Text ── */
    --text-main:           #f8f9fa;
    --text:                #f8fafc;
    --text-secondary:      #adb5bd;
    --text-soft:           #cbd5e1;
    --text-muted:          #6c757d;

    /* ── Typography ── */
    --font-body: "Doran FaNum", "Vanda", system-ui, -apple-system, sans-serif;
    --font-mono: "Consolas", "Monaco", monospace;

    /* ── Font Sizes ── */
    --fz-xs:   0.8rem;
    --fz-sm:   0.9rem;
    --fz-base: 1rem;
    --fz-md:   1.125rem;
    --fz-lg:   1.25rem;
    --fz-xl:   1.5rem;
    --fz-2xl:  2.2rem;
    --fz-3xl:  2.5rem;

    /* ── Border Radius ── */
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   24px;
    --radius-pill: 999px;
    --radius-full: 999px;

    /* ── Spacing ── */
    --sp-xs:  0.25rem;   /* ≈ 4px  */
    --sp-sm:  0.5rem;    /* ≈ 8px  */
    --sp-md:  1rem;      /* ≈ 16px */
    --sp-lg:  1.5rem;    /* ≈ 24px */
    --sp-xl:  2rem;      /* ≈ 32px */
    --sp-2xl: 3rem;      /* ≈ 48px */

    /* ── Shadows ── */
    --shadow:        0 20px 50px rgba(0, 0, 0, 0.25);
    --shadow-glass:  0 16px 40px rgba(0, 0, 0, 0.5);
    --shadow-btn:    0 8px 25px var(--clr-primary-glow);
    --shadow-card:   0 8px 32px rgba(0, 0, 0, 0.30);

    /* ── Transitions ── */
    --transition-fast:   0.2s ease;
    --transition-base:   0.28s ease;
    --transition-slow:   0.3s ease;
    --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ════════════════════════════════════════════════════════════
   Shared Glass Navbar (Unified across all pages)
   ════════════════════════════════════════════════════════════ */
.glass-navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(15, 15, 20, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    box-sizing: border-box;
}

.navbar-brand {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    position: relative;
    padding: 4px 0;
}

.navbar-links a:hover {
    color: #ffffff;
}

.navbar-links a.active {
    color: var(--accent) !important;
    font-weight: 600;
}

.navbar-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent);
}
