/* =====================================================
   Rupiah Custom Slider CSS
   Compatible with HTML template / Bootstrap template
   ===================================================== */

/* Global safety */
.rupiah-slider-section,
.rupiah-slider-section * {
    box-sizing: border-box;
}

/* Slider Wrapper */
.rupiah-slider-section {
    width: 100%;
    padding: 40px 0;
    overflow: hidden;
}

.rupiah-slider {
    width: 100%;
    max-width: 95%;
    margin: 0 auto;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

/* Each Slide */
.rupiah-slide {
    min-height: 520px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 40px;
    padding: 70px 70px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Thin Green Decorative Stroke - Circle Top Right */
.rupiah-slide::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -180px;
    border: 2px solid rgba(30, 200, 113, 0.16);
    border-radius: 50%;
    z-index: 0;
}

/* Thin Green Decorative Stroke - Oval Bottom Left */
.rupiah-slide::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 260px;
    left: -220px;
    bottom: -120px;
    border: 2px solid rgba(30, 200, 113, 0.12);
    border-radius: 50%;
    transform: rotate(-12deg);
    z-index: 0;
}

/* Additional Visible Green Strokes */
.rupiah-slide .green-stroke {
    position: absolute;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(30, 200, 113, 0.85) 45%,
        rgba(68, 210, 137, 0.95) 55%,
        transparent 100%
    );
    border-radius: 999px;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 8px rgba(30, 200, 113, 0.22));
}

.rupiah-slide .stroke-1 {
    width: 460px;
    top: 95px;
    right: 40px;
    transform: rotate(-16deg);
}

.rupiah-slide .stroke-2 {
    width: 360px;
    top: 165px;
    right: -10px;
    transform: rotate(-16deg);
    opacity: 0.85;
}

.rupiah-slide .stroke-3 {
    width: 390px;
    bottom: 120px;
    left: 45px;
    transform: rotate(13deg);
    opacity: 0.75;
}

.rupiah-slide .stroke-4 {
    width: 300px;
    bottom: 185px;
    left: -20px;
    transform: rotate(13deg);
    opacity: 0.55;
}

.rupiah-slide::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -150px;
    top: -150px;
    border: 3px solid rgba(30, 200, 113, 0.24);
    border-radius: 50%;
    z-index: 0;
}

.rupiah-slide::after {
    content: "";
    position: absolute;
    width: 620px;
    height: 260px;
    left: -180px;
    bottom: -100px;
    border: 3px solid rgba(30, 200, 113, 0.18);
    border-radius: 50%;
    transform: rotate(-12deg);
    z-index: 0;
}

.rupiah-slide-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.rupiah-slide-image img {
    width: 100%;
    max-width: 480px;
    height: 360px;
    display: block;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.14);
}

@media (max-width: 991px) {
    .rupiah-slide-image img {
        max-width: 480px;
        height: 320px;
    }
}

@media (max-width: 575px) {
    .rupiah-slide-image img {
        max-width: 100%;
        height: 220px;
        border-radius: 20px;
    }
}

/* Content */
.rupiah-slide-content {
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.rupiah-slide-badge {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(30, 200, 113, 0.12);
    color: #1EC871;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.rupiah-slide h1 {
    margin: 0 0 20px;
    font-size: clamp(34px, 4vw, 64px);
    line-height: 1.08;
    font-weight: 800;
    color: #000000;
    letter-spacing: -0.04em;
}

.rupiah-slide p {
    margin: 0 0 32px;
    font-size: 18px;
    line-height: 1.7;
    color: #4a4a4a;
}

/* CTA Buttons */
.rupiah-slide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.rupiah-btn-primary,
.rupiah-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    line-height: 1;
}

.rupiah-btn-primary {
    background: #1EC871;
    color: #ffffff;
    border: 1px solid #1EC871;
}

.rupiah-btn-primary:hover {
    background: #11C367;
    border-color: #11C367;
    color: #ffffff;
    transform: translateY(-2px);
}

.rupiah-btn-secondary {
    background: #ffffff;
    color: #000000;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.rupiah-btn-secondary:hover {
    color: #1EC871;
    border-color: #1EC871;
    transform: translateY(-2px);
}

/* Image */
.rupiah-slide-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.rupiah-slide-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Swiper Navigation */
.rupiah-slider .swiper-button-next,
.rupiah-slider .swiper-button-prev {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.25s ease;
}

.rupiah-slider .swiper-button-next:hover,
.rupiah-slider .swiper-button-prev:hover {
    background: #1EC871;
    color: #ffffff;
}

.rupiah-slider .swiper-button-next::after,
.rupiah-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

/* Swiper Pagination */
.rupiah-slider .swiper-pagination {
    bottom: 24px;
}

.rupiah-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #000000;
    opacity: 0.25;
    transition: all 0.25s ease;
}

.rupiah-slider .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 999px;
    background: #1EC871;
    opacity: 1;
}

/* =====================================================
   Responsive - Large Tablet
   ===================================================== */
@media (max-width: 1199px) {
    .rupiah-slider {
        max-width: calc(100% - 48px);
    }

    .rupiah-slide {
        padding: 60px 50px;
        gap: 32px;
    }

    .rupiah-slide-image img {
        max-width: 420px;
    }
}

/* =====================================================
   Responsive - Tablet
   ===================================================== */
@media (max-width: 991px) {
    .rupiah-slider-section {
        padding: 24px 16px;
    }

    .rupiah-slider {
        max-width: 100%;
        border-radius: 22px;
    }

    .rupiah-slide {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 50px 36px 70px;
        gap: 32px;
        text-align: center;
    }

    .rupiah-slide-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .rupiah-slide-actions {
        justify-content: center;
    }

    .rupiah-slide-image img {
        max-width: 380px;
    }

    .rupiah-slide .stroke-1 {
        right: 40px;
        top: 70px;
    }

    .rupiah-slide .stroke-2 {
        right: -20px;
        top: 130px;
    }

    .rupiah-slide .stroke-3 {
        left: 30px;
        bottom: 90px;
    }
}

/* =====================================================
   Responsive - Mobile
   ===================================================== */
@media (max-width: 575px) {
    .rupiah-slider-section {
        padding: 16px 12px;
    }

    .rupiah-slider {
        border-radius: 18px;
    }

    .rupiah-slide {
        padding: 38px 22px 58px;
        gap: 28px;
    }

    .rupiah-slide::before {
        width: 320px;
        height: 320px;
        right: -160px;
        top: -120px;
        border-color: rgba(30, 200, 113, 0.14);
    }

    .rupiah-slide::after {
        width: 360px;
        height: 180px;
        left: -180px;
        bottom: -90px;
        border-color: rgba(30, 200, 113, 0.10);
    }

    .rupiah-slide .green-stroke {
        display: none;
    }

    .rupiah-slide-badge {
        font-size: 12px;
        padding: 7px 14px;
        margin-bottom: 14px;
    }

    .rupiah-slide h1 {
        font-size: 34px;
        line-height: 1.12;
        margin-bottom: 16px;
    }

    .rupiah-slide p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 26px;
    }

    .rupiah-slide-actions {
        flex-direction: column;
        width: 100%;
    }

    .rupiah-btn-primary,
    .rupiah-btn-secondary {
        width: 100%;
        min-height: 46px;
    }

    .rupiah-slider .swiper-button-next,
    .rupiah-slider .swiper-button-prev {
        display: none;
    }

    .rupiah-slide-image img {
        max-width: 280px;
    }

    .rupiah-slider .swiper-pagination {
        bottom: 18px;
    }
}

/* =====================================================
   Responsive - Small Mobile
   ===================================================== */
@media (max-width: 375px) {
    .rupiah-slide {
        padding: 34px 18px 54px;
    }

    .rupiah-slide h1 {
        font-size: 30px;
    }

    .rupiah-slide p {
        font-size: 14px;
    }

    .rupiah-slide-image img {
        max-width: 240px;
    }
}

/* Seller / Affiliate Section */
.seller-item {
    background: linear-gradient(
        135deg,
        #F6FFFA 0%,
        #E8FFF2 55%,
        #D9FBE8 100%
    );
    border: 1px solid rgba(30, 200, 113, 0.18);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(17, 195, 103, 0.08);
}

.seller-item.bg-two {
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #F2FFF8 42%,
        #CFF7DD 100%
    );
    border: 1px solid rgba(30, 200, 113, 0.24);
}

.seller-item__title {
    color: #0E1116;
}

.seller-item__desc {
    color: #4A4F59 !important;
}

/* Optional: reduce old template purple/background image effect */
.seller-item > img {
    opacity: 0.28;
    filter: hue-rotate(95deg) saturate(0.8);
}

/* Button */
.seller-item .btn-static-outline-black {
    border-color: #0E1116;
    color: #0E1116;
    background: transparent;
}

.seller-item .btn-static-outline-black:hover {
    background: #1EC871;
    border-color: #1EC871;
    color: #FFFFFF;
}

.support {
    background: linear-gradient(
        135deg,
        #0E1116 0%,
        #111A16 45%,
        #0B2A1A 100%
    );
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.16);
}

.support::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -160px;
    background: radial-gradient(
        circle,
        rgba(30, 200, 113, 0.28) 0%,
        rgba(30, 200, 113, 0.08) 42%,
        transparent 70%
    );
    z-index: -1;
}

.support-content__title {
    color: #FFFFFF;
}

.support-content__desc {
    color: rgba(255, 255, 255, 0.72);
}

.support .btn-static-black {
    background: #1EC871;
    color: #FFFFFF;
    border: 1px solid #1EC871;
}

.support .btn-static-black:hover {
    background: #11C367;
    border-color: #11C367;
    color: #FFFFFF;
}

/* Optional: make decorative assets fit green branding */
.support .spider-net,
.support .arrow-shape {
    opacity: 0.18;
    filter: hue-rotate(95deg) saturate(0.8);
}

.footer-widget {
    position: relative;
    z-index: 2;
}

.footer-widget__logo {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 16px;
    margin-bottom: 20px;
}

.footer-widget__logo img {
    max-width: 180px;
    height: auto;
}