/* 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); }
}

/* About Hero Section */
.about-hero {
    margin-top: 80px;
    padding: 4rem 5% 2rem;
}

.hero-header {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    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;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.team-cards-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.team-member-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: 3rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.member-image-container {
    margin-bottom: 2rem;
}

.member-image-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

.member-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);
}

.image-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;
    }
}

.member-info {
    width: 100%;
}

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

.member-role {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.member-summary {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.member-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.tech-badge {
    padding: 0.4rem 1rem;
    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.85rem;
    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-link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    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);
}

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

.profile-link-button svg {
    transition: transform 0.3s ease;
}

.profile-link-button:hover svg {
    transform: translateX(3px);
}

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

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

    .section-description {
        font-size: 1rem;
    }

    .member-name {
        font-size: 1.5rem;
    }

    .member-role {
        font-size: 1rem;
    }

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

    .team-member-card {
        padding: 2rem;
    }

    .member-tech-stack {
        gap: 0.4rem;
    }

    .tech-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.9rem;
    }
}

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

    .member-name {
        font-size: 1.3rem;
    }

    .member-summary {
        font-size: 0.95rem;
    }

    .profile-link-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}
