:root {
    --primary: #ff5f6d;
    --secondary: #ffc371;
    --bg-warm: #fff1eb;
    --glass: rgba(255, 255, 255, 0.4);
}

html { scroll-behavior: smooth; }

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #2d3436;
    background-color: var(--bg-warm);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Animated Warm Backdrop */
.warm-backdrop {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
    background-attachment: fixed;
}

body::after {
    content: "";
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,95,109,0.05) 0%, transparent 50%);
    animation: drift 20s linear infinite;
    z-index: -1;
}

@keyframes drift {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

nav { padding: 2rem; display: flex; justify-content: center; }
.logo { font-weight: 800; font-size: 1.8rem; letter-spacing: -1px; }
.logo span { color: var(--primary); }

.hero {
    text-align: center;
    padding: 150px 10% 100px;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-primary {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 15px 30px rgba(255, 95, 109, 0.2);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(255, 95, 109, 0.3); }

.container { max-width: 1000px; margin: 0 auto; padding: 0 5%; }
.section { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 4rem; font-size: 2.5rem; font-weight: 800; }

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

.glass {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 35px;
    padding: 3rem;
    transition: 0.4s ease;
}

.glass:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.7);
}

.tag { color: var(--primary); font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

.link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
}

.link:hover { opacity: 0.7; }

/* Skills Alignment Fixed */
.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.skill-pill {
    background: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.skill-pill:hover { background: var(--primary); color: white; }

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

.reveal { animation: fadeInUp 1s ease forwards; }
.reveal-delay { opacity: 0; animation: fadeInUp 1s ease 0.3s forwards; }

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .hero { padding: 100px 5%; }
}
