* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #a855f7;
    --secondary-color: #ec4899;
    --accent-color: #10b981;
    --text-primary: #ffffff;
    --text-secondary: #d1a8ff;
    --bg-primary: #0f0319;
    --bg-secondary: #1a0b2e;
    --bg-card: #2d1b4e;
    --border-color: #3d2463;
    --shadow: 0 0.5rem 2rem rgba(168, 85, 247, 0.15);
    --shadow-hover: 0 0.75rem 3rem rgba(168, 85, 247, 0.25);
    --gradient-primary: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    --gradient-accent: linear-gradient(135deg, #d946ef 0%, #a855f7 100%);
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

::-webkit-scrollbar { width: 0.5rem; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 0.25rem; }


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(1.25rem);
    border-bottom: 0.0625rem solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover { transform: scale(1.05); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::before, .nav-links a.active::before { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 3.125rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before { left: 100%; }
.btn:hover {
    transform: translateY(-0.1875rem);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    border: 0.125rem solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    box-shadow: 0 0 1.25rem rgba(168, 85, 247, 0.5);
}

/* Hero Small */
.hero-small {
    padding: 10rem 0 5rem;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    position: relative;
}

.hero-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

.hero-small h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.hero-small p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

/* Section */
.section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 5rem;
    height: 0.25rem;
    background: var(--gradient-accent);
    bottom: -0.9375rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0.125rem;
}

/* About Content - Centered */
.about-content-center {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
}

.about-content-center h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-content-center .intro {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-content-center p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Skills Section */
.skills-section {
    background: var(--bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    border: 0.0625rem solid var(--border-color);
    transition: all 0.4s ease;
}

.skill-category:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.skill-tag {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 0.0625rem solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--gradient-accent);
    color: white;
    transform: translateY(-0.125rem);
    border-color: transparent;
}

/* Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2rem;
}

.interest-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1rem;
    border: 0.0625rem solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
}

.interest-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.interest-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.interest-card:hover i {
    transform: scale(1.2) rotate(10deg);
}

.interest-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.interest-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Contact CTA */
.contact-cta {
    background: var(--bg-secondary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 2rem 0;
    text-align: center;
    border-top: 0.0625rem solid var(--border-color);
}

.footer p {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

/* Mobile */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(2rem);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 48rem) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        border-radius: 0 0 1rem 1rem;
    }

    .nav-links.active { display: flex; }
    .mobile-nav-toggle { display: block; }

    .hero-small h1 { font-size: 2.5rem; }
    .hero-small p { font-size: 1.1rem; }

    .section-title { font-size: 2rem; }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .skills-grid { grid-template-columns: 1fr; }
    .interests-grid { grid-template-columns: 1fr; }
}