@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Nunito:wght@400;500;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
    scrollbar-color: rgba(96, 165, 250, 0.5) transparent;
    scrollbar-width: thin;
    overscroll-behavior: none;
}

html,
body {
    min-height: 100%;
}

:root {
    --bg-color: #111827;
    --text-color: rgba(255, 255, 255, 0.88);
    --primary-color: #f9fafb;
    --accent-color: #60a5fa;
    --card-bg: rgba(255, 255, 255, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.26);
    --shadow-lg: 0 16px 34px rgba(0, 0, 0, 0.32);
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #14161b;
    z-index: -1;
    pointer-events: none;
}

a {
    color: inherit;
}

section {
    margin-bottom: 3rem;
    scroll-margin-top: 24px;
}

section>h2 {
    font-family: 'Montserrat', 'Nunito', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

section>h2::before,
section>h2::after {
    content: '';
    flex: 1 1 auto;
    height: 1px;
    border-radius: 1px;
}

section>h2::before {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.5), transparent);
}

section>h2::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.5), transparent);
}

footer {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.84);
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    footer {
        background: rgba(17, 24, 39, 0.86);
    }
}

@media (max-width: 768px) {
    section {
        margin-bottom: 2.35rem;
    }

    section>h2 {
        font-size: 1.6rem;
        margin-bottom: 1.35rem;
        gap: 0.65rem;
    }

    footer {
        margin-top: 2.8rem;
        padding: 2rem 1rem;
    }
}