/* VIP Club Page Custom Styles */

/* Temporary Figma Overlay */
.figma-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 390px;
    min-height: 5668px;
    background-image: url('/vip/mobile.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 390px 5668px;
    z-index: 9999;
    pointer-events: all;
    cursor: pointer;
    opacity: 1;
}

/* Color Variables */
:root {
    --vip-gold: #e6c57e;
    --vip-white: #ffffff;
    --vip-black: #000000;
    --vip-dark-gray: #252525;
    --vip-light-gray: #8c8c8c;
    --vip-border-gray: #d9d9d9;
}

/* Top Sections Wrapper with Background */
.vip-top-wrapper {
    background-color: var(--vip-black);
    background-image: url('/vip/ellipse_small.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 330px) -200px;
    background-size: auto;
    position: relative;
    overflow: visible;
}

.vip-circles-inner {
    background-image: url('/vip/ellipse_big.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - -190px) 0px;
    background-size: auto;
    position: relative;
}

/* Hero Section */
.vip-hero-section {
    padding: 160px 0 200px;
    position: relative;
}

.vip-hero-text {
    max-width: 720px;
    position: relative;
    z-index: 10;
}

.vip-hero-title-gold {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.2;
    color: var(--vip-gold);
    margin-bottom: 30px;
}

.vip-hero-subtitle {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    color: var(--vip-white);
}

.vip-hero-card-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 10;
}

.vip-hero-card-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* Video Section */
.vip-video-section {
    background-color: transparent;
    padding: 0 0 100px;
    position: relative;
}

.vip-video-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.vip-video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.40) 100%);
    z-index: 1;
    pointer-events: none;
}

.vip-video-thumb {
    width: 100%;
    height: auto;
    display: block;
}

.vip-play-button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.vip-play-button {
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.vip-play-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.vip-play-icon {
    width: 30px;
    height: 30px;
    display: block;
}

.vip-play-icon svg {
    width: 100%;
    height: 100%;
}

.vip-video-text {
    padding-left: 50px;
}

@media (max-width: 991px) {
    .vip-video-text {
        padding-left: 0;
        margin-top: 30px;
    }
}

.vip-section-title-gold {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    color: var(--vip-gold);
    margin-bottom: 20px;
}

.vip-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--vip-white);
}

/* Three Cards Section */
.vip-cards-section {
    background-color: var(--vip-black);
    padding: 80px 0;
    overflow: visible;
}

.vip-cards-section .container {
    overflow: visible;
}

.vip-cards-section .row:not(.mt-5) {
    display: flex;
    align-items: stretch;
    overflow: visible;
}

.vip-cards-section .row:not(.mt-5) > div {
    display: flex;
    overflow: visible;
}

.vip-membership-card {
    background-color: transparent;
    border: 1px solid var(--vip-white);
    border-radius: 20px;
    padding: 137px 20px 30px;
    position: relative;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.vip-card-featured {
    border-color: var(--vip-gold);
}

.vip-card-image-wrapper {
    position: absolute;
    top: -130px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 280px;
    z-index: 10;
    perspective: 1000px;
}

.vip-card-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.vip-card-image:hover {
    /*transform: rotateY(-5deg);*/
}

.vip-card-content {
    padding-top: 0px;
}

.vip-card-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.2;
    color: var(--vip-white);
    margin-bottom: 15px;
}

.vip-card-benefits {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.vip-benefit-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vip-benefit-item {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Fix SVG stretching issue */
img[src*=".svg"] {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.vip-benefit-icon {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.vip-benefit-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--vip-white);
    margin: 0;
    text-align: left;
}

.vip-note {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--vip-white);
    text-align: center;
}

/* New Level Section */
.vip-new-level-section {
    background-image: url('/vip/bg-new-level.png');
    background-image: -webkit-image-set(
        url('/vip/bg-new-level.webp') 1x
    );
    background-image: image-set(
        url('/vip/bg-new-level.webp') 1x
    );
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
}

.vip-new-level-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.49);
    z-index: 1;
}

.vip-new-level-bg {
    position: relative;
    z-index: 2;
}

.vip-new-level-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.2;
    color: var(--vip-white);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.vip-new-level-subtitle {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    color: var(--vip-white);
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

/* Share Card Section */
.vip-share-card-section {
    background-image: url('/vip/bg-share-card.png');
    background-image: -webkit-image-set(
        url('/vip/bg-share-card.webp') 1x
    );
    background-image: image-set(
        url('/vip/bg-share-card.webp') 1x
    );
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
}

.vip-share-bg {
    position: relative;
}

.vip-share-card-section .container {
    padding-left: 10px;
    padding-right: 10px;
}

.vip-share-content {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--vip-white);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.vip-share-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    color: var(--vip-white);
    margin-bottom: 20px;
}

.vip-share-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--vip-white);
    margin-bottom: 15px;
}

.vip-share-list {
    list-style: none;
    text-align: center;
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--vip-white);
    margin-bottom: 30px;
    padding-left: 0;
}

.vip-share-list li {
    text-align: center;
    margin-bottom: 10px;
}

/* About Company Section */
.vip-about-section {
    background-color: var(--vip-black);
    padding: 80px 0;
}

.vip-section-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 1.2;
    color: var(--vip-white);
}

.vip-stat-card {
    background-color: transparent;
    border: 1px solid var(--vip-white);
    border-radius: 20px;
    padding: 44px 20px 15px;
    position: relative;
    min-height: 293px;
    text-align: center;
    width: 100%;
}

/* Ensure cards stretch to row height on desktop */
@media (min-width: 768px) {
    .vip-about-section .row {
        display: flex;
        align-items: stretch;
    }

    .vip-about-section .row > [class*="col-"] {
        display: flex;
    }

    .vip-about-section .vip-stat-card {
        height: 100%;
    }
}

.vip-stat-icon-wrapper {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}

.vip-stat-icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--vip-black);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #E6C57E;
}

.vip-stat-icon {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: contain;
}

.vip-stat-content {
    padding-top: 20px;
}

.vip-stat-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1.3;
    color: var(--vip-white);
    margin-bottom: 15px;
}

.vip-stat-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--vip-white);
}

/* Terms Section */
.vip-terms-section {
    background-color: var(--vip-black);
    padding: 80px 0;
}

.vip-term-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
}

.vip-term-number {
    position: absolute;
    left: 0;
    top: -5px;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    color: var(--vip-gold);
}

.vip-term-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--vip-white);
    margin: 0;
}

/* Buttons */
.vip-btn-primary {
    background-color: transparent;
    border: 1px solid var(--vip-gold);
    border-radius: 2px;
    color: var(--vip-gold);
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 14px;
    padding: 20px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.vip-btn-primary:hover {
    background-color: var(--vip-gold);
    color: var(--vip-black);
    text-decoration: none;
}

/* Modal button specific styling */
.vip-modal-body .vip-btn-primary {
    padding: 12px 22px;
    border-radius: 8px;
}

/* Modal Styles */
.modal-backdrop.show {
    opacity: 0.7;
    background-color: #000;
}

.vip-modal-content {
    background-color: var(--vip-black);
    border: 1px solid var(--vip-gold);
    border-radius: 10px;
    margin-bottom: 100px;
}

.vip-modal-header {
    border-bottom: none;
    padding: 20px 30px 15px;
}

.vip-modal-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--vip-white);
}

.vip-modal-close {
    color: var(--vip-white);
    opacity: 1;
    text-shadow: none;
}

.vip-modal-close:hover {
    color: var(--vip-gold);
}

.vip-modal-body {
    padding: 15px 30px 30px;
}

.vip-form-label {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--vip-white);
    margin-bottom: 10px;
}

.vip-input-wrapper {
    position: relative;
}

.vip-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    z-index: 10;
    display: block;
    object-fit: contain;
}

.vip-form-input {
    background-color: transparent;
    border: 1px solid var(--vip-border-gray);
    border-radius: 10px;
    color: var(--vip-white);
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 14px;
    padding: 10px 15px 10px 45px;
    height: 40px;
}

.vip-form-input::placeholder {
    color: var(--vip-light-gray);
}

.vip-form-input:focus {
    background-color: transparent;
    border-color: var(--vip-gold);
    color: var(--vip-white);
    box-shadow: none;
}

.vip-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
}

.vip-checkbox-row {
    display: flex;
    gap: 40px;
}

.vip-checkbox-group .form-check {
    margin-bottom: 0;
    background-color: transparent;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.vip-checkbox-label {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--vip-light-gray);
    margin-bottom: 0;
    cursor: pointer;
    padding-left: 9px;
}

.vip-checkbox-group .form-check-input {
    border: 1.5px solid #D9D9D9;
    border-radius: 6px;
    width: 20px;
    height: 20px;
    margin-top: 0;
    margin-right: 12px;
    background-color: transparent;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.vip-checkbox-group .form-check-input:checked {
    background-color: transparent;
    border-color: var(--vip-light-gray);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%238c8c8c' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.vip-checkbox-group .form-check-input:focus {
    border-color: var(--vip-light-gray);
    box-shadow: none;
    outline: none;
}

/* Policy Checkbox */
.vip-policy-check {
    padding: 0;
}

.vip-policy-check label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    position: static;
}

.vip-policy-checkbox {
    border: 1.5px solid #D9D9D9;
    border-radius: 6px;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    margin-right: 12px;
    background-color: transparent;
    cursor: pointer;
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.vip-policy-checkbox:checked {
    background-color: transparent;
    border-color: var(--vip-light-gray);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%238c8c8c' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.vip-policy-checkbox:focus {
    border-color: var(--vip-light-gray);
    box-shadow: none;
    outline: none;
}

.vip-policy-text {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--vip-light-gray);
    line-height: 1.5;
}

.vip-policy-text a {
    color: var(--vip-gold);
    text-decoration: underline;
}

.vip-policy-text a:hover {
    color: var(--vip-gold);
    text-decoration: none;
}

/* Phone input dial code */
.iti__selected-dial-code {
    color: var(--vip-white);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .vip-hero-title-gold {
        font-size: 40px;
    }

    .vip-hero-subtitle {
        font-size: 24px;
    }

    .vip-new-level-title {
        font-size: 40px;
    }

    .vip-new-level-subtitle {
        font-size: 24px;
    }

    .vip-section-title {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    .vip-top-wrapper {
        background-position: calc(70% + 310px) -315px;
    }

    .vip-circles-inner {
        background-image: none;
    }

    .vip-hero-section {
        padding: 80px 0 40px;
    }

    .vip-hero-section .container {
        padding-right: 0;
    }

    .vip-hero-section .row {
        margin-right: 0;
    }

    .vip-hero-section .col-12:first-child {
        max-width: 70%;
        flex: 0 0 70%;
        padding-right: 0;
    }

    .vip-hero-section .col-12:last-child {
        max-width: 30%;
        flex: 0 0 30%;
        padding: 0;
        margin-top: -90px;
    }

    .vip-hero-card-wrapper {
        margin-top: 40px;
        position: relative;
        display: flex;
        justify-content: flex-start;
    }

    .vip-hero-card-image {
        width: 204px;
        max-width: 204px;
        height: auto;
    }

    .vip-hero-title-gold {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .vip-hero-subtitle {
        font-size: 16px;
    }

    .vip-section-title-gold {
        font-size: 20px;
    }

    .vip-new-level-title {
        font-size: 30px;
    }

    .vip-new-level-subtitle {
        font-size: 16px;
    }

    .vip-share-title {
        font-size: 30px;
    }

    .vip-section-title {
        font-size: 30px;
    }

    .vip-stat-title {
        font-size: 30px;
    }

    .vip-card-title {
        font-size: 30px;
    }

    .vip-membership-card {
        margin-bottom: 60px;
    }

    .vip-stat-card {
        margin-bottom: 60px;
        min-height: auto;
    }

    .vip-hero-text {
        padding: 63px 0;
    }

    .vip-cards-section .row {
        display: block;
    }

    .vip-cards-section .row > div {
        display: block;
    }
}
