:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #222222;
    --bg-card-hover: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --border: #333333;
    --gradient: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent: #f97316;
    --accent-hover: #ea580c;
    --border: #e2e8f0;
    --gradient: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.6;
}

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

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.theme-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-icon.active {
    background: var(--accent);
    color: white;
}

.profile-section {
    text-align: center;
    margin-bottom: 3rem;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
    background: var(--gradient);
    padding: 4px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(249, 115, 22, 0.4); }
    to { box-shadow: 0 0 30px rgba(249, 115, 22, 0.6); }
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-card);
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-bio {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.nav-toggle {
    display: flex;
    background: var(--bg-card);
    border-radius: 50px;
    padding: 6px;
    margin: 0 auto 2rem;
    width: fit-content;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.nav-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-btn.active {
    background: var(--accent);
    color: white;
    box-shadow: 0 2px 10px rgba(249, 115, 22, 0.3);
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.link-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.link-content {
    flex: 1;
}

.link-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.link-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.link-arrow {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.link-item:hover .link-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

.footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

.hidden {
    display: none;
}

@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }
    
    .profile-name {
        font-size: 1.75rem;
    }
    
    .link-item {
        padding: 1rem;
    }
}