@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Barlow+Semi+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --bg-body: #c2133c;
    /* --bg-card: #74172c; */
    --bg-card: #74172c96;
    --text-heading: #f2ce92;
    --text-light: #ffffff;
    --paragraph-font: "Barlow", sans-serif;
    --heading-font: "Barlow Semi Condensed", sans-serif;
    --heading-font-deep: "Barlow Condensed", sans-serif;
    ;
}

p{
    font-family: var(--paragraph-font);
    font-size: 1rem;
}

h1,h2,h3{
    font-family: var(--heading-font-deep);
}

nav.navbar{
    margin: 0;
    padding: 0;
}

.bg-navbar, .bg-footer {
    /* background-color: #ad2c4a; */
    background-color: #010101;
}

.bg-body {
    /* background-color: #74172c; */
    background-color: #c2133c;
}

.bg-card {
    /* background-color: #510217; */
    background-color: #74172c;
}

.text-heading {
    color: #f2ce92;
}

body {
    background-color: var(--bg-body);
    /* background-color:#ad2c4a; */
    color: var(--text-light);
    font-family: var(--heading-font);
    position: relative;
}

/* todo: Navbar Design Start */

nav.navbar.navbar-expand-lg.bg-body.text-light.shadow-sm {
    margin: 0;
    padding: 0;
}

.navbar .nav-item .nav-link {
    color: var(--text-light);
    font-size: 18px;
}

.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
    border: none;
    outline: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler .navbar-toggler-icon,
.navbar-toggler .navbar-toggler-icon:active,
.navbar-toggler .navbar-toggler-icon:focus {
    border: none;
    outline: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler i {
    color: #ffffff;
    font-size: 22px;
}

/* todo: Navbar Design End */

/* todo: Slider Start */

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}

.swiper-button-prev,.swiper-button-next{
    /* color: var(--text-heading); */
    color: rgba(188, 68, 96, 0.7);
}

span.swiper-pagination-bullet {
    padding: 5px;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active
{
    /* background: yellow; */
    background: #BC4460;
    padding: 5px 12px;
    border-radius: 5px;
}

.hero-slider .image-box{
    width: 100%;
    height: 500px;
}

@media(min-width: 605px) and (max-width: 991px){
    .hero-slider .image-box{
        width: 100%;
        height: 350px;
    }
}

@media(min-width: 300px) and (max-width: 600px){
    .hero-slider .image-box{
        width: 100%;
        height: 250px;
    }
}

/* todo: Slider End */

/* todo: About Start */
.about-section{
    /* padding: 30px 0; */
    background-color: var(--bg-body);
}

.about-section .home-about{
    /* padding: 40px 0; */
    padding-top: 65px;
}

.about-section .home-about img{
    border-radius: 5px;
}

/* todo: About End */

/* todo: Package Start */

.package-section{
    padding-top: 20px;
}

/* todo: Package End */

/* todo: Gallery Start */

#gallerySection{
    padding-top: 100px;
    padding-bottom: 65px;
}

.home-gallery .image-box{
    width: 100%;
    overflow: hidden;
}

.home-gallery .image-box img{
    border-radius: 10px;
    transition: 0.4s all ease-in-out;
}

.home-gallery .image-box img:hover{
    border-radius: 0;
    transform: scale(1.1);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.home-gallery .heading .title{
    font-size: 48px;
    display: block;
    font-family: var(--heading-font-deep);
}

.home-gallery .heading .text{
    font-size: 22px;
    line-height: 32px;
    font-family: var(--paragraph-font);
    font-weight: 300;
}

@media (min-width:605px) and (max-width: 991px){
    .home-gallery .heading .title{
        font-size: 30px;
        display: block;
        font-family: var(--heading-font-deep);
    }

    .home-gallery .heading .text{
        font-size: 14px;
        line-height: 16px;
        font-family: var(--paragraph-font);
        font-weight: 300;
    }
}

/* todo: Gallery End */

/* todo: Old */

.card {
    transition: all .3s ease;
    background-color: var(--bg-card);
    color: var(--text-light);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .15);
}

/* ===== Purchase Details Page ===== */

.purchase-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    background-color: var(--bg-card);
    color: var(--text-light);
    transition: transform 0.3s, box-shadow 0.3s;
}

.purchase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.purchase-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.price-tag {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-heading);
}

/* Payment Option Cards */
.payment-option {
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease;
}

.payment-option.active {
    border-color: var(--text-heading) !important;
    background: rgba(242, 206, 146, 0.1) !important;
    box-shadow: 0 0 20px rgba(242, 206, 146, 0.15);
}

.payment-option:hover {
    transform: translateY(-3px);
    border-color: var(--text-heading) !important;
}

/* Card Headers */
.card-header {
    background-color: rgba(0, 0, 0, 0.3) !important;
    color: var(--text-heading) !important;
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* EMI Row */
.emi-row {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.emi-row:hover {
    background: rgba(242, 206, 146, 0.08);
    border-color: var(--text-heading);
    cursor: pointer;
}

.emi-check {
    width: 18px;
    height: 18px;
    accent-color: var(--text-heading);
}

/* Purchase Form Inputs */
.purchase-select,
.purchase-input {
    background-color: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: var(--text-light) !important;
    transition: border-color 0.3s ease;
}

.purchase-select:focus,
.purchase-input:focus {
    border-color: var(--text-heading) !important;
    box-shadow: 0 0 0 0.2rem rgba(242, 206, 146, 0.15) !important;
    outline: none;
}

.purchase-select option {
    background-color: #74172c;
    color: #ffffff;
}

/* Form Labels on Purchase Page */
.form-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Purchase Buttons */
.btn-purchase {
    background: linear-gradient(135deg, #28a745, #218838);
    border: none;
    color: #fff;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-purchase:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.45);
    color: #fff;
}

.btn-crypto {
    background: linear-gradient(135deg, #f2ce92, #d4a855);
    border: none;
    color: #1a1a1a;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(242, 206, 146, 0.3);
}

.btn-crypto:hover {
    background: linear-gradient(135deg, #d4a855, #c09640);
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(242, 206, 146, 0.45);
    color: #1a1a1a;
}

/* Crypto Info Box */
.crypto-info-box {
    background: rgba(242, 206, 146, 0.1);
    border: 1px solid rgba(242, 206, 146, 0.25);
    border-radius: 12px;
    padding: 20px;
    color: var(--text-light);
}

/* Wallet Options in Modal */
.wallet-option {
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.wallet-option:hover {
    border-color: var(--text-heading);
    background: rgba(242, 206, 146, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wallet-option img {
    width: 40px;
    height: 40px;
    margin-right: 20px;
    object-fit: contain;
}

.wallet-option .wallet-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
}

.wallet-option .wallet-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
}

/* Purchase Modal */
.purchase-modal {
    background-color: var(--bg-card) !important;
    color: var(--text-light);
}

.purchase-modal .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.purchase-modal .modal-footer {
    background-color: rgba(0, 0, 0, 0.15) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Network Badge */
.network-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.network-badge.connected {
    background: #2e7d32;
}

.network-badge.warning {
    background: #f57c00;
}

/* HR dividers on dark bg */
.card hr {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .purchase-card .col-md-5 {
        text-align: center;
        margin-bottom: 15px;
    }

    .purchase-img {
        max-height: 200px;
    }

    .price-tag {
        font-size: 22px;
    }

    .wallet-option {
        padding: 12px;
    }
}

/* EMI Select Actions */
.emi-select-actions .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--text-light);
    font-size: 0.8rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.emi-select-actions .btn-outline-light:hover {
    background: rgba(242, 206, 146, 0.15);
    border-color: var(--text-heading);
    color: var(--text-heading);
}

/* EMI Selected Total */
#emiSelectedTotal {
    font-weight: 700;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

/* Clickable EMI rows */
.emi-row {
    cursor: pointer;
    user-select: none;
}

.emi-row.selected {
    background: rgba(242, 206, 146, 0.12) !important;
    border-color: var(--text-heading) !important;
}

/* ===== Crypto Payment Result Modal Icons ===== */
.crypto-result-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: cryptoScaleIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.crypto-result-icon i {
    font-size: 36px;
    color: #fff;
    animation: cryptoFadeIcon 0.4s 0.3s ease forwards;
    opacity: 0;
}

/* Success Pulse */
.crypto-result-icon.success-pulse {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 8px 30px rgba(40, 167, 69, 0.4);
}

.crypto-result-icon.success-pulse::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid rgba(40, 167, 69, 0.35);
    animation: cryptoPulseRing 2s ease-out infinite;
}

/* Failed Pulse */
.crypto-result-icon.failed-pulse {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    box-shadow: 0 8px 30px rgba(220, 53, 69, 0.4);
}

.crypto-result-icon.failed-pulse::after {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid rgba(220, 53, 69, 0.35);
    animation: cryptoPulseRing 2s ease-out infinite;
}

@keyframes cryptoScaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

@keyframes cryptoFadeIcon {
    to { opacity: 1; }
}

@keyframes cryptoPulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Continue Button Disabled State */
#btnSuccessContinue:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

#btnSuccessContinue:not(:disabled):hover,
#btnFailedContinue:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}
