/* Card container */
.camp-buddy-card {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px 25px;
    background: #fff; /* card is white */
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border: 1px solid #E8EAF0; /* subtle border */
    text-align: center;
    animation: fadeInUp 0.5s ease forwards;
}

/* Title */
.camp-buddy-title {
    font-size: 1.8rem;
    color: #3A3A3A;
    margin-bottom: 12px;
}

/* Intro text */
.camp-buddy-intro {
    font-size: 1rem;
    color: #555;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Meet buddy section */
.meet-camp-buddy {
    background: #FAFBFD;
    padding: 25px 20px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    border: 1px solid #E3E5EB;
}

/* Section heading */
.meet-buddy-heading {
    font-size: 1.4rem;
    color: #3A3A3A;
    margin-bottom: 20px;
}

/* Buddy card layout */
.buddy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Avatar wrapper */
.buddy-avatar-wrap {
    position: relative;
    width: 120px;
    height: 120px;
}

.buddy-avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.buddy-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Zoom + shadow on hover */
.buddy-avatar:hover {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Fun badge */
.buddy-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    background: #6B8E6E; /* subtle green accent */
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Buddy name */
.buddy-name a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #3A3A3A;
    text-decoration: none;
    transition: color 0.25s ease;
}

.buddy-name a:hover {
    color: #2F5D3A; /* darker green on hover */
}

/* Encourage button */
.buddy-message-btn {
    display: inline-block;
    background-color: #6B8E6E; /* green accent */
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.buddy-message-btn:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Fade-in animation */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .camp-buddy-card {
        padding: 20px 15px;
    }
    .camp-buddy-title {
        font-size: 1.5rem;
    }
    .meet-buddy-heading {
        font-size: 1.2rem;
    }
    .buddy-avatar-wrap {
        width: 90px;
        height: 90px;
    }
    .buddy-name a {
        font-size: 1.1rem;
    }
    .buddy-badge {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }
    .buddy-message-btn {
        width: 100%;
        padding: 10px 0;
        text-align: center;
    }
}