/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;800&family=Roboto:wght@300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* System Animations */
@import url('animations.css');

/* --- MATERIAL 3 DESIGN TOKENS --- */
:root {
    /* M3 Dark Theme Colors */
    --md-sys-color-background: #121212;
    --md-sys-color-surface: #1E1E1E;
    --md-sys-color-surface-container: #252529;
    --md-sys-color-primary: #a6f7bd;
    --md-sys-color-on-primary: #003915;
    --md-sys-color-secondary: #c2c9bd;
    --md-sys-color-tertiary: #a0cfd0;
    --md-sys-color-error: #ffb4ab;
    --md-sys-color-outline: #8e918f;

    /* Elevations */
    --md-sys-elevation-1: 0 1px 2px rgba(0, 0, 0, 0.3), 0 1px 3px 1px rgba(0, 0, 0, 0.15);
    --md-sys-elevation-2: 0 1px 2px rgba(0, 0, 0, 0.3), 0 2px 6px 2px rgba(0, 0, 0, 0.15);
    --md-sys-elevation-3: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 8px 3px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--md-sys-color-background);
    color: #E3E3E3;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
    font-family: 'Outfit', sans-serif;
}

.material-symbols-rounded {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* --- M3 NAVBAR (Floating Pill) --- */
.m3-navbar {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    box-shadow: var(--md-sys-elevation-2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.m3-navbar:hover {
    background: rgba(37, 37, 41, 0.8);
    border-color: rgba(166, 247, 189, 0.2);
    box-shadow: var(--md-sys-elevation-3);
}

/* --- MATERIAL 3 CARDS --- */
.m3-card {
    background-color: var(--md-sys-color-surface);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.m3-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--md-sys-elevation-3);
    border-color: rgba(166, 247, 189, 0.2);
    background-color: #232326;
}

/* --- CUSTOM SCROLLBAR --- */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: var(--md-sys-color-surface-container);
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #353539;
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--md-sys-color-outline);
}

/* --- INPUTS --- */
.m3-input {
    width: 100%;
    background-color: #252529;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #E3E3E3;
    outline: none;
    transition: all 0.3s ease;
}

.m3-input:focus {
    border-color: var(--md-sys-color-primary);
    background-color: #1E1E1E;
}

.m3-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* --- BUTTONS --- */
.m3-btn-primary {
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.m3-btn-primary:hover {
    box-shadow: 0 4px 12px rgba(166, 247, 189, 0.3);
    transform: translateY(-1px);
}