/* ==========================================================================
   JOIN / REGISTRATION OPTIONS STYLES
   PHRI Digital Membership Card System
   ========================================================================== */

:root {
    --primary-gold: #F2A93B;
    --dark-purple: #1C1228;
    --deep-purple: #11081a;
    --text-muted: #B9AFC8;
}

.join-page {
    background: #0f0b16;
    padding: 160px 20px 40px;
    color: #fff;
    overflow: hidden;
}

.join-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    animation: fadeInUpJoin 0.8s ease-out;
}

@keyframes fadeInUpJoin {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.join-header {
    text-align: center;
    margin-bottom: 70px;
}

.join-header .badge {
    background: rgba(242, 169, 59, 0.1);
    color: var(--primary-gold);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 24px;
    border: 1px solid rgba(242, 169, 59, 0.2);
}

.join-header h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #B9AFC8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.join-header p {
    color: var(--text-muted);
    font-size: clamp(16px, 2vw, 20px);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.join-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Benefits side */
.benefit-item {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    padding: 10px;
    border-radius: 20px;
    transition: 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateX(10px);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(242, 169, 59, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-gold);
    flex-shrink: 0;
    border: 1px solid rgba(242, 169, 59, 0.2);
    transition: 0.3s;
}

.benefit-item:hover .benefit-icon {
    background: var(--primary-gold);
    color: var(--dark-purple);
    transform: scale(1.1) rotate(5deg);
}

.benefit-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.benefit-text p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Card Side */
.registration-card {
    background: var(--dark-purple);
    border-radius: 40px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0,0,0,0.6);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.registration-card:hover {
    transform: translateY(-10px);
    border-color: rgba(242, 169, 59, 0.3);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 169, 59, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.icon-box {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, #D48E28 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-purple);
    margin-bottom: 35px;
    font-size: 40px;
    box-shadow: 0 20px 40px rgba(242, 169, 59, 0.2);
}

.registration-card h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.registration-card p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 45px 0;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.card-features li i {
    color: var(--primary-gold);
    font-size: 18px;
}

.card-features li.highlight {
    color: #52fa60;
}

.card-features li.highlight i {
    color: #52fa60;
}

.btn-register-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: var(--primary-gold);
    color: var(--dark-purple);
    padding: 20px 35px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s;
    width: 100%;
    position: relative;
}

.btn-register-now:hover {
    background: #FFB74D;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(242, 169, 59, 0.2);
}

.btn-register-now i {
    font-size: 20px;
    transition: 0.3s;
}

.btn-register-now:hover i {
    transform: translateX(5px);
}

/* Loading Spinner */
.spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 4px solid rgba(28, 18, 40, 0.2);
    border-top: 4px solid var(--dark-purple);
    border-radius: 50%;
    animation: spinJoin 1s linear infinite;
}

@keyframes spinJoin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .join-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .join-header {
        margin-bottom: 50px;
    }

    .benefits-side {
        order: 2;
    }

    .registration-card-wrapper {
        order: 1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .join-page {
        padding-top: 100px;
    }

    .registration-card {
        padding: 35px 25px;
    }

    .icon-box {
        width: 70px;
        height: 70px;
        font-size: 30px;
        margin-bottom: 25px;
    }

    .registration-card h3 {
        font-size: 26px;
    }
}
