/* ===== ULTRA PREMIUM MEMBERSHIP SECTION ===== */

/* Enhanced Section Background */
.membership-section {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    overflow: hidden;
}

.membership-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(26, 84, 144, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Premium Section Title */
.membership-section .section-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 4rem;
}

.membership-section .section-title::before {
    content: '⚓';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    opacity: 0.1;
    animation: anchorFloat 3s ease-in-out infinite;
}

@keyframes anchorFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.membership-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    border-radius: 10px;
}

/* Enhanced Membership Grid */
.membership-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    align-items: stretch;
    max-width: 1000px;
    margin: 0 auto;
}

/* Ultra Premium Membership Cards */
.membership-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #fafbfc 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(212, 175, 55, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    max-height: 800px;
}

.membership-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent-gold), var(--secondary-color), var(--accent-gold));
    border-radius: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.membership-card:hover::before {
    opacity: 0.3;
}

.membership-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(212, 175, 55, 0.3),
        0 0 60px rgba(212, 175, 55, 0.2);
}

/* Featured Card Enhancement */
.membership-card.featured {
    background: linear-gradient(145deg, #ffffff 0%, #fffef8 100%);
    transform: scale(1.08) translateY(-10px);
    box-shadow: 
        0 30px 80px rgba(212, 175, 55, 0.25),
        0 0 0 3px var(--accent-gold),
        0 0 80px rgba(212, 175, 55, 0.3);
}

.membership-card.featured::before {
    opacity: 0.5;
}

.membership-card.featured:hover {
    transform: scale(1.1) translateY(-25px);
    box-shadow: 
        0 50px 100px rgba(212, 175, 55, 0.35),
        0 0 0 3px var(--accent-gold),
        0 0 100px rgba(212, 175, 55, 0.4);
}

/* Featured Badge Enhancement */
.featured-badge {
    position: absolute;
    top: 25px;
    right: -10px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: var(--primary-color);
    padding: 12px 40px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transform: rotate(0deg);
    box-shadow: 
        0 8px 20px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 10;
    border-radius: 8px;
}

.featured-badge::before {
    content: '★';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

/* Premium Card Header */
.card-header {
    background: linear-gradient(135deg, #0a2540 0%, #1a5490 100%);
    padding: 1rem 1.25rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.card-header i {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(212, 175, 55, 0.4));
    position: relative;
    z-index: 2;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.card-subtitle {
    font-size: 0.875rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

/* Premium Card Body */
.card-body {
    padding: 1rem 1.25rem;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

/* Ultra Premium Price Box */
.price-box {
    background: linear-gradient(135deg, #fafbfc 0%, #f8f9fa 100%);
    border: 2px solid var(--accent-gold);
    padding: 1rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(212, 175, 55, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.price-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.1) 50%, transparent 70%);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 0.35rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.75rem;
    font-style: normal;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

/* Enhanced Benefits List */
.card-intro {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 22px;
    flex-shrink: 0;
}

.card-intro::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1.5rem;
}

.benefits-list.premium li {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.benefits-list.premium li::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
    transition: left 0.5s ease;
}

.benefits-list.premium li:hover::before {
    left: 100%;
}

.benefits-list.premium li:hover {
    transform: translateX(15px) scale(1.02);
    background: linear-gradient(135deg, #fffef8 0%, #ffffff 100%);
    border-color: var(--accent-gold);
    box-shadow: 
        0 10px 30px rgba(212, 175, 55, 0.15),
        -5px 0 0 var(--accent-gold);
}

.benefits-list.premium li i {
    font-size: 1.25rem;
    color: var(--accent-gold);
    margin-top: 2px;
    filter: drop-shadow(0 4px 8px rgba(212, 175, 55, 0.3));
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.benefits-list.premium li:hover i {
    transform: scale(1.3) rotate(360deg);
    filter: drop-shadow(0 6px 12px rgba(212, 175, 55, 0.5));
}

.benefits-list.premium strong {
    font-size: 0.875rem;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.15rem;
    font-weight: 700;
}

.benefits-list.premium p {
    color: var(--text-gray);
    font-size: 0.8rem;
    line-height: 1.3;
}

/* Premium Card Note */
.card-note {
    background: linear-gradient(135deg, #e7f3ff 0%, #d4edff 100%);
    padding: 0.75rem;
    border-radius: 10px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    border: 2px solid rgba(26, 84, 144, 0.2);
    box-shadow: 0 5px 15px rgba(26, 84, 144, 0.1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    font-size: 0.875rem;
}

.card-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--secondary-color);
}

.card-note i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Ultra Premium Card Footer */
.card-footer {
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, 0.03) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    flex-shrink: 0;
}

.card-footer a {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-footer a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.card-footer a:hover::before {
    width: 500px;
    height: 500px;
}

.card-footer a:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.4);
}

.card-footer .btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #f4d03f 100%);
    color: var(--primary-color);
    border: none;
}

.card-footer .btn-primary:hover {
    background: linear-gradient(135deg, #f4d03f 0%, var(--accent-gold) 100%);
}

.card-footer .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 3px solid var(--primary-color);
}

.card-footer .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Guest Card Special Styling */
.membership-card.guest .card-header {
    background: linear-gradient(135deg, #1a5490 0%, #2a6ab0 100%);
}

.membership-card.guest:hover {
    box-shadow: 
        0 40px 80px rgba(26, 84, 144, 0.2),
        0 0 0 1px rgba(26, 84, 144, 0.3);
}

/* Responsive Enhancements */
@media (max-width: 968px) {
    .membership-section .section-title {
        font-size: 2.5rem;
    }
    
    .membership-card.featured {
        transform: scale(1) translateY(0);
    }
    
    .membership-card.featured:hover {
        transform: scale(1.02) translateY(-10px);
    }
    
    .card-header h3 {
        font-size: 2rem;
    }
    
    .price {
        font-size: 3.5rem;
    }
}

@media (max-width: 600px) {
    .membership-section .section-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .card-header {
        padding: 2rem 1.5rem;
    }
    
    .card-body {
        padding: 2rem 1.5rem;
    }
    
    .card-footer {
        padding: 2rem 1.5rem;
    }
    
    .price {
        font-size: 3rem;
    }
    
    .benefits-list.premium li {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .membership-card::before,
    .featured-badge,
    .card-header::before {
        display: none;
    }
}
