/* ===========================
   Reset & Base
   =========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #1a2744;
    color: #1d1d1f;
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Text cursor on all readable content */
h1, h2, h3, h4, h5, h6, p, span, label, li, td, th, blockquote, a {
    cursor: text;
}

/* ===========================
   Canvas (background sculpture)
   =========================== */
#orbCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: opacity 0.4s ease;
}

/* ===========================
   Vignette overlay
   =========================== */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(26, 39, 68, 0.6) 100%);
    transition: opacity 0.4s ease;
}

html, body {
    overflow: hidden;
}

/* ===========================
   Background color layer
   =========================== */
.bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #1a2744;
    transition: background-color 0.8s cubic-bezier(0.32, 0.72, 0, 1);
}
