/* [x-cloak] logic */
[x-cloak] { 
    display: none !important; 
}

/* Base Styling */
body { 
    font-family: 'Roboto', sans-serif; 
    background-color: #f3f4f6; 
    color: #374151; 
    -webkit-tap-highlight-color: transparent; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Responsive Wrapper (বড় স্ক্রিনে যেন লেখাগুলো ছড়িয়ে না যায়) --- */
.app-container {
    width: 100%;
    max-width: 500px; /* ল্যাপটপে এটি মোবাইলের মতো দেখাবে, যা এই ধরণের অ্যাপের জন্য স্ট্যান্ডার্ড */
    margin: 0 auto;
    min-height: 100vh;
    background: #ffffff;
    position: relative;
}
/* যদি ল্যাপটপে পুরো স্ক্রিন জুড়ে দিতে চান, তবে উপরের .app-container পার্টটুকু ডিলিট করে দেবেন */

/* bKash Theme Colors */
.bkash-primary { background-color: #e2136e; }
.bkash-text { color: #e2136e; }
.bkash-border { border-color: #e2136e; }

/* Cards & Layout */
.card-shadow { 
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); 
    border: 1px solid #f1f1f1; 
}
.nav-active { 
    color: #e2136e; 
    transition: all 0.3s ease; 
}

/* Hardware Accelerated Page Transitions */
.page-transition { 
    animation: fadeIn 0.3s ease-out; 
    will-change: opacity, transform;
    transform: translateZ(0); /* GPU Acceleration */
}
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(5px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Forms & Scrollbars */
input, select { color: #1f2937 !important; }
input::placeholder { color: #9ca3af; }
select { appearance: none; -webkit-appearance: none; -moz-appearance: none; }

.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Button Effects */
.balance-pill { transition: all 0.3s ease; }
.balance-pill:active { transform: scale(0.95); }

/* Premium Glowing Text Animation */
.premium-text-glow {
    background: linear-gradient(to right, #ffffff, #ffe259, #ffb700, #ffffff);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textShine 3s linear infinite, textGlow 2s ease-in-out infinite alternate;
    will-change: background-position, filter;
    transform: translateZ(0); 
}
@keyframes textShine { to { background-position: 200% center; } }
@keyframes textGlow {
    from { filter: drop-shadow(0 0 5px rgba(255, 226, 89, 0.4)); }
    to { filter: drop-shadow(0 0 15px rgba(255, 226, 89, 0.9)); }
}

/* Dynamic Magic Background */
@keyframes autoColorCycle {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.magic-bg {
    background-size: 200% 200%;
    animation: gradientMove 2s ease infinite alternate, autoColorCycle 6s linear infinite;
    will-change: background-position, filter;
    transform: translateZ(0);
}

/* 100% Working Skeleton Loading Shimmer */
@keyframes shimmer {
    0% { transform: translateX(-100%) translateZ(0); }
    100% { transform: translateX(100%) translateZ(0); }
}
.shimmer-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #e5e7eb;
    border-radius: inherit;
    transform: translateZ(0);
}
.shimmer-wrapper::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
    animation: shimmer 1.5s infinite linear;
    z-index: 10;
    will-change: transform;
}

/* Premium Loader Animations */
@keyframes scanline {
    0% { transform: translateY(-100%) translateZ(0); }
    100% { transform: translateY(200%) translateZ(0); }
}
.animate-scanline {
    animation: scanline 1.5s linear infinite;
    will-change: transform;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8) translateZ(0); opacity: 0.8; }
    100% { transform: scale(1.5) translateZ(0); opacity: 0; }
}
.animate-pulse-ring {
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    will-change: transform, opacity;
}

@keyframes fillBar {
    0% { width: 0%; }
    20% { width: 30%; }
    50% { width: 60%; }
    80% { width: 85%; }
    100% { width: 100%; }
}
.animate-fill-bar {
    animation: fillBar 2.5s ease-out forwards;
    will-change: width;
}

/* =========================================
   Landing Page Premium Styles
   ========================================= */

.glass-panel {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: translateZ(0);
    will-change: transform, backdrop-filter;
}

.glass-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    transform: translateZ(0);
    will-change: transform, box-shadow;
}

@media (min-width: 768px) {
    .glass-card { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
    .glass-card:hover {
        border-color: rgba(16, 185, 129, 0.3);
        box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.15);
        transform: translateY(-5px) translateZ(0);
    }
}

.text-gradient {
    background: linear-gradient(to right, #34d399, #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.phone-mockup {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transform: translateZ(0);
}

/* Smooth Hardware Accelerated Animations */
@keyframes floatSmooth {
    0%, 100% { transform: translateY(0) translateZ(0); }
    50% { transform: translateY(-15px) translateZ(0); }
}
.animate-float-smooth {
    animation: floatSmooth 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.1); }
    100% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.4); }
}
.animate-glow-pulse {
    animation: glowPulse 3s ease-in-out infinite alternate;
    will-change: box-shadow;
}

/* Ultra Smooth GPU-Accelerated Marquee */
@keyframes smoothScroll {
    0% { transform: translateX(0) translateZ(0); }
    100% { transform: translateX(-100%) translateZ(0); }
}
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: smoothScroll 60s linear infinite;
    will-change: transform;
}

/* =========================================
   ADDITIONAL RESPONSIVE TWEAKS 
   (এগুলো ল্যাপটপ এবং ট্যাবলেটে আপনার ডিজাইন সুন্দর রাখবে)
   ========================================= */

@media (min-width: 1024px) {
    /* বড় স্ক্রিনে ইনপুট ফিল্ড এর ফন্ট একটু বড় করা */
    input, button {
        cursor: pointer;
    }
    
    /* বড় স্ক্রিনে স্ক্রলবার চাইলে দেখাতে পারেন, নিচে হাইড করা আছে আগের মতোই */
    .hide-scrollbar::-webkit-scrollbar { display: none; }
}

@media (max-width: 400px) {
    /* খুব ছোট মোবাইলের জন্য টেক্সট অ্যাডজাস্টমেন্ট */
    h1 { font-size: 1.5rem !important; }
    .premium-text-glow { font-size: 1.2rem !important; }
}