* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

html[data-theme="light"] {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --background-start: #f8fafc;
    --background-end: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.3);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shape-1: rgba(37, 99, 235, 0.2);
    --shape-2: rgba(59, 130, 246, 0.2);
    --shape-3: rgba(37, 99, 235, 0.1);
}

html[data-theme="dark"] {
    --primary-color: #8b5cf6;
    --secondary-color: #a78bfa;
    --background-start: #0f172a;
    --background-end: #1e293b;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shape-1: rgba(139, 92, 246, 0.2);
    --shape-2: rgba(167, 139, 250, 0.2);
    --shape-3: rgba(139, 92, 246, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--background-start) 0%, var(--background-end) 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.theme-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
}

.try-me-button {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--glass-bg);
    padding: 10px 20px;
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    font-size: 14px;
    z-index: 1000;
}

.try-me-button:hover {
    transform: translateY(-2px);
    background: var(--glass-bg);
}

.animated-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatAnimation 15s infinite linear;
}

.shape-1 {
    width: 800px;
    height: 800px;
    background: var(--shape-1);
    top: -400px;
    left: -400px;
    animation-delay: 0s;
}

.shape-2 {
    width: 1000px;
    height: 1000px;
    background: var(--shape-2);
    bottom: -500px;
    right: -500px;
    animation-delay: -5s;
}

.shape-3 {
    width: 600px;
    height: 600px;
    background: var(--shape-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -7s;
    opacity: 0.3;
}

@keyframes floatAnimation {
    0% { transform: rotate(0deg) translate(0, 0) scale(1); }
    33% { transform: rotate(120deg) translate(100px, 100px) scale(1.2); }
    66% { transform: rotate(240deg) translate(-100px, 100px) scale(0.8); }
    100% { transform: rotate(360deg) translate(0, 0) scale(1); }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    position: relative;
    z-index: 1;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--glass-border);
}

.profile {
    text-align: center;
    margin-bottom: 40px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid var(--glass-border);
    padding: 3px;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-bio {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.link-button {
    background: var(--glass-bg);
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--glass-border);
}

.link-button:hover {
    transform: translateY(-2px);
    background: var(--glass-bg);
    border-color: var(--primary-color);
}

.app-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.made-with-love {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-primary);
    font-size: 14px;
    animation: heartBeat 1.5s ease infinite;
    z-index: 1000;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

@keyframes heartBeat {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 30px 20px;
    }

    .links {
        grid-template-columns: 1fr;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }
}