@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #e4fbf6 0%, #f4fbf9 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 380px; 
    width: 100%;
    text-align: center;
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.05);
}

/* --- ANIMATED GRADIENT RING (THINNER) --- */
.profile-image-container {
    position: relative;
    width: 115px;   /* Reduced to 120px to make the ring thinner */
    height: 115px;  /* Reduced to 120px to make the ring thinner */
    border-radius: 50%;
    background: linear-gradient(45deg, #10b981, #34d399, #047857, #10b981);
    background-size: 300% 300%;
    animation: gradient-spin 3s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
}
.profile-image {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff; 
}
@keyframes gradient-spin {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- SPLIT TITLE & SPINNING STARS --- */
.title {
    color: #047857;
    font-size: 1.25rem;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.title-top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.star {
    display: inline-block;
    color: #34d399;
    font-size: 1rem;
    animation: spin-star 4s linear infinite; 
}
@keyframes spin-star {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- TYPOGRAPHY --- */
.subtitle {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 20px;
}
.description {
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* --- BREATHING MEMBERS BUTTON WITH RIPPLE --- */
.members-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #ecfdf5;
    color: #047857;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative; 
    animation: breathe 2.5s ease-in-out infinite;
}

/* The Ripple Element */
.members-badge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 2px solid #10b981;
    animation: ripple 2.5s ease-out infinite;
    z-index: -1;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
}
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* --- GRADIENT SHINING MAIN BUTTON --- */
.join-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #22c55e 0%, #15803d 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 16px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0px 4px 15px rgba(21, 128, 61, 0.4);
}
.join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 20px rgba(21, 128, 61, 0.5);
}
/* The Shine Element */
.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}
@keyframes shine {
    0%, 60% { left: -100%; } 
    100% { left: 200%; } 
}

/* --- DISCLAIMER --- */
.disclaimer {
    font-size: 0.65rem;
    color: #9ca3af;
    margin-top: 25px;
    line-height: 1.6;
}
.disclaimer strong {
    color: #6b7280;
}