:root {
    --primary-color: #1a1a1a;
    --secondary-color: #646cff;
    --background-color: #242424;
    --text-color: rgba(255, 255, 255, 0.87);
    --card-bg: #1a1a1a;
    --card-shadow: 0 0 20px rgba(100, 108, 255, 0.2);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--background-color);
    margin: 0;
    padding: 2rem;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 480px;
    width: 100%;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(36, 36, 36, 0.9), rgba(26, 26, 26, 0.9));
    z-index: -1;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-header h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: white;
}

.profile-header h2 {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.25rem 0;
}

.about-section {
    margin: 1.5rem 0;
}

.about-section {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.interests {
    margin-bottom: 1.5rem;
}

.interests h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.interests p {
    font-weight: 500;
}

.portfolio-status {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(100, 108, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(100, 108, 255, 0.1);
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.contact-info a:hover {
    opacity: 0.8;
}

.social-links {
    display: grid;
    gap: 0.75rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    background: rgba(100, 108, 255, 0.1);
    border: 1px solid rgba(100, 108, 255, 0.2);
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: rgba(100, 108, 255, 0.2);
    transform: translateY(-2px);
}

.social-links i {
    font-size: 1.2rem;
}

footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 480px) {
    body {
        padding: 1rem;
        overflow: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .card {
        padding: 1.5rem;
        margin: 1rem 0;
        max-width: 100%;
    }
    
    .profile-header h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .profile-header h2 {
        font-size: 1rem;
    }
    
    .social-links a {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .about-section {
        font-size: 0.9rem;
    }
    
    .interests h3 {
        font-size: 0.95rem;
    }
    
    .portfolio-status {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    footer {
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-links a {
        min-height: 44px; /* Minimum touch target size */
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Prevent text size inflation */
html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}