/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #262626;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #306AC7;
}

/* Base Body & Typography */
body {
    background-color: #030303;
    /* Slightly darker shift */
    color: #e5e5e5;
    font-family: 'Inter', sans-serif;
    /* Subtle noise texture */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E"),
        radial-gradient(circle at 50% 0%, rgba(48, 106, 199, 0.15), transparent 40%);
    background-attachment: fixed;
    background-repeat: repeat, no-repeat;
    -webkit-font-smoothing: antialiased;
}

/* Typography Overrides */
h1 {
    letter-spacing: -0.04em;
}

h2,
h3,
h4 {
    letter-spacing: -0.02em;
}

/* Selection Color */
::selection {
    background: rgba(48, 106, 199, 0.3);
    color: white;
}

/* Spotlight Effect Utilities */
.spotlight-card {
    position: relative;
    background: rgba(10, 10, 12, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.spotlight-card::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

.spotlight-card:hover::before {
    opacity: 1;
}

.spotlight-card::after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
            rgba(48, 106, 199, 0.25),
            transparent 40%);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.spotlight-card:hover::after {
    opacity: 1;
}

.spotlight-content {
    position: relative;
    z-index: 10;
}

/* Glass & Utilities */
.glass-panel {
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hero Text Gradient */
.text-gradient {
    background: linear-gradient(to right, #ffffff 20%, #a1a1aa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
}

.text-gradient-accent {
    background: linear-gradient(to right, #306AC7, #60efff);
    -webkit-background-clip: text;
    background-clip: text;
    /* Standard property */
    -webkit-text-fill-color: transparent;
}
