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

:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --secondary: #f59e0b;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated stars background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.1) 100%);
}

.avatar-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.avatar {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    z-index: 2;
}

.avatar-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.5;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 10px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 300;
}

/* Main Content */
main {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

section {
    margin-bottom: 60px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-light);
}

/* Bio Section */
.bio-section p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.bio-section strong {
    color: var(--secondary);
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.stat-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: transform 0.3s, border-color 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.skill-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.skill-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.skill-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Circle Section */
.circle-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.person-tag {
    background: var(--bg-card);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.person-tag:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.person-tag:first-child {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    font-weight: 600;
}

/* Philosophy Section */
.philosophy-section blockquote {
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    padding: 25px 30px;
    border-radius: 0 16px 16px 0;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text);
}

.philosophy-section p {
    color: var(--text-muted);
}

/* Footer */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--text-muted);
}

.footer-date {
    font-size: 0.85rem;
    margin-top: 10px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .avatar-container {
        width: 120px;
        height: 120px;
    }
    
    .avatar {
        font-size: 45px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
}
