* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root {
    --bg-color: #0d1117;
    --card-bg: rgba(255, 255, 255, 0.05); /* Lighter glass */
    --accent-color: #58a6ff;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --glow-color: rgba(88, 166, 255, 0.2);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Blobs for Glass Effect */
body::before, body::after {
    content: '';
    position: fixed;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

body::before {
    background: linear-gradient(135deg, #58a6ff, #00d2ff);
    top: -10%;
    left: -10%;
    animation: float 10s infinite alternate;
}

body::after {
    background: linear-gradient(135deg, #7c4dff, #f50057);
    bottom: -10%;
    right: -10%;
    animation: float 12s infinite alternate-reverse;
}

@keyframes float {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 50px); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.profile-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px var(--glow-color);
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
    backdrop-filter: blur(5px);
}

h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #58a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 1s ease-out;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
    animation: fadeInUp 1.2s ease-out;
}

section {
    margin-bottom: 5rem;
    padding: 3rem;
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    box-shadow: var(--glass-shadow);
    animation: fadeInUp 1.5s ease-out;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
}

h2::before {
    content: '';
    width: 8px;
    height: 32px;
    background: var(--accent-color);
    border-radius: 4px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
}

.skill-tag {
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.skill-tag:hover {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

.contact-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.contact-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-links a:hover {
    color: var(--accent-color);
    transform: translateY(-5px);
    text-shadow: 0 0 10px var(--glow-color);
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    section { padding: 1.5rem; }
}
