@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0f1115;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
}

.bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 30%, rgba(255, 51, 102, 0.15) 0%, rgba(15, 17, 21, 1) 70%);
    z-index: 1;
}

.invite-card {
    position: relative;
    z-index: 2;
    background: rgba(25, 27, 33, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.group-icon-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
}

.group-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 0.5px solid #ff3366;
    padding: 3px;
    background: #1a1a1a;
    animation: borderPulseRing 2s infinite ease-in-out;
}

@keyframes borderPulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 51, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 102, 0);
    }
}

.online-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background: #34c759;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    animation: glow 2s infinite;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(52, 199, 89, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0);
    }
}

.card-header h1 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.members-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #34c759;
    font-weight: 600;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #34c759;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.card-body {
    margin: 25px 0;
}

.invite-message {
    font-size: 15px;
    color: #a0a5b1;
    line-height: 1.5;
    margin-bottom: 20px;
}

.highlight {
    color: #ff3366;
    font-weight: 700;
}

.verification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
}

.shield-icon {
    width: 14px;
    height: 14px;
}

.verification-badge span {
    font-size: 11px;
    font-weight: 600;
    color: #cccccc;
    letter-spacing: 0.5px;
}

.btn-join {
    width: 100%;
    background: linear-gradient(135deg, #ff3366 0%, #ff5e62 100%);
    color: white;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 10px 25px -5px rgba(255, 51, 102, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px -5px rgba(255, 51, 102, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px 0px rgba(255, 51, 102, 0.7);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px -5px rgba(255, 51, 102, 0.4);
    }
}

.btn-join:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 35px -5px rgba(255, 51, 102, 0.5);
}

.btn-join:active {
    transform: translateY(1px);
}

.countdown-box {
    margin-top: 15px;
    font-size: 12px;
    color: #a0a5b1;
    font-weight: 500;
    display: none;
}

#countdown-timer {
    color: #ff3366;
    font-size: 13px;
    font-weight: 700;
}

.disclaimer {
    margin-top: 15px;
    font-size: 11px;
    color: #666;
}