* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}
.contents {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

/* 会员级别样式 */
.member-levels {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.section-title {
    font-size: 25px;
    color: #333;
    margin-bottom: 25px;
    font-weight: bold;
    padding-bottom: 10px;
    padding-top: 10px;
    border-bottom: 2px solid #e9ecef;
}

.member-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.member-card:nth-child(2) {
    animation-delay: 0.1s;
}

.member-card:nth-child(3) {
    animation-delay: 0.2s;
}

.member-card:nth-child(4) {
    animation-delay: 0.3s;
}

.member-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.member-card:nth-child(2) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.member-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.member-card:nth-child(4) {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #333;
}

.member-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.member-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.member-card:hover .member-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.member-card:hover .member-icon::before {
    opacity: 1;
}

.member-details h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-card:nth-child(3) .member-details h3,
.member-card:nth-child(4) .member-details h3 {
    background: linear-gradient(135deg, #333 0%, #666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-details p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 500;
}

.crown {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 45px;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.activate-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 15px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.2px;
    text-transform: uppercase;
    display: inline-block;
}

.activate-btn:hover {
    background: linear-gradient(135deg, #ff5252 0%, #d63031 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.4);
}

.activate-btn:active {
    transform: translateY(-2px) scale(0.98);
}

.activate-btn::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, height 0.6s;
}

.activate-btn:hover::before {
    width: 300px;
    height: 300px;
}

.activate-btn span {
    position: relative;
    z-index: 1;
}

/* 会员特权样式 */
.member-privileges {
    flex: 1;
    min-width: 350px;
    max-width: 600px;
}

.privileges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.privilege-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

.privilege-card:nth-child(1) {
    animation-delay: 0.4s;
}

.privilege-card:nth-child(2) {
    animation-delay: 0.5s;
}

.privilege-card:nth-child(3) {
    animation-delay: 0.6s;
}

.privilege-card:nth-child(4) {
    animation-delay: 0.7s;
}

.privilege-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.privilege-card:nth-child(1) {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.privilege-card:nth-child(2) {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.privilege-card:nth-child(3) {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.privilege-card:nth-child(4) {
    background: linear-gradient(135deg, #c1dfc4 0%, #deecdd 100%);
}

.grade-badge {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    border-radius: 15px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.grade-badge:hover {
    transform: scale(1.1);
}

.grade-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.grade-badge.grade-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #ffffff;
}

.grade-badge.grade-2 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border: 2px solid #ffffff;
}

.grade-badge.grade-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: 2px solid #ffffff;
}

.grade-badge.grade-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border: 2px solid #ffffff;
}

.privilege-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
    letter-spacing: -0.2px;
    line-height: 1.4;
}

.privilege-card p {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    line-height: 1.5;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .member-levels,
    .member-privileges {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .member-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .member-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .member-details h3 {
        font-size: 18px;
    }

    .member-details p {
        font-size: 13px;
    }

    .crown {
        font-size: 35px;
        right: 15px;
        top: 10px;
    }

    .activate-btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .privileges-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .privilege-card {
        padding: 20px;
    }

    .grade-badge {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }

    .privilege-card h3 {
        font-size: 15px;
    }

    .privilege-card p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .member-info {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .crown {
        position: relative;
        right: auto;
        top: auto;
        font-size: 30px;
    }

    .activate-btn {
        width: 100%;
        margin-top: 15px;
    }
}