/* ========================================
   Join Page Specific Styles
   ======================================== */

/* Join Hero */
.join-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    overflow: hidden;
}

.join-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(74, 144, 226, 0.15) 0%, transparent 50%);
    animation: heroAnimation 20s ease-in-out infinite;
}

.join-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.join-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 150px 20px 80px;
}

.join-badge {
    display: inline-block;
    padding: 10px 30px;
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold-color);
    font-family: var(--font-en);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.join-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -2px;
}

.join-title span {
    display: block;
    background: linear-gradient(90deg, var(--gold-color), #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.join-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 50px;
    line-height: 1.8;
}

.join-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Benefits Section */
.benefits-section {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.benefit-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--gold-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.benefit-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Membership Types */
.membership-types {
    background: var(--bg-light);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.type-card {
    background: var(--white);
    border-radius: 20px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.type-card.featured {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(30, 58, 95, 0.05));
    border: 3px solid var(--accent-color);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold-color), #f4d03f);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.type-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.type-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.type-card > p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

.type-features {
    list-style: none;
    padding: 25px 0 0;
    border-top: 2px solid var(--border-color);
}

.type-features li {
    font-size: 15px;
    color: var(--text-light);
    padding: 10px 0;
    position: relative;
    padding-left: 25px;
}

.type-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* Join Form */
.join-form-section {
    padding: 100px 0;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.join-form {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.form-section {
    margin-bottom: 45px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--border-color);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section-title i {
    color: var(--accent-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.required {
    color: #e53e3e;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 18px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-kr);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-dark);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    min-width: 300px;
    padding: 18px 50px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* Contact Help */
.contact-help {
    background: linear-gradient(135deg, var(--bg-dark), #2d3748);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    color: var(--white);
}

.contact-help h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-help h4 i {
    color: var(--gold-color);
}

.contact-help p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.help-contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.help-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.help-item i {
    color: var(--accent-color);
    font-size: 18px;
}

.help-item[href] {
    text-decoration: none;
    transition: var(--transition);
}

.help-item[href]:hover {
    color: var(--gold-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    padding: 60px 50px;
    max-width: 500px;
    text-align: center;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.modal-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #48bb78, #38a169);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--white);
}

.modal-content h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.modal-content p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 35px;
}

/* Responsive */
@media (max-width: 768px) {
    .join-title {
        font-size: 42px;
    }
    
    .join-description {
        font-size: 16px;
    }
    
    .join-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .benefits-grid,
    .types-grid {
        grid-template-columns: 1fr;
    }
    
    .join-form {
        padding: 30px 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .submit-btn {
        width: 100%;
        min-width: auto;
    }
    
    .help-contact {
        flex-direction: column;
        gap: 15px;
    }
}