:root {
    --bg-color-dark: #0f1115;
    --card-bg: #1c1f26;
    --text-main: #f0f0f0;
    --text-muted: #9aa0a6;
    --border-color: #2b2f36;
}

html {
    overflow-x: hidden;
    width: 100%;
    background-color: var(--bg-color-dark);
}

body {
    overflow-x: hidden;
    width: 100%;
    background-color: transparent;
}

@keyframes fadeInPage {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    letter-spacing: -0.03em;
}

.page-wrapper, #particles-js {
    animation: fadeInPage 1.5s ease-in-out;
}

@keyframes scrollGrid {
    0% { background-position: 0 0; }
    100% { background-position: 0 40px; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -3;
    pointer-events: none;
    animation: scrollGrid 3s linear infinite;
}

.glass-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    background: rgba(28, 31, 38, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.header-glass,
.footer-glass {
    background: rgba(15, 17, 21, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(43, 47, 54, 0.6);
}

.footer-glass {
    border-bottom: none;
    border-top: 1px solid rgba(43, 47, 54, 0.6);
}

.text-muted {
    color: var(--text-muted) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
}
