/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    /* seamless background integration to avoid pitch black sides */
    background:
        radial-gradient(circle at 50% 20%, rgba(31, 44, 24, 0.4) 0%, rgba(0, 0, 0, 1) 70%),
        #000000;
}

.vip-page-wrapper {
    width: 100%;
    /* Scaled down max-width from ~1920 to ~1300 to match the "67% zoom" feel */
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 50px;
}

/* Header / Banner Section */
.vip-header {
    position: relative;
    width: 100%;
    /* Reduced min-height by 25% as requested (from 460 to 345) */
    min-height: 345px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
}

.banner-image-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    /* Full viewport width for the background image */
    height: 100%;
    z-index: 0;
    overflow: hidden;
    /* Fade edges to blend with black background */
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
}

.banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.8;
    /* Fade at bottom */
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.crown-container {
    position: absolute;
    top: 0px;
    /* Aligned to top edge but not cut off */
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    /* Fixed width for stability */
    max-width: 100%;
    z-index: 1;
}

.crown-img {
    width: 100%;
    height: auto;
    display: block;
    /* Glow effect behind crown */
    filter: drop-shadow(0 0 50px rgba(102, 234, 89, 0.3));
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    /* Content moved down as requested */
    margin-top: 200px;
}

/* Text scaled down match reference */
.vip-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #BDDF62;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.welcome-badge {
    display: inline-block;
    background: rgba(6, 14, 7, 0.9);
    border: 2px solid #66EA59;
    border-radius: 8px;
    /* Wider padding to match reference, extra bottom padding for overlap */
    padding: 8px 60px 12px 60px;
    box-shadow: 0 4px 20px rgba(102, 234, 89, 0.2);
}

.welcome-badge span {
    font-size: 1.1rem;
    /* Scaled down */
    font-weight: 700;
}

/* Navigation Levels */
.vip-nav {
    position: relative;
    z-index: 10;
    /* Precise overlap: Hide bottom border, show text */
    margin-top: -34px;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 20px;
}

.level-bar {
    background: #1A1C22;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    width: 100%;
    max-width: 1000px;
    /* Reduced width */
}

.level-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    flex: 1;
}

.level-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.level-item.active {
    background: #0D1410;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5) inset;
}

.level-icon img {
    width: 30px;
    /* Smaller icons matching scaled look */
    height: auto;
    object-fit: contain;
}

.level-name {
    font-size: 1rem;
    font-weight: 600;
}

/* Main Content Layout */
.vip-main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

/* Left Column: Card */
.left-column {
    flex: 0 0 auto;
    /* Stop it from growing/shrinking unexpectedly */
    display: flex;
    justify-content: center;
}

.vip-card {
    width: 360px;
    /* Scaled down from 500px to ~72% */
    height: 540px;
    background:
        radial-gradient(circle at 20% 30%, rgba(102, 234, 89, 0.25) 0%, transparent 35%),
        radial-gradient(circle at 80% 20%, rgba(100, 180, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 85% 65%, rgba(100, 180, 255, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 30% 80%, rgba(255, 234, 100, 0.15) 0%, transparent 30%),
        linear-gradient(135deg, rgba(189, 255, 200, 0.15) 0%, rgba(200, 220, 255, 0.15) 50%, rgba(255, 250, 200, 0.1) 100%);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: none;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.1),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-inner {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 4rem;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    margin-bottom: 20px;
    z-index: 5;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(255, 255, 255, 0.4),
        0 0 60px rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.card-image-placeholder {
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.card-image-placeholder img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Right Column: Details */
.right-column {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    /* Scaled max width */
    padding-top: 10px;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.detail-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.detail-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}

.detail-points {
    font-size: 0.9rem;
    color: #BDDF62;
    /* Matching the green theme */
    font-weight: 500;
    opacity: 0.9;
}

.detail-icon {
    width: 50px;
    /* Slightly larger due to text block next to it */
    height: 50px;
    object-fit: contain;
}

/* Sub-level Nav */
.sub-level-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sub-level-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 30px;
    /* Smaller padding */
    border-radius: 40px;
    font-size: 1rem;
    /* Smaller font */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.sub-level-btn.active {
    background: #6A3EFF;
    border-color: #6A3EFF;
    box-shadow: 0 0 15px rgba(106, 62, 255, 0.4);
}

.sub-level-btn:hover:not(.active) {
    border-color: #ffffff;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.feature-item {
    background: #1A1A21;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    /* Scaled font */
    font-weight: 600;
}

.feature-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.feature-icon-green {
    background: rgba(128, 255, 0, 0.2);
    color: #80FF00;
    border: 1px solid #80FF00;
}

.feature-icon-grey {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    border: 1px solid #555;
}

/* Profitability Section */
.profitability-section {
    position: relative;
    padding-top: 20px;
}

.profit-divider {
    height: 1px;
    background: #333;
    width: 100%;
    margin-bottom: 25px;
}

.profit-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.profit-icon svg {
    width: 50px;
    /* Smaller */
    height: 50px;
}

.profit-text h3 {
    font-size: 1.5rem;
    /* Scaled */
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 10px;
}

.profit-text p {
    font-size: 0.95rem;
    /* Scaled */
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}


/* -----------------------
   Responsive Media Queries 
   ----------------------- */

/* Tablet & Smaller Desktop */
@media (max-width: 1200px) {
    .vip-main-content {
        flex-direction: column;
        align-items: center;
    }

    .left-column {
        flex: 0 0 auto;
        margin-bottom: 40px;
    }

    .right-column {
        width: 100%;
        max-width: 700px;
        padding-top: 0;
    }

    /* Reset header margins inherited from desktop */
    .vip-header {
        margin-bottom: 0;
        min-height: 300px;
        /* Intermediate height */
    }

    .crown-container {
        width: 30%;
        max-width: 200px;
        /* Intermediate size */
        top: 5px;
    }

    .header-content {
        margin-top: 160px;
        /* Intermediate spacing */
    }

    .vip-nav {
        margin-top: -36px;
        /* Intermediate overlap */
    }

    /* Horizontal Card style for Tablet */
    .vip-card {
        width: 100%;
        max-width: 600px;
        /* Wider for tablet */
        height: 250px;
        /* Horizontal height */
        aspect-ratio: auto;
        flex-direction: row;
        border-radius: 30px;
        padding: 0 40px;
    }

    .card-inner {
        flex-direction: row;
        justify-content: space-between;
        padding: 0;
        text-align: left;
    }

    .card-title {
        font-size: 5rem;
        position: static;
        transform: none;
        order: 1;
        text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    }

    .card-image-placeholder {
        margin-top: 0;
        width: 40%;
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-image-placeholder img {
        max-width: 50%;
        max-height: 200px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .left-column {
        display: none;
    }

    .vip-header {
        min-height: 270px;
    }

    .crown-container {
        /* Larger crown for mobile visibility */
        width: 40%;
        max-width: 150px;
        top: 10px;
    }

    .header-content {
        /* Adjusted down slightly to look balanced */
        margin-top: 135px;
    }

    .vip-title {
        font-size: 1.8rem;
    }

    .welcome-badge {
        /* Increased bottom padding to protect text from nav overlap */
        padding: 6px 30px 22px 30px;
    }

    .vip-nav {
        /* Increased overlap to hide badge border */
        margin-top: -40px;
        padding: 0 10px;
    }

    .level-bar {
        /* Fit all items without scroll */
        overflow-x: hidden;
        justify-content: space-between;
        padding: 5px;
        width: 100%;
        border-radius: 15px;
        /* Reduced ovalness for mobile */
    }

    .level-item {
        flex: 1;
        /* Distribute space */
        padding: 5px 2px;
        flex-direction: column;
        /* Stack icon and text to save width */
        gap: 5px;
        border-radius: 10px;
    }

    .level-icon img {
        width: 25px;
    }

    .level-name {
        font-size: 0.75rem;
        /* Smaller text */
        text-align: center;
    }

    /* Horizontal Card style for Mobile */
    .vip-card {
        width: 100%;
        max-width: 400px;
        height: 200px;
        /* shorter, horizontal */
        aspect-ratio: auto;
        flex-direction: row;
        /* Horizontal layout */
        border-radius: 20px;
        padding: 0 20px;
    }

    .card-inner {
        flex-direction: row;
        justify-content: space-between;
        padding: 0;
        text-align: left;
    }

    .card-title {
        font-size: 3rem;
        position: static;
        transform: none;
        order: 1;
        /* Text on right */
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .card-image-placeholder {
        margin-top: 0;
        width: 40%;
        order: 2;
        /* Image on right/left depending on preference, let's keep image separate */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-image-placeholder img {
        max-width: 50%;
        max-height: 150px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .profit-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* FAQ Accordion Styles */
.faq-accordion {
    width: 100%;
    margin-top: 20px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    text-align: left;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    font-family: inherit;
}

.faq-question:hover {
    color: #BDDF62;
}

.faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 300;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* simple approximation */
    opacity: 0.8;
    padding-bottom: 15px;
}

.faq-item.active .faq-question {
    color: #BDDF62;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    /* Optional: turn + to x */
}