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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #10b981; /* Emerald/Mint Green */
    --accent-hover: #059669; /* Darker mint on hover */
    --accent-light: #34d399; /* Light mint */
    --gradient: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    --card-bg: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(5, 150, 105, 0.12) 0%, transparent 50%);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-wrapper {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--accent);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.3);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--card-bg);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.5);
}

.profile-image-loading {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.05) 25%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.name {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.title {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.current-role {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-secondary);
    margin-top: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.45s backwards;
}

.current-role .company-link {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.current-role .company-link:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

.construction {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.construction-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.construction h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.construction p {
    color: var(--text-secondary);
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

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

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.3);
}

.social-link.github:hover {
    background: #333;
    border-color: #333;
    box-shadow: 0 10px 25px rgba(51, 51, 51, 0.3);
}

.social-link.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.3);
}

.social-link.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3);
}

.social-link.email:hover {
    background: #ea4335;
    border-color: #ea4335;
    box-shadow: 0 10px 25px rgba(234, 67, 53, 0.3);
}

.social-link.resume:hover {
    background: #34a853;
    border-color: #34a853;
    box-shadow: 0 10px 25px rgba(52, 168, 83, 0.3);
}

.social-link.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.3);
}

.footer {
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

@media (max-width: 768px) {
    .profile-image {
        width: 120px;
        height: 120px;
    }

    .construction {
        padding: 1.5rem;
    }

    .social-links {
        gap: 0.75rem;
    }

    .social-link {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .construction {
        padding: 1.25rem;
    }

    .social-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .social-link span {
        display: none;
    }

    .social-link i {
        font-size: 1.3rem;
    }
}

@media (max-width: 360px) {
    .name {
        font-size: 2rem;
    }

    .title {
        font-size: 1rem;
    }

    .construction-icon {
        font-size: 2.5rem;
    }
}

.social-link:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    body::before {
        display: none;
    }

    .social-links {
        display: block;
    }

    .social-link {
        display: inline-block;
        margin: 0.5rem;
    }
}
