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

body {
    background-color: #000;
    background-image: url('../picture/pattern.svg');
    background-repeat: repeat;
    background-size: auto;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    padding: 24px 16px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
            radial-gradient(ellipse 80% 50% at 50% -10%, rgba(7,94,84,0.55) 0%, transparent 70%),
            radial-gradient(ellipse 60% 40% at 80% 110%, rgba(18,140,126,0.3) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.card { position: relative; z-index: 1; }

.card {
    background: #1F2C34;
    border-radius: 20px;
    max-width: 460px;
    width: 100%;
    padding: 40px 32px 36px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(37,211,102,0.12);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #075E54, #25D366, #128C7E);
}

.avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 18px;
}

.avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #25D366;
    display: block;
}

.wa-badge {
    position: absolute;
    bottom: 1px; right: 1px;
    width: 28px; height: 28px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2.5px solid #1F2C34;
}

.wa-badge svg { width: 14px; height: 14px; fill: #fff; }

.group-name {
    color: #E9EDEF;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0px;
    letter-spacing: -0.2px;
}

.group-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #25D366;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 22px;
    background: rgba(37,211,102,0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.group-label svg { width: 12px; height: 12px; fill: #25D366; }

.divider {
    height: 1px;
    background: rgba(134,150,160,0.15);
    margin: 0 -32px 22px;
}

.description {
    color: #AEBAC1;
    font-size: 15px;
    line-height: 1.75;
    text-align: left;
    margin-bottom: 26px;
}

.description .intro {
    display: block;
    color: #E9EDEF;
    font-weight: 600;
    margin-bottom: 12px;
}

.description .item {
    display: block;
    margin-bottom:0px;
    padding-left: 2px;
}

.description .notice {
    display: block;
    margin-top: 14px;
    color: #E9EDEF;
    font-size: 14px;
    background: rgba(37,211,102,0.07);
    border-left: 3px solid #25D366;
    padding: 10px 12px;
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}

.description .cta-hint {
    display: block;
    margin-top: 14px;
    color: #8696A0;
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
}

.join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    background: #25D366;
    color: #fff;
    font-size: 15.5px;
    font-weight: 600;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s, transform 0.1s, box-shadow 0.18s;
    box-shadow: 0 4px 20px rgba(37,211,102,0.35);
    letter-spacing: 0.1px;
}

.join-btn svg { width: 22px; height: 22px; fill: #fff; flex-shrink: 0; }

.join-btn:hover {
    background: #22C55E;
    box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}

.join-btn:active {
    transform: scale(0.98);
    background: #128C7E;
    box-shadow: 0 2px 12px rgba(37,211,102,0.2);
}

@media (max-width: 480px) {
    body { padding: 16px; align-items: flex-start; padding-top: 36px; }
    .card { padding: 32px 20px 28px; border-radius: 16px; }
    .group-name { font-size: 18px; }
    .divider { margin: 0 -20px 20px; }
    .description { font-size: 1.05rem; }
}
