/* style/vip-lounge.css */
.page-vip-lounge {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-vip-lounge__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px 40px; /* Adjust padding-top for fixed header */
    background: linear-gradient(135deg, #26A9E0, #000000); /* Blend primary color with black */
    overflow: hidden;
    color: #ffffff;
}

.page-vip-lounge__hero-content {
    max-width: 900px;
    z-index: 1;
    margin-bottom: 40px;
}

.page-vip-lounge__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-vip-lounge__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

.page-vip-lounge__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-vip-lounge__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Make background image subtle */
    position: absolute;
    top: 0;
    left: 0;
}

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

.page-vip-lounge__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-vip-lounge__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Light Background Section (for contrast) */
.page-vip-lounge__light-bg {
    background-color: #f8f8f8; /* Light background */
    color: #333333; /* Dark text for light background */
    padding: 60px 0;
}
.page-vip-lounge__light-bg .page-vip-lounge__section-title,
.page-vip-lounge__light-bg .page-vip-lounge__section-description,
.page-vip-lounge__light-bg .page-vip-lounge__card-title,
.page-vip-lounge__light-bg .page-vip-lounge__card-text,
.page-vip-lounge__light-bg .page-vip-lounge__step-number {
    color: #333333;
}

/* Dark Background Section (for contrast) */
.page-vip-lounge__dark-bg {
    background-color: #0d0d0d; /* Slightly lighter than body black for distinction */
    color: #ffffff; /* Light text for dark background */
    padding: 60px 0;
}
.page-vip-lounge__dark-bg .page-vip-lounge__section-title,
.page-vip-lounge__dark-bg .page-vip-lounge__section-description,
.page-vip-lounge__dark-bg .page-vip-lounge__card-title,
.page-vip-lounge__dark-bg .page-vip-lounge__card-text,
.page-vip-lounge__dark-bg .page-vip-lounge__faq-title {
    color: #ffffff;
}

/* Card Styles */
.page-vip-lounge__card {
    background-color: #ffffff; /* Default card background for light sections */
    color: #333333; /* Default card text for light sections */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-vip-lounge__dark-bg .page-vip-lounge__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark */
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-vip-lounge__card-title {
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-vip-lounge__card-text {
    font-size: 1em;
    line-height: 1.7;
}

/* Benefits Section */
.page-vip-lounge__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-vip-lounge__benefit-icon {
    width: 200px; /* Minimum size for images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
}

/* Levels Section */
.page-vip-lounge__levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

.page-vip-lounge__step-card {
    position: relative;
    padding-top: 60px; /* Space for number */
}

.page-vip-lounge__step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-vip-lounge__cta-bottom {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-vip-lounge__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-vip-lounge__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-vip-lounge__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-vip-lounge__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-vip-lounge__faq-title {
    margin: 0;
    color: #ffffff;
}

.page-vip-lounge__faq-toggle {
    font-size: 1.8em;
    font-weight: normal;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page-vip-lounge__faq-item.active .page-vip-lounge__faq-toggle {
    transform: rotate(45deg);
}

.page-vip-lounge__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-vip-lounge__faq-item.active .page-vip-lounge__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 20px 20px;
}

.page-vip-lounge__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

.page-vip-lounge__cta-faq {
    text-align: center;
    margin-top: 50px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Download CTA Section */
.page-vip-lounge__download-cta {
    padding: 80px 0;
    background: linear-gradient(45deg, #000000, #26A9E0); /* Blend primary color with black */
}

.page-vip-lounge__download-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.page-vip-lounge__download-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

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

.page-vip-lounge__download-image-wrapper {
    flex-shrink: 0;
    max-width: 400px;
    width: 100%;
    margin-top: 30px;
}

.page-vip-lounge__download-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Buttons */
.page-vip-lounge__btn-primary,
.page-vip-lounge__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-vip-lounge__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border-color: #26A9E0;
}

.page-vip-lounge__btn-primary:hover {
    background-color: #1a8cc4;
    transform: translateY(-2px);
}

.page-vip-lounge__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border-color: #26A9E0;
}

.page-vip-lounge__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Specific button colors */
.page-vip-lounge a.page-vip-lounge__btn-login {
    background-color: #EA7C07;
    color: #ffffff;
    border-color: #EA7C07;
}
.page-vip-lounge a.page-vip-lounge__btn-login:hover {
    background-color: #cc6a00;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-vip-lounge__hero-title {
        font-size: 2.8em;
    }
    .page-vip-lounge__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-vip-lounge__hero-section {
        padding: 60px 15px 30px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
    }
    .page-vip-lounge__hero-title {
        font-size: 2.2em;
    }
    .page-vip-lounge__hero-description {
        font-size: 1em;
    }
    .page-vip-lounge__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-vip-lounge__btn-primary,
    .page-vip-lounge__btn-secondary {
        width: 100%;
        max-width: 300px; /* Constrain max-width for buttons */
        margin: 0 auto; /* Center buttons */
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-vip-lounge__container {
        padding: 15px;
    }
    .page-vip-lounge__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-vip-lounge__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-vip-lounge__benefits-grid,
    .page-vip-lounge__levels-grid,
    .page-vip-lounge__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-vip-lounge__benefit-icon {
        width: 200px; /* Still meet minimum size */
        height: auto;
    }

    .page-vip-lounge__download-content {
        flex-direction: column;
        gap: 20px;
    }
    .page-vip-lounge__download-text {
        order: 2;
    }
    .page-vip-lounge__download-image-wrapper {
        order: 1;
        max-width: 300px;
    }
    .page-vip-lounge__download-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Ensure all images are responsive and do not overflow */
    .page-vip-lounge img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-vip-lounge__section,
    .page-vip-lounge__card,
    .page-vip-lounge__container,
    .page-vip-lounge__hero-section,
    .page-vip-lounge__benefits-section,
    .page-vip-lounge__levels-section,
    .page-vip-lounge__how-to-join-section,
    .page-vip-lounge__faq-section,
    .page-vip-lounge__download-cta {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    /* Video responsiveness (if any, though none currently in HTML) */
    .page-vip-lounge video,
    .page-vip-lounge__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-vip-lounge__video-section,
    .page-vip-lounge__video-container,
    .page-vip-lounge__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-vip-lounge__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    /* Buttons responsiveness */
    .page-vip-lounge__cta-button,
    .page-vip-lounge__btn-primary,
    .page-vip-lounge__btn-secondary,
    .page-vip-lounge a[class*="button"],
    .page-vip-lounge a[class*="btn"] {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      white-space: normal !important;
      word-wrap: break-word !important;
      /* padding-left and padding-right are handled by parent container */
    }
    .page-vip-lounge__cta-buttons,
    .page-vip-lounge__button-group,
    .page-vip-lounge__btn-container,
    .page-vip-lounge__cta-faq,
    .page-vip-lounge__download-buttons {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 0;
      padding-right: 0;
      flex-wrap: wrap !important;
      gap: 10px;
      flex-direction: column; /* Stack buttons vertically */
    }
    .page-vip-lounge__cta-buttons > *,
    .page-vip-lounge__cta-faq > *,
    .page-vip-lounge__download-buttons > * {
        width: 100%;
        max-width: none; /* Allow buttons to take full width of their container */
    }
}

@media (max-width: 480px) {
    .page-vip-lounge__hero-title {
        font-size: 1.8em;
    }
    .page-vip-lounge__section-title {
        font-size: 1.5em;
    }
    .page-vip-lounge__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-vip-lounge__faq-answer {
        padding: 0 15px;
    }
    .page-vip-lounge__faq-item.active .page-vip-lounge__faq-answer {
        padding: 10px 15px 15px;
    }
}