@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap";

/* Mobile video improvements */
video {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
}

/* Mobile responsive improvements */
@media (max-width: 768px) {
    video {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        object-fit: cover;
    }
    
    .connect-swap {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 16px !important;
        padding: 12px 16px !important;
    }
    
    /* Improve mobile layout */
    .w-full {
        width: 100% !important;
    }
    
    /* Better mobile spacing */
    .p-4 {
        padding: 16px !important;
    }
    
    .px-4 {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    
    .py-4 {
        padding-top: 16px !important;
        padding-bottom: 16px !important;
    }
}

/* iOS Safari video fixes */
@supports (-webkit-touch-callout: none) {
    video {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/* Additional mobile improvements */
@media (max-width: 480px) {
    /* Better mobile button sizing */
    .connect-swap {
        min-height: 48px !important;
        font-size: 14px !important;
        padding: 10px 12px !important;
        border-radius: 8px !important;
    }
    
    /* Mobile video containers */
    .FlowProgressionPanel_video__XYD8X {
        width: 100% !important;
        max-width: 240px !important;
        margin: 0 auto !important;
    }
    
    /* Mobile card improvements - override previous styles */
    .CardCarousel_card__R2d_m {
        width: calc(100% - 24px) !important;
        margin: 0 12px !important;
        padding: 12px !important;
        max-width: 260px !important;
    }
    
    /* Mobile text sizing */
    .FlowProgressionPanel_heading__XgwmG {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }
    
    /* Mobile spacing */
    .mb-6 {
        margin-bottom: 12px !important;
    }
    
    .mt-6 {
        margin-top: 12px !important;
    }
    
    /* Mobile carousel container */
    .CardCarousel_container__kMyoa {
        padding: 0 8px !important;
    }
    
    /* Mobile carousel slides */
    .CardCarousel_emblaSlide__jC0Vh {
        padding: 0 8px !important;
    }
}

/* Android Chrome video fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    video {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Mobile carousel improvements */
@media (max-width: 767px) {
    .CardCarousel_embla__B5j_S {
        overflow: hidden !important;
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .CardCarousel_emblaContainer__vCJRC {
        display: flex !important;
        transition: transform 0.3s ease !important;
        will-change: transform !important;
    }
    
    .CardCarousel_emblaSlide__jC0Vh {
        flex: 0 0 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        padding: 0 12px !important;
    }
    
    .CardCarousel_card__R2d_m {
        width: 100% !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        padding: 12px 12px 20px !important;
        border-radius: 8px !important;
    }
    
    .CardCarousel_number__z6cEX {
        position: absolute !important;
        top: -8px !important;
        left: 12px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 16px !important;
    }
    
    .CardCarousel_cardImage__MAmWy {
        height: 160px !important;
        border-radius: 6px !important;
    }
    
    .CardCarousel_cardTitle__Vs1zN {
        font-size: 18px !important;
        padding: 6px 0 !important;
        line-height: 1.2 !important;
    }
    
    .CardCarousel_cardInfo__0_qOj {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
    
    .CardCarousel_dotsContainer__DhiN2 {
        margin-top: 16px !important;
        gap: 6px !important;
    }
    
    .CardCarousel_dot__eG1so {
        width: 8px !important;
        height: 8px !important;
        border-radius: 50% !important;
        background: #d9d9d9 !important;
        border: none !important;
        cursor: pointer !important;
        transition: background-color 0.3s ease !important;
    }
    
    .CardCarousel_dot__eG1so.CardCarousel_active__UJAZq {
        background: #3b6a83 !important;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .CardCarousel_card__R2d_m {
        max-width: 260px !important;
        padding: 10px 10px 16px !important;
    }
    
    .CardCarousel_cardImage__MAmWy {
        height: 140px !important;
    }
    
    .CardCarousel_cardTitle__Vs1zN {
        font-size: 16px !important;
        padding: 4px 0 !important;
    }
    
    .CardCarousel_cardInfo__0_qOj {
        font-size: 13px !important;
    }
    
    .CardCarousel_number__z6cEX {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px !important;
        top: -6px !important;
        left: 10px !important;
    }
}

/* Touch improvements for carousel */
.CardCarousel_embla__B5j_S {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.CardCarousel_emblaContainer__vCJRC {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.wallet-adapter-button{background-color:transparent;border:none;color:#fff;cursor:pointer;display:flex;align-items:center;font-family:DM Sans,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px;font-weight:600;height:48px;line-height:48px;padding:0 24px;border-radius:4px}.wallet-adapter-button-trigger{background-color:#512da8}.wallet-adapter-button:not([disabled]):focus-visible{outline-color:#fff}.wallet-adapter-button:not([disabled]):hover{background-color:#1a1f2e}.wallet-adapter-button[disabled]{background:#404144;color:#999;cursor:not-allowed}.wallet-adapter-button-end-icon,.wallet-adapter-button-start-icon,.wallet-adapter-button-end-icon img,.wallet-adapter-button-start-icon img{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.wallet-adapter-button-end-icon{margin-left:12px}.wallet-adapter-button-start-icon{margin-right:12px}.wallet-adapter-collapse{width:100%}.wallet-adapter-dropdown{position:relative;display:inline-block}.wallet-adapter-dropdown-list{position:absolute;z-index:99;display:grid;grid-template-rows:1fr;grid-row-gap:10px;padding:10px;top:100%;right:0;margin:0;list-style:none;background:#2c2d30;border-radius:10px;box-shadow:0 8px 20px #0009;opacity:0;visibility:hidden;transition:opacity .2s ease,transform .2s ease,visibility .2s;font-family:DM Sans,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif}.wallet-adapter-dropdown-list-active{opacity:1;visibility:visible;transform:translateY(10px)}.wallet-adapter-dropdown-list-item{display:flex;flex-direction:row;justify-content:center;align-items:center;border:none;outline:none;cursor:pointer;white-space:nowrap;box-sizing:border-box;padding:0 20px;width:100%;border-radius:6px;font-size:14px;font-weight:600;height:37px;color:#fff}.wallet-adapter-dropdown-list-item:not([disabled]):hover{background-color:#1a1f2e}.wallet-adapter-modal-collapse-button svg{align-self:center;fill:#999}.wallet-adapter-modal-collapse-button.wallet-adapter-modal-collapse-button-active svg{transform:rotate(180deg);transition:transform ease-in .15s}.wallet-adapter-modal{position:fixed;top:0;left:0;right:0;bottom:0;opacity:0;transition:opacity linear .15s;background:#00000080;z-index:1040;overflow-y:auto}.wallet-adapter-modal.wallet-adapter-modal-fade-in{opacity:1}.wallet-adapter-modal-button-close{display:flex;align-items:center;justify-content:center;position:absolute;top:18px;right:18px;padding:12px;cursor:pointer;background:#1a1f2e;border:none;border-radius:50%}.wallet-adapter-modal-button-close:focus-visible{outline-color:#fff}.wallet-adapter-modal-button-close svg{fill:#777;transition:fill .2s ease 0s}.wallet-adapter-modal-button-close:hover svg{fill:#fff}.wallet-adapter-modal-overlay{background:#00000080;position:fixed;top:0;left:0;bottom:0;right:0}.wallet-adapter-modal-container{display:flex;margin:3rem;min-height:calc(100vh - 6rem);align-items:center;justify-content:center}@media (max-width: 480px){.wallet-adapter-modal-container{margin:1rem;min-height:calc(100vh - 2rem)}}.wallet-adapter-modal-wrapper{box-sizing:border-box;position:relative;display:flex;align-items:center;flex-direction:column;z-index:1050;max-width:400px;border-radius:10px;background:#10141f;box-shadow:0 8px 20px #0009;font-family:DM Sans,Roboto,Helvetica Neue,Helvetica,Arial,sans-serif;flex:1}.wallet-adapter-modal-wrapper .wallet-adapter-button{width:100%}.wallet-adapter-modal-title{font-weight:500;font-size:24px;line-height:36px;margin:0;padding:64px 48px 48px;text-align:center;color:#fff}@media (max-width: 374px){.wallet-adapter-modal-title{font-size:18px}}.wallet-adapter-modal-list{margin:0 0 12px;padding:0;width:100%;list-style:none}.wallet-adapter-modal-list .wallet-adapter-button{font-weight:400;border-radius:0;font-size:18px}.wallet-adapter-modal-list .wallet-adapter-button-end-icon,.wallet-adapter-modal-list .wallet-adapter-button-start-icon,.wallet-adapter-modal-list .wallet-adapter-button-end-icon img,.wallet-adapter-modal-list .wallet-adapter-button-start-icon img{width:28px;height:28px}.wallet-adapter-modal-list .wallet-adapter-button span{margin-left:auto;font-size:14px;opacity:.6}.wallet-adapter-modal-list-more{cursor:pointer;border:none;padding:12px 24px 24px 12px;align-self:flex-end;display:flex;align-items:center;background-color:transparent;color:#fff}.wallet-adapter-modal-list-more svg{transition:all .1s ease;fill:#fff;margin-left:.5rem}.wallet-adapter-modal-list-more-icon-rotate{transform:rotate(180deg)}.wallet-adapter-modal-middle{width:100%;display:flex;flex-direction:column;align-items:center;padding:0 24px 24px;box-sizing:border-box}.wallet-adapter-modal-middle-button{display:block;cursor:pointer;margin-top:48px;width:100%;background-color:#512da8;padding:12px;font-size:18px;border:none;border-radius:8px;color:#fff}
