/* ==========================================================================
   Join Component / Rainbow Nation Showroom Core Rules
   ========================================================================== */
.join-section {
    background-color: var(--bg-dark-charcoal);
    padding: 100px 0;
    position: relative;
    width: 100%;
}

.join-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Text Framing */
.join-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
}

.join-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.join-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Portrait Grid Processing Layout */
.join-image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    margin-bottom: 50px;
}

.join-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 2 / 3; /* Keeps uniform structural aspect ratios regardless of upload scale */
    background-color: #16181a;
    border: 1px solid rgba(181, 184, 188, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.join-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

/* Metallic Highlight Rim effect on Hover card action overlays */
.card-edge-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.08) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Interactive Card Transitions */
.join-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(181, 184, 188, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
}

.join-card:hover .join-portrait {
    transform: scale(1.04);
}

/* Footer & Button Call To Actions Elements */
.join-actions {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.join-prompt {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Responsive Multi-Device Scale Adjustments
   ========================================================================== */
@media (max-width: 992px) {
    .join-image-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 grid for tablet platforms */
        gap: 20px;
    }
    .join-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .join-image-grid {
        grid-template-columns: 1fr; /* Single stacked sequence lists on mobile devices */
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
    .join-container {
        padding: 0 20px;
    }
}