/* --- 1. Global Reset & Professional Look --- */
/* Poori app ke rang aur basics yahan set hain */
:root {
    --bg-dark: #010413;
    --accent-blue: #4f46e5;
    --neon-blue: #0ea5e9;
    --gold-text: linear-gradient(180deg, #ffd700 0%, #b8860b 100%);
    --silver-text: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%);
    --glass: rgba(255, 255, 255, 0.03);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    font-family: 'Poppins', sans-serif;
    color: white;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

/* App ka main dhancha aur golden boundary (Warning Fixed) */
.app-wrapper {
    max-width: 450px;
    margin-inline: auto; /* Ye margin left aur right ko auto kar deta hai */
    min-height: 100vh;
    background: radial-gradient(circle at top, #0f172a, #010413);
    position: relative;
    border-left: 2px solid #b8860b;
    border-right: 2px solid #b8860b;
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.2);
    box-sizing: border-box; 
}

/* === UNIVERSAL VIEW SECTION === */

/* === LOGO WITH THIN GOLDEN OUTLINE START === */
.logo-box {
    width: 41px; 
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 0.5px solid rgba(255, 215, 0, 0.7); 
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.2);
    background: transparent;
    overflow: hidden; 
    padding: 0; 
    box-sizing: border-box;
}

.app-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* === SHINING CENTERED TITLE START === */
.app-header-centered {
    padding: 25px 10px;
    display: flex;
    justify-content: center; 
    align-items: center;
}

.brand-center {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-name {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(
        to right, 
        #bf953f, 
        #f0dc03, 
        #b38728, 
        #fcf6ba, 
        #bf953f
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 2px rgba(255, 215, 0, 0.3));
}

/* --- 3. Hero Section & Main Heading --- */
.hero-section {
    text-align: center;
    padding: 10px 0;
}

.badge-glow {
    background: rgba(14, 165, 233, 0.1);
    color: var(--neon-blue);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    border: 1px solid rgba(14, 165, 233, 0.3);
    display: inline-block;
    margin-bottom: 15px;
}

.main-heading {
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--silver-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-heading span {
    background: var(--gold-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-asset-img {
    width: 70%;
    margin: 10px auto;
    filter: drop-shadow(0 0 25px rgba(79, 70, 229, 0.4));
}

/* --- 4. Centered Interactive Button --- */
.hero-actions {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-blue), var(--neon-blue));
    color: white;
    padding: 15px 45px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.5);
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px var(--accent-blue);
}

/* --- 5. Stats Grid: Polished Cards --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 10px 5px;
}

.stat-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.08);
    padding: 20px 10px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.stat-card:hover {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.05);
}

.card-icon img {
    width: 35px;
    margin-bottom: 8px;
}

/* Placeholder for Plans & Wallet */
.section-placeholder {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    border: 1px dashed #333;
    border-radius: 15px;
}

.section-placeholder h3 { color: #D4AF37; margin-bottom: 10px; }

/* === FOOTER / BOTTOM BAR === */
.bottom-tab-bar {
    position: fixed;
    bottom: 20px;
    left: 15px; 
    right: 15px;
    max-width: 450px; 
    margin: 0 auto;
    background: rgba(5, 10, 31, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between; 
    padding: 10px 8px;
    border: 1px solid #b8860b;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    z-index: 1000;
    box-sizing: border-box; 
}

.tab-item {
    flex: 1; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #94a3b8;
    transition: all 0.3s ease;
    border-radius: 15px;
    padding: 5px 0;
}

.nav-icon-img {
    width: 24px;  
    height: 24px;
    object-fit: contain; 
    margin-bottom: 3px;
    transition: 0.3s;
}

.tab-item.active {
    background: rgba(212, 175, 55, 0.1);
    color: #ffd700;
}

.tab-item.active .nav-icon-img {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px #D4AF37);
}

.tab-item p { 
    font-size: 10px; 
    margin: 0;
    font-weight: 500;
}

/* === 1 Auth Container & Forms Styling === */
.auth-container {
    box-sizing: border-box;
    padding: 10px;
    display: block; 
}

.auth-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    justify-content: center;
}

.auth-tab {
    background: none;
    border: none;
    color: #888;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

.auth-tab.active {
    color: #D4AF37;
    border-bottom: 2px solid #D4AF37;
    font-weight: bold;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group { position: relative; }

.input-group label {
    display: block;
    color: #D4AF37;
    font-size: 12px;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px;
    border-radius: 8px;
    color: white;
    box-sizing: border-box;
}

.input-group input:focus { border-color: #D4AF37; outline: none; }

.pass-wrapper { position: relative; }
.toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 14px;
}

.referral-field input {
    border: 1px dashed #D4AF37;
    background: rgba(212, 175, 55, 0.05);
}

.app-pitch-box {
    margin-top: 20px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 15px;
    border-radius: 12px;
}

.app-pitch-box h4 {
    color: #D4AF37;
    font-size: 14px;
    margin-bottom: 10px;
    text-align: center;
}

.pitch-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #ccc;
    margin-bottom: 8px;
}

/* === WALLET SECTION STYLING === */
.wallet-header {
    text-align: center;
    padding-block: 25px;
}

.deposit-methods-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-inline: 15px;
}

.method-box {
    position: relative;
    background: #1e293b;
    border: 1px solid #334155;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
    transition: transform 0.2s ease, border-color 0.3s ease;
}

.active-item {
    border: 1.5px solid #b8860b;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #ffffff; 
    border-radius: 8px;
    padding: 4px;
    flex-shrink: 0;
    box-sizing: border-box; 
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.method-left-side {
    display: flex;
    align-items: center;
    gap: 15px;
}

.method-info-text strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.method-info-text small {
    color: #94a3b8;
    font-size: 11px;
}

/* === GLOWING NOTICE STYLING === */
.deposit-footer-notice {
    padding: 25px 20px;
    text-align: left; 
}

.deposit-footer-notice span {
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.6); 
    font-size: 16px;
    letter-spacing: 0.5px;
}

.deposit-footer-notice p {
    color: #cbd5e1;
    font-size: 12px;
    line-height: 1.7;
    margin: 0;
}

/* === SETTING OVERLAY === */
.setting-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    padding-right: 20px;
    z-index: 5;
}

.setting-overlay span {
    color: #ffcc00;
    font-weight: bold;
    font-size: 13px;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.5);
}

/* === MODAL POP-UP STYLING === */
.modal-screen {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 15px;
}

.modal-content-box {
    background: #0f172a;
    inline-size: 100%;
    max-width: 380px;
    border-radius: 20px;
    border: 1px solid #b8860b;
    box-sizing: border-box;
    box-shadow: 0 0 30px rgba(184, 134, 11, 0.2);
}

/* === TOKEN MANAGEMENT MODULE STYLESHEET === */
/* ==========================================================================
   WALLET VIEW MAIN LAYOUT (To Center the Layout on Desktop/Tablet)
   ========================================================================== */
#wallet-view {
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.view-section-container {
    display: block;
    background-color: #000000;
    color: #ffffff;
    padding-bottom: 30px;
    box-sizing: border-box;
}

.user-uid-master-card {
    padding: 12px 15px;
    margin: 15px 15px 0 15px;
    background-color: rgba(255, 204, 0, 0.06);
    border: 1px dashed #ffcc00;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.uid-info-block {
    display: flex;
    flex-direction: column;
}

.uid-label-text {
    color: #ffcc00;
    font-size: 11px;
    display: block;
    font-weight: bold;
    letter-spacing: 0.5px;
}

#main-user-uid-text {
    color: #ffffff;
    font-size: 16px;
    letter-spacing: 1px;
}

.uid-copy-action-btn {
    background-color: #ffcc00;
    border: none;
    color: #000000;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.balance-container-top {
    display: flex;
    gap: 12px;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
}

.balance-box {
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    box-sizing: border-box;
}

.gmtk-tile {
    background-color: rgba(255, 204, 0, 0.03);
    border: 1px solid #ffcc00;
}

.cash-tile {
    background-color: rgba(40, 167, 69, 0.03);
    border: 1px solid #28a745;
}

.balance-title {
    color: #aaaaaa;
    font-size: 11px;
    display: block;
    text-transform: uppercase;
}

#user-gmtk-balance {
    color: #ffcc00;
    font-size: 18px;
    display: block;
    margin-top: 5px;
}

#user-gmtk-usd {
    color: #28a745;
    font-size: 11px;
}

#user-available-balance {
    color: #28a745;
    font-size: 18px;
    display: block;
    margin-top: 5px;
}

.balance-subtitle {
    color: #666666;
    font-size: 11px;
}

.transfer-trigger-wrapper {
    padding: 0 15px;
    margin-top: 5px;
    box-sizing: border-box;
}

.transfer-promo-box {
    background-color: #111111;
    border: 1px solid #222222;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.transfer-icon-main {
    color: #ffcc00;
    font-size: 32px;
    margin-bottom: 10px;
}

.transfer-box-heading {
    margin: 0 0 5px 0;
    color: #ffffff;
    font-size: 16px;
}

.transfer-box-desc {
    margin: 0 0 15px 0;
    color: #777777;
    font-size: 12px;
}

.initiate-transfer-action-btn {
    background: linear-gradient(90deg, #ffcc00, #ffa500);
    border: none;
    color: #000000;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.15);
    box-sizing: border-box;
}

/* ==========================================================================
   POPUP MODALS MASTER STYLE (FIXED CENTER)
   ========================================================================== */
.modal-screen {
    display: none; /* JS Overrides this to 'flex' */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

.modal-content-box {
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

.modal-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #222222;
}

.modal-header-title {
    color: #ffcc00;
    margin: 0;
    font-size: 16px;
}

.modal-close-x-trigger {
    color: #aaaaaa;
    font-size: 24px;
    cursor: pointer;
    font-weight: bold;
}

.modal-inner-body {
    margin-top: 15px;
}

.modal-form-group {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
}

.modal-input-label {
    color: #cccccc;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
}

.highlight-label {
    color: #ffcc00;
}

.required-star {
    color: #ff0000;
}

.modal-form-group input {
    background-color: #222222;
    border: 1px solid #444444;
    color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
}

.modal-form-group input:focus {
    border-color: #ffcc00;
}

.modal-live-fee-row {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 11px;
}

.fee-note-text {
    color: #777777;
}

#transfer-fee-display {
    color: #dc3545;
    font-weight: bold;
}

#transfer-net-display {
    color: #28a745;
    font-weight: bold;
}

.confirm-transfer-submit-btn {
    background: linear-gradient(90deg, #ffcc00, #ffa500);
    border: none;
    color: #000000;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.2);
    box-sizing: border-box;
    margin-top: 5px;
}

/* ==========================================================================
   HISTORY VIEWER WORKFLOWS
   ========================================================================== */
.history-log-section-wrapper {
    margin: 25px 15px 0 15px;
    box-sizing: border-box;
}

.history-hub-heading {
    color: #ffcc00;
    font-size: 14px;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

#transfer-history-list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.history-loading-placeholder {
    text-align: center;
    color: #555555;
    font-size: 12px;
    padding: 15px;
}

.transfer-history-card {
    border: 1px solid #222222;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.01);
    margin-bottom: 2px;
    border-radius: 10px;
    box-sizing: border-box;
}

/* === HERO VIDEO SETTING START === */
.video-wrapper {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px; 
    border: 0.5px solid rgba(255, 215, 0, 0.3); 
}

.hero-video {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* === BANNER SLIDER SETTING START === */
.banner-container {
    box-sizing: border-box;         
    width: 92%;                     
    max-width: 450px;               
    margin: 10px auto;              
    overflow: hidden;               
    white-space: nowrap;            
    border-radius: 15px;            
    border: 2px solid #d4af37;      
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    position: relative;             
}

.banner-wrapper {
    display: flex;                  
    transition: transform 0.8s ease-in-out; 
    width: 100%;                    
}

.hero-banner {
    min-width: 100%;                
    height: auto;                   
    display: block;                 
    object-fit: cover;              
}

/* ============================================================
   START: INVITE SECTION CSS (Premium Layout)
   ============================================================ */
.invite-main-container {
    min-width: 100%;
    padding: 30px 20px; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    min-height: 100%; 
}

.invite-card {
    min-width: 100%;
    max-width: 450px; 
    background: #0f172a;
    border: 1.5px solid #D4AF37; 
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 25px; 
    text-align: center;
}

.copy-field {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
}

.copy-field input {
    flex: 1;
    height: 45px;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    padding: 0 12px;
    color: #D4AF37;
    font-size: 13px;
    outline: none;
}

.invite-image-section {
    min-width: 100%;
    max-width: 450px; 
    padding: 10px;
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid #1e293b;
    border-radius: 18px;
    overflow: hidden; 
    transition: transform 0.3s ease;
}

.invite-image-section:hover {
    transform: translateY(-3px); 
}

.image-placeholder {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.referral-promo-img {
    width: 100%; 
    height: auto; 
    border-radius: 12px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); 
    transition: opacity 0.3s ease;
}

.promo-text {
    margin-top: 10px;
    color: #cbd5e1;
    font-size: 12px;
    text-align: center;
}

/* ==========================================================================
   GOLDMIN MINING PLANS VIEW CLEAN CSS (NO WARNINGS)
   ========================================================================== */
.plans-container {
    display: block;
    padding: 30px 15px;
    padding-bottom: 120px;
    background: #020617;
}

.section-title {
    text-align: center;
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

#levels-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
    width: 100%;
}

.tier-card {
    min-width: 100%;
    max-width: 450px;
    border-radius: 20px;
    overflow: hidden;
    background: #0d1117; 
    box-shadow: 0 12px 35px rgba(0,0,0,0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.05); 
    display: flex;
    flex-direction: column;
}

.plan-image-box {
    min-width: 100%;
    min-height: 180px;
    position: relative;
    overflow: hidden;
    background: #070a12;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.plan-img {
    height: 100%;
    width: auto;
    object-fit: contain; 
    display: block;
    border-radius: 15px;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.tier-card:hover .plan-img {
    transform: scale(1.05); 
    filter: brightness(1.1);
}

.plan-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
    letter-spacing: 1px;
    z-index: 5;
}

.battery-status-wrapper {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.75);
    padding: 4px 10px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 5;
}

.battery-percentage {
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
}

.battery-icon-outer {
    min-width: 24px;
    min-height: 13px;
    border: 2px solid #fff;
    border-radius: 3px;
    position: relative;
    padding: 1px;
    display: flex;
}

.battery-icon-outer::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 2px;
    width: 2px;
    height: 5px;
    background: #fff;
    border-radius: 0 1px 1px 0;
}

.battery-level-fill {
    height: 100%;
    width: 100%;
    background: #22c55e;
    border-radius: 1px;
    transition: width 0.5s ease, background-color 0.5s ease;
}

.tier-requirement-box {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #8892b0;
    font-weight: 600;
}

.req-highlight {
    color: #ffcc00;
}

.mining-status-display {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.mining-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.mining-numbers {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #22c55e;
    text-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

.dual-plan-actions {
    display: flex;
    gap: 12px;
    padding: 15px 20px 20px 20px;
}

.buy-side-btn, .claim-side-btn {
    flex: 1;
    height: 46px;
    border: none;
    border-radius: 12px;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buy-side-btn {
    background: #1e293b;
    color: #ffcc00;
    border: 1px solid #ffcc00;
}

.buy-side-btn:hover:not(:disabled) {
    background: #ffcc00;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
    transform: translateY(-2px);
}

.claim-side-btn {
    background: linear-gradient(135deg, #ffcc00 0%, #b48608 100%);
    color: #000;
}

.claim-side-btn:hover:not(:disabled) {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(180, 134, 8, 0.4);
}

.tier-card .buy-side-btn:disabled, 
.tier-card .claim-side-btn:disabled {
    background: #1e293b;
    color: #475569;
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    filter: none;
}

.tier-card.tier-bronze-border { border-color: #cd7f32; box-shadow: 0 0 15px rgba(205, 127, 50, 0.15); }
.tier-card.tier-silver-border { border-color: #94a3b8; box-shadow: 0 0 15px rgba(148, 163, 184, 0.15); }
.tier-card.tier-gold-border { border-color: #ffcc00; box-shadow: 0 0 20px rgba(255, 204, 0, 0.2); }
.tier-card.tier-diamond-border { border-color: #a855f7; box-shadow: 0 0 20px rgba(168, 85, 247, 0.2); }
.tier-card.tier-vip-border { border-color: #06b6d4; animation: vipGlow 3s infinite alternate; }

@keyframes vipGlow {
    from { box-shadow: 0 0 10px rgba(6, 182, 212, 0.2); border-color: #06b6d4; }
    to { box-shadow: 0 0 25px rgba(6, 182, 212, 0.5); border-color: #22d3ee; }
}

.plans-info-footer {
    margin: 40px 15px 0 15px;
    padding: 22px;
    background: linear-gradient(145deg, #0f172a, #020617);
    border-radius: 20px;
    border: 1px solid rgba(255, 204, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(255, 204, 0, 0.05);
    border-left: 5px solid #ffcc00;
}

.shimmer-overlay {
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 204, 0, 0.1), transparent);
    transform: skewX(-30deg);
    animation: lightPass 5s infinite ease-in-out;
}

@keyframes lightPass {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

.plans-info-footer p {
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 500;
    font-style: italic;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* ============================================================
   START: HOME SCREEN 4 BOXES & POPUP MODAL SECTION
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2); 
    backdrop-filter: blur(2px); 
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: #111; 
    border: 2px solid #ffcc00; 
    padding: 30px 20px;
    border-radius: 20px;
    max-width: 320px;
    position: relative;
    text-align: center;
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.4), inset 0 0 10px rgba(255, 204, 0, 0.1);
    animation: popupScale 0.3s ease-out;
}

.close-modal {
    position: absolute;
    top: -12px;
    right: -12px;
    min-width: 35px;
    min-height: 35px;
    background: #ffcc00; 
    color: #000; 
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
    border: 2px solid #fff;
}

#modalData h3 {
    color: #ffcc00; 
    font-size: 22px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#modalData p {
    color: #ffffff; 
    font-size: 15px;
    line-height: 1.6;
}

#modalData .highlight-value {
    color: #ffcc00; 
    font-size: 26px;
    font-weight: bold;
    display: block;
    margin: 10px 0;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

@keyframes popupScale {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* === PREMIUM SINGLE ROW SOCIAL BAR === */
.gmtk-social-single-row {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 12px 15px;
    margin: 15px 0 25px 0; 
    box-sizing: border-box;
    width: 100%; 
}

.gmtk-row-btn {
    display: flex;
    width: 36px; 
    height: 36px;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease;
}

.gmtk-row-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gmtk-row-btn:active {
    transform: scale(0.85);
}

/* START: LAST SECTION CSS */
.last-notice-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px; 
    padding: 0 15px; 
}

.notice-board-last {
    min-width: 90%;
    max-width: 400px;
    background: #1a1a1a;
    border: 1px solid #ffcc00; 
    border-radius: 10px;
    padding: 15px;
    color: white;
    text-align: center;
    margin-bottom: 15px; 
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.2);
}

.notice-board-last h3 {
    color: #ffcc00; 
    font-size: 16px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.notice-board-last p {
    font-size: 13px;
    line-height: 1.5;
    color: #ffffff;
}

.last-trust-image {
    width: 100%;
    max-width: 400px; 
    display: flex;
    justify-content: center;
}

.last-trust-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px; 
}

/* ==========================================
   START: DOWNLOAD BUTTON SECTION (NO WARNINGS)
   ========================================== */
.app-header-centered .header-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000000; 
    text-decoration: none;
    padding: 0 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    min-width: 120px;
    height: 34px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.header-download-link i {
    margin-right: 8px;
    font-size: 14px;
    pointer-events: none;
}

.header-download-link .dl-text {
    white-space: nowrap;
    display: inline-block;
    line-height: normal;
}

.header-download-link:hover {
    transform: scale(1.04);
    background: #ffffff;
    color: #000000;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

@media (max-width: 480px) {
    .header-download-link {
        min-width: 110px;
        padding: 0 12px;
        font-size: 11px;
    }
}

/* ============================================================
   GOLDMIN Token - MASTER MOBILE ALIGNMENT FIX
   ============================================================ */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden; 
    background-color: #010413; 
}

.app-wrapper {
    width: 100%;
    max-width: 450px; 
    margin: 0 auto;   
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #010413;
    overflow-y: auto; 
}

.app-header-centered {
    width: 100%;
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(1, 4, 19, 0.9);
}

.app-logo-image {
    max-width: 60px;
    border-radius: 50%;
}

.content-scroll {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 80px; 
    -webkit-overflow-scrolling: touch; 
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 10px;
    padding: 15px;
}

body .stat-card {
    width: 100%;
    box-sizing: border-box;
}

body .plan-card {
    width: 92%;
    margin: 15px auto;
    display: block;
    overflow: hidden;
}

.plan-img {
    width: 100%;
    height: auto;
}

.auth-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

body .btn-primary {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    box-sizing: border-box; 
}

.bottom-tab-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); 
    width: 95%; 
    max-width: 450px;
    background: #0a0f1e;
    padding: 10px 0;
    display: flex;
    justify-content: space-evenly; 
    border-radius: 15px 15px 0 0;
    z-index: 1001;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   START: WITHDRAWAL PROOF SECTION
   ========================================== */
.proof-container {
    width: 100%;
    max-width: 400px; 
    margin: 20px auto;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03); 
    border-radius: 15px;
    text-align: center;
    box-sizing: border-box;
}

.proof-card {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-sizing: border-box; 
}

.proof-card:hover, 
.proof-card:active {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
    border-color: rgb(212, 175, 55); 
}

.proof-img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.proof-card:hover .proof-img {
    filter: brightness(1.1); 
}

.proof-note {
    margin-top: 12px;
    font-size: 11px;
    color: #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.4;
}

.proof-note i {
    color: #D4AF37; 
    font-size: 13px;
}

@media (max-width: 480px) {
    .proof-container {
        padding: 10px;
        margin: 15px auto;
    }
    .proof-note {
        font-size: 10px; 
    }
}

/* ============================================================
   ⚙️ ONLY NEW HEADER ICONS EXTENSION (SETTING & NOTIFICATION)
   ============================================================ */
.header-side-left, .header-side-right {
    width: 45px;
    display: flex;
    align-items: center;
    position: relative;
}
.header-side-right { justify-content: flex-end; }

.header-icon-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    padding: 5px;
    transition: transform 0.2s ease;
}
.header-icon-btn:active { transform: scale(0.9); }

.notification-badge {
    background-color: #ff4d4d;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 6px;
    position: absolute;
    top: -2px;
    right: -4px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #1a2635;
    border: 1px solid #ffcc00;
    border-radius: 8px;
    min-width: 200px;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.dropdown-menu h4 { margin: 0 0 10px 0; color: #ffcc00; font-size: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 5px; }
.setting-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #ffffff; }
.setting-row button { background-color: #111a24; color: #ffffff; border: 1px solid rgba(255, 204, 0, 0.4); padding: 3px 8px; border-radius: 4px; cursor: pointer; }

@media (min-width: 769px) {
    .header-icon-btn { font-size: 24px; }
    .dropdown-menu { width: 230px; }
}

/* === GOLDMIN DYNAMIC CHART SEPARATE STYLES === */
.gmtk-chart-wrapper {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    box-sizing: border-box;
    width: 100%;
}

.gmtk-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.gmtk-chart-title-zone {
    display: flex;
    flex-direction: column;
}

.gmtk-chart-main-title {
    color: #ffcc00;
    font-size: 15px;
    font-weight: bold;
    font-family: sans-serif;
}

.gmt-chart-sub-title {
    color: #666666;
    font-size: 11px;
    font-family: sans-serif;
    margin-top: 2px;
}

.gmtk-chart-price-ticker {
    font-size: 16px;
    font-weight: bold;
    font-family: monospace;
    transition: color 0.3s ease;
}

.gmtk-chart-screen {
    height: 110px;
    background: #090909;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 5px;
    padding: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.gmtk-candle-bar {
    width: 7px;
    min-width: 7px;
    border-radius: 1px;
    animation: candleGrow 0.4s ease-out forwards;
}

@keyframes candleGrow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to { transform: scaleY(1); transform-origin: bottom; }
} 

/* === GMTK BATTERY MINING STYLES === */
.gmtk-mining-container {
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

.gmtk-battery-card {
    background: #111111;
    border: 2px solid #ffcc00;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.1);
}

.gmtk-battery-card h3 {
    color: #ffffff;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.gmtk-battery-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.gmtk-battery-outer {
    width: 60px;
    height: 110px;
    border: 3px solid #ffcc00;
    border-radius: 8px;
    position: relative;
    padding: 2px;
    box-sizing: border-box;
    background: #000;
}

.gmtk-battery-outer::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 6px;
    background: #ffcc00;
    border-radius: 3px 3px 0 0;
}

.gmtk-liquid-energy {
    width: 100%;
    height: 0%; /* Dynamic by JS */
    background: linear-gradient(to top, #ff9900, #ffcc00);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0 0 4px 4px;
    transition: height 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.gmtk-battery-outer.charging .gmtk-liquid-energy {
    animation: batteryWave 2s infinite linear;
}

@keyframes batteryWave {
    0% { filter: hue-rotate(0deg); opacity: 0.8; }
    50% { opacity: 1; }
    100% { filter: hue-rotate(30deg); opacity: 0.8; }
}

.gmtk-bolt-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 24px;
    z-index: 5;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
    display: none; 
}

.gmtk-battery-outer.charging .gmtk-bolt-icon {
    display: block;
    animation: pulseBolt 1.5s infinite;
}

@keyframes pulseBolt {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.gmtk-battery-status {
    text-align: left;
}

#gmtk-battery-percent {
    font-size: 32px;
    font-weight: bold;
    color: #ffcc00;
    display: block;
    line-height: 1;
}

#gmtk-node-text {
    color: #aaaaaa;
    font-size: 13px;
    margin: 5px 0 0 0;
}

.gmtk-mining-mini-stats {
    display: flex;
    justify-content: space-between;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #222;
}

.gmtk-mining-mini-stats small {
    color: #666666;
    display: block;
    font-size: 11px;
    margin-bottom: 2px;
}

.gmtk-mining-mini-stats p {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
}

.gmtk-battery-btn {
    min-width: 100%;
    background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
    color: #000000;
    border: none;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.1s, box-shadow 0.2s;
}

.gmtk-battery-btn:active {
    transform: scale(0.98);
}

.gmtk-battery-btn.active-node {
    background: #222222;
    color: #ffcc00;
    border: 1px solid #ffcc00;
}

/*gmtk

/* --- GMTK MULTI-TIER NETWORK TREE STYLE --- */
.gmtk-tree-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.gmtk-tree-level {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 204, 0, 0.15);
    border-radius: 12px;
    padding: 10px 15px;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
}

.gmtk-level-badge {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.gmtk-level-badge.lvl-1 { background: linear-gradient(135deg, #ffcc00, #b38f00); border: 1px solid #ffcc00; }
.gmtk-level-badge.lvl-2 { background: linear-gradient(135deg, #a6a6a6, #595959); border: 1px solid #a6a6a6; }
.gmtk-level-badge.lvl-3 { background: linear-gradient(135deg, #cd7f32, #804c1c); border: 1px solid #cd7f32; }

.gmtk-level-info {
    flex: 1;
    margin-left: 15px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.gmtk-level-title {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.gmtk-level-bonus {
    font-size: 11px;
    color: #aaaaaa;
    margin-top: 2px;
}

.gmtk-level-count {
    background: rgba(255, 204, 0, 0.1);
    color: #ffcc00;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.gmtk-tree-line {
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, #ffcc00, rgba(255,204,0,0.1));
    margin: 2px 0;
}

/* Live Search Component UI Designs Layout */
.gmtk-search-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    padding: 0 15px;
    box-sizing: border-box;
}

.gmtk-search-box {
    min-width: 100%;
    max-width: 480px;
    position: relative;
    display: flex;
    align-items: center;
    background: #1e1e1e;
    border: 2px solid #eab308; /* Luxury Gold theme border match */
    border-radius: 30px;
    padding: 6px 15px;
    box-shadow: 0 4px 15px rgba(234, 179, 8, 0.15);
    transition: all 0.3s ease-in-out;
}

.gmtk-search-box:focus-within {
    border-color: #22c55e; /* Changes to eco green on click interaction */
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.25);
    transform: translateY(-2px);
}

.gmtk-search-box .search-icon {
    font-size: 18px;
    margin-right: 10px;
    user-select: none;
}

.gmtk-search-box input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    padding: 8px 0;
}

.gmtk-search-box input::placeholder {
    color: #888888;
    font-size: 14px;
}
/*34
/* Play Store Dynamic Button Styling */
.playstore-btn {
    background-color: #000000;
    border: 1px solid #eab308; /* آپ کی ایپ کا گولڈ کلر */
    border-radius: 8px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: px 4px 10px rgba(234, 179, 8, 0.1);
}

.playstore-btn:hover {
    background-color: #111111;
    transform: translateY(-2px);
    box-shadow: px 6px 15px rgba(234, 179, 8, 0.2);
}

.ps-text-wrapper {
    display: flex;
    flex-direction: column;
    text-align: left;
    margin-left: 10px;
}

.ps-small-text {
    font-size: 9px;
    color: #aaaaaa;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

.ps-main-text {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.ps-icon {
    font-size: 22px;
}