/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* =========================
   VARIABLES (SAME THEME)
========================= */
:root {
  --gold: #e6c26e;
  --text-main: #f9fafb;
  --text-muted: #d1d5db;
  --glass-bg: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-blur: blur(14px);
}

/* =========================
   BODY BACKGROUND
========================= */
body {
  min-height: 100vh;
  color: var(--text-main);
  background-image: url("https://news.gwc-invest.store/diagonal-golden-line-glass-cube-on-black-background-illustration-of-website-banner-poster-sign-corporate-business-social-media-post-billboard-agency-advertising-media-motion-video-animation-wave-vector.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}



/* =========================
   GLASS UTILITY (SMOOTHER)
========================= */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* =========================
   HOME HEADER
========================= */
.home-header {
  margin: 0 -16px 18px;
}

/* =========================
   LOGO (CLEAN + PREMIUM)
========================= */
.home-logo {
  display: flex;
  justify-content: center;
  padding: 6px 0 10px;
}

.home-logo img {
  height: 38px;
  padding: 8px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

/* =========================
   SWIPER (CLEAN EDGE + HD)
========================= */
.home-swiper {
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 22px 22px;
}

.home-swiper .swiper-slide {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-swiper img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* Depth overlay */
.home-swiper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.35)
  );
  pointer-events: none;
}

/* Pagination */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: var(--gold);
}

/* =========================
   QUICK ACTIONS (PREMIUM)
========================= */
.home-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.home-action {
  padding: 14px 8px;
  text-align: center;
  border-radius: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-action:active {
  transform: scale(0.96);
}

.home-action i {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 6px;
}

.home-action span {
  display: block;
  font-size: 12px;
}

/* =========================
   SOCIAL BUTTONS
========================= */
.social-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 20px 0;
}

.social-box button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
}

.social-box i {
  font-size: 18px;
}

.social-box .tiktok i {
  color: #ffffff;
}
.social-box .instagram i {
  color: #e1306c;
}
.social-box .youtube i {
  color: #ff0000;
}
.social-box .facebook i {
  color: #1877f2;
}

/* =========================
   SECTION TITLES
========================= */
.section-title {
  font-size: 14px;
  margin: 12px 0 8px;
  color: var(--text-muted);
}

/* =========================
   BIG GLASS BOX
========================= */
.big-glass-box {
  height: 120px;
  border-radius: 20px;
  margin-bottom: 18px;
}

/* =========================
   TASK BOX
========================= */
.task-box {
  padding: 16px;
  border-radius: 20px;
  text-align: center;
}

.task-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.task-tabs span {
  flex: 1;
  padding: 6px 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 13px;
}

.task-tabs .active {
  color: var(--gold);
  font-weight: 600;
}

.task-box p {
  color: var(--text-muted);
  font-size: 13px;
}

/* =========================
   BOTTOM NAV
========================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.bottom-nav div {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.bottom-nav i {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}

.bottom-nav .active,
.bottom-nav .vip {
  color: var(--gold);
  font-weight: 600;
}





/* =========================
   GLOBAL RESET + SCROLL FIX
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden; /* 🔥 LEFT-RIGHT SCROLL FIX */
}

/* =========================
   BODY + BACKGROUND
========================= */
body {
  min-height: 100vh;
  color: #f9fafb;
  background-image: url("https://news.gwc-invest.store/diagonal-golden-line-glass-cube-on-black-background-illustration-of-website-banner-poster-sign-corporate-business-social-media-post-billboard-agency-advertising-media-motion-video-animation-wave-vector.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* 🔥 MOBILE SAFE */
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

/* =========================
   VARIABLES (NO COLOR CHANGE)
========================= */
:root {
  --gold: #e6c26e;
  --text-main: #f9fafb;
  --text-muted: #d1d5db;
  --glass-bg: rgba(255, 255, 255, 0.14);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-blur: blur(14px);
}

/* =========================
   APP WRAPPER
========================= */
.app {
  max-width: 420px;
  width: 100%;
  margin: auto;
  padding: 16px;
  padding-bottom: 80px;
  overflow-x: hidden;
}

/* =========================
   HEADER (REAL REDESIGN)
========================= */
/* =========================
   SIMPLE PREMIUM HEADER (ONE BOX)
========================= */
.header {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 20px 18px;
  margin-bottom: 18px;

  border-radius: 22px;

  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);

  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}

/* AVATAR */
.header .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.25);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  color: var(--gold);

  flex-shrink: 0;
}

/* LEVEL BADGE */
.header .level {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 11px;
  font-weight: 600;

  background: rgba(230, 194, 110, 0.25);
  color: var(--gold);

  padding: 4px 12px;
  border-radius: 14px;
  margin-bottom: 6px;
}

/* TEXT */
.header .details h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.header .details p {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================
   BALANCE CARD
========================= */
.balance-card {
  margin: 18px 0;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.balance-card span {
  font-size: 14px;
  color: var(--text-muted);
}

.balance-card h3 {
  font-size: 22px;
  color: #22c55e;
}

.wallet-btn {
  border: 1px solid var(--gold);
  padding: 6px 14px;
  border-radius: 14px;
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
}

/* =========================
   ACTION BUTTONS
========================= */
.actions {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.actions button {
  flex: 1;
  padding: 12px 10px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-main);
  font-weight: 600;
  font-size: 13px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.actions i {
  margin-right: 6px;
  color: var(--gold);
}

/* 🔥 Actions ko balance-card ke andar niche laane ke liye */
.balance-card {
  flex-wrap: wrap; /* allow next row */
}

/* top balance row same rahe */
.balance-card > div:first-child,
.balance-card > .wallet-btn {
  flex: 0 0 auto;
}

/* actions full width niche */
.balance-card .actions {
  width: 100%;
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

/* buttons styling same hi rahe */
.balance-card .actions button {
  flex: 1;
}

/* =========================
   STATS GRID (NO OVERFLOW)
========================= */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 🔥 overflow fix */
  gap: 12px;
}

.stats div {
  padding: 12px 8px;
  text-align: center;
  border-radius: 18px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.stats p {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stats b {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--gold);
}

/* =========================
   MENU LIST
========================= */
.menu {
  margin-top: 22px;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.menu-item i:first-child {
  color: var(--gold);
  width: 20px;
  font-size: 16px;
}

.menu-item span {
  flex: 1;
  font-size: 14px;
}

.menu-item i:last-child {
  color: var(--text-muted);
}

/* =========================
   BOTTOM NAV BAR
========================= */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.bottom-nav div {
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
}

.bottom-nav i {
  display: block;
  font-size: 18px;
  margin-bottom: 2px;
}

.bottom-nav .active {
  color: var(--gold);
  font-weight: 600;
}

/* HOME PAGE */

/* ===== HOME HEADER FIX ===== */
.home-header {
  padding: 0; /* 🔥 padding remove */
  border-radius: 0;
  margin: 0 -16px 18px; /* 🔥 left-right full width */
}

/* LOGO AREA */
.home-logo {
  padding: 14px;
  margin-bottom: 8px;
}

/* ===== FULL WIDTH HD BANNER ===== */
.home-swiper {
  width: 100%;
  border-radius: 0; /* 🔥 no rounded corners */
  overflow: hidden;
}

.home-swiper .swiper-slide {
  height: 240px;
}

.home-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* 🔥 removes inline gap */
}

/*  */

/* =========================
   HEADER (MODERN APP)
========================= */
.headers {
  position: sticky;
  top: 0;
  z-index: 100;

  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;

  color: var(--text-main);

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.55)
  );

  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.headers i {
  position: absolute;
  left: 16px;
  font-size: 18px;
  color: var(--gold);
}

.headers::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(230, 194, 110, 0.6),
    transparent
  );
}

/* =========================
   INFO CONTAINER (GLASS)
========================= */
.info-container {
  width: 92%;
  max-width: 420px;
  margin: 22px auto;

  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 22px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  padding: 18px;
}

/* =========================
   INFO ITEMS
========================= */
.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 14px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.25s ease;
}

.info-item:last-child {
  border-bottom: none;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.info-item span {
  font-size: 14px;
  color: var(--text-main);
}

/* Right section */
.right-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.setting-text {
  font-size: 13px;
  color: var(--gold);
}

/* Icons */
.info-item i {
  color: var(--text-muted);
  font-size: 14px;
}

/* Avatar */
.info-item img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}

/* =========================
   LOGOUT BUTTON
========================= */
.logout-btn {
  margin-top: 22px;
  padding: 12px;
  text-align: center;

  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(230, 194, 110, 0.95),
    rgba(180, 140, 60, 0.95)
  );

  color: #000;
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* =========================
   POPUP OVERLAY
========================= */
.popup-overlay {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);

  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: 999;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================
   POPUP (BOTTOM SHEET)
========================= */
.popup {
  position: fixed;
  left: 0;
  bottom: -100%;
  width: 100%;
  max-height: 85vh;

  background: rgba(15, 15, 15, 0.96);
  backdrop-filter: blur(22px);

  border-radius: 26px 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);

  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.7);
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.popup.active {
  bottom: 0;
}

/* =========================
   POPUP HEADER
========================= */
.popup-header {
  position: relative;
  padding: 18px 18px 14px;

  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);

  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Drag handle */
.popup-header::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
}

.popup-header i {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: 18px;
  color: var(--gold);
}

/* =========================
   POPUP CONTENT
========================= */
.popup-content {
  padding: 18px;
}

.popup-content input {
  width: 100%;
  padding: 13px;
  margin-bottom: 14px;

  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);

  color: var(--text-main);
  font-size: 14px;
}

.popup-content input::placeholder {
  color: var(--text-muted);
}

.popup-content input:focus {
  outline: none;
  border-color: var(--gold);
}

.popup-content button {
  width: 100%;
  padding: 13px;

  border-radius: 14px;
  border: none;

  background: linear-gradient(135deg, var(--gold), #b28a3d);
  color: #000;

  font-weight: 700;
  font-size: 15px;
}

.popup-content p.note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 10px;
}
