/* style/vip-club.css */

/* CSS Variables for Brand Colors */
:root {
    --page-vip-club-primary-color: #003366; /* Deep blue */
    --page-vip-club-secondary-color: #FFCC00; /* Gold */
    --page-vip-club-text-light: #ffffff;
    --page-vip-club-text-dark: #333333;
    --page-vip-club-bg-dark: #1a1a1a; /* Matches body background from shared.css */
    --page-vip-club-bg-light: #f8f9fa;
    --page-vip-club-border-color: rgba(255, 255, 255, 0.1);
    --page-vip-club-card-bg-dark: rgba(255, 255, 255, 0.05); /* Slightly lighter than body for cards */
    --page-vip-club-card-bg-light: #ffffff;
}

/* Base styles for the page content, considering the dark body background */
.page-vip-club {
    font-family: 'Arial', sans-serif;
    color: var(--page-vip-club-text-light); /* Light text for dark body background */
    line-height: 1.6;
    background-color: var(--page-vip-club-bg-dark); /* Ensure consistency if body background is overridden */
    padding-top: 120px; /* Desktop: Space for fixed header */
}

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

/* Section Styling */
.page-vip-club__hero-section,
.page-vip-club__intro-section,
.page-vip-club__levels-section,
.page-vip-club__privileges-section,
.page-vip-club__join-section,
.page-vip-club__trust-section,
.page-vip-club__cta-bottom-section {
    padding: 60px 0;
    position: relative;
}

.page-vip-club__hero-section {
    background: linear-gradient(135deg, var(--page-vip-club-primary-color), #0a4d8c);
    color: var(--page-vip-club-text-light);
    text-align: center;
    overflow: hidden;
    padding-bottom: 80px;
}

.page-vip-club__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-vip-club__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-vip-club-secondary-color); /* Gold for title emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-vip-club__hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--page-vip-club-text-light);
}

.page-vip-club__hero-image {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px; /* Adjust as needed */
    height: auto;
    object-fit: contain;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.page-vip-club__intro-section,
.page-vip-club__privileges-section,
.page-vip-club__trust-section {
    background-color: var(--page-vip-club-primary-color);
    color: var(--page-vip-club-text-light);
}

.page-vip-club__levels-section,
.page-vip-club__join-section {
    background-color: var(--page-vip-club-bg-light);
    color: var(--page-vip-club-text-dark);
}

.page-vip-club__dark-section {
    background-color: var(--page-vip-club-primary-color); /* Use primary color for dark sections */
    color: var(--page-vip-club-text-light);
}

.page-vip-club__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-vip-club-secondary-color); /* Gold for section titles */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-vip-club__intro-section .page-vip-club__section-title,
.page-vip-club__privileges-section .page-vip-club__section-title,
.page-vip-club__trust-section .page-vip-club__section-title {
    color: var(--page-vip-club-secondary-color); /* Gold for dark background sections */
}

.page-vip-club__levels-section .page-vip-club__section-title,
.page-vip-club__join-section .page-vip-club__section-title {
    color: var(--page-vip-club-primary-color); /* Deep blue for light background sections */
}

.page-vip-club__text-block {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
}

/* CTA Buttons */
.page-vip-club__cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-vip-club__cta-button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding/border in width */
}

.page-vip-club__cta-button--primary {
    background-color: var(--page-vip-club-secondary-color); /* Gold button */
    color: var(--page-vip-club-primary-color); /* Deep blue text */
}

.page-vip-club__cta-button--primary:hover {
    background-color: #e6b800; /* Darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-vip-club__cta-button--secondary {
    background-color: transparent;
    color: var(--page-vip-club-secondary-color); /* Gold text */
    border: 2px solid var(--page-vip-club-secondary-color);
}

.page-vip-club__cta-button--secondary:hover {
    background-color: var(--page-vip-club-secondary-color);
    color: var(--page-vip-club-primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-vip-club__cta-button--large {
    padding: 18px 45px;
    font-size: 20px;
    margin-top: 40px;
}

.page-vip-club__cta-button--small {
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 15px;
}

/* Inline links */
.page-vip-club__inline-link {
    color: var(--page-vip-club-secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-vip-club__inline-link:hover {
    color: #e6b800; /* Darker gold on hover */
    text-decoration: underline;
}

/* Grid Layouts */
.page-vip-club__grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-vip-club__grid-2-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card Styling */
.page-vip-club__card,
.page-vip-club__level-card,
.page-vip-club__privilege-item,
.page-vip-club__trust-item,
.page-vip-club__step-card {
    background-color: var(--page-vip-club-card-bg-dark); /* Slightly lighter dark background for cards */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-vip-club__card:hover,
.page-vip-club__level-card:hover,
.page-vip-club__privilege-item:hover,
.page-vip-club__trust-item:hover,
.page-vip-club__step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-vip-club__card-title,
.page-vip-club__level-title,
.page-vip-club__privilege-title,
.page-vip-club__trust-title,
.page-vip-club__step-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-vip-club-secondary-color); /* Gold for card titles */
}

.page-vip-club__card-text,
.page-vip-club__privilege-description,
.page-vip-club__trust-description,
.page-vip-club__step-description {
    font-size: 16px;
    color: var(--page-vip-club-text-light);
    flex-grow: 1; /* Make text block take available space */
}

.page-vip-club__card-image,
.page-vip-club__level-icon,
.page-vip-club__privilege-icon,
.page-vip-club__trust-icon,
.page-vip-club__step-icon {
    width: 200px; /* Min size */
    height: 200px; /* Min size */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* Light background cards for levels and join sections */
.page-vip-club__level-card,
.page-vip-club__step-card {
    background-color: var(--page-vip-club-card-bg-light);
    color: var(--page-vip-club-text-dark);
    border: 1px solid #e0e0e0;
}

.page-vip-club__level-card .page-vip-club__level-title,
.page-vip-club__step-card .page-vip-club__step-title {
    color: var(--page-vip-club-primary-color); /* Deep blue for titles on light background */
}

.page-vip-club__level-card .page-vip-club__level-benefits,
.page-vip-club__step-card .page-vip-club__step-description {
    color: var(--page-vip-club-text-dark);
}

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

.page-vip-club__level-benefits li {
    padding: 8px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.page-vip-club__level-benefits li:last-child {
    border-bottom: none;
}

.page-vip-club__level-benefits li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 18px;
    line-height: 1;
}

.page-vip-club__note-text {
    font-size: 16px;
    text-align: center;
    margin-top: 40px;
    color: var(--page-vip-club-text-dark);
}

.page-vip-club__cta-bottom-section {
    background-color: var(--page-vip-club-primary-color);
    color: var(--page-vip-club-text-light);
    text-align: center;
}

.page-vip-club__cta-bottom-section .page-vip-club__section-title {
    color: var(--page-vip-club-secondary-color);
}

.page-vip-club__cta-buttons-bottom {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-vip-club__hero-title {
        font-size: 40px;
    }
    .page-vip-club__section-title {
        font-size: 32px;
    }
    .page-vip-club__text-block {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-vip-club {
        padding-top: 100px !important; /* Mobile: Space for fixed header */
        font-size: 15px;
    }

    .page-vip-club__container {
        padding: 0 15px;
    }

    .page-vip-club__hero-section,
    .page-vip-club__intro-section,
    .page-vip-club__levels-section,
    .page-vip-club__privileges-section,
    .page-vip-club__join-section,
    .page-vip-club__trust-section,
    .page-vip-club__cta-bottom-section {
        padding: 40px 0;
    }

    .page-vip-club__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-vip-club__hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .page-vip-club__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-vip-club__text-block {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Responsive buttons */
    .page-vip-club__cta-buttons,
    .page-vip-club__cta-buttons-bottom {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .page-vip-club__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 25px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Grid layouts */
    .page-vip-club__grid-3-col,
    .page-vip-club__grid-2-col,
    .page-vip-club__levels-grid,
    .page-vip-club__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    /* Card images */
    .page-vip-club__card-image,
    .page-vip-club__level-icon,
    .page-vip-club__privilege-icon,
    .page-vip-club__trust-icon,
    .page-vip-club__step-icon {
        width: 150px !important;
        height: 150px !important;
        margin-bottom: 15px;
    }
    
    /* Ensure all images are responsive */
    .page-vip-club img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
      box-sizing: border-box !important;
    }

    /* Ensure all containers with images/buttons are responsive */
    .page-vip-club__hero-section,
    .page-vip-club__intro-section,
    .page-vip-club__levels-section,
    .page-vip-club__privileges-section,
    .page-vip-club__join-section,
    .page-vip-club__trust-section,
    .page-vip-club__cta-bottom-section,
    .page-vip-club__container,
    .page-vip-club__hero-container,
    .page-vip-club__card,
    .page-vip-club__level-card,
    .page-vip-club__privilege-item,
    .page-vip-club__trust-item,
    .page-vip-club__step-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-vip-club__hero-image {
        width: 150%; /* Adjust for better visual on mobile if needed */
        max-width: none;
    }
}