/* ================================
   青春会员卡片样式
   米醋电子工作室 版权所有 © 2024
   ================================ */

.youth-membership-card {
    background: linear-gradient(135deg, #ffffff, #f0fff4);
    border-radius: 24px;
    padding: 0;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1;
    margin-top: 40px;
    border: 2px solid transparent;
    background-image: 
        linear-gradient(white, white),
        linear-gradient(135deg, #10b981, #34d399, #6ee7b7);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.youth-badge-ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, #ef4444, #f87171);
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    z-index: 10;
}

.youth-card-header {
    background: linear-gradient(135deg, #10b981, #34d399);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.youth-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateGradient 15s linear infinite;
}

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

.youth-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    position: relative;
}

.youth-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.youth-icon {
    position: relative;
    font-size: 3.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.youth-title {
    color: white;
    margin-bottom: 15px;
    position: relative;
}

.youth-title .title-accent {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
}

.youth-title .title-sub {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    opacity: 0.95;
}

.youth-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
}

.youth-card-body {
    padding: 40px;
    background: white;
}

.youth-price-section {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px dashed #e5e7eb;
}

.youth-price-tag {
    margin-bottom: 15px;
}

.youth-price-tag .price-prefix {
    font-size: 1.2rem;
    color: #6b7280;
    margin-right: 10px;
}

.youth-price-tag .price-main {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    vertical-align: middle;
}

.youth-price-tag .price-suffix {
    font-size: 1.2rem;
    color: #6b7280;
    margin-left: 10px;
}

.price-compare {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.compare-text {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 1.1rem;
}

.save-percentage {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
    color: #78350f;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.youth-features {
    margin-bottom: 40px;
}

.features-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin-bottom: 30px;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.youth-feature-card {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #bbf7d0;
}

.youth-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(34, 197, 94, 0.15);
}

.feature-emoji {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.youth-feature-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #047857;
    margin-bottom: 10px;
}

.youth-feature-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.youth-service-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

.service-highlight {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 3px solid #10b981;
}

.service-highlight i {
    font-size: 1.8rem;
    color: #10b981;
    flex-shrink: 0;
}

.service-content strong {
    display: block;
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 8px;
}

.service-content p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.youth-target-users {
    margin-bottom: 35px;
}

.youth-target-users h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    text-align: center;
}

.target-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.target-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid #e5e7eb;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #4b5563;
    transition: all 0.3s ease;
}

.target-tag:hover {
    border-color: #10b981;
    background: #f0fdf4;
    transform: translateY(-2px);
}

.target-tag i {
    font-size: 1.2rem;
    color: #10b981;
}

.youth-upgrade-notice {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 35px;
}

.notice-icon {
    flex-shrink: 0;
}

.notice-icon i {
    font-size: 1.8rem;
    color: #f59e0b;
}

.notice-content p {
    font-size: 0.95rem;
    color: #78350f;
    line-height: 1.6;
    margin: 0;
}

.youth-cta-section {
    text-align: center;
}

.btn-youth-membership {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-youth-membership::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-youth-membership:hover::before {
    left: 100%;
}

.btn-youth-membership:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.btn-youth-membership i {
    font-size: 1.4rem;
}

.cta-subtitle {
    margin-top: 15px;
    font-size: 1rem;
    color: #6b7280;
    font-style: italic;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .youth-membership-card {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .youth-membership-card .feature-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .youth-service-details {
        grid-template-columns: 1fr;
    }
    
    .youth-card-header {
        padding: 30px 20px;
    }
    
    .youth-card-body {
        padding: 30px 20px;
    }
    
    .youth-title .title-accent {
        font-size: 2.2rem;
    }
    
    .youth-price-tag .price-main {
        font-size: 3rem;
    }
    
    .youth-badge-ribbon {
        right: -35px;
        top: 15px;
        padding: 6px 35px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .youth-title .title-accent {
        font-size: 1.8rem;
    }
    
    .youth-title .title-sub {
        font-size: 1.1rem;
    }
    
    .youth-price-tag .price-main {
        font-size: 2.5rem;
    }
    
    .youth-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .youth-icon {
        font-size: 2.5rem;
    }
}