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

:root {
    --orange: #ff6b35;
    --orange-light: #ff8c5a;
    --orange-dark: #e55a2b;
    --red: #e52b2b;
    --pink: #e52b8b;
    --yellow: #e5dc2b;
    --blue: #1e90ff;
    --blue-light: #4da6ff;
    --blue-dark: #0066cc;
    --dark-bg: #213448;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--dark-bg);
}

/* Floating Emojis */
.floating-emoji {
    position: fixed;
    font-size: 2rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Header Section */
header {
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
}

.badge {
    display: inline-block;
    background: var(--orange);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.1;
}

h1 .highlight-orange {
    color: var(--orange);
}

h1 .highlight-red {
    color: var(--red);
}

h1 .highlight-pink {
    color: var(--pink);
}

h1 .highlight-orange {
    color: var(--yellow);
}


h1 .highlight-blue {
    color: var(--blue);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.subtitle .accent {
    color: var(--yellow);
    font-weight: 600;
}

/* Team Grid */
.team-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* Member Card */
.member-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    width: 100%;
    max-width: 380px;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.member-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 24px 24px 0 0;
}

.member-card:nth-child(odd)::before {
    background: yellow;
}

.member-card:nth-child(even)::before {
    background: var(--blue);
}

.member-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.member-card:nth-child(odd):hover {
    box-shadow: 0 25px 50px -12px rgba(221, 214, 4, 0.87);
}

.member-card:nth-child(even):hover {
    box-shadow: 0 25px 50px -12px rgba(30, 144, 255, 0.3);
}

/* Profile Image */
.profile-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
}

.profile-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    padding: 4px;
}

.member-card:nth-child(odd) .profile-ring {
    background: yellow;
}

.member-card:nth-child(even) .profile-ring {
    background: var(--blue);
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--dark-bg);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.member-card:hover .profile-img {
    transform: scale(1.1);
}

.status-dot {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: #10b981;
    border: 3px solid var(--dark-bg);
    border-radius: 50%;
    z-index: 2;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

/* Member Info */
.member-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.member-nim {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-family: 'Space Grotesk', monospace;
    letter-spacing: 1px;
}

.member-role {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-card:nth-child(odd) .member-role {
    background: rgba(253, 237, 9, 0.377);
    color: yellow;
}

.member-card:nth-child(even) .member-role {
    background: rgba(30, 144, 255, 0.2);
    color: var(--blue-light);
}

.member-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Hobby Tag */
.hobby-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-top: 15px;
}

.hobby-icon {
    font-size: 1.2rem;
}

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

.hobby-text span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.3);
}

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

.footer-text .orange {
    color: var(--orange);
    font-weight: 600;
}

.footer-text .blue {
    color: var(--blue);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 60px 20px 40px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .member-card {
        max-width: 100%;
    }
}