
/* ================= GENERAL RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}




/* Make body a flex container to center forms */
body {
  display: flex;
  justify-content: center;       /* horizontal centering */
  align-items: center;           /* vertical centering */
  min-height: 100vh;             /* take full viewport height */
  margin: 0;
  padding: 0;
  background: #f8f9fa; 
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}



/* ================= AUTH CONTAINERS ONLY ================= */
#signupContainer,
#loginContainer {
  width: 90%;
  max-width: 400px;
  padding: 20px;

  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);

  display: none;
  flex-direction: column;
  animation: fadeIn 0.4s ease-out;
}

/* Active state */
#signupContainer.active,
#loginContainer.active {
  display: flex;
}



/* Logo Box Style */
.logo-box {
  width: 70px;
  height: 70px;
  background: #0d1222;
  border-radius: 20px;
  margin: 0 auto 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Typography */
.welcome-text h2 {
  color: #1a1f36;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  text-align: center;
}

.welcome-text p {
  color: #8792a2;
  font-size: 14px;
  margin-bottom: 30px;
  text-align: center;
}

/* Form Styling */
label {
  font-size: 13px;
  font-weight: 700;
  color: #4f566b;
  margin-bottom: 8px;
  display: block;
}

.input-group {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 18px;
  color: #a3acb9;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 16px 16px 16px 50px;
  background: #f8fafd; /* Light greyish-blue background */
  border: 1px solid #edf2f7;
  border-radius: 16px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
}

input:focus {
  background: #fff;
  border-color: #5e72e4;
  box-shadow: 0 0 0 4px rgba(94, 114, 228, 0.05);
}

/* Premium Gradient Button */
.btn-main {
  width: 100%;
  padding: 18px;
  background: linear-gradient(90deg, #5b48e6 0%, #0e8ed5 100%);
  color: white;
  border: none;
  border-radius: 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0 10px 20px rgba(91, 72, 230, 0.25);
  transition: transform 0.2s;
}

.btn-main:active {
  transform: scale(0.98);
}


/* Buttons */
button {
  width: 100%;
  padding: 16px;
  background-color: #28a745; /* The Red from screenshot */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}

.btn-outline {
  background: transparent;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  margin-top: 20px;
}

.toggle-text {
  text-align: center;
  margin-top: 25px;
  font-size: 14px;
  color: #697386;
}

.toggle-text a {
  color: #5b48e6;
  text-decoration: none;
  font-weight: 700;
  margin-left: 4px;
}

/* Dashboard container */
.dashboard {
  width: 100%;
  max-width: 400px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  margin: 0;
  box-sizing: border-box;
  background: #f2f2f2;
  color: #f8f9fa;
}


/* Dashboard header */
.dashboard-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;                 /* white text */
  font-weight: bold;
  font-size: 16px;                /* slightly smaller for slim look */
  margin: 0;
  padding: 8px 16px;              /* slimmer padding */
  z-index: 10000;
  background: #1a2233;;            /* sky blue background */
  width: 100%;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 19, 21, 0.5); /* soft sky blue glow */
  border-radius: 0;               /* keep slim, no rounding */
}


/* Remove extra spacing in dashboard cards if used */
.dashboard-card h2.dashboard-header {
  margin: 0;
}


/* ================= ACTION GRID CONTAINER ================= */
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 94%;
  max-width: 500px;
  margin: 20px auto;
  background: #ffffff; /* The white container from the image */
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* THE BUTTONS */
.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5px;
  border-radius: 18px; /* Tall rounded rectangles */
  text-decoration: none;
  height: 140px; /* Gives it that tall look */
  transition: transform 0.2s;
}

.action-btn:active {
  transform: scale(0.95);
}

/* THE CIRCULAR HALO BEHIND ICONS */
.action-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2); /* Semi-transparent white circle */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #ffffff; /* Icons are white in the image */
  font-size: 24px;
}

/* TEXT STYLING */
.action-btn span {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff; /* Text is white on colored background */
  text-align: center;
}

/* INDIVIDUAL BUTTON COLORS (Matched to Image) */
.recharge {
  background: linear-gradient(180deg, #28a745, #1e7e34); /* Green */
}

.withdraw {
  background: linear-gradient(180deg, #6f42c1, #5a32a3); /* Purple/Blue */
}

#refCard {
  background: linear-gradient(180deg, #ffc107, #e0a800); /* Yellow/Gold */
}

#giftCodeBtn {
  background: linear-gradient(180deg, #5592d4, #0056b3); /* Red */
}


/* ================= INVESTMENT PLANS SECTION ================= */
.investment-section {
  width: 94%;
  max-width: 500px;
  margin: 20px auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #111;
}




/* White container around the flyer */
.flyer-container {
  background-color: #ffffff;      /* white background */
  padding: 16px;               /* space around flyer */
  border-radius: 16px;         /* rounded corners */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* subtle shadow */
  max-width: 600px;            /* optional: limit width */
  margin: 20px auto;           /* center container with some vertical margin */
}

/* Flyer Banner - full width inside container */
.balance-flyer {
  width: 100%;       /* fill the container width */
  height: auto;
  overflow: hidden;
  border-radius: 12px; /* match container rounded corners slightly */
  position: relative;
  margin: 0;
}

/* Slider wrapper */
.flyer-slider {
  display: flex;
  width: 100%;
  height: auto;
  transition: transform 0.6s ease-in-out;
}

/* Each image in the slider */
.flyer-card {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  border-radius: 12px; /* match container */
}


/* Product Section Wrapper */
.product-section {
  margin-top: 20px;
  padding: 0 10px;
}

/* Products Header */
.products-header {
  margin-bottom: 12px;
  text-align: left; /* align text to left */
}

.products-header h2 {
  display: inline-block;        
  padding: 6px 16px;            
  font-size: 18px;
  font-weight: bold;
  color: #D4AF37;               /* white text */
  background: #000000;          /* sky blue background */
  border-radius: 50px;          
  font-family: 'Arial Black', 'Helvetica', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;    
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* subtle black shadow */
}





.welcome-card {
  background-color: #1E3A8A; /* SONY-style blue */
  color: white;
  border-radius: 12px;       
  padding: 30px;             
  margin: 0;                 /* remove side margins */
  width: 100%;               /* full width of container/screen */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.welcome-content {
  display: flex;
  flex-direction: column;   /* stack vertically */
  align-items: flex-start;  /* all left aligned */
}

.welcome-text {
  font-size: 16px;           
  font-weight: 300;          
  margin: 0;                 
}

.user-number {
  font-size: 20px;           
  font-weight: 700;          
  margin: 4px 0 0 0;         /* small space below header */
  letter-spacing: 1px;
}


.record-id {
  font-weight: 700;           /* Makes it bold */
  font-family: 'Courier New', Courier, monospace; /* Monospace for numbers */
  color: #000000;                /* Slightly darker for readability */
  background: #f0f0f0;        /* Light grey background badge */
  padding: 2px 6px;           /* Space inside the badge */
  border-radius: 4px;         /* Rounded corners */
  display: inline-block;      /* Keeps the background tight to the text */
  margin-top: 4px;            /* Space from the time above */
  font-size: 11px;            /* Keeps it small but clear */
  letter-spacing: 0.5px;      /* Spacing between numbers */
  user-select: all;           /* Allows user to select full ID with one tap */
}




.fintech-dashboard {
  width: 100%;
  max-width: 380px;
  padding: 15px;
}

/* 3D White Top Card */
.user-profile-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;

  /* 3D Shadow */
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 10px 20px rgba(0, 0, 0, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.06);

  /* Smooth transition for hover effect */
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  margin-bottom: 20px;
}

.avatar-container {
  position: relative;
}

.avatar-box {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #5e72e4, #324cdd);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.status-indicator {
  width: 12px;
  height: 12px;
  background: #2dce89; /* The green dot */
  border: 2px solid #fff;
  border-radius: 50%;
  position: absolute;
  bottom: -2px;
  right: -2px;
}

.phone-display {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1b;
  margin: 0;
  letter-spacing: 0.5px;
}

.id-badge {
  background: #f1f3f9;
  padding: 4px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #8898aa;
  text-transform: uppercase;
}

/* Dark Blue Balance Card */
.balance-card {
  background: linear-gradient(180deg, #21285e 0%, #0a0e29 100%);
  border-radius: 28px;
  padding: 25px;
  color: white;
  box-shadow: 0 15px 35px rgba(10, 14, 41, 0.25);
}

.label {
  font-size: 11px;
  letter-spacing: 1.2px;
  opacity: 0.7;
  font-weight: 700;
}

.amount-row {
  font-size: 34px;
  font-weight: 700;
  margin: 12px 0 25px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Buttons Styling */
.action-row {
  display: flex;
  gap: 10px;
}

.btn {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-topup {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-topup:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-withdraw {
  background: linear-gradient(90deg, #4776ff, #3d5afe);
  color: white;
  box-shadow: 0 4px 15px rgba(71, 118, 255, 0.3);
}

.btn-withdraw:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(71, 118, 255, 0.4);
}




/* ================= BOTTOM NAV CONTAINER ================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0 10px 0; /* Slightly more top padding for that clean look */
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.05); /* Very subtle top shadow */
  z-index: 1000;
  border-top: 1px solid #e0e0e0; /* Thin grey line like the image */
}

/* ================= NAV ITEMS ================= */
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex: 1;
  gap: 5px; /* Spacing between icon and text */
}

.nav-icon-wrapper {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG ICON STYLE - Bold Black */
.nav-item svg {
  width: 28px;
  height: 28px;
  fill: #000000; /* All icons are solid black in the image */
  transition: transform 0.2s ease;
}

/* TEXT STYLE - Bold & Mature */
.nav-item span {
  font-size: 15px; 
  font-weight: 700; /* Thicker font like the image */
  color: #000000;
  font-family: 'Inter', sans-serif;
}

/* ACTIVE STATE - Simple & Clean */
/* The image doesn't show a 'glow', just solid black. 
   We keep it consistent but add a slight scale for feedback */
.nav-item.active svg {
  transform: scale(1.1);
}

.nav-item:active {
  opacity: 0.7;
}


/* ===== PROFILE FIXED HEADER ===== */
.profile-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
 background: #1a2233; /* grey ash background */

  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  color: #f1f1f1; /* gold text */
  font-weight: bold;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* subtle gold shadow */
}

.profile-header-bar i {
  margin-right: 8px;
  color: #28a745; /* gold icon */
}

/* Push content down so it doesn’t go under header */
.profile-content {
  padding-top: 60px; /* same as header height */
}

/* ===== PROFILE PAGE ===== */
.profile-page {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: none;
  padding: 0 10px 80px 10px;
  height: calc(100vh - 0px);
  overflow-y: auto;
  box-sizing: border-box;
  background: #ffffff; /* white background */
  color: #000000;      /* black text */
}

/* Profile Header Image - ATM card style */
.profile-header {
  width: 100%;
  height: 180px;
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,128,0,0.25); /* subtle green shadow */
  background: #ffffff;
}

.profile-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Title */
.profile-title {
  margin: 15px 0;
  font-size: 18px;
  font-weight: bold;
  color: #28a745;
  text-align: center;
}



/* Container: The white card with a subtle border */
.settings-container {
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  max-width: 450px;
  margin: 20px auto;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  padding-bottom: 10px;
}

/* Group Headers: Bold, Dark Grey, Left Aligned */
.group-title {
  font-size: 20px;
  font-weight: 800;
  color: #444;
  padding: 25px 20px 10px;
  margin: 0;
  text-transform: uppercase;
}

/* Individual Rows */
.settings-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  text-decoration: none;
  border-bottom: 1px solid #f2f2f2; /* Thin lines between items */
  cursor: pointer;
}

/* Remove bottom border from the last item in a group to match UI */
.settings-group .settings-item:last-child {
  border-bottom: 1px solid #f2f2f2; 
}


/* Base Glass Icon */
.icon-box {
  width: 32px;
  height: 32px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  color: #ffffff;
  font-size: 14px;
}

/* Unique Glass Colors */
.icon-box.blue { background: rgba(0, 86, 179, 0.3); box-shadow: 0 4px 10px rgba(0,86,179,0.2); }
.icon-box.green { background: rgba(0, 200, 120, 0.3); box-shadow: 0 4px 10px rgba(0,200,120,0.2); }
.icon-box.purple { background: rgba(150, 0, 200, 0.3); box-shadow: 0 4px 10px rgba(150,0,200,0.2); }
.icon-box.orange { background: rgba(255, 140, 0, 0.3); box-shadow: 0 4px 10px rgba(255,140,0,0.2); }
.icon-box.red { background: rgba(220, 20, 60, 0.3); box-shadow: 0 4px 10px rgba(220,20,60,0.2); }

.icon-box i {
  color: #ffffff;
  font-size: 14px;
}


/* Text Label */
.item-label {
  flex-grow: 1;
  font-size: 17px;
  font-weight: 700;
  color: #000;
}

/* Logout Text Color */
.logout-btn .item-label, .logout-btn .icon-box i {
  color: #0056b3; /* Logout text is red in image */
}
.logout-btn .icon-box {
  background: transparent; /* No background for logout icon */
}


/* Right Chevron Arrow */
.arrow {
  color: #ccc;
  font-size: 14px;
}




/* ================= BANK PAGE ================= */

.bank-page {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 12px;
  display: none;

  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(30, 64, 255, 0.12);

  color: #000000;
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
  padding-top: 70px; /* space for fixed header */
}



.bank-header {
  position: fixed;      /* Fix header at top */
  top: 0;               /* stick to top */
  left: 0;              /* full width */
  width: 100%;          /* span entire page */
  display: flex;
  align-items: center;
  padding: 8px 15px;    /* smaller padding for a slimmer header */
  background: #1a2233;
  border-bottom: 1px solid #f0f0f0;
  z-index: 1000;        /* stay above content */
}


.bank-back-btn {
  background: transparent;
  border: none;
  font-size: 16px;
  color: #fffbfb;
  cursor: pointer;
  display: flex;
  align-items: center;
  z-index: 2;                  /* button on top of h2 */
}

.bank-header h2 {
  position: absolute;           /* center regardless of button */
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  z-index: 1;
}



/* RESET (prevents overrides) */
* {
    box-sizing: border-box;
}

/* Container */
.bank-form-container {
    max-width: 360px;
    margin: 20px auto;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

/* Card */
.bank-form-card {
    background: #ffffff;
    padding: 18px;
    border-radius: 16px;

    /* Strong 3D card feel */
    box-shadow: 
        0 12px 30px rgba(0,0,0,0.08),
        0 5px 12px rgba(0,0,0,0.05);

    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Input Group */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

/* FORCE labels to stay left */
.input-group label {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;

    font-size: 13px;
    font-weight: 600;
    color: #222;
}

/* Inputs (FORCE SAME SIZE) */
.gamex-input,
select.gamex-input {
    width: 100% !important;
    height: 45px !important;
    padding: 0 12px !important;

    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;

    font-size: 14px !important;
    color: #333 !important;
    background: #fdfdfd !important;

    outline: none !important;

    /* subtle depth */
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.03);

    transition: all 0.2s ease;
}

/* Focus */
.gamex-input:focus {
    border-color: #0056b3 !important;
    box-shadow: 0 0 0 2px rgba(0,86,179,0.1);
}

/* Placeholder */
.gamex-input::placeholder {
    color: #a0a8b3;
}

/* Dropdown */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '▼';
    font-size: 10px;
    color: #666;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

select.gamex-input {
    appearance: none;
}

/* Button */
.update-bank-btn {
    width: 100%;
    height: 45px;

    background: linear-gradient(to bottom, #0056b3, #004185);
    color: #fff;

    border: none;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    box-shadow: 0 4px 0 #00346b, 0 6px 12px rgba(0,0,0,0.15);
    transition: all 0.1s ease;
}

.update-bank-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #00346b;
}



/* ===== FIXED RECHARGE HEADER ===== */
.recharge-header-fixed {
  position: fixed;        
  top: 0;
  left: 50%;              
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;       
  background: #0056b3;           /* black header */
  z-index: 10000;         
  text-align: center;
  padding: 12px 20px;      
  border-bottom: 2px solid #0056b3; /* gold underline */
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.recharge-header-fixed .header-icon {
  font-size: 24px;       
  color: #0056b3;        /* gold icon */
}

.recharge-header-fixed h2 {
  margin: 0;
  color: #ffffff;        /* gold text */
  font-size: 20px;
  font-weight: 500;      
}

/* ===== PAGE CONTENT ===== */
.recharge-page {
  width: 100%;
  max-width: 400px;
  margin: 60px auto 0;     
  padding: 15px;
  text-align: center;
  display: none;
  color: #ffffff;         
  background: #ffffff;     
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}



/* ================= PAGE LAYOUT ================= */
.recharge-page-container {
 
  background: #f5f5f5;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ================= 3D Card Styles ================= */
.recharge-card {
  background: #ccc;
  border-radius: 20px;
  padding: 25px 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover 3D effect */
.recharge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15), 0 6px 12px rgba(0,0,0,0.1);
}

/* Deposit Card */
.deposit-card .input-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Custom Input Styling */
.custom-amount-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 25px;
  background: #fafafa;
}

.input-icon-bg {
  padding: 12px 15px;
}

.currency-icon {
  color: #0056b3;
  font-weight: 900;
}

#customAmount {
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 12px;
  color: #333;
}

/* Quick Select Grid */
.recharge-subheader {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 30px;
}

.amount-option {
  border: 1px solid #0c0c0c;
  padding: 12px 5px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  color: #0056b3;
  transition: transform 0.2s ease, background 0.2s ease;
}

.amount-option:hover {
  transform: scale(1.05);
  background: #ffeaea;
  border-color: #003366;
}

/* Deposit Button */
.deposit-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(to right, #003366, #007bff);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


/* Info Card 3D */
.info-card-3d {
  background-color: #ccc;
  border: 1px solid #ffcccc;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.08);
}

.info-title {
  color: #0056b3;
  font-weight: 800;
  font-size: 16px;
  margin-top: 0;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
}

.info-list li::before {
  content: 'i';
  position: absolute;
  left: 0;
  top: 2px;
  background: #0056b3;
  color: white;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-style: italic;
  font-weight: bold;
}

/* ===== CLEAN FIXED RECHARGE HEADER ===== */
.recharge-header-fixed {
  position: fixed;        
  top: 0;
  left: 50%;              
  transform: translateX(-50%);
  width: 100%;
  height: 60px; /* Standardized height */
  background: #ffffff;
  z-index: 10000;         
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #f0f0f0; 
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.recharge-header-fixed h2 {
  margin: 0;
  color: #001f3f; /* Dark Navy for a premium feel */
  font-size: 18px;
  font-weight: 700;      
  font-family: 'Poppins', sans-serif;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.recharge-back-btn-v2 {
  position: absolute;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #ffffff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.1s ease;
  z-index: 1100;
  outline: none;
}

.recharge-back-btn-v2:active {
  transform: scale(0.95);
  background: #f9f9f9;
}





/* ================= FULLSCREEN OVERLAY ================= */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex; /* Centers the box perfectly */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6); /* Slightly darker for better focus */
  backdrop-filter: blur(3px); /* Makes it look modern */
}


#welcomePopup {
  display: none; /* Hide popup by default */
}


/* ================= THE MODAL BOX (Perfectly Centered) ================= */
.popup-box {
  width: 90%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 24px; /* More rounded for that 'mature' look */
  padding: 40px 25px;
  position: relative;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
  font-family: 'Inter', sans-serif;
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Close button - moved to top right corner */
.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
  color: #bbb;
  transition: 0.2s;
}

/* ================= THE ICON SECTION ================= */
.icon-circle {
  width: 90px;
  height: 90px;
  background: #0056b3; /* Red from the image */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 25px auto;
  color: white;
  font-size: 40px;
  box-shadow: 0 8px 20px rgba(228, 225, 225, 0.2);
}

/* ================= TEXT STYLING ================= */
.modal-title {
  font-size: 26px;
  font-weight: 800;
  color: #000;
  margin-bottom: 12px;
}

.modal-description {
  font-size: 15px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 30px;
  padding: 0 10px;
}

/* ================= STACKED BUTTONS ================= */
.modal-footer-btns {
  display: flex;
  flex-direction: column; /* Stacked like the image */
  gap: 12px;
}

.btn-v2 {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  border-radius: 16px; /* Softer edges */
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  gap: 10px;
  transition: transform 0.2s;
}

.whatsapp-style {
  background: #4CAF50; /* Green */
  color: white;
}

.telegram-style {
  background: #0056b3; /* Blue */
  color: white;
}

.btn-v2:active {
  transform: scale(0.97);
}



/* DAILY LOADER OVERLAY */
.daily-loader{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.55);
  display:none;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:9999;
}

/* 3D SPINNER */
.spinner-3d{
  width:60px;
  height:60px;
  border:6px solid rgba(255,255,255,0.2);
  border-top:6px solid #00c2ff;
  border-radius:50%;
  animation:spin3d 1s linear infinite;
  margin-bottom:15px;
}

@keyframes spin3d{
  0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}

.daily-loader p{
  color:white;
  font-weight:600;
  font-size:16px;
}


/* ===== PRODUCT PAGE ===== */
.product-page {
  width: 100%;
  padding: 20px;
  padding-bottom: 80px;
  padding-top: 65px; /* space for fixed header */
  background: #ffffff; /* white background */
  min-height: 100vh;
  color: #ffffff;      /* white text */
  display: none;       /* show when active */
}

/* ===== FIXED HEADER ===== */
.product-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #1e40ff; /* blue header */
  padding: 12px 0;
  z-index: 1000;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;      /* white text */
  box-shadow: 0 3px 8px rgba(30, 64, 255, 0.2); /* subtle blue shadow */
}

.product-header i {
  margin-right: 8px;
  color: #ffffff; /* white icon */
}


/* ================= PRODUCT LIST ================= */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0px;
   padding-bottom: 80px; 
  background: #f4f4f4; /* Light grey app background */
}


/* ================= THE ATM SHAPED CARD ================= */
.product-card {
  background: #ffffff;
  border-radius: 15px; /* Subtle ATM card rounding */
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;


  width: 100%;            /* take full width */
  max-width: 100%;        /* prevent shrinking */

}


/* Header/Logo */
.card-top-section {
  display: flex;
  align-items: center;           /* vertical center of image & text */
  justify-content: space-between; /* logo left, text right */
  margin-bottom: 10px;
  width: 100%;                   /* take full card width */
}

.brand-logo {
  height: 45px;
  object-fit: contain;
}

.brand-name {
  font-size: 20px;      /* bigger text */
  font-weight: 800;     /* strong presence */
  color: #e0a800;
  line-height: 1;       /* vertically centers nicely */
  margin: 0;            /* no extra spacing */
}

/* Main Text Layout */
.card-main-info {
  margin-bottom: 15px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.info-row.small {
  margin-bottom: 4px;
}

/* Typography */
.plan-name {
  font-size: 18px;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
}

.price-text {
  font-size: 18px;
  font-weight: 900;
  color: #004085;; /* Darker red for price */
}

.info-label {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

.black-text {
  color: #000;
  font-weight: 600;
}

.total-revenue-text {
  color: #28a745; /* Green for Total Return */
  font-weight: 700;
}

/* ================= 3D RED BUTTON ================= */
.invest-btn {
  width: 100%;
  height: 48px;
  background: linear-gradient(to right, #003366, #007bff);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  box-shadow: 0 4px 0 #004085; /* Simple 3D depth effect */
}

.invest-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #004085;
}


/* Force dark navy blue button */
.add-to-portfolio-btn {
  background: #0b1f3a !important;  /* dark navy */
  color: #ffffff;                 /* white text */
  border: none !important;
}

/* Optional: hover effect */
.add-to-portfolio-btn:hover {
  background: #132c55 !important; /* slightly lighter navy on hover */
}

/* ================= INVITE PAGE ================= */
.invite-page {
  width: 100%;
  min-height: 100vh;
  background: #faf3f3;         /* black background */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #D4AF37;              /* gold text default */

  padding-top: 40px; /* pushes content down */
}


/* ================= CLEAN FIXED INVITE HEADER ================= */
.invite-header-fixed-v2 {
  position: fixed;           /* Keep header always on top */
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;              /* Standardized premium height */
  display: flex;
  align-items: center;
  justify-content: center;   /* Center the title */
  padding: 0 16px;
  background: #ffffff;       /* Clean white background */
  color: #001f3f;            /* Dark Navy text */
  z-index: 1000;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: 'Poppins', sans-serif;
}

/* Header title */
.invite-header-fixed-v2 h2 {
  margin: 0;
  font-size: 18px;           /* Consistent font size */
  font-weight: 700;
  color: #001f3f;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.invite-back-btn-v2 {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%); /* Perfectly centered vertically */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #ffffff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  z-index: 1100;
  outline: none;
}

/* Press effect */
.invite-back-btn-v2:active {
  transform: translateY(-50%) scale(0.95);
  background: #f9f9f9;
}




/* ================= REFERRAL WRAPPER CARD - REDUCED HEIGHT ================= */
.referral-wrapper {
  background: white;
  border-radius: 25px;
  padding: 10px 10px;       /* reduced padding from 35px → 20px */
  width: calc(100% - 40px);
  max-width: 600px;
  margin: 20px auto;
  font-family: 'Inter', sans-serif, Arial;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* slightly smaller shadow */
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;                 /* reduce spacing between inner elements */
}

/* Main Title */
.main-title {
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 25px;
  color: #000;
}

/* Tool Card (Inner Boxes) */
.tool-card {
  background-color: #e6f0ff;             /* light grey background */
  border-radius: 15px;
  padding: 20px;
  width: 100%;                           /* full width of wrapper */
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

/* Field Label */
.field-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
  color: #222;
}

/* Input Display (white inner field) */
.input-display {
  background: white;
  border: 1px solid #e6f0ff; ;
  border-radius: 12px;                   /* match card rounded corners style */
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  min-height: 40px;
}

.text-value {
  font-weight: 900;
  font-size: 20px;
  color: #000;
  text-align: left;
}

.link-small {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  word-break: break-all;
}

/* Icon Red (Placeholder) */
.icon-red {
  width: 18px;
  height: 22px;
  background-color: #003366;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M208 0H256V512H208V0z"/></svg>') no-repeat center;
  border-radius: 2px;
}

/* Red Action Button */
.action-btn-red {
  background-color: #003366;
  color: white;
  border: none;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.1s;
}

.action-btn-red:active {
  transform: scale(0.97);
}


/* ================= COMMON CARD STYLE ================= */
.structure-card, .how-it-works-card {
  background: white;                  /* bright card background */
  border-radius: 25px;                /* bigger rounded corners */
  padding: 30px 15px;                 /* more spacious padding */
  margin: 0 20px 25px 20px;           /* hug sides, space between cards */
  display: flex;
  flex-direction: column;             /* stack content vertically */
  align-items: center;                /* center horizontally */
  box-shadow: 0 10px 40px rgba(0,0,0,0.05); /* bigger soft shadow */
  position: relative;
  z-index: 10;
  font-family: sans-serif;
  transition: transform 0.2s, box-shadow 0.2s; /* subtle hover effect */
}

.structure-card:hover, .how-it-works-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

/* ================= SECTION TITLE ================= */
.section-title {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: #000;
  margin-bottom: 25px;
}

/* ================= REFERRAL BOX ================= */
.referral-box {
  background-color: #e6f0ff; /* Soft blue background */
  border-radius: 20px;        /* bigger radius to match card */
  display: flex;
  align-items: center;
  padding: 20px 20px;
  margin-bottom: 15px;
  width: 100%;                /* fill card width */
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.level-circle {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 20px;
  margin-right: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.circle-orange { color: #f39c12; }
.circle-grey { color: #bdc3c7; }

.referral-info {
  flex: 1;
}

.referral-info h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #000;
}

.referral-info p {
  margin: 5px 0 0 0;
  font-size: 14px;
  color: #555;
  font-weight: 600;
}

/* ================= COMMISSION BADGE ================= */
.commission-badge {
  background: #003366;
  color: white;
  padding: 10px 15px;
  border-radius: 50px; /* pill shape */
  text-align: center;
  min-width: 90px;
}

.commission-badge .pct {
  display: block;
  font-weight: 900;
  font-size: 16px;
}

.commission-badge .comm-text {
  display: block;
  font-size: 11px;
  font-weight: 700;
}

/* ================= HOW IT WORKS LIST ================= */
.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 16px;
  color: #000;
  font-weight: 600;
  line-height: 1.4;
}

.steps-list li i {
  color: #0056b3; /* Green checkmarks */
  font-size: 20px;
  margin-top: 2px;
}

.steps-list li strong {
  font-weight: 800;
}

/* ================= CARDS CONTAINER ================= */
.cards-container {
  display: flex;
  flex-direction: column; /* Stack cards vertically */
  gap: 20px;              /* Space between cards */
  max-width: 600px;       /* Optional: width for all cards */
  margin: 0 auto;         /* Center on page */
  padding: 20px 0;        /* space from top/bottom */
}

/* ================= CLEAN FIXED TEAM HEADER ================= */
.team-header-main {
  position: fixed;           /* Keep header always on top */
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;              /* Standardized header height */
  display: flex;
  align-items: center;
  justify-content: center;   /* Center the title */
  padding: 0 16px;
  background: #1a2233;;       /* Bright Red background */
  color: white;              /* White text */
  z-index: 1000;
  border-bottom: 1px solid #1a2233;;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 18px;
}

/* Header text */
.team-header-main span {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.back-btn-white {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%); /* Perfect vertical centering */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #ffffff;
  color: rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  outline: none;
  z-index: 1100;
}

/* Press effect */
.back-btn-white:active {
  transform: translateY(-50%) scale(0.95);
  background: #c91a21; /* Slightly darker on press */
}

/* ================= PAGE CONTENT ================= */
#earningsPage {
  padding-top: 60px; /* Same as header height so content doesn't hide under header */
}

.team-content {
  padding: 20px;
}


/* ================= LEVEL TABS ================= */
.level-tabs-container {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  display: flex;
  background: white;
  border-bottom: 1px solid #2f48ec;
  z-index: 999;
}

/* Each button */
.level-tab-item {
  flex: 1;
  padding: 14px;
  border: none;
  border-radius: 0 !important;   /* 🔥 removes any curve */
  border-right: 1px solid #eee;
  background: white;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

/* Remove divider on last */
.level-tab-item:last-child {
  border-right: none;
}

/* Active tab */
.level-tab-item.active {
 background: #1e3a8a;
  color: white;
}


/* ================= LABELS ROW (under tabs with space) ================= */
.list-labels-row {
  position: fixed;
  top: 130px; /* was 110px → added 10px breathing space */
  left: 0;
  width: 100%;
  display: flex;
  padding: 10px 20px;
  background-color: #d1d5db;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  z-index: 998;
}

.list-labels-row span {
  flex: 1;
}

.list-labels-row span:last-child {
  text-align: center;
}


/* ================= TEAM USER CARD ================= */
.user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #10b981; /* green card */
  color: white;
  padding: 12px 16px;
  margin: 8px 16px;           /* space between cards */
  border-radius: 8px;          /* subtle corner */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  position: relative;
}

/* Profile icon on the left inside a white circle */
.user-row::before {
  content: "\f007"; /* Font Awesome user icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #10b981;               /* icon same green as card border */
  background: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-right: 12px;
}

/* Stack values under labels */
.user-row span {
  flex: 1;
  display: flex;
  flex-direction: column; /* number under label if you want label span later */
}

/* Align left and right columns */
.user-row span:first-child {
  text-align: left;
}

.user-row span:last-child {
  text-align: right;
  font-weight: 600;
}


/* ================= SCROLLABLE TEAM LIST ================= */
#teamList {
  position: absolute;
  top: 180px; /* shifted down to match labels */
  left: 0;
  width: 100%;
  bottom: 0;
  overflow-y: auto;
  background: #fff;
  padding-bottom: 20px;
}



.team-empty-state {
  position: fixed;       /* full page positioning */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  z-index: 10;
}

.team-empty-state .empty-icon-box {
  font-size: 48px;
  margin-bottom: 12px;
  color: #d1d5db;
}

.team-empty-state p {
  font-size: 14px;
  margin: 0;
}

/* ================= WITHDRAW PAGE ================= */
.withdraw-page {
  width: 100%;
  background: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* remove height & overflow */
}


/* ================= CLEAN HEADER ================= */
.withdraw-header-fixed {
  width: 100%;
  height: 60px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid #f0f0f0;
}

.withdraw-header-fixed h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #001f3f; /* Dark Navy */
  font-family: 'Poppins', sans-serif;
}

.withdraw-back-btn-v2 {
  position: absolute;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #ffffff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* ================= PAGE CONTAINER ================= */
.recharge-container {
  background-color: #f4f7f6; 
  padding: 20px;
  padding-top: 80px; /* Space for fixed header */
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
}



/* ================= THE WHITE CARD BOX (3D style) ================= */
.withdrawal-card-box {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px 20px;

  /* 3D shadow effect */
  box-shadow: 0 10px 25px rgba(0,0,0,0.1), 0 6px 10px rgba(0,0,0,0.08);
}

/* ================= SECTION TITLE (BLUE) ================= */
.section-title-green {
  color: #007bff; /* Blue instead of green */
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 20px;
  display: block;
}

/* ================= INPUT BLOCKS WITH BLUE BAR ================= */
.input-block-group {
  margin-bottom: 20px;
  border-left: 4px solid #007bff; /* Blue vertical bar */
  padding-left: 15px;
}

.block-label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 8px;
}

.custom-input-field {
  width: 100%;
  background: #fdfdfd;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  padding: 14px 15px;
  font-size: 15px;
  color: #333;
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
}

.custom-input-field::placeholder {
  color: #a0aec0;
}

/* ================= NOTE TEXT ================= */
.withdraw-note {
  font-size: 13px;
  color: #718096;
  line-height: 1.5;
  margin: 20px 0;
}

/* ================= BLUE ACTION BUTTON ================= */
.withdraw-submit-btn {
  width: 100%;
  background-color: #007bff; /* Blue */
  color: white;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: opacity 0.2s;
}

.withdraw-submit-btn:active {
  opacity: 0.8;
}

/* ================= BANK DISPLAY STYLE (Black Ash with White Text) ================= */
.bank-display-area {
  background: #1c1c1e; /* Black Ash */
  color: #ffffff;       /* White text */
  padding: 12px;
  border-radius: 8px;
  margin-top: 5px;
  font-size: 14px;

  display: flex;
  flex-direction: column; /* stack items top to bottom */
  gap: 6px;              /* spacing between items */
}


.withdraw-card {
  background: #f5f5f5;
  border-radius: 18px;
  padding: 22px;
  margin: 20px 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  font-family: Arial, sans-serif;
}

.withdraw-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #111;
}

.withdraw-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #333;
}

.check {
  background: #22c55e;
  color: white;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  flex-shrink: 0;
}

/* Mobile optimization */
@media (max-width: 480px) {
  .withdraw-title {
    font-size: 20px;
  }

  .withdraw-item {
    font-size: 14px;
  }
}

/* ================= RECORDS PAGE ================= */
.records-page {
  width: 100vw;
  padding-top: 60px;
  margin: 0;
  font-family: Arial, sans-serif;
  height: 100vh;
  overflow-y: auto;
  background: #f2f4f8;
  box-sizing: border-box;
}

/* ===============================================
   RECORDS PAGE SPACING
   =============================================== */
.records-page {
  padding-top: 64px;
}


/* ================= CLEAN FIXED HEADER ================= */
.records-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff; /* Clean white background */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid #f0f0f0;
  font-family: 'Poppins', sans-serif;
}

/* Header title */
.records-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #001f3f; /* Dark Navy for high contrast */
  letter-spacing: 0.5px;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.records-back-btn {
  position: absolute;
  left: 15px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #eee; /* Subtle border like the image */
  background: #ffffff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Soft shadow for depth */
  transition: transform 0.1s ease;
  outline: none;
  font-size: 16px;
}

.records-back-btn:active {
  transform: scale(0.95);
  background: #f9f9f9;
}



/* ================= RECORD CARD (PREMIUM WHITE) ================= */
.record-card {
  width: 100%;
  min-height: 80px;
  margin: 0 0 10px 0;
  padding: 12px 16px;
  background: #ffffff;
  color: #1e293b; 
  border-radius: 20px; /* More rounded as per image */
  border: 1px solid #f1f5f9; 
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.record-card:last-child {
  margin-bottom: 100px;
}

/* ================= ICON CONTAINER ================= */
.record-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* Color matching the image icons */
.icon-deposit, .icon-commission { color: #3b82f6; background: transparent; }
.icon-withdrawal { color: #ef4444; background: transparent; }
.icon-bonus { color: #a855f7; background: transparent; }

/* ================= CONTENT LAYOUT ================= */
.record-middle {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.record-transaction {
  font-weight: 600;
  font-size: 16px;
  color: #1e293b;
}

.record-time {
  font-size: 13px;
  color: #94a3b8; /* Lighter gray for time */
}

.record-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* Green amount text from image */
.record-amount {
  font-weight: 500;
  font-size: 16px;
  color: #00b894; 
}

/* ================= STATUS BADGES (MATCHING IMAGE) ================= */
.record-status {
  font-weight: 500;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.status-success::before {
    content: '●';
    font-size: 10px;
    margin-right: 2px;
}

.status-success { background: #10b981; color: #ffffff; }
.status-pending { background: #f59e0b; color: #ffffff; }
.status-declined, .status-failed { background: #ef4444; color: #ffffff; }


@media (max-width: 480px) {
  .record-card { padding: 12px; }
  .record-transaction { font-size: 15px; }
}


/* ================= FILTER PILLS ================= */
.records-filter {
  display: flex;
  gap: 10px;
  padding: 12px 15px;
  overflow-x: auto;
}

.filter-btn {
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;

  background: #f2f2f2;
  color: #333;

  white-space: nowrap;
  transition: all 0.25s ease;
}

/* ACTIVE STATE */
.filter-btn.active {
  background: #000000;
  color: #fff;
}

/* PRESS EFFECT */
.filter-btn:active {
  transform: scale(0.95);
}





/* ================= MODAL OVERLAY ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

/* ================= MODAL CARD ================= */
.modal-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */
.sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.sheet-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
}

.close-sheet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #000000;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

/* ================= INNER CARD ================= */
.slim-card {
  background: #f7f7f7;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* ================= PRODUCT ROW ================= */
.product-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-icon-container {
  width: 48px;
  height: 48px;
  background: #22c55e;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: white;
  color: #22c55e;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= PRODUCT DETAILS ================= */
.product-details strong {
  font-size: 17px;
  font-weight: 700;
  display: block;
  color: #111;
}

.product-details p {
  font-size: 14px;
  color: #444;
  margin-top: 3px;
}

/* ================= DIVIDER ================= */
.divider-line {
  height: 1px;
  background: #e5e5e5;
  margin: 14px 0;
}

/* ================= BALANCE ================= */
.account-balance-row {
  font-size: 14px;
  color: #333;
  font-weight: 600;
}

/* ================= PURCHASE BUTTON ================= */
.purchase-btn {
  background: #2f48ec;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: block;
  margin: auto;
  box-shadow: 0 6px 15px rgba(47,72,236,0.4);
  transition: transform 0.15s ease;
}

.purchase-btn:active {
  transform: scale(0.95);
}

/* ================= MOBILE ================= */
@media (max-width:480px){

.modal-card{
padding:20px;
}

.sheet-title{
font-size:20px;
}

.product-details strong{
font-size:16px;
}

.product-details p,
.account-balance-row{
font-size:13px;
}

.purchase-btn{
font-size:14px;
padding:10px 22px;
}

}

/* ===============================================
   INVESTMENT PAGE SPACING & SCROLL
   =============================================== */
.investment-page {
  padding-top: 64px;       /* existing spacing */
  padding-bottom: 32px;    /* some breathing space at bottom */
  display: flex;
  flex-direction: column;   /* stack cards vertically */
  align-items: center;      /* center cards horizontally */
  min-height: 100vh;        /* at least full viewport height */
  overflow-y: auto;         /* allow vertical scrolling */
  box-sizing: border-box;
}

/* ================= CLEAN FIXED INVESTMENT HEADER ================= */
.investment-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  border-bottom: 1px solid #f0f0f0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-family: 'Poppins', sans-serif;
}

/* Header Title */
.investment-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #001f3f;
}

/* ================= CIRCULAR BACK BUTTON ================= */
.investment-back-btn {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #eee;
  background: #ffffff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  outline: none;
}

/* Press effect */
.investment-back-btn:active {
  transform: translateY(-50%) scale(0.95);
  background: #f9f9f9;
}


/* ===== CARD WRAPPER ===== */
.card-wrapper {
  width: 100vw;                    /* full viewport width */
  margin-left: calc(-50vw + 50%);  /* bypass parent's flex/padding */
  margin-right: calc(-50vw + 50%);
  display: block;                   /* normal block, ignore flex parent */
}

/* ===== CARD ===== */
.premium-card {
  width: 100%;                      /* fill wrapper */
  border-radius: 20px;              /* rounded edges */
  padding: 24px;                    /* inner spacing */
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  background: #ffffff;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* ===== TITLE ===== */

.premium-card .plan-title{
  display:block;
  font-size:24px;
  font-weight:900;
  color:#000;
  margin-bottom:18px;
}


/* ===== INFO ROW ===== */

.premium-card .info-row{
  display:flex;
  justify-content:space-between;
  align-items:center;

  margin-bottom:14px;
}


/* ===== LABEL ===== */

.premium-card .info-label{
  font-size:16px;
  color:#666;
  font-weight:500;
}


/* ===== VALUE ===== */

.premium-card .info-value{
  font-size:17px;
  font-weight:700;
  color:#000;
}


/* ===== TIME ===== */

.premium-card .time-bold{
  font-weight:900;
  font-size:18px;
}


/* ===== TOTAL INCOME ===== */

.premium-card .total-income-value{
  color:#35b46b;
  font-size:19px;
  font-weight:800;
}


/* ===== TIMER SECTION ===== */

.premium-card .timer-container{
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid #eee;
}


/* ===== COUNTDOWN BUTTON ===== */

.premium-card .countdown-btn{
  display:inline-block;

  background:#f2f2f2;
  color:#333;

  padding:10px 16px;

  border-radius:25px;

  font-size:14px;
  font-weight:700;

  box-shadow:0 2px 6px rgba(0,0,0,0.08);
}


/* ================= MOBILE OPTIMIZATION ================= */

@media (max-width:480px){

  .premium-card{
    width:96%;
    margin:12px auto;
    padding:18px;
  }

  .premium-card .plan-title{
    font-size:22px;
  }

  .premium-card .info-label{
    font-size:15px;
  }

  .premium-card .info-value{
    font-size:16px;
  }

  .premium-card .total-income-value{
    font-size:18px;
  }

}


/* ================= CUSTOM ALERT ================= */
.custom-alert {
  position: fixed !important;

  top: 50% !important;
  left: 50% !important;

  transform: translate(-50%, -50%) !important;

  background: rgba(0, 0, 0, 0.85);
  color: #fff;

  padding: 14px 24px;
  border-radius: 12px;

  font-size: 15px;
  text-align: center;

  max-width: 90%;
  width: max-content;

  box-shadow: 0 8px 20px rgba(0,0,0,0.5);

  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;

  z-index: 999999; /* higher than EVERYTHING */
}

.custom-alert.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) !important;
}
.custom-alert {
  right: auto;
  margin: 0;
}

.custom-alert.show {
  animation: alertPop 0.3s ease;
}

@keyframes alertPop {
  0% {
    transform: translate(-50%, -60%) scale(0.8);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

/* ================= EMPTY STATE UI ================= */
.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: transparent;
}

.empty-icon-circle {
  width: 70px;
  height: 70px;
  background: #f8f9fa; /* Very light grey circle */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.empty-icon-circle i {
  font-size: 28px;
  color: #cccccc; /* Muted grey icon */
}

.empty-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  font-family: 'Poppins', sans-serif;
}

.empty-subtitle {
  margin: 8px 0 25px 0;
  font-size: 14px;
  color: #888;
  font-weight: 400;
}

/* THE GREEN BUTTON */
.browse-plans-btn {
  background: #00b386; /* Premium Emerald Green */
  color: #ffffff;
  border: none;
  padding: 12px 35px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 179, 134, 0.15);
}

.browse-plans-btn:active {
  transform: scale(0.96);
}



/* ================= FULLSCREEN LOADER ================= */
#pageLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;   /* black background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* ================= DOT LOADER ================= */
.dot-loader {
  display: flex;
  gap: 10px;
}

.dot-loader span {
  width: 15px;
  height: 15px;
  background: #00f0ff;   /* neon blue */
  border-radius: 50%;
  display: inline-block;
  animation: wave 1.2s infinite ease-in-out;
}

/* Delay for each dot */
.dot-loader span:nth-child(1) { animation-delay: 0s; }
.dot-loader span:nth-child(2) { animation-delay: 0.2s; }
.dot-loader span:nth-child(3) { animation-delay: 0.4s; }

/* ================= WAVE ANIMATION ================= */
@keyframes wave {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  30% {
    transform: translateY(-15px);
    opacity: 1;
  }
}



/* Header Image */
.product-header-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}


/* Reviews Ticker Wrapper - fills remaining viewport height */
.reviews-ticker-wrapper {
  width: 100%;
  height: calc(100vh - 250px); /* adjust based on your header/image height */
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff; /* blue background */
  padding: 10px;
  box-sizing: border-box;
}

/* Ticker container */
.reviews-ticker {
  display: flex;
  flex-direction: column;
  gap: 15px;
  animation: scrollReviews 300s linear infinite; /* very slow scroll */
}

/* Each review item */
.review-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  background: #ffffff; /* white card background */
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  min-height: 80px; /* make each review taller */
}

/* User logo / icon */
.review-item .user-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0; /* keeps image from shrinking */
}

/* Review text */
.review-item .review-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: #79a2e5; /* blue text */
}

/* Smooth scroll animation */
@keyframes scrollReviews {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}



/* Full-width black box around dashboard image */
.dashboard-image-box-full {
    width: 100%;                 /* full width of parent container */
    background-color: #000000;   /* black box (you can change to green) */
    padding: 15px;               /* space inside box for image */
    border-radius: 16px;         /* rounded corners */
    box-sizing: border-box;
    text-align: center;          /* center image */
    margin: 20px 0;              /* vertical spacing only, no horizontal shift */
    overflow: hidden;            /* prevent any overflow */
}

/* Dashboard image inside the box */
.dashboard-image {
    max-width: 100%;             /* fit inside green box */
    height: auto;
    border-radius: 12px;         /* slightly rounded corners */
    display: inline-block;       /* center properly */
}




/* ===== PAYMENT TYPE ===== */
.payment-type {
  margin: 15px 0;
  text-align: left;
  width: 100%;
  position: relative;
  font-family: sans-serif;
}

.payment-type label {
  display: block;
  margin-bottom: 6px;
  color: #f4b400; /* green label */
  font-weight: 600;
  font-size: 14px;
}

/* The clickable box */
.payment-box {
  width: 100%;
  background: #ffffff;          /* white box */
  color: #000000;               /* green text */
  border: 1px solid #c0c0c0;   /* silver edge */
  border-radius: 12px;
  padding: 12px 15px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s;
}

.payment-box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.payment-box .arrow {
  font-size: 14px;
}



/* Options list hidden by default */
.payment-options {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 48px; /* below the box */
  width: 100%;
  background: #ffffff;
  border: 1px solid #c0c0c0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: none; /* hidden initially */
  z-index: 100;
}

.payment-options li {
  padding: 10px 15px;
  cursor: pointer;
  color: #000000;
  font-weight: 500;
  transition: background 0.2s;
}

.payment-options li:hover {
  background: rgba(15,157,88,0.1); /* light green hover */
}


/* Selected Amount Display */
.selected-amount {
  font-weight: bold;
  color: #000000;   /* black */
  font-size: 20px;
  margin-top: 8px;
  text-align: center;
}



#paymentCountdown {
  margin-top: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #ff0707; /* green */
}


#paymentStatusMessage {
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  display: none;
}


.status-pending {
  background: #f0fff6;
  color: #1faa59;
}

.status-approved {
  background: #e6fff1;
  color: #1faa59;
}

.status-declined {
  background: #ffecec;
  color: #d62828;
}

.status-timeout {
  background: #fff6e5;
  color: #c77700;
}


/* ================= PROTECTED UI ================= */
#dashboard,
#bottomNav {
  display: none;
}


/* ================= FLOATING NAV CONTROL (BLACK + GOLD) ================= */
#navToggle {
  position: fixed;
  bottom: 90px; /* sits above bottom nav */
  right: 20px;

  width: 64px;
  height: 44px;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.9); /* black semi-transparent */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  color: #D4AF37;  /* gold text/icon */
  font-size: 22px;

  border: 1px solid rgba(212,175,55,0.35); /* subtle gold border */
  cursor: pointer;

  z-index: 2001;
  display: none; /* auth decides */

  box-shadow: 0 8px 18px rgba(212,175,55,0.25); /* subtle gold shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Show toggle ONLY when logged in */
body.logged-in #navToggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover / press feedback */
#navToggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(212,175,55,0.35); /* stronger gold glow */
}

#navToggle:active {
  transform: scale(0.95);
}


/* ================= BOTTOM NAV ================= */

/* Hidden forever by default */
#bottomNav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2000;
}

/* Visible ONLY when toggled */
#bottomNav.open {
  transform: translateY(0);
}


/* ================= FLOATING TELEGRAM (PROFILE PAGE) ================= */
.profile-page .telegram-float-profile {
  position: fixed;
  bottom: 90px;              /* above bottom nav */
  right: 16px;               /* move to right */
  z-index: 9999;

  width: 56px;
  height: 56px;
  border-radius: 50%;

  background: #0088cc;       /* Telegram blue */
  color: #ffffff;            /* white icon/text */

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0,136,204,0.35);  /* subtle blue shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Hover / tap */
.profile-page .telegram-float-profile:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0,136,204,0.45); /* stronger blue shadow */
}

/* Mobile safe */
@media (max-width: 480px) {
  .profile-page .telegram-float-profile {
    bottom: 100px;
    right: 12px;            /* adjust right for mobile */
  }
}