/* ===================================
   BASE STYLES - Foundation
   =================================== 
   
   Core styles loaded on every page.
   Includes resets, typography, animations, scrollbar.
   
   Dependencies: abstracts/tokens.css
   Used by: All pages
*/

/* Import Design Tokens */
@import url('./abstracts/tokens.css');

/* ===================================
   RESET AND BASE STYLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--accent-color);
    background-color: #000000;
    background-image: radial-gradient(#1a1a1a 1px, transparent 1px);
    background-size: 32px 32px;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color-scheme: dark;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

/* Headings and Display Text */
h1, h2, .nav-brand {
    font-family: var(--font-display);
    font-weight: 400;
}

/* Orbitron is bold by design — headlines use weight 900 */
code, pre, kbd {
    font-family: var(--font-mono);
}

/* Form Elements - Explicit Roboto Mono */
input, select, textarea, button {
    font-family: var(--font-body);
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.tab-content.active {
    animation: fadeIn 0.3s ease-in-out;
}

/* ===================================
   SCROLLBAR STYLING
   =================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d0d0d;
    border-radius: 0;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 0;
    box-shadow: none;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color-dim);
    box-shadow: 0 0 15px var(--accent-color-50);
}
