/* style/vip-club.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General page styling */
.page-vip-club {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--page-background, #ffffff); /* Fallback to white if var not defined */
}

/* Ensure main content has proper padding-top to clear fixed header */
.page-vip-club__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px; /* Minimum height for hero */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    box-sizing: border-box;
    overflow: hidden; /* Prevent content overflow */
}

.page-vip-club__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: none; /* Ensure no CSS filter is applied */
}

.page-vip-club__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 2;
}

.page-vip-club__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    color: #FFFFFF; /* Light text on dark overlay */
}

.page-vip-club__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-vip-club__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-vip-club__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section general styling */
.page-vip-club__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #017439; /* Brand color for titles on light background */
}

.page-vip-club__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.page-vip-club__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Light background sections */
.page-vip-club__light-bg {
    background-color: #FFFFFF;
    color: #333333;
}
.page-vip-club__light-bg .page-vip-club__section-title {
    color: #017439;
}

/* Dark background sections */
.page-vip-club__dark-bg {
    background-color: #017439; /* Main brand color */
    color: #FFFFFF; /* Light text on dark background */
}
.page-vip-club__dark-bg .page-vip-club__section-title {
    color: #FFFF00; /* Yellow for titles on dark background for contrast */
}
.page-vip-club__dark-bg .page-vip-club__text-block {
    color: #FFFFFF;
}

/* Buttons */
.page-vip-club__btn-primary,
.page-vip-club__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure responsive behavior */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    min-width: 200px; /* Minimum width for buttons */
}

.page-vip-club__btn-primary {
    background-color: #C30808; /* Login/Register color */
    color: #FFFF00; /* Login/Register font color */
    border: 2px solid #C30808;
}

.page-vip-club__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
    color: #FFFFFF;
}

.page-vip-club__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Brand color for text */
    border: 2px solid #017439;
}

.page-vip-club__btn-secondary:hover {
    background-color: #017439;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

/* Image content */
.page-vip-club__image-content {
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
    filter: none; /* Ensure no CSS filter is applied */
}

/* VIP Levels Section */
.page-vip-club__level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-vip-club__level-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #FFFFFF;
}

.page-vip-club__level-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.2);
}

.page-vip-club__level-title {
    font-size: 1.8em;
    color: #FFFF00; /* Yellow for level titles */
    margin-bottom: 15px;
}

.page-vip-club__level-description {
    font-size: 1em;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-vip-club__level-benefits {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 20px;
}

.page-vip-club__level-benefits li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFFF00"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 10px;
    color: #FFFFFF;
    font-size: 0.95em;
}

/* Privileges Section */
.page-vip-club__privilege-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-vip-club__privilege-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
    border: 1px solid #e0e0e0; /* Add border for contrast */
}

.page-vip-club__privilege-card:hover {
    transform: translateY(-10px);
}

.page-vip-club__privilege-icon {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none; /* Ensure no CSS filter is applied */
    min-width: 200px; /* Enforce min size for images */
    min-height: 200px; /* Enforce min size for images */
}

.page-vip-club__privilege-title {
    font-size: 1.5em;
    color: #017439; /* Brand color for titles */
    margin-bottom: 10px;
}

.page-vip-club__privilege-description {
    font-size: 1em;
    color: #555555;
}

/* Promotions Section */
.page-vip-club__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-vip-club__promo-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-vip-club__promo-card:hover {
    transform: translateY(-10px);
}

.page-vip-club__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    filter: none; /* Ensure no CSS filter is applied */
    min-width: 200px; /* Enforce min size for images */
    min-height: 200px; /* Enforce min size for images */
}

.page-vip-club__promo-title {
    font-size: 1.5em;
    color: #FFFF00; /* Yellow for promo titles */
    margin-bottom: 10px;
}

.page-vip-club__promo-description {
    font-size: 1em;
    color: #FFFFFF;
    flex-grow: 1; /* Make description take available space */
    margin-bottom: 20px;
}

/* Join Section (Steps) */
.page-vip-club__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-vip-club__step-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-vip-club__step-card:hover {
    transform: translateY(-10px);
}

.page-vip-club__step-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}