/* style/vip-club.css */

/* Base styles for the VIP club page, ensuring proper header offset */
.page-vip-club {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
    background-color: #FFFFFF; /* Explicitly set page background to white */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-vip-club__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #000000; /* Dark background for hero section */
    color: #FFFFFF;
    padding: 80px 0; /* Adjust padding for content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-vip-club__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-vip-club__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the entire area */
    display: block;
    opacity: 0.4; /* Slightly dim the image to make text readable */
    filter: none; /* No color filters */
}

.page-vip-club__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

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

.page-vip-club__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.page-vip-club__button {
    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, transform 0.2s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
    filter: none; /* No color filters */
}

.page-vip-club__button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text for contrast */
    border: 2px solid #FCBC45;
}

.page-vip-club__button--primary:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-vip-club__button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* White text */
    border: 2px solid #FFFFFF;
}

.page-vip-club__button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* General Section Styling */
.page-vip-club__introduction-section,
.page-vip-club__tiers-section,
.page-vip-club__exclusive-promotions-section,
.page-vip-club__dedicated-support-section,
.page-vip-club__how-to-join-section,
.page-vip-club__responsible-gaming-section,
.page-vip-club__why-choose-section {
    padding: 60px 0;
    background-color: #FFFFFF; /* Ensure white background for content sections */
    color: #333333; /* Dark text */
}

.page-vip-club__section-title {
    font-size: 2.5em;
    color: #000000; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    font-weight: bold;
}

.page-vip-club__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45; /* Login color for accent */
    border-radius: 2px;
}

.page-vip-club__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-vip-club__text-content--note {
    font-style: italic;
    color: #555555;
    text-align: center;
}

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

.page-vip-club__tier-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-vip-club__tier-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-vip-club__tier-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-club__tier-description {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-vip-club__tier-benefits li {
    font-size: 1em;
    color: #333333;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-vip-club__tier-benefits li::before {
    content: '⭐'; /* Star icon for benefits */
    position: absolute;
    left: 0;
    color: #FCBC45;
}

.page-vip-club__image-wrapper {
    margin: 40px auto;
    text-align: center;
}

.page-vip-club__image-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
    filter: none; /* No color filters */
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
}

/* Promotions Section */
.page-vip-club__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-vip-club__promo-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

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

.page-vip-club__promo-title {
    font-size: 1.5em;
    color: #000000;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-vip-club__promo-description {
    font-size: 0.9em;
    color: #555555;
}

.page-vip-club__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* Dedicated Support Section */
.page-vip-club__support-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-vip-club__support-list li {
    background-color: #f9f9f9;
    border-left: 5px solid #FCBC45; /* Accent color */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    font-size: 1.05em;
    color: #333333;
}

.page-vip-club__support-list li strong {
    color: #000000;
}

/* How to Join Section */
.page-vip-club__join-steps {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    counter-reset: step-counter;
}

.page-vip-club__join-steps li {
    counter-increment: step-counter;
    font-size: 1.1em;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
    color: #333333;
}

.page-vip-club__join-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background-color: #FCBC45;
    color: #000000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
}

.page-vip-club__join-steps li a {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-vip-club__join-steps li a:hover {
    text-decoration: underline;
}

/* Why Choose Section */
.page-vip-club__why-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.page-vip-club__why-list li {
    background-color: #f9f9f9;
    border-right: 5px solid #FCBC45; /* Accent color */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    font-size: 1.05em;
    color: #333333;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-vip-club__hero-title {
        font-size: 3em;
    }
    .page-vip-club__hero-description {
        font-size: 1.2em;
    }
    .page-vip-club__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-vip-club {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header height */
    }
    .page-vip-club__hero-section {
        padding: 60px 0;
    }
    .page-vip-club__hero-title {
        font-size: 2.2em;
    }
    .page-vip-club__hero-description {
        font-size: 1em;
    }
    .page-vip-club__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-vip-club__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-vip-club__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-vip-club__text-content {
        font-size: 1em;
    }
    .page-vip-club__tiers-grid,
    .page-vip-club__promotions-grid,
    .page-vip-club__support-list,
    .page-vip-club__why-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-vip-club__image-wrapper img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px;
    }
    /* Ensure all images within .page-vip-club are responsive and do not cause overflow */
    .page-vip-club img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px;
        filter: none; /* No color filters */
    }
}

@media (max-width: 480px) {
    .page-vip-club__hero-title {
        font-size: 1.8em;
    }
    .page-vip-club__hero-description {
        font-size: 0.9em;
    }
    .page-vip-club__section-title {
        font-size: 1.5em;
    }
    .page-vip-club__tier-title,
    .page-vip-club__promo-title {
        font-size: 1.4em;
    }
    .page-vip-club__button {
        font-size: 1em;
        padding: 12px 20px;
    }
}

/* Ensure no content causes horizontal scroll */
.page-vip-club {
    overflow-x: hidden;
}

/* Ensure content images meet minimum size requirements */
.page-vip-club__hero-image img,
.page-vip-club__image-wrapper img {
    min-width: 200px;
    min-height: 200px;
}