/* CSS Variables */
:root {
    --magenta: #FF0090;
    --cyan: #00D9FF;
    --purple: #8B5CF6;
    --dark-bg: #12132D;
    --text-primary: #FFFFFF;
    --text-secondary: #A0A0B0;
}

/* Animated background */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.3;
    background:
        radial-gradient(circle at 20% 50%, var(--magenta) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--cyan) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, var(--purple) 0%, transparent 50%);
    filter: blur(100px);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(1deg); }
    66% { transform: translate(20px, -10px) rotate(-1deg); }
}

/* Profile Hero Section */
.profile-hero {
    margin-top: 80px;
    padding: 4rem 5% 3rem;
}

.profile-hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.profile-image-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.profile-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--cyan);
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 40px rgba(0, 217, 255, 0.3);
}

.profile-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 2px solid var(--magenta);
    opacity: 0.5;
    animation: pulse-ring 3s ease-in-out infinite;
}

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

.profile-header {
    margin-top: 2rem;
}

.profile-name {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-headline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 2rem;
}

.tech-badge {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(255, 0, 144, 0.1));
    border: 1px solid var(--cyan);
    border-radius: 50px;
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(255, 0, 144, 0.2));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.2);
}

/* Profile Content Section */
.profile-content {
    padding: 3rem 5% 6rem;
}

.content-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.content-card {
    background: rgba(18, 19, 45, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.content-card:hover {
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(255, 0, 144, 0.1));
    border: 1px solid var(--cyan);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    margin-bottom: 1.5rem;
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.content-card h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.content-card strong {
    color: var(--text-primary);
    font-weight: 600;
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(5px);
}

.value-item svg {
    width: 20px;
    height: 20px;
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

.value-item span {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Sidebar Content */
.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skills-card,
.cta-card {
    background: rgba(18, 19, 45, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.skills-card h3,
.cta-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: scale(1.05);
}

.cta-card {
    margin-top: 2rem;
}

.cta-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.contact-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--magenta), var(--cyan));
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 144, 0.3);
    width: 100%;
    justify-content: center;
}

.contact-cta-button:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 0, 144, 0.4);
}

.contact-cta-button svg {
    transition: transform 0.3s ease;
}

.contact-cta-button:hover svg {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-content {
        position: static;
    }

    .skills-card,
    .cta-card {
        position: static;
    }
}

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

    .profile-headline {
        font-size: 1.2rem;
    }

    .profile-image-wrapper {
        width: 150px;
        height: 150px;
    }

    .content-card {
        padding: 2rem;
    }

    .tech-stack {
        gap: 0.5rem;
    }

    .tech-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 480px) {
    .profile-name {
        font-size: 1.5rem;
    }

    .profile-headline {
        font-size: 1rem;
    }

    .content-card h3 {
        font-size: 1.5rem;
    }

    .content-card p {
        font-size: 0.95rem;
    }
}
