/* Enhanced Become a Member Button Styles */

/* Primary Member Button */
.btn-member-primary {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    border: none;
    color: #c0c0c0 !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 220px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-member-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-member-primary:hover::before {
    left: 100%;
}

.btn-member-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(30, 58, 95, 0.4);
    color: #e8e8e8 !important;
    text-decoration: none;
}

.btn-member-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}

/* Secondary Member Button */
.btn-member-secondary {
    background: transparent;
    border: 2px solid #1e3a5f;
    color: #c0c0c0 !important;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 220px;
}

.btn-member-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-member-secondary:hover::before {
    left: 0;
}

.btn-member-secondary:hover {
    color: #e8e8e8 !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.3);
}

.btn-member-secondary:active {
    transform: translateY(0);
}

/* CTA Section Enhanced Button */
.btn-member-cta {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
    color: #c0c0c0 !important;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 250px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-member-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-member-cta:hover::before {
    left: 100%;
}

.btn-member-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.4);
    color: #e8e8e8 !important;
    text-decoration: none;
}

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

/* Navigation Member Button */
.btn-member-nav {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    border: none;
    color: #c0c0c0 !important;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-member-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.3);
    color: #e8e8e8 !important;
    text-decoration: none;
}

/* Icon Animations */
.btn-member-primary .fas,
.btn-member-secondary .fas,
.btn-member-cta .fas,
.btn-member-nav .fas {
    transition: transform 0.3s ease;
}

.btn-member-primary:hover .fas,
.btn-member-secondary:hover .fas,
.btn-member-cta:hover .fas,
.btn-member-nav:hover .fas {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .btn-member-primary,
    .btn-member-secondary,
    .btn-member-cta {
        width: 100%;
        max-width: 300px;
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
    .btn-member-nav {
        font-size: 0.8rem;
        padding: 0.5rem 1.2rem;
    }
}

/* Loading State */
.btn-member-loading {
    position: relative;
    pointer-events: none;
}

.btn-member-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success State */
.btn-member-success {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.btn-member-success:hover {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 12px 35px rgba(39, 174, 96, 0.4);
}

/* Enhanced Standard Bootstrap Buttons */
.btn-primary {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    border: none;
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
    color: white !important;
    background: linear-gradient(135deg, #0f1d2f 0%, #1e3a5f 100%);
    text-decoration: none;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(30, 58, 95, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #495057;
    color: #495057 !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(73, 80, 87, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(73, 80, 87, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(73, 80, 87, 0.3);
    background: #495057;
    color: white !important;
    text-decoration: none;
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(73, 80, 87, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border: none;
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(25, 135, 84, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-success::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-success:hover::before {
    left: 100%;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 135, 84, 0.4);
    color: white !important;
    background: linear-gradient(135deg, #0f5132 0%, #198754 100%);
    text-decoration: none;
}

.btn-success:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(25, 135, 84, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    border: none;
    color: #212529 !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-warning:hover::before {
    left: 100%;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
    color: #212529 !important;
    background: linear-gradient(135deg, #ffb302 0%, #ffc107 100%);
    text-decoration: none;
}

.btn-warning:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    color: white !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-danger::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-danger:hover::before {
    left: 100%;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
    color: white !important;
    background: linear-gradient(135deg, #b02a37 0%, #dc3545 100%);
    text-decoration: none;
}

.btn-danger:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.btn-light {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    color: #212529 !important;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(248, 249, 250, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: left 0.5s ease;
}

.btn-light:hover::before {
    left: 100%;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(248, 249, 250, 0.4);
    color: #212529 !important;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    text-decoration: none;
}

.btn-light:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(248, 249, 250, 0.3);
}

/* Enhanced Login Button */
.btn-login {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    border: none;
    color: white !important;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.4);
    color: white !important;
    background: linear-gradient(135deg, #0f1d2f 0%, #1e3a5f 100%);
    text-decoration: none;
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(30, 58, 95, 0.3);
}

/* Enhanced Small Buttons */
.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.875rem;
    border-radius: 6px;
}

/* Enhanced Outline Buttons */
.btn-outline-primary {
    border: 2px solid #1e3a5f;
    color: #1e3a5f !important;
    background: transparent;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 58, 95, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-outline-primary:hover::before {
    left: 100%;
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white !important;
    border-color: #1e3a5f;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
    text-decoration: none;
}

.btn-outline-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(30, 58, 95, 0.2);
}

/* Focus states for accessibility */
.btn:focus {
    outline: 2px solid rgba(30, 58, 95, 0.5);
    outline-offset: 2px;
}