/* === Reset & Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji';
    background: #0f0f0f;
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}

/* === Container === */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* === Header === */
.page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.2rem;
    color: #bbb;
    font-weight: 300;
}

/* === Team Sections === */
.team-section {
    margin-bottom: 80px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2a2a2a;
    color: #fff;
    text-align: center;
}

/* === Profile Grid === */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* === Profile Cards === */
.profile-card {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 12px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* === Profile Avatar === */
.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, border-color 0.3s ease;
    object-fit: cover;
}

.profile-avatar:hover {
    transform: scale(1.05);
    border-color: rgba(29, 161, 242, 0.3);
}

/* === Profile Content === */
.profile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.profile-flag {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
    overflow: hidden;
    display: inline-block;
}

.profile-status {
    color: #bbb;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
}

.profile-verified {
    color: #1da1f2;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 8px rgba(29, 161, 242, 0.3));
}

.profile-verified.fa-code {
    color: #1da1f2;
    filter: drop-shadow(0 0 8px rgba(29, 161, 242, 0.3));
}

.profile-tag {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border-radius: 12px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.profile-tag:hover {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* === Social Icons === */
.profile-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-social i {
    font-size: 1.1rem;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, #333, #222);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-social i:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Social Icon Specific Colors */
.profile-social i.fa-tiktok:hover {
    background: linear-gradient(45deg, #25F4EE 0%, #25F4EE 25%, #FE2C55 75%, #FE2C55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.3);
}

.profile-social i.fa-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

.profile-social i.fa-discord:hover {
    color: #7289da;
    box-shadow: 0 8px 20px rgba(114, 137, 218, 0.3);
}

.profile-social i.fa-envelope:hover {
    color: #34495e;
    box-shadow: 0 8px 20px rgba(52, 73, 94, 0.3);
}

.profile-social i.fa-youtube:hover {
    background: linear-gradient(45deg, #f10303 0%, #ff0000 25%, #f30529 50%, #ff0000 75%, #f50404 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.3);
}

.profile-social i.fa-external-link:hover {
    color: #5a7ba1;
    box-shadow: 0 8px 20px rgba(90, 123, 161, 0.3);
}

/* === Toast Notification === */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    transform: translateX(0);
}

.toast i {
    color: #7289da;
    font-size: 1.2rem;
}

.toast.error i {
    color: #e74c3c;
}

/* === Apply Card Styling === */
.apply-card {
    border: 2px solid rgba(29, 161, 242, 0.3);
}

.apply-card:hover {
    border-color: rgba(29, 161, 242, 0.5);
}

/* === Responsive Design === */
@media (max-width: 1200px) {
    .profile-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }

    .page-header {
        padding: 30px 15px;
        margin-bottom: 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .profile-card {
        padding: 25px 20px;
    }

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

    .profile-social {
        gap: 8px;
    }

    .profile-social i {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .toast {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }

    .toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.6rem;
    }

    .profile-avatar {
        width: 90px;
        height: 90px;
    }

    .profile-name {
        font-size: 1.1rem;
        flex-wrap: wrap;
    }

    .profile-status {
        font-size: 0.9rem;
    }

    .profile-tag {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}