body {
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-size: 400% 400%;
    animation: bgChange 24s infinite;
}

@keyframes bgChange {
    0% {
        background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    }

    12.5% {
        background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    }

    25% {
        background: linear-gradient(135deg, #16222a, #3a6073);
    }

    37.5% {
        background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    }

    50% {
        background: linear-gradient(135deg, #134e5e, #71b280);
    }

    62.5% {
        background: linear-gradient(135deg, #42275a, #734b6d);
    }

    75% {
        background: linear-gradient(135deg, #141e30, #243b55);
    }

    87.5% {
        background: linear-gradient(135deg, #000428, #004e92);
    }

    100% {
        background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #080b10;
    background: radial-gradient(circle at center, #101926 0%, #080b10 100%);
    min-height: 100vh;
    color: #fff;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.app-container {
    width: 100%;
    max-width: 430px;
    min-height: 100vh;
    padding: 15px;
    position: relative;
}

/* Views Default State */
.app-view {
    display: none;
}

/* Active View Tracker */
.app-view.view-active {
    display: block !important;
}

/* ------------------ SECTION 1: LANDING PAGE ------------------ */
#landingScreen {
    text-align: center;
    padding-top: 20px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(8, 11, 16, 0.5), #080b10), url('67908 (1).jpg') no-repeat center top;
    background-size: cover;
    opacity: 0.35;
    z-index: -1;
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(18, 24, 36, 0.7);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 40px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.logo-area span { color: #0088ff; }

.menu-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.badge-trusted {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 136, 255, 0.1);
    border: 1px solid rgba(0, 136, 255, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #0088ff;
    margin-bottom: 25px;
}
.badge-trusted span.dot {
    width: 6px; height: 6px; background-color: #00ff66; border-radius: 50%;
}

.main-logo-center {
    width: 60px; height: 60px;
    margin: 0 auto 15px auto;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,136,255,0.3);
}

.hero-title {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.hero-title span { color: #ff9900; }

.hero-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #ff9900;
    margin-bottom: 12px;
}
.hero-subtitle span { color: #fff; font-style: italic; }

.hero-desc {
    color: #a3b3cc;
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto 30px auto;
}

.cta-primary {
    width: 85%;
    background-color: #0088ff;
    color: white;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.4);
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.cta-secondary {
    width: 85%;
    background: transparent;
    color: white;
    border: 1px solid #1f293d;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.stat-card {
    background: #121824;
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 15px 5px;
    text-align: center;
}
.stat-card i { font-size: 16px; margin-bottom: 8px; }
.stat-card .val { font-size: 18px; font-weight: 800; display: block; margin-bottom: 2px;}
.stat-card .val.orange { color: #ff9900; }
.stat-card .lbl { font-size: 10px; color: #526685; text-transform: uppercase; font-weight: 600;}

/* ------------------ SECTION 2: AUTH SCREENS ------------------ */
.brand {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 800;
}
.brand span { color: #0088ff; }

.card {
    background-color: #121824;
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 0 30px rgba(0, 136, 255, 0.15);
    border: 1px solid rgba(0, 136, 255, 0.1);
    margin-top: 20px;
}

.card-header { margin-bottom: 25px; }
.welcome-title {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.welcome-title span { color: #ff9900; }
.welcome-title i {
    color: #0088ff;
    background: rgba(0, 136, 255, 0.1);
    padding: 8px; border-radius: 50%; font-size: 16px;
}

.subtitle { color: #6c7a9c; font-size: 14px; margin-top: 5px; margin-left: 38px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; color: #a3b3cc; margin-bottom: 8px; }

.input-box { position: relative; display: flex; align-items: center; }
.input-box i.input-icon { position: absolute; left: 15px; color: #526685; }

.input-box input, .input-box select {
    width: 100%;
    background-color: #090d14;
    border: 1px solid #1f293d;
    border-radius: 8px;
    padding: 14px 15px 14px 45px;
    color: white;
    font-size: 15px;
    outline: none;
}

.input-box .toggle-pwd {
    position: absolute; right: 15px; color: #526685; cursor: pointer;
}

.forgot-link { display: flex; justify-content: flex-end; margin-top: -10px; margin-bottom: 20px; }
.forgot-link a { color: #0088ff; text-decoration: none; font-size: 13px; }

.action-btn {
    width: 100%; background-color: #0088ff; color: white; border: none;
    padding: 14px; font-size: 16px; font-weight: 600; border-radius: 8px;
    cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 10px;
}

.card-footer { text-align: center; font-size: 14px; color: #6c7a9c; margin-top: 20px; }
.switch-btn { background: none; border: none; color: #0088ff; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: underline; margin-left: 5px;}

/* ------------------ SECTION 3: DASHBOARD SCREEN ------------------ */
.top-bar {
    background-color: #121824; border-radius: 12px; padding: 12px 16px;
    display: flex; justify-content: space-between; align-items: center;
    border: 1px solid rgba(0, 136, 255, 0.1); margin-bottom: 15px;
}
.top-left { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.top-left span.live-dot {
    color: #00ff66; font-size: 11px; font-weight: 600; display: flex; align-items: center; gap: 4px;
}
.top-left span.live-dot::before {
    content: ''; display: inline-block; width: 6px; height: 6px; background-color: #00ff66; border-radius: 50%;
}
.top-right { display: flex; gap: 15px; color: #a3b3cc; cursor: pointer; }

.user-row { display: flex; gap: 10px; margin-bottom: 15px; }
.user-badge, .credits-badge {
    flex: 1; background-color: #121824; padding: 12px; border-radius: 12px;
    display: flex; align-items: center; gap: 8px; font-size: 14px; border: 1px solid rgba(0, 136, 255, 0.05);
}
.user-badge i { background-color: #24344d; padding: 8px; border-radius: 50%; color: #0088ff; }
.credits-badge { justify-content: space-between; border: 1px solid rgba(0, 136, 255, 0.2); box-shadow: inset 0 0 10px rgba(0, 136, 255, 0.1); }
.credits-left { display: flex; align-items: center; gap: 6px; color: #a3b3cc; }
.credits-left i { color: #0088ff; }
.credits-value { font-weight: 700; color: #0088ff; }

.region-box {
    background-color: #121824; padding: 14px; border-radius: 12px;
    display: flex; justify-content: space-between; align-items: center; font-size: 15px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.05);
}
.region-left { display: flex; align-items: center; gap: 10px; }

.dash-card { background-color: #121824; border-radius: 16px; padding: 20px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.03); }
.dash-card-title { font-size: 17px; font-weight: 700; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.dash-card-title i { color: #ff9900; }

.offer-box {
    background: linear-gradient(90deg, #0d1624 0%, #0a203a 100%); border: 1px solid #0088ff;
    border-radius: 12px; padding: 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.offer-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.offer-info p { color: #6c7a9c; font-size: 12px; }
.offer-info span.tag { background-color: #ff990033; color: #ff9900; font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 700; margin-left: 5px; }
.offer-price { color: #ff9900; font-size: 22px; font-weight: 800; }

.blue-stroke-btn {
    width: 100%; background: rgba(0, 136, 255, 0.05); border: 1px solid #0055ff; color: #0088ff;
    padding: 14px; font-size: 14px; font-weight: 700; border-radius: 8px; cursor: pointer; margin-top: 15px;
}

.bottom-nav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 430px;
    background-color: #090d14; border-top: 1px solid #1f293d; display: flex; justify-content: space-around; padding: 10px 0; z-index: 99;
}
.nav-item { text-align: center; color: #526685; font-size: 11px; cursor: pointer; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nav-item i { font-size: 18px; }
.nav-item.active { color: #0088ff; }
.nav-item.center-home .home-icon-box {
    width: 42px; height: 42px; background: #121824; border: 2px solid #0088ff; border-radius: 12px;
    display: flex; justify-content: center; align-items: center; box-shadow: 0 0 15px rgba(0,136,255,0.4); color: #0088ff;
}

/* ------------------ SECTION 4: MODAL POPUP ------------------ */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(4px); z-index: 100;
    justify-content: center; align-items: center; padding: 20px;
}
.modal-card { background-color: #121824; width: 100%; max-width: 380px; border-radius: 16px; padding: 24px; border: 1px solid rgba(0, 136, 255, 0.15); position: relative; }
.modal-close { position: absolute; top: 15px; right: 15px; color: #526685; font-size: 20px; cursor: pointer; }
.modal-title { font-size: 18px; font-weight: 700; margin-bottom: 5px; display: flex; align-items: center; gap: 8px;}
.modal-title i { color: #0088ff; }
.modal-subtitle { color: #6c7a9c; font-size: 13px; text-align: center; margin-bottom: 20px; }

.counter-container { border: 1px solid rgba(0, 136, 255, 0.1); background-color: #090d14; border-radius: 12px; padding: 20px; text-align: center; margin-bottom: 15px; }
.counter-box { display: flex; justify-content: center; align-items: center; gap: 25px; margin-top: 10px; }
.counter-btn { background-color: #1f293d; border: none; color: white; width: 36px; height: 36px; border-radius: 8px; font-size: 18px; cursor: pointer; display: flex; justify-content: center; align-items: center; }
.counter-value { font-size: 24px; font-weight: 800; }
.counter-label { font-size: 11px; color: #526685; margin-top: 5px; }

.total-row { background-color: #1c1610; border: 1px solid #ff990033; border-radius: 10px; padding: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 16px; margin-bottom: 15px; }
.total-val { color: #ff9900; font-weight: 800; font-size: 18px;}

#qrScreen { display: none; text-align: center; }
.qr-img {
    width: 190px; height: 190px;
    background-color: white; margin: 15px auto;
    padding: 6px; border-radius: 8px;
    display: flex; justify-content: center; align-items: center;
}
.qr-img img { width: 100%; height: 100%; object-fit: contain; }
.upi-id-box { background-color: #090d14; padding: 10px; border-radius: 8px; font-size: 14px; color: #a3b3cc; margin-bottom: 20px; border: 1px dashed rgba(0,136,255,0.3); font-family: monospace; }
.tg-btn { background-color: #229ED9; color: white; border: none; width: 100%; padding: 14px; border-radius: 8px; font-weight: 600; cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 8px; }
/* BUBBLES CONTAINER */
.bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.bubbles span {
    position: absolute;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    animation: bubbleUp linear infinite;
    box-shadow: 0 0 10px rgba(255,255,255,0.15);
}

.bubbles span:nth-child(1){left:10%;width:25px;height:25px;animation-duration:12s;}
.bubbles span:nth-child(2){left:20%;width:40px;height:40px;animation-duration:18s;}
.bubbles span:nth-child(3){left:35%;width:20px;height:20px;animation-duration:10s;}
.bubbles span:nth-child(4){left:50%;width:50px;height:50px;animation-duration:22s;}
.bubbles span:nth-child(5){left:65%;width:30px;height:30px;animation-duration:15s;}
.bubbles span:nth-child(6){left:75%;width:45px;height:45px;animation-duration:20s;}
.bubbles span:nth-child(7){left:85%;width:25px;height:25px;animation-duration:13s;}
.bubbles span:nth-child(8){left:95%;width:35px;height:35px;animation-duration:17s;}

@keyframes bubbleUp {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh) scale(1.2);
        opacity: 0;
    }
}
body {
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
html {
    overflow-y: auto !important;
    height: auto !important;
}

body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
}

.app-container {
    height: auto !important;
    min-height: 100vh !important;
    overflow: visible !important;
    padding-bottom: 100px !important;
}
/* Blink Animation define karna */
@keyframes blink-animation {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* Button class par animation apply karna */
.live-button {
  animation: blink-animation 1s steps(1, start) infinite;
}
/* style.css mein ye add karein */
.blink {
    animation: blinker 1.2s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}
