:root {
    --background: #ffffff;
    --bg-card-light: linear-gradient(180deg, #AAD7F3 0%, #e0edf200 100%);
    --bg-overlay: linear-gradient(to right, #2F719A 0%, #74dff461 100%);
    --max-width: 1240px;
}

/*---------------------------------------- Home And Header ----------------------------------------*/

#wrap-home {
    height: auto;
}

.content-home {
    background-color: var(--background);
}

#wrap-header {
    background-color: transparent;
    box-shadow: none;
    transition: all 0.3s ease;
}

#wrap-home.scrolled #wrap-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px #bbd6e5;
}

.home-header a,
.itemh>img {
    color: var(--color-white) !important;
}

#wrap-home.scrolled .home-header a {
    color: var(--color-all) !important;
}

.home-header .active {
    text-shadow: 0 7px 7px #dae7ed;
}

#wrap-home.scrolled .home-header .active {
    text-shadow: 0 7px 7px #1871a1;
}

#wrap-home #wrap-header .lineh {
    background: var(--color-white);
}

#wrap-home #wrap-header .lineh a {
    color: var(--color-all) !important;
}

/*---------------------------------------- Hero Banner ----------------------------------------*/
.aff-hero {
    position: relative;
    width: 100%;
    height: 93vh;
    padding-top: 80px;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden;
}

.aff-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-overlay);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1050px;
    margin: 0 auto;
}

.hero-content__title {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-right: 300px;
    line-height: 1.3;
    color: var(--color-white);
}

.hero-content__desc {
    font-size: 18px;
    line-height: 1.7;
    padding-right: 300px;
    color: var(--color-white);
}

.hero-cta {
    display: flex;
    gap: 18px;
    margin: 20px 0;
}

.hero-cta__btn {
    background-color: rgba(20, 116, 151, 0.52);
    border-radius: 25px 0 40px 25px;
    padding: 8px 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.hero-cta__btn:hover {
    transform: translateX(5px);
    background-color: rgba(20, 116, 151, 0.7);
}

.media-stats-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
}

.video-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-player {
    position: relative;
    width: 100%;
    padding-bottom: 45%;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.video-player__thumbnail,
.video-player__element {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.video-player__thumbnail {
    z-index: 2;
}

.video-player__thumbnail.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.video-player__element {
    opacity: 0;
}

.video-player__element.is-loaded {
    opacity: 1;
}

.video-player__controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.video-player.is-playing:not(:hover) .video-player__controls:not(.is-visible) {
    opacity: 0;
}

.video-player:hover .video-player__controls,
.video-player__controls.is-visible {
    opacity: 1;
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--color-white);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.control-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.icon {
    display: inline-block;
    width: 18px;
    height: 18px;
}

.icon.is-hidden {
    display: none;
}

.progress-bar {
    flex: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
}

.progress-bar__fill {
    height: 100%;
    background: var(--color-white);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.volume-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-group__slider {
    width: 0;
    opacity: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.volume-group:hover .volume-group__slider {
    width: 60px;
    opacity: 1;
}

.volume-group__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--color-white);
    border-radius: 50%;
    cursor: pointer;
}

.video-card__caption {
    padding: 10px;
    margin: 0;
    color: var(--color-white);
    font-size: 14px;
    line-height: 1.6;
    background: rgba(0, 0, 0, 0.5);
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.stat {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.stat__label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.stat__value {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    margin: 0;
}

/*---------------------------------------- Section All Style ----------------------------------------*/

.section-header,
.partners-header,
.payment-header,
.methods-header,
.ready-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header__title,
.partners-header__title,
.payment-header__title,
.methods-header__title,
.ready-header__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-all);
    margin: 0 0 10px 0;
}

.section-header__desc,
.partners-header__desc,
.payment-header__desc,
.methods-header__desc,
.ready-header__desc {
    font-size: 16px;
    color: var(--color-all);
    margin: 0;
    line-height: 1.6;
}

.section-affiliate,
.section-partners,
.section-payment,
.section-methods,
.section-ready {
    padding: 20px 0;
    width: 100%;
}

.payment-container,
.methods-container,
.ready-container {
    width: var(--max-width);
    margin: 0 auto;
}

/*---------------------------------------- Affiliate ----------------------------------------*/

.feature-grid {
    max-width: var(--max-width);
    display: grid;
    gap: 60px;
    margin: auto;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 400px;
}

.section-affiliate .feature:nth-child(1) {
    background: var(--bg-card-light);
    border-radius: 20px 20px 0 0;
}

.section-affiliate .feature:nth-child(2) {
    background: linear-gradient(0deg, #AAD7F3 0%, #e0edf200 100%);
    border-radius: 0 0 20px 20px;
}

.feature:nth-child(even) {
    direction: rtl;
}

.feature:nth-child(even)>* {
    direction: ltr;
}

.feature__content {
    padding: 20px;
}

.feature__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.feature__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2F719A, #74dff4);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.feature__title {
    font-size: 30px;
    font-weight: 700;
    color: var(--color-all);
    margin: 0;
}

.feature__desc {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-all);
    margin-bottom: 25px;
}

.feature__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature__list-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--color-all);
    font-size: 15px;
    color: var(--color-all);
    position: relative;
    padding-left: 30px;
}

.feature__list-item:last-child {
    border-bottom: none;
}

.feature__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2F719A;
    font-weight: 700;
    font-size: 18px;
}

.feature__image {
    padding: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.feature__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0px 0px 20px 0px rgb(184 223 239 / 97%);
    border-radius: 20px;
}

/*---------------------------------------- Partenrs ----------------------------------------*/
.partners-grid {
    width: var(--max-width);
    margin: auto;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    border-radius: 20px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.partners-slider {
    display: flex;
    gap: 30px;
    width: fit-content;
}

.partners-slider.is-ready {
    animation: partnersScroll 40s linear infinite;
}

.partners-slider:hover {
    animation-play-state: paused;
}

@keyframes partnersScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-card {
    min-width: 280px;
    height: 220px;
    perspective: 1000px;
    cursor: pointer;
    flex-shrink: 0;
}

.partner-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.partner-card:hover .partner-inner {
    transform: rotateY(180deg);
}

.partner-front,
.partner-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.partner-front {
    background: var(--bg-card-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 2px solid #e5e7eb;
}

.partner-back {
    background: linear-gradient(135deg, #2F719A 0%, #1e293b 100%);
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
}

.logo-container {
    width: 120px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin: 0;
}

.brand-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px;
    line-height: 1.6;
    text-align: justify;
    padding: 20px;
}

.brand-category {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    margin-top: 12px;
}

/*---------------------------------------- Payments ----------------------------------------*/
.payment-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.payment-card {
    background: var(--bg-card-light);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.payment-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.payment-card__icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .6);
    border-radius: 12px;
}

.payment-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-all);
    margin: 0;
}

.payment-card__subtitle {
    font-size: 15px;
    color: var(--color-all);
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.payment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    counter-reset: item;
}

.payment-list__item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    position: relative;
    padding-left: 47px;
}

.payment-list__content {
    flex: 1;
}

.payment-list__label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-all);
    margin-bottom: 5px;
}

.payment-list__desc {
    font-size: 14px;
    color: var(--color-all);
    margin: 0;
    line-height: 1.6;
}

.payment-list--numbered .payment-list__item::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 0;
    min-width: 32px;
    height: 32px;
    background: #2F719A;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.payment-list--checked .payment-list__item::before {
    content: '✓';
    position: absolute;
    left: 0;
    min-width: 28px;
    height: 28px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

/*---------------------------------------- Methods ----------------------------------------*/
.methods-container,
.ready-container {
    background: var(--bg-card-light);
    border-radius: 20px;
    padding: 20px 0 40px 0;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    justify-items: center;
}

.method-card {
    min-width: 150px;
    max-width: 200px;
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}


.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(47, 113, 154, .2);
    border-color: #2F719A;
}

.method-card__icon {
    width: 80px;
    height: 80px;
    padding: 10px;
    margin: 0 auto 15px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: linear-gradient(1deg, #AAD7F3 0%, #e0edf200 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}
.method-card__icon>img{
    width: 100%;
    height: 100%;
}

.method-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-all);
    margin: 0;
}

/*---------------------------------------- Ready Log ----------------------------------------*/

.ready-container {
    padding: 60px 20px;
    background: linear-gradient(135deg, #e343fe 0%, #279ee3 100%);
    position: relative;
    overflow: hidden;
}

.ready-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    animation: bgShift 8s ease-in-out infinite alternate;
}

@keyframes bgShift {
    from {
        opacity: 0.3;
    }

    to {
        opacity: 0.6;
    }
}

.ready-header__title,
.ready-header__desc {
    color: white;
    position: relative;
    z-index: 1;
}

.ready-header__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ready-header__desc {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 35px;
}

.ready-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.ready-btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.ready-btn--primary {
    background: white;
    color: #e343fe;
    box-shadow: 0 6px 25px rgba(227, 67, 254, 0.3);
}

.ready-btn--primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 35px rgba(227, 67, 254, 0.4);
    color: #279ee3;
}

.ready-btn--primary:active {
    transform: translateY(-1px) scale(1.01);
}

.ready-btn--secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.ready-btn--secondary:hover {
    background: white;
    color: #279ee3;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

.ready-btn--secondary:active {
    transform: translateY(-1px);
}

@media (min-width: 1550px) {
    :root {
        --max-width: 1400px;
    }

    .hero-container {
        margin-top: 5%;
        max-width: 1200px;
    }

    .hero-content__desc,
    .hero-cta {
        margin: 30px 0;
    }

    .video-player {
        padding-bottom: 50%;
    }

    .video-card__caption {
        padding: 20px;
    }

    .stats-list {
        gap: 55px;
    }
}

@media (max-width: 480px) {
    .hero-container {
        width: 100%;
    }

    .hero-content__title {
        padding: 10px;
        margin: 0;
        font-size: 24px;
    }

    .hero-content__desc {
        font-size: 14px;
        padding: 0 10px;
        margin: 0;
    }

    .hero-cta {
        display: none;
    }

    .media-stats-grid {
        display: flex;
        flex-direction: column-reverse;
        padding: 10;
        grid-template-columns: auto;
        gap: 10px;
    }

    .stats-list {
        /* display: none; */
        gap: 5px;
    }

    .stat__label {
        font-size: 12px;
        margin: 0;
    }

    .stat__value {
        font-size: 14px;
    }

    .section-affiliate,
    .section-partners,
    .section-payment,
    .section-methods,
    .section-ready {
        padding: 10px 0;
    }

    .section-header,
    .partners-header,
    .payment-header,
    .methods-header,
    .ready-header {
        text-align: center;
        margin-bottom: 10px;
    }

    .section-header__title,
    .partners-header__title,
    .payment-header__title,
    .methods-header__title,
    .ready-header__title {
        font-size: 20px;
        margin: 0;
    }

    .section-header__desc,
    .partners-header__desc,
    .payment-header__desc,
    .methods-header__desc,
    .ready-header__desc {
        font-size: 14px;
        margin: 10px;
    }

    .partners-grid {
        border-radius: unset;
    }

    .feature {
        display: grid;
        grid-template-columns: auto;
        gap: 0;
        min-height: 200px;
    }

    .feature__content {
        padding: 15px;
    }

    .feature__header {
        gap: 15px;
        margin-bottom: 0;
    }

    .feature__title {
        font-size: 20px;
    }

    .feature__icon {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .feature__desc {
        font-size: 13px;
        margin: 5px 0;
    }

    .feature__list-item {
        padding: 8px 0;
        font-size: 13px;
        padding-left: 20px;
    }

    .feature__list-item::before {
        font-size: 15px;
    }

    .feature__image {
        padding: 15px;
    }

    .partners-slider {
        display: flex;
        gap: 15px;
        width: fit-content;
    }

    .partner-card {
        min-width: 180px;
        height: 150px;
    }

    .brand-description {
        font-size: 13px;
        line-height: 1.6;
        text-align: center;
        padding: 6px;
    }

    .payment-container {
        width: 100%;
        margin: 0 auto;
    }

    .methods-container,
    .ready-container {
        padding: 10px 0;
        width: 100%;
        margin: 0 auto;
        border-radius: unset;
    }

    .payment-content {
        grid-template-columns: auto;
        gap: 15px;
    }

    .payment-card {
        padding: 15px;
        border-radius: unset;
    }

    .payment-card__header {
        margin-bottom: 0;
    }

    .payment-card__icon {
        font-size: 15px;
        width: 30px;
        height: 30px;
    }

    .payment-card__title {
        font-size: 20px;
    }

    .payment-card__subtitle {
        font-size: 13px;
        margin: 10px 0;
    }

    .payment-list__item {
        align-items: center;
        padding-left: 40px;
    }

    .payment-list__label {
        display: block;
        font-size: 14px;
        margin-bottom: 0;
    }

    .methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .method-card {
        min-width: 50px;
        width: 100px;
        height: 100px;
    }

    .method-card__icon {
        width: 70px;
        height: 70px;
    }

    .ready-cta {
        padding: 40px 0;
    }
}