/* --- Connect Page Layout --- */

.connect-main {
    background: radial-gradient(circle at center, rgba(19, 74, 168, 0.1), var(--navy));
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
}

.connect-container {
    width: 100%;
    max-width: 480px;
}

.connect-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 40px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* --- Profile Header --- */
.profile-img-wrapper {
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #fff !important;
    padding: 0 !important;
    border: 2px solid var(--teal-glow);
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.profile-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1); 
    transition: transform 0.3s ease;
}

.profile-header h1 {
    font-size: 2rem;
    color: var(--text-white);
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.profile-header p {
    color: var(--teal-glow);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 35px;
}

/* --- Social Bar --- */
.social-bar-horizontal {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-block {
    color: var(--text-white);
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.social-block:hover {
    color: var(--teal-glow);
    transform: translateY(-4px);
}

/* --- Link Buttons (Blue Pills) --- */
.links-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.connect-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue);
    color: var(--text-white);
    text-decoration: none;
    padding: 18px 25px;
    border-radius: 50px; /* Pill Shape */
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.connect-link-btn i {
    position: absolute;
    left: 25px;
    font-size: 1.3rem;
}

.connect-link-btn:hover {
    background-color: var(--teal-glow);
    color: var(--navy);
    box-shadow: 0 0 20px var(--teal-glow);
    transform: translateY(-2px);
}

/* --- Affiliate & Extra Sections --- */
.affiliate-header {
    font-size: 1.1rem;
    color: var(--text-white);
    margin: 25px 0 10px;
    text-align: left;
    padding-left: 12px;
    border-left: 3px solid var(--teal-glow);
}

.affiliate {
    background-color: rgba(19, 74, 168, 0.2);
    border: 1px solid rgba(19, 74, 168, 0.4);
}

.affiliate-note {
    font-size: 0.75rem;
    color: #8892b0;
    margin-top: 10px;
    display: block;
    font-style: italic;
}

/* --- QR Code Section --- */
.qr-section {
    margin-top: 45px;
    padding-top: 35px;
    border-top: 1px solid rgba(100, 255, 218, 0.1);
}

.qr-box {
    background: white;
    padding: 12px;
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.qr-box img {
    width: 100%;
    height: auto;
}

.qr-section p {
    font-size: 0.85rem;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Group Labels for better UX */
.group-label {
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--teal-glow);
    margin: 25px 0 10px 10px;
    opacity: 0.8;
    font-weight: 700;
}

/* Personal LinkedIn Highlight */
.personal-link {
    background: linear-gradient(135deg, var(--blue), #0077b5) !important; /* LinkedIn Blue mix */
    border: 1px solid var(--teal-glow) !important;
    margin-bottom: 10px;
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
}

.personal-link:hover {
    box-shadow: 0 0 25px var(--teal-glow);
    transform: translateY(-3px) scale(1.02);
}

/* Subtitle update */
.profile-header h1 {
    font-size: 1.8rem;
    margin-bottom: 2px;
}

.profile-header p {
    margin-bottom: 20px;
    font-size: 1rem;
    opacity: 0.9;
}

/* Clean up spacing */
.links-group {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Tighter gap for a cleaner list */
}

/* VCard Text */
.qr-section p {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* --- Responsive Styling --- */
@media (max-width: 500px) {
    .connect-main {
        padding: 30px 15px;
    }

    .connect-card {
        padding: 40px 20px;
        border-radius: 30px;
    }

    .profile-header h1 { font-size: 1.6rem; }
    
    .connect-link-btn span {
        padding-left: 20px; /* Space for the absolute icon */
    }
}