:root {
    --bg-dark: #25113D;
    --card-bg: #292133;
    --text-main: #f8fafc;
    --text-muted: #b0a3c2;
    --accent: #8A4BD6;
    --accent-secondary: #7B5AA3;
    --border-subtle: #615470;
}

html, body.dark-theme {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

/* --- High Performance Background --- */
/* Removing expensive filter:blur, using CSS gradients instead */
.orb {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.orb-1 {
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(138, 75, 214, 0.2) 0%, transparent 60%);
    top: -20%;
    left: -20%;
}

.orb-2 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(123, 90, 163, 0.2) 0%, transparent 60%);
    bottom: -10%;
    right: -20%;
}

.orb-3 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(97, 84, 112, 0.3) 0%, transparent 60%);
    top: 20%;
    left: 30%;
}

/* --- High Performance UI (No Backdrop Filter) --- */
.glass-nav {
    background: rgba(37, 17, 61, 0.95);
    border-bottom: 1px solid var(--border-subtle);
}

.glass-panel {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    background: #151518;
    border-color: rgba(255, 255, 255, 0.25);
}

/* --- Avatar Ring Effect --- */
.avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent), var(--accent-secondary));
    z-index: 1;
}

.profile-img {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    border: 4px solid var(--bg-dark);
}

/* --- Typography Utilities --- */
.text-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

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

.tracking-wide {
    letter-spacing: 0.1em;
}

/* --- Premium Solid Buttons --- */
.btn-premium {
    position: relative;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-github {
    background: #24292e;
    color: white;
    border: 1px solid #444c56;
}

.btn-linkedin {
    background: #0a66c2;
    color: white;
    border: 1px solid #004182;
}

.btn-premium:hover {
    transform: translateY(-2px);
    color: white;
    filter: brightness(1.1);
}

/* --- Animations --- */
.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
