:root {
    --bg: #050505;
    --accent: #b91c1c;
    --accent-dark: #7f1d1d;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border: rgba(185, 28, 28, 0.25);
    --glass: rgba(20, 10, 10, 0.6);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* --- Layout --- */
.society-page {
    min-height: 90vh; /* Better spacing */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 20px;
    background-color: var(--bg);
}

/* .glow-bg {
    position: absolute;
    top: 50%; left: 50%; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(185, 28, 28, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
} */

.society-container {
    position: relative;
    z-index: 1;
    max-width: 550px; /* Thoda compact rakha taaki card premium lage */
    width: 100%;
    text-align: center;
}

/* --- Typography --- */
.brand-tag {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.society-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive Font */
    color: var(--text-main);
    margin: 0 0 10px;
    font-weight: 400;
}

.society-subtitle {
    font-family: var(--font-body);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 450px;
    margin: 0 auto 30px;
}

.divider {
    height: 1px; width: 60px; background: var(--accent); margin: 0 auto 40px; opacity: 0.5;
}

/* --- Status Cards (Guest, Invite, Pending) --- */
.status-card {
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px 30px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.icon-box {
    width: 60px; height: 60px; margin: 0 auto 20px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    background: rgba(0,0,0,0.2);
}
.icon-box svg { width: 24px; height: 24px; }

.status-card h3 { 
    font-family: var(--font-heading); 
    font-size: 1.8rem; 
    margin-bottom: 10px; 
    color: #fff; 
}
.status-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 30px; line-height: 1.5; }

/* Pulse Animation */
.icon-box.pulse {
    animation: pulse-glow 2s infinite;
    color: var(--accent); border-color: var(--accent);
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(185, 28, 28, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(185, 28, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(185, 28, 28, 0); }
}

.status-badge {
    padding: 6px 14px; border: 1px solid var(--border); border-radius: 50px;
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted);
}

/* --- Membership Card (Approved) - Enhanced Styling --- */
.membership-card {
    background: linear-gradient(135deg, #120404 0%, #000 100%);
    border: 1px solid var(--accent);
    padding: 40px;
    border-radius: 16px;
    text-align: left;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    overflow: hidden;
}

/* Shine Animation */
.membership-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: shine 3s infinite;
}
@keyframes shine { 100% { left: 100%; } }

.card-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px;
}

.card-label {
    font-size: 0.7rem; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase;
}

/* Level Badge styling */
.level-badge {
    font-size: 0.65rem; background: rgba(185, 28, 28, 0.15); color: #fff;
    padding: 5px 12px; border-radius: 20px; border: 1px solid var(--accent);
    letter-spacing: 0.1em; text-transform: uppercase;
}

.card-body h2 {
    font-family: var(--font-heading); font-size: 2.2rem; margin: 0; color: #fff; text-transform: capitalize;
}

.card-tier {
    font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-muted); margin-top: 5px;
}

.card-motivation { margin: 25px 0 10px; }
.card-motivation p { font-size: 0.9rem; color: #999; line-height: 1.5; }
.highlight { color: #fff; font-weight: 600; color: var(--accent); }

.card-footer { margin-top: 30px; }

/* --- Buttons (Pill Shape) --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem; /* User requested specific padding */
    border-radius: 50px;  /* PILL SHAPE */
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    text-align: center;
}

.btn.primary {
    background: var(--accent); color: #fff;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}
.btn.primary:hover {
    background: var(--accent-dark); transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}
.btn-outline:hover { 
    border-color: #fff; 
    background: rgba(255,255,255,0.1); 
    transform: translateY(-2px);
}


/* --- MOBILE RESPONSIVE FIXES --- */
@media (max-width: 768px) {
    /* Container fitment */
    .society-page {
        padding: 0px 15px 40px;
    }
    
    .society-container {
        max-width: 100%;
    }

    /* Font sizes adjustment */
    .society-title { font-size: 2.5rem; }
    .status-card h3 { font-size: 1.5rem; }
    .membership-card h2 { font-size: 1.8rem; }

    /* Card Padding reduction */
    .status-card, .membership-card {
        padding: 30px 20px;
    }

    /* Button full width on mobile */
    .btn {
        width: 100%;
        display: block;
    }

    /* Adjust header in card to avoid breaking */
    .card-header {
        flex-direction: row; /* Keep in row but adjust font if needed */
    }
}