* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0a0e1a;
  color: #e6ebff;
  min-height: 100vh;
  overflow-x: hidden;
}
.bg-anim {
  position: fixed; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(120,80,255,.25), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(0,200,255,.20), transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(255,80,180,.10), transparent 60%);
  z-index: -1;
  animation: pulse 12s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.1); opacity: 1; }
}
a { color: #7cc4ff; text-decoration: none; }

.landing header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 2rem;
  backdrop-filter: blur(8px);
  background: rgba(10,14,26,.6);
  border-bottom: 1px solid rgba(120,80,255,.2);
  position: sticky; top: 0; z-index: 10;
}
.logo { font-size: 1.3rem; font-weight: 800; background: linear-gradient(90deg,#9b6cff,#00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.landing nav { display: flex; align-items: center; gap: 1.5rem; }
.landing nav a { color: #a0b0d0; font-weight: 500; transition: color .2s; }
.landing nav a:hover { color: #9b6cff; }

.hero {
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  max-width: 900px;
  margin: 0 auto;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; line-height: 1.15; }
.grad { background: linear-gradient(90deg,#9b6cff,#00d4ff,#ff5fb3); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: #a0b0d0; font-size: 1.15rem; max-width: 700px; margin: 0 auto 2rem; line-height: 1.6; }

.stats-row { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.stat { display: flex; flex-direction: column; gap: .2rem; }
.stat b { font-size: 1.6rem; background: linear-gradient(90deg,#9b6cff,#00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: .85rem; color: #7a8aa8; }

.btn-glow {
  background: linear-gradient(135deg,#7b4dff,#00c8ff);
  color: #fff; border: none; padding: .7rem 1.4rem;
  border-radius: 10px; font-weight: 700; cursor: pointer;
  transition: all .2s;
  box-shadow: 0 6px 24px rgba(120,80,255,.4);
  display: inline-block;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(120,80,255,.6); }
.btn-glow.big { padding: 1rem 2.2rem; font-size: 1.1rem; }

.section { max-width: 1200px; margin: 4rem auto; padding: 0 1.5rem; }
.section h2 { text-align: center; margin-bottom: 2.5rem; font-size: 2rem; }

.grid-mines { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1.2rem; }
.mine-card {
  background: linear-gradient(160deg, rgba(30,20,60,.9), rgba(15,20,40,.9));
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 16px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.mine-card:hover { transform: translateY(-6px); border-color: #9b6cff; box-shadow: 0 14px 40px rgba(120,80,255,.35); }
.mine-emoji { font-size: 3rem; margin-bottom: .6rem; }
.mine-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.mine-price { font-size: 1.3rem; font-weight: 800; color: #ffd24a; margin-bottom: .3rem; }
.mine-profit { color: #3ddc97; font-size: .9rem; margin-bottom: .3rem; }
.mine-dur { color: #7a8aa8; font-size: .8rem; margin-bottom: 1rem; }
.btn-mine {
  width: 100%; padding: .6rem; border-radius: 8px; border: none;
  background: linear-gradient(90deg,#7b4dff,#00c8ff); color: #fff;
  font-weight: 700; cursor: pointer; transition: .2s;
}
.btn-mine:hover { opacity: .9; }

.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1rem; }
.faq > div {
  background: rgba(20,25,45,.8);
  padding: 1.2rem; border-radius: 12px;
  border: 1px solid rgba(120,80,255,.2);
}
.faq b { color: #9b6cff; display: block; margin-bottom: .4rem; }
.faq p { color: #a0b0d0; font-size: .9rem; }

.modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.75); backdrop-filter: blur(6px);
  z-index: 100; align-items: center; justify-content: center;
}
.modal-box {
  background: linear-gradient(160deg, #1a1535, #0d1226);
  border: 1px solid rgba(120,80,255,.4);
  border-radius: 18px; padding: 2rem 1.8rem;
  width: 90%; max-width: 400px;
  position: relative;
  box-shadow: 0 20px 60px rgba(120,80,255,.3);
}
.modal-box .close { position: absolute; right: 1rem; top: .6rem; font-size: 1.8rem; color: #7a8aa8; cursor: pointer; }
.modal-box h2 { text-align: center; margin-bottom: 1.5rem; }
.modal-box input {
  width: 100%; padding: .8rem 1rem; margin-bottom: .9rem;
  background: rgba(10,15,30,.9); border: 1px solid rgba(120,80,255,.3);
  border-radius: 10px; color: #fff; font-size: 1rem;
}
.modal-box input:focus { outline: none; border-color: #9b6cff; }
.switch { text-align: center; margin-top: 1rem; color: #7a8aa8; font-size: .9rem; }
.alert { background: rgba(255,80,120,.15); color: #ff7090; padding: .7rem; border-radius: 8px; text-align: center; margin-bottom: 1rem; font-size: .9rem; }
.alert-ok { background: rgba(60,220,150,.15); color: #3ddc97; padding: .8rem 1.2rem; border-radius: 10px; margin: 1rem 2rem 0; text-align: center; }

.app { max-width: 1200px; margin: 0 auto; padding: 1rem; }
.app-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.4rem; margin-bottom: 1.5rem;
  background: rgba(20,25,45,.85); backdrop-filter: blur(10px);
  border-radius: 14px; border: 1px solid rgba(120,80,255,.2);
  flex-wrap: wrap; gap: .8rem;
}
.user-info { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.balance { background: linear-gradient(90deg,#3ddc97,#00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; font-size: 1.1rem; }
.user { color: #a0b0d0; }
.btn-logout { background: rgba(255,80,120,.15); color: #ff7090; padding: .4rem .9rem; border-radius: 8px; font-size: .85rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.card-glow {
  background: linear-gradient(160deg, rgba(30,20,60,.9), rgba(15,20,40,.9));
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 14px; padding: 1.2rem;
}
.card-glow small { color: #7a8aa8; font-size: .8rem; }
.card-glow h2 { font-size: 1.5rem; margin-top: .4rem; background: linear-gradient(90deg,#9b6cff,#00d4ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.card-glow h2 span { font-size: .9rem; }

.tabs { display: flex; gap: .4rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.tab {
  padding: .6rem 1.1rem; border-radius: 10px;
  background: rgba(20,25,45,.7); color: #a0b0d0;
  border: 1px solid transparent; cursor: pointer; font-weight: 600;
  transition: .2s;
}
.tab.active { background: linear-gradient(135deg,#7b4dff,#00c8ff); color: #fff; }
.tab:hover:not(.active) { border-color: rgba(120,80,255,.4); }

.tab-content { display: none; }
.tab-content.active { display: block; }
.tab-content h3 { margin-bottom: 1rem; }

.grid-user-mines { display: grid; grid-template-columns: repeat(auto-fill,minmax(240px,1fr)); gap: 1rem; }

/* ============================================
   MINAS ANIMADAS
   ============================================ */
.user-mine {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(30,20,60,.95), rgba(15,20,40,.95));
  border: 2px solid rgba(60,220,150,.35);
  border-radius: 18px;
  padding: 1.4rem 1rem 1.2rem;
  text-align: center;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.user-mine.ready-to-claim {
  border-color: #ffd633;
  animation: readyPulse 1.8s ease-in-out infinite;
}
@keyframes readyPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,214,51,.5), inset 0 0 30px rgba(255,214,51,.08); }
  50%      { box-shadow: 0 0 40px rgba(255,214,51,.9), inset 0 0 50px rgba(255,214,51,.15); }
}
.user-mine.expired {
  opacity: .55;
  filter: grayscale(.7);
  border-color: rgba(255,80,120,.4);
}
.user-mine:hover { transform: translateY(-6px) scale(1.02); }

.mine-illustration {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mine-base {
  position: absolute;
  bottom: 0;
  font-size: 5rem;
  line-height: 1;
  filter: drop-shadow(0 8px 20px rgba(120,80,255,.6));
  animation: mineBob 3s ease-in-out infinite;
}
@keyframes mineBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.mine-pickaxe {
  position: absolute;
  font-size: 2.2rem;
  top: 5px;
  right: 5px;
  transform-origin: bottom left;
  animation: pickaxeSwing 1.6s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.4));
  z-index: 2;
}
@keyframes pickaxeSwing {
  0%, 100% { transform: rotate(-30deg) translateY(0); }
  50%      { transform: rotate(15deg) translateY(4px); }
}
.mine-spark {
  position: absolute;
  top: 30px; left: 25px;
  width: 8px; height: 8px;
  background: radial-gradient(circle, #ffd633 0%, #ff8a00 60%, transparent 100%);
  border-radius: 50%;
  opacity: 0;
  animation: sparkFlash 1.6s ease-in-out infinite;
  pointer-events: none;
}
.mine-spark.s2 { animation-delay: .1s; top: 26px; left: 30px; }
.mine-spark.s3 { animation-delay: .2s; top: 34px; left: 20px; }
@keyframes sparkFlash {
  0%, 45%, 100% { opacity: 0; transform: scale(0.5); }
  50%           { opacity: 1;  transform: scale(1.4); }
  55%           { opacity: 0; }
}
.mine-coin {
  position: absolute;
  bottom: 20px;
  font-size: 1.2rem;
  opacity: 0;
  animation: coinFloat 3s ease-in infinite;
  pointer-events: none;
}
.mine-coin.c1 { left: 15%;  animation-delay: 0s; }
.mine-coin.c2 { left: 45%;  animation-delay: .8s; }
.mine-coin.c3 { left: 75%;  animation-delay: 1.6s; }
@keyframes coinFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0.6) rotate(0deg); }
  20%  { opacity: 1; transform: translateY(-15px) scale(1) rotate(15deg); }
  80%  { opacity: 1; transform: translateY(-55px) scale(1) rotate(-15deg); }
  100% { opacity: 0; transform: translateY(-70px) scale(0.8) rotate(-30deg); }
}
.user-mine.ready-to-claim .mine-illustration::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: conic-gradient(from 0deg, transparent, rgba(255,214,51,.4), transparent, rgba(255,214,51,.4), transparent);
  border-radius: 50%;
  animation: rotate 3s linear infinite;
  z-index: -1;
  filter: blur(8px);
}
@keyframes rotate { to { transform: rotate(360deg); } }

.mine-life-bar {
  width: 100%;
  height: 6px;
  background: rgba(0,0,0,.5);
  border-radius: 10px;
  margin: .7rem 0 .5rem;
  overflow: hidden;
  position: relative;
}
.mine-life-fill {
  height: 100%;
  background: linear-gradient(90deg, #3ddc97, #00d4ff);
  border-radius: 10px;
  transition: width .5s ease;
  position: relative;
  overflow: hidden;
}
.mine-life-fill::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  animation: shimmer 2s infinite;
}
@keyframes shimmer { to { left: 100%; } }
.user-mine.expired .mine-life-fill {
  background: linear-gradient(90deg, #ff5f7e, #ff9b5f);
}

.um-emoji { font-size: 2.4rem; }
.um-name { font-weight: 700; margin: .4rem 0; }
.um-profit { color: #3ddc97; font-size: .9rem; }
.um-earned { color: #7a8aa8; font-size: .8rem; margin: .5rem 0; }

.btn-claim {
  width: 100%; padding: .55rem; border-radius: 8px; border: none;
  background: linear-gradient(90deg,#3ddc97,#00d4ff); color: #08213a;
  font-weight: 800; cursor: pointer; transition: .2s;
  position: relative;
}
.btn-claim:hover:not(:disabled) { transform: translateY(-2px); }
.btn-claim:disabled { opacity: .6; cursor: not-allowed; background: #333; color: #888; }
.btn-claim.expired { background: rgba(255,80,120,.2); color: #ff7090; }
.btn-claim.pulse-ready {
  animation: heartbeat 1.2s ease-in-out infinite;
  background: linear-gradient(90deg, #ffd633, #ff8a00);
  color: #4a2e00;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(255,214,51,.6);
  transform-origin: center;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(255,214,51,.6); }
  50%      { transform: scale(1.05); box-shadow: 0 12px 32px rgba(255,214,51,.9); }
}
.btn-claim.waiting {
  background: linear-gradient(90deg, #4a4a5c, #2e2e3a);
  color: #a0a0b0;
  cursor: not-allowed;
}

.next-claim-hint {
  font-size: .75rem;
  color: #7a8aa8;
  margin: .4rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .3rem;
}
.next-claim-hint .countdown {
  color: #ffd633;
  font-weight: 700;
  font-family: monospace;
}

.user-mine::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(155,108,255,.6), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(0,212,255,.6), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,214,51,.5), transparent);
  animation: driftBg 20s linear infinite;
  pointer-events: none;
  opacity: .4;
}
@keyframes driftBg { to { transform: translate(20px, 20px); } }

.celebration-particle {
  position: fixed;
  pointer-events: none;
  font-size: 1.5rem;
  z-index: 9999;
  animation: celebrateBurst 1.5s ease-out forwards;
}
@keyframes celebrateBurst {
  0%   { opacity: 1; transform: translate(0,0) scale(.5); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.3) rotate(var(--rot)); }
}
.floating-reward {
  position: fixed;
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffd633;
  text-shadow: 0 4px 12px rgba(0,0,0,.7), 0 0 20px rgba(255,214,51,.8);
  pointer-events: none;
  z-index: 9999;
  animation: floatUp 1.8s ease-out forwards;
}
@keyframes floatUp {
  0%   { opacity: 0; transform: translate(-50%, 0) scale(.5); }
  20%  { opacity: 1; transform: translate(-50%, -20px) scale(1.2); }
  100% { opacity: 0; transform: translate(-50%, -120px) scale(1); }
}

.wallet-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 1rem; }
.panel {
  background: linear-gradient(160deg, rgba(30,20,60,.9), rgba(15,20,40,.9));
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 14px; padding: 1.4rem;
}
.panel h4 { margin-bottom: .8rem; }
.panel p { color: #a0b0d0; font-size: .9rem; margin-bottom: .6rem; }
.wallet-addr {
  background: rgba(10,15,30,.9); padding: .7rem; border-radius: 8px;
  font-family: monospace; font-size: .8rem;
  word-break: break-all; margin-bottom: .8rem;
  border: 1px dashed rgba(120,80,255,.4);
}
.panel input {
  width: 100%; padding: .7rem 1rem; margin-bottom: .7rem;
  background: rgba(10,15,30,.9); border: 1px solid rgba(120,80,255,.3);
  border-radius: 8px; color: #fff;
}
.panel input:focus { outline: none; border-color: #9b6cff; }
.code { color: #ffd24a; font-family: monospace; }

.hist-table { width: 100%; border-collapse: collapse; background: rgba(20,25,45,.7); border-radius: 12px; overflow: hidden; font-size: .85rem; }
.hist-table th, .hist-table td { padding: .7rem .8rem; text-align: left; border-bottom: 1px solid rgba(120,80,255,.15); }
.hist-table th { background: rgba(120,80,255,.15); color: #d0d8ff; }
.pos { color: #3ddc97; font-weight: 700; }
.neg { color: #ff7090; font-weight: 700; }

.form-admin { display: grid; gap: .8rem; max-width: 500px; margin-bottom: 1.5rem; }
.form-admin.inline { grid-template-columns: repeat(auto-fit,minmax(140px,1fr)); max-width: none; align-items: end; }
.form-admin label { display: flex; flex-direction: column; gap: .3rem; font-size: .85rem; color: #a0b0d0; }
.form-admin input { padding: .6rem .8rem; background: rgba(10,15,30,.9); border: 1px solid rgba(120,80,255,.3); border-radius: 8px; color: #fff; }
.mini { padding: .3rem .6rem; font-size: .75rem; border-radius: 6px; border: none; background: rgba(120,80,255,.3); color: #fff; cursor: pointer; margin-right: .2rem; }
.mini.ok { background: rgba(60,220,150,.3); }
.mini.danger { background: rgba(255,80,120,.3); }

.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(150%);
  padding: .9rem 1.6rem; border-radius: 12px; font-weight: 700;
  transition: transform .3s; z-index: 999; max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.ok { background: linear-gradient(90deg,#3ddc97,#00d4ff); color: #08213a; }
.toast.err { background: linear-gradient(90deg,#ff5f7e,#ff9b5f); color: #fff; }

.empty { text-align: center; padding: 2rem; color: #7a8aa8; grid-column: 1/-1; }

/* ============================================
   LIVE STATS
   ============================================ */
.live-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.live-stat {
  background: linear-gradient(160deg, rgba(30,20,60,.9), rgba(15,20,40,.9));
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
  transition: .3s;
}
.live-stat:hover { transform: translateY(-4px); border-color: #9b6cff; }
.live-stat.pulse { animation: pulseCard 3s ease-in-out infinite; }
@keyframes pulseCard {
  0%,100% { box-shadow: 0 0 0 0 rgba(60,220,150,.4); }
  50%     { box-shadow: 0 0 0 12px rgba(60,220,150,0); }
}
.ls-icon { font-size: 1.8rem; margin-bottom: .3rem; }
.ls-num {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(90deg, #9b6cff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .2rem;
}
.ls-label { font-size: .8rem; color: #7a8aa8; }

/* ============================================
   LIVE PAYMENTS
   ============================================ */
.live-payments { max-width: 1100px; margin: 4rem auto; padding: 0 1.5rem; }
.section-header { position: relative; text-align: center; margin-bottom: 2rem; }
.section-header h2 { font-size: 2rem; margin-bottom: .4rem; }
.subtitle { color: #a0b0d0; font-size: 1rem; }
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(60,220,150,.15);
  color: #3ddc97;
  padding: .3rem .8rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  margin-top: .6rem;
}
.live-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 0 rgba(60,220,150,.6);
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(60,220,150,.8); }
  100% { box-shadow: 0 0 0 12px rgba(60,220,150,0); }
}
.payments-table-wrapper { overflow-x: auto; border-radius: 14px; }
.payments-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(20,25,45,.7);
  font-size: .9rem;
  min-width: 620px;
}
.payments-table th, .payments-table td {
  padding: .9rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(120,80,255,.15);
}
.payments-table th {
  background: rgba(120,80,255,.15);
  color: #d0d8ff;
  font-size: .8rem;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.payments-table td.amount {
  color: #3ddc97;
  font-weight: 800;
  font-family: monospace;
}
.payments-table td.wallet {
  font-family: monospace;
  font-size: .85rem;
  color: #a0b0d0;
}
.bsc-link {
  color: #7cc4ff;
  font-weight: 600;
  font-size: .85rem;
}
.bsc-link:hover { text-decoration: underline; }
.pending { color: #ffd633; font-size: .85rem; }
.loading { text-align: center; color: #7a8aa8; padding: 2rem; }

.activity-feed {
  margin-top: 1.5rem;
  background: rgba(20,25,45,.7);
  border-radius: 14px;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(120,80,255,.2);
}
.feed-title { font-weight: 700; margin-bottom: .8rem; color: #d0d8ff; }
.feed-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(120,80,255,.1);
  font-size: .9rem;
}
.feed-item:last-child { border-bottom: none; }
.feed-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.feed-dot.register { background: #9b6cff; }
.feed-dot.buy { background: #3ddc97; }
.feed-text { flex: 1; color: #d0d8ff; }
.feed-time { color: #7a8aa8; font-size: .8rem; }

/* ============================================
   HOW IT WORKS
   ============================================ */
.how-it-works {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
}
.how-it-works h2 { font-size: 2rem; margin-bottom: .4rem; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 2.5rem 0;
}
.step {
  background: linear-gradient(160deg, rgba(30,20,60,.9), rgba(15,20,40,.9));
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 16px;
  padding: 2rem 1.4rem 1.4rem;
  text-align: center;
  position: relative;
  transition: .3s;
}
.step:hover { transform: translateY(-6px); border-color: #9b6cff; }
.step-num {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7b4dff, #00c8ff);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  box-shadow: 0 4px 14px rgba(120,80,255,.5);
}
.step-icon { font-size: 2.5rem; margin-bottom: .6rem; }
.step h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.step p { color: #a0b0d0; font-size: .9rem; }
.cta-final { margin-top: 2rem; }
.cta-final p { font-size: 1.1rem; margin-bottom: 1rem; color: #d0d8ff; }

/* ============================================
   FAQ
   ============================================ */
.faq-section { max-width: 900px; margin: 4rem auto; padding: 0 1.5rem; text-align: center; }
.faq-section h2 { font-size: 2rem; margin-bottom: .4rem; }
.faq-grid { margin-top: 2rem; text-align: left; display: grid; gap: .8rem; }
.faq-item {
  background: rgba(20,25,45,.7);
  border: 1px solid rgba(120,80,255,.2);
  border-radius: 12px;
  overflow: hidden;
  transition: .2s;
}
.faq-item[open] { border-color: #9b6cff; box-shadow: 0 4px 20px rgba(120,80,255,.2); }
.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: #d0d8ff;
  list-style: none;
  position: relative;
  transition: .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 1.2rem;
  font-size: 1.4rem;
  color: #9b6cff;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: #9b6cff; }
.faq-item p {
  padding: 0 1.2rem 1rem;
  color: #a0b0d0;
  font-size: .92rem;
  line-height: 1.6;
}

/* ============================================
   VIP
   ============================================ */
.vip-hero, .support-hero {
  text-align: center;
  padding: 3rem 1.5rem 1rem;
}
.vip-hero h1, .support-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin-bottom: .8rem;
}
.vip-hero p, .support-hero p { color: #a0b0d0; max-width: 600px; margin: 0 auto; }

.vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}
.vip-card {
  background: linear-gradient(160deg, rgba(30,20,60,.9), rgba(15,20,40,.9));
  border: 2px solid rgba(120,80,255,.3);
  border-radius: 16px;
  padding: 1.8rem 1.2rem;
  text-align: center;
  position: relative;
  transition: .3s;
}
.vip-card.active {
  border-color: var(--vip-color);
  box-shadow: 0 0 30px var(--vip-color);
  transform: scale(1.05);
}
.vip-icon { font-size: 3rem; margin-bottom: .6rem; }
.vip-card h3 { margin-bottom: .4rem; }
.vip-bonus {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--vip-color);
  margin-bottom: .4rem;
}
.vip-req { font-size: .82rem; color: #7a8aa8; }
.vip-active-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--vip-color);
  color: #000;
  font-size: .7rem;
  font-weight: 800;
  padding: .25rem .8rem;
  border-radius: 10px;
  letter-spacing: .5px;
}
.vip-progress {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: rgba(20,25,45,.7);
  border-radius: 14px;
  border: 1px solid rgba(120,80,255,.3);
}
.vp-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: .6rem;
  font-weight: 700;
}
.vp-bar {
  height: 12px;
  background: rgba(0,0,0,.4);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: .6rem;
}
.vp-fill {
  height: 100%;
  background: linear-gradient(90deg, #9b6cff, #00d4ff);
  border-radius: 20px;
  transition: width 1s ease;
}
.vp-info {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: #a0b0d0;
}
.vip-cta { text-align: center; padding: 3rem 1.5rem; }
.vip-cta h2 { margin-bottom: .6rem; }
.vip-cta p { color: #a0b0d0; margin-bottom: 1.5rem; }
.vip-preview { text-align: center; max-width: 1000px; margin: 4rem auto; padding: 0 1.5rem; }
.vip-preview h2 { font-size: 2rem; margin-bottom: .4rem; }
.vip-preview-grid {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.vip-mini {
  background: rgba(20,25,45,.7);
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 1.8rem;
  text-align: center;
  min-width: 110px;
  transition: .3s;
}
.vip-mini:hover { transform: translateY(-4px); border-color: #9b6cff; }
.vip-mini div { font-size: .9rem; font-weight: 700; margin-top: .3rem; }
.vip-mini small { font-size: .75rem; color: #3ddc97; display: block; margin-top: .2rem; }

/* ============================================
   SUPPORT
   ============================================ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}
.support-card {
  background: rgba(20,25,45,.7);
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 14px;
  padding: 1.5rem;
  text-align: center;
  transition: .3s;
  cursor: pointer;
  color: #e6ebff;
  display: block;
}
.support-card:hover { transform: translateY(-6px); border-color: #9b6cff; }
.support-icon { font-size: 2.5rem; margin-bottom: .6rem; }
.support-card h3 { margin-bottom: .4rem; }
.support-card p { font-size: .85rem; color: #a0b0d0; margin-bottom: .8rem; }
.support-action { color: #7cc4ff; font-weight: 600; font-size: .9rem; }
.support-card.whatsapp { border-color: rgba(37,211,102,.3); }
.support-card.telegram { border-color: rgba(0,150,255,.3); }
.support-card.email { border-color: rgba(255,180,60,.3); }
.support-card.chat { border-color: rgba(155,108,255,.4); }

.support-faq { max-width: 800px; margin: 3rem auto; padding: 0 1.5rem; text-align: center; }
.support-faq h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.faq-quick {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  justify-content: center;
}
.quick-link {
  background: rgba(120,80,255,.15);
  border: 1px solid rgba(120,80,255,.3);
  color: #d0d8ff;
  padding: .6rem 1.1rem;
  border-radius: 10px;
  font-size: .9rem;
  transition: .2s;
}
.quick-link:hover { background: rgba(120,80,255,.3); }
.support-preview { text-align: center; max-width: 800px; margin: 4rem auto; padding: 0 1.5rem; }
.support-preview h2 { font-size: 1.8rem; margin-bottom: .6rem; }
.support-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  padding: .7rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  transition: .2s;
  display: inline-block;
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(37,211,102,.4); }

/* ============================================
   LEGAL
   ============================================ */
.legal-page {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(20,25,45,.7);
  border-radius: 16px;
  border: 1px solid rgba(120,80,255,.2);
}
.back-link { display: inline-block; margin-bottom: 1rem; color: #7cc4ff; }
.legal-page h1 { margin-bottom: .5rem; }
.legal-page h2 { margin-top: 1.8rem; margin-bottom: .6rem; color: #9b6cff; }
.legal-page p, .legal-page li { color: #a0b0d0; line-height: 1.7; margin-bottom: .6rem; }
.legal-page ul { padding-left: 1.5rem; }
.last-update { font-size: .85rem; color: #7a8aa8; margin-bottom: 1.5rem; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  margin-top: 5rem;
  padding: 3rem 1.5rem 1.5rem;
  background: rgba(10,14,26,.9);
  border-top: 1px solid rgba(120,80,255,.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
}
.footer-grid h4 { margin-bottom: .8rem; color: #d0d8ff; font-size: .95rem; }
.footer-grid a {
  display: block;
  color: #a0b0d0;
  padding: .3rem 0;
  font-size: .9rem;
  transition: color .2s;
}
.footer-grid a:hover { color: #9b6cff; }
.footer-grid p { color: #7a8aa8; font-size: .85rem; margin-top: .6rem; }
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(120,80,255,.1);
  color: #7a8aa8;
  font-size: .85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  .landing header { padding: 1rem; }
  .landing nav { gap: .8rem; }
  .landing nav a { display: none; }
  .hist-table { font-size: .75rem; }
  .hist-table th, .hist-table td { padding: .5rem .4rem; }
  .hero { padding: 3rem 1rem 2rem; }
  .live-stats { grid-template-columns: repeat(2, 1fr); }
  .vip-preview-grid { gap: .5rem; }
  .vip-mini { min-width: 80px; padding: .7rem .8rem; font-size: 1.5rem; }
  .legal-page { padding: 1.2rem; margin: 1rem auto; }
}

/* Reducir animaciones si el usuario lo prefiere */
@media (prefers-reduced-motion: reduce) {
  .mine-pickaxe, .mine-coin, .mine-spark,
  .btn-claim.pulse-ready, .user-mine.ready-to-claim,
  .mine-base, .user-mine::before {
    animation: none !important;
  }
}
/* ============================================
   DASHBOARD MODERNO — Rediseño de secciones
   (No modifica .user-mine ni animaciones de minas)
   ============================================ */

/* === HEADER mejorado === */
.app-header {
  background: linear-gradient(135deg, rgba(30,20,60,.9), rgba(15,20,40,.9));
  border: 1px solid rgba(120,80,255,.3);
  box-shadow: 0 8px 32px rgba(120,80,255,.15);
}
.vip-badge {
  background: linear-gradient(135deg, var(--vip-color), rgba(0,0,0,.3));
  color: #000;
  padding: .35rem .8rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .3px;
  box-shadow: 0 4px 14px var(--vip-color);
}
.user-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7b4dff, #00c8ff);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(120,80,255,.4);
  cursor: pointer;
  transition: .3s;
}
.user-avatar:hover { transform: scale(1.1) rotate(-5deg); }

/* === CARDS estadísticas modernos === */
.card-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(160deg, rgba(30,20,60,.9), rgba(15,20,40,.9));
  border: 1px solid rgba(120,80,255,.25);
  border-radius: 16px;
  padding: 1.2rem;
  transition: .3s;
  position: relative;
  overflow: hidden;
}
.card-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(155,108,255,.15), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
}
.card-stat:hover { transform: translateY(-4px); border-color: #9b6cff; box-shadow: 0 10px 30px rgba(120,80,255,.2); }
.card-stat:hover::before { opacity: 1; }

.cs-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.cs-icon-blue    { background: linear-gradient(135deg, rgba(60,220,150,.25), rgba(0,212,255,.25)); }
.cs-icon-green   { background: linear-gradient(135deg, rgba(60,220,150,.25), rgba(120,255,180,.15)); }
.cs-icon-purple  { background: linear-gradient(135deg, rgba(155,108,255,.3), rgba(200,150,255,.15)); }
.cs-icon-yellow  { background: linear-gradient(135deg, rgba(255,214,51,.25), rgba(255,180,60,.15)); }

.cs-content { flex: 1; position: relative; z-index: 1; min-width: 0; }
.cs-content small {
  color: #a0b0d0;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: block;
  margin-bottom: .2rem;
}
.cs-content h2 {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(90deg, #9b6cff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cs-content h2 span { font-size: .75rem; color: #7a8aa8; -webkit-text-fill-color: #7a8aa8; }
.cs-trend {
  font-size: .72rem;
  color: #7a8aa8;
}
.cs-trend.up { color: #3ddc97; }
.cs-trend.pulse-text {
  color: #ffd633;
  font-weight: 700;
  animation: pulseText 1.5s ease-in-out infinite;
}
@keyframes pulseText {
  0%, 100% { opacity: 1; }
  50%      { opacity: .55; }
}

/* === TABS modernos === */
.tabs {
  background: rgba(20,25,45,.6);
  border: 1px solid rgba(120,80,255,.2);
  border-radius: 14px;
  padding: .4rem;
  gap: .3rem;
  margin-bottom: 1.5rem;
}
.tab {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.1rem;
  font-size: .88rem;
}
.tab-icon { font-size: 1.1rem; }
.tab-badge {
  background: rgba(120,80,255,.35);
  color: #fff;
  font-size: .65rem;
  padding: .1rem .45rem;
  border-radius: 10px;
  font-weight: 800;
  margin-left: .2rem;
}
.tab-badge.green { background: rgba(60,220,150,.35); color: #3ddc97; }
.tab.active .tab-badge { background: rgba(255,255,255,.25); color: #fff; }

/* === Section head === */
.section-head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.section-head h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.section-sub { color: #7a8aa8; font-size: .9rem; }

/* ============================================
   TIENDA MODERNA
   ============================================ */
.grid-mines-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
}
.mine-card-modern {
  background: linear-gradient(160deg, rgba(30,20,60,.95), rgba(15,20,40,.95));
  border: 2px solid rgba(120,80,255,.3);
  border-radius: 18px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all .35s cubic-bezier(.34,1.56,.64,1);
}
.mine-card-modern:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #9b6cff;
  box-shadow: 0 20px 50px rgba(120,80,255,.35);
}
.mine-card-modern.best-value {
  border-color: #ffd633;
  background: linear-gradient(160deg, rgba(60,40,20,.95), rgba(30,20,40,.95));
  box-shadow: 0 0 40px rgba(255,214,51,.2);
}
.mine-card-modern.best-value:hover {
  box-shadow: 0 20px 60px rgba(255,214,51,.4);
}

.ribbon {
  position: absolute;
  top: 12px; right: -32px;
  padding: .3rem 2.2rem;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .8px;
  transform: rotate(35deg);
  box-shadow: 0 4px 12px rgba(0,0,0,.4);
  z-index: 2;
}
.ribbon.gold { background: linear-gradient(90deg, #ffd633, #ff8a00); color: #4a2e00; }
.ribbon.popular { background: linear-gradient(90deg, #ff5f7e, #ff8a5f); color: #fff; }

.mc-emoji-wrap {
  width: 90px; height: 90px;
  margin: 0 auto .8rem;
  background: radial-gradient(circle, rgba(120,80,255,.3), transparent 70%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.mc-emoji-wrap::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(155,108,255,.5), transparent);
  animation: rotate 6s linear infinite;
  z-index: -1;
}
.mc-emoji { font-size: 3.2rem; filter: drop-shadow(0 6px 16px rgba(120,80,255,.5)); }

.mine-card-modern h3 {
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: #d0d8ff;
}
.mc-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffd24a;
  margin-bottom: 1rem;
  text-shadow: 0 4px 14px rgba(255,210,74,.3);
}
.mc-price span { font-size: .8rem; color: #a0b0d0; font-weight: 500; }

.mc-features {
  text-align: left;
  margin-bottom: 1.2rem;
  display: grid;
  gap: .5rem;
}
.mc-feature {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: #a0b0d0;
  padding: .4rem .6rem;
  background: rgba(10,15,30,.5);
  border-radius: 8px;
}
.mc-feature.highlight {
  background: rgba(60,220,150,.1);
  border: 1px solid rgba(60,220,150,.25);
  color: #d0d8ff;
}
.mc-feature.highlight b { color: #3ddc97; }
.mc-feature.roi {
  background: rgba(155,108,255,.1);
  border: 1px solid rgba(155,108,255,.25);
}
.mc-feature.roi b { color: #9b6cff; }
.mc-f-icon { font-size: 1rem; }

.btn-mine-modern {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #7b4dff, #00c8ff);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
  transition: all .3s;
  box-shadow: 0 8px 24px rgba(120,80,255,.4);
  position: relative;
  overflow: hidden;
}
.btn-mine-modern::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transition: left .5s;
}
.btn-mine-modern:hover::before { left: 100%; }
.btn-mine-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(120,80,255,.6);
}

/* ============================================
   BILLETERA MODERNA
   ============================================ */
.wallet-grid-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
}
.wallet-card {
  background: linear-gradient(160deg, rgba(30,20,60,.95), rgba(15,20,40,.95));
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 18px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  transition: .3s;
}
.wallet-card:hover {
  transform: translateY(-4px);
  border-color: #9b6cff;
  box-shadow: 0 12px 40px rgba(120,80,255,.25);
}
.deposit-card { border-top: 3px solid #3ddc97; }
.withdraw-card { border-top: 3px solid #ff5f7e; }

.wc-head {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin-bottom: 1.2rem;
}
.wc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.wc-icon.green { background: linear-gradient(135deg, rgba(60,220,150,.3), rgba(0,212,255,.2)); }
.wc-icon.red   { background: linear-gradient(135deg, rgba(255,80,120,.3), rgba(255,155,95,.2)); }
.wc-head h4 { margin: 0 0 .2rem; font-size: 1.1rem; }
.wc-sub { font-size: .78rem; color: #7a8aa8; margin: 0; }

.wallet-address-box {
  background: rgba(10,15,30,.6);
  border: 1px dashed rgba(60,220,150,.4);
  border-radius: 12px;
  padding: .8rem 1rem;
  margin-bottom: 1rem;
}
.wallet-address-box label {
  font-size: .72rem;
  color: #7a8aa8;
  text-transform: uppercase;
  letter-spacing: .5px;
  display: block;
  margin-bottom: .4rem;
}
.wallet-addr-row {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.wallet-addr-row code {
  flex: 1;
  font-family: monospace;
  font-size: .78rem;
  color: #3ddc97;
  word-break: break-all;
  line-height: 1.4;
}
.btn-copy {
  background: rgba(60,220,150,.2);
  color: #3ddc97;
  border: 1px solid rgba(60,220,150,.4);
  padding: .4rem .7rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: .2s;
  flex-shrink: 0;
}
.btn-copy:hover { background: rgba(60,220,150,.35); transform: scale(1.05); }

.wc-info {
  background: rgba(255,214,51,.08);
  border-left: 3px solid #ffd633;
  border-radius: 6px;
  padding: .7rem 1rem;
  margin-bottom: 1rem;
  font-size: .8rem;
  color: #d0d8ff;
  line-height: 1.5;
}

.wc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-bottom: 1.2rem;
}
.wc-stat {
  background: rgba(10,15,30,.5);
  border-radius: 10px;
  padding: .6rem;
  text-align: center;
}
.wc-stat small {
  display: block;
  font-size: .68rem;
  color: #7a8aa8;
  margin-bottom: .2rem;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.wc-stat b { font-size: .85rem; color: #d0d8ff; }

.wc-form label {
  display: block;
  margin-bottom: .8rem;
}
.wc-form label span {
  display: block;
  font-size: .78rem;
  color: #a0b0d0;
  margin-bottom: .3rem;
}
.wc-form input {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(10,15,30,.9);
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 10px;
  color: #fff;
  font-size: .95rem;
  transition: .2s;
}
.wc-form input:focus { outline: none; border-color: #9b6cff; box-shadow: 0 0 0 3px rgba(155,108,255,.15); }

/* ============================================
   REFERIDOS MODERNO
   ============================================ */
.referral-hero {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(160deg, rgba(155,108,255,.15), rgba(0,212,255,.08));
  border: 1px solid rgba(155,108,255,.3);
  border-radius: 18px;
  margin-bottom: 1.5rem;
}
.rh-icon { font-size: 3rem; margin-bottom: .6rem; animation: mineBob 3s ease-in-out infinite; }
.referral-hero h2 { font-size: 1.6rem; margin-bottom: .5rem; }
.referral-hero p { color: #a0b0d0; font-size: .95rem; }

.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.rs-item {
  background: rgba(20,25,45,.8);
  border: 1px solid rgba(120,80,255,.25);
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
}
.rs-icon { font-size: 1.8rem; margin-bottom: .4rem; }
.rs-num {
  font-size: 1.6rem;
  font-weight: 900;
  background: linear-gradient(90deg, #9b6cff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: .2rem;
}
.rs-label { font-size: .75rem; color: #7a8aa8; text-transform: uppercase; letter-spacing: .5px; }

.referral-card {
  background: linear-gradient(160deg, rgba(30,20,60,.95), rgba(15,20,40,.95));
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 18px;
  padding: 1.6rem;
}
.referral-card > label {
  display: block;
  font-size: .78rem;
  color: #a0b0d0;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .5rem;
}
.ref-code-box {
  text-align: center;
  background: rgba(10,15,30,.6);
  border: 2px dashed rgba(255,214,51,.4);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}
.ref-code {
  font-family: monospace;
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffd633;
  letter-spacing: 4px;
  text-shadow: 0 4px 14px rgba(255,214,51,.4);
}

.ref-link-box {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.2rem;
}
.ref-link-box input {
  flex: 1;
  padding: .7rem 1rem;
  background: rgba(10,15,30,.9);
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 10px;
  color: #7cc4ff;
  font-family: monospace;
  font-size: .8rem;
}

.share-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: .6rem;
}
.share-btn {
  padding: .7rem 1rem;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  text-align: center;
  transition: .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  color: #fff;
}
.share-btn.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
.share-btn.telegram { background: linear-gradient(135deg, #229ED9, #0088cc); }
.share-btn.twitter  { background: linear-gradient(135deg, #1DA1F2, #0d8ddb); }
.share-btn.copy     { background: rgba(120,80,255,.3); border: 1px solid rgba(120,80,255,.5); }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.3); }

/* ============================================
   HISTORIAL MODERNO
   ============================================ */
.hist-table-wrap {
  background: rgba(20,25,45,.6);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(120,80,255,.2);
}
.hist-table-modern {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.hist-table-modern th {
  background: rgba(120,80,255,.15);
  color: #d0d8ff;
  padding: .9rem 1rem;
  text-align: left;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 700;
}
.hist-table-modern td {
  padding: .8rem 1rem;
  border-bottom: 1px solid rgba(120,80,255,.1);
  color: #d0d8ff;
}
.hist-table-modern tbody tr { transition: background .2s; }
.hist-table-modern tbody tr:hover { background: rgba(120,80,255,.05); }
.hist-table-modern tbody tr:last-child td { border-bottom: none; }

.hist-type {
  padding: .3rem .7rem;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-block;
}
.hist-type.buy      { background: rgba(255,155,95,.2); color: #ff9b5f; }
.hist-type.profit   { background: rgba(60,220,150,.2); color: #3ddc97; }
.hist-type.withdraw { background: rgba(255,80,120,.2); color: #ff7090; }
.hist-type.deposit  { background: rgba(0,212,255,.2); color: #00d4ff; }
.hist-type.ref      { background: rgba(255,214,51,.2); color: #ffd633; }
.hist-type.admin    { background: rgba(155,108,255,.2); color: #9b6cff; }
.hist-type.refund   { background: rgba(120,120,180,.2); color: #a0b0d0; }
.hist-type.other    { background: rgba(120,80,255,.15); color: #a0b0d0; }

.hist-table-modern .pos { color: #3ddc97; font-weight: 800; }
.hist-table-modern .neg { color: #ff7090; font-weight: 800; }
.hist-table-modern small { font-size: .7rem; opacity: .7; }

/* === Responsive === */
@media (max-width: 600px) {
  .card-stat { padding: 1rem; }
  .cs-icon { width: 44px; height: 44px; font-size: 1.3rem; }
  .cs-content h2 { font-size: 1.15rem; }
  .referral-stats { grid-template-columns: 1fr; }
  .wc-stats { grid-template-columns: 1fr; }
  .ref-code { font-size: 1.4rem; letter-spacing: 2px; }
  .grid-mines-modern { grid-template-columns: 1fr; }
}
/* ============================================
   LANDING MODERNA
   ============================================ */

/* === HEADER === */
.landing header {
  padding: 1rem 2rem;
  transition: all .3s;
}
.landing header.scrolled {
  background: rgba(10,14,26,.95);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  padding: .7rem 2rem;
}
.landing header .logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.4rem;
}
.logo-icon {
  display: inline-block;
  animation: logoBounce 2s ease-in-out infinite;
}
@keyframes logoBounce {
  0%,100% { transform: translateY(0) rotate(-10deg); }
  50%     { transform: translateY(-3px) rotate(5deg); }
}
.landing nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.landing nav a {
  position: relative;
  padding: .3rem 0;
}
.landing nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, #9b6cff, #00d4ff);
  transition: width .3s;
}
.landing nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* === HERO === */
.hero {
  padding: 4rem 1.5rem 3rem;
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(60,220,150,.12);
  border: 1px solid rgba(60,220,150,.3);
  color: #3ddc97;
  padding: .4rem 1rem;
  border-radius: 30px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 0 rgba(60,220,150,.6);
  animation: pulseDot 1.5s infinite;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.hero-sub {
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 2rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem 1.4rem;
  border-radius: 10px;
  background: rgba(120,80,255,.1);
  border: 1px solid rgba(120,80,255,.4);
  color: #d0d8ff;
  font-weight: 700;
  transition: .2s;
}
.btn-ghost:hover { background: rgba(120,80,255,.2); transform: translateY(-2px); }

.hero-trust {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.ht-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: #a0b0d0;
}
.ht-icon { font-size: 1.1rem; }

.stats-row {
  background: rgba(20,25,45,.5);
  border: 1px solid rgba(120,80,255,.2);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.stat b { font-size: 1.5rem; }
.stat span { font-size: .78rem; }

/* === SECTION HEAD === */
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: .5rem;
}
.section-sub {
  color: #a0b0d0;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* === GRID MINAS MODERN (reutiliza clases del dashboard) === */
.grid-mines-modern {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === VIP PREVIEW === */
.vip-preview {
  text-align: center;
  max-width: 1000px;
  margin: 5rem auto;
  padding: 0 1.5rem;
}
.vip-preview-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}
.vip-mini {
  background: linear-gradient(160deg, rgba(30,20,60,.9), rgba(15,20,40,.9));
  border: 2px solid rgba(120,80,255,.3);
  border-radius: 16px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  min-width: 130px;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  position: relative;
  overflow: hidden;
}
.vip-mini::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, var(--vip-color), transparent 70%);
  opacity: .15;
}
.vip-mini:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--vip-color);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--vip-color) 40%, transparent);
}
.vip-mini-icon {
  font-size: 2.5rem;
  margin-bottom: .5rem;
  position: relative;
}
.vip-mini-name {
  font-size: .95rem;
  font-weight: 800;
  color: #d0d8ff;
  margin-bottom: .3rem;
  position: relative;
}
.vip-mini-bonus {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--vip-color);
  position: relative;
  text-shadow: 0 4px 14px color-mix(in srgb, var(--vip-color) 50%, transparent);
}

/* === SOPORTE === */
.btn-telegram {
  background: linear-gradient(135deg, #229ED9, #0088cc);
  color: #fff;
  padding: .7rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  transition: .2s;
  display: inline-block;
}
.btn-telegram:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(34,158,217,.4); }

/* === CTA FINAL === */
.final-cta {
  text-align: center;
  margin: 5rem auto;
  padding: 3rem 2rem;
  max-width: 800px;
  background: linear-gradient(160deg, rgba(120,80,255,.15), rgba(0,212,255,.08));
  border: 1px solid rgba(120,80,255,.3);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(120,80,255,.15), transparent 30%);
  animation: rotate 20s linear infinite;
  z-index: 0;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: .6rem;
}
.final-cta p {
  color: #a0b0d0;
  margin-bottom: 1.5rem;
}

/* === FOOTER SOCIAL === */
.footer-social {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(120,80,255,.15);
  border: 1px solid rgba(120,80,255,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: .2s;
}
.footer-social a:hover {
  background: rgba(120,80,255,.3);
  transform: translateY(-3px);
}

/* === AUTH MODAL MODERNO === */
.auth-tabs {
  display: flex;
  gap: .4rem;
  background: rgba(10,15,30,.6);
  padding: .3rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}
.auth-tab {
  flex: 1;
  padding: .6rem;
  border-radius: 9px;
  background: transparent;
  border: none;
  color: #a0b0d0;
  font-weight: 700;
  cursor: pointer;
  font-size: .88rem;
  transition: .2s;
}
.auth-tab.active {
  background: linear-gradient(135deg, #7b4dff, #00c8ff);
  color: #fff;
  box-shadow: 0 4px 14px rgba(120,80,255,.4);
}
.modal-box h2 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}
.modal-box label {
  display: block;
  margin-bottom: .9rem;
  font-size: .82rem;
  color: #a0b0d0;
  text-align: left;
}
.modal-box label input {
  margin-top: .3rem;
  margin-bottom: 0;
}

/* === RESPONSIVE === */
@media (max-width: 800px) {
  .nav-toggle { display: block; }
  .landing nav {
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(10,14,26,.98);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: .8rem;
    border-bottom: 1px solid rgba(120,80,255,.3);
    transform: translateY(-150%);
    transition: transform .3s;
    z-index: 100;
  }
  .landing nav.open { transform: translateY(0); }
  .landing nav a { padding: .8rem 0; border-bottom: 1px solid rgba(120,80,255,.1); }
  .landing nav a::after { display: none; }
  .landing nav .btn-glow { margin-top: .5rem; }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 1rem 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn-glow.big { width: 100%; }
  .stats-row { padding: 1rem; }
  .stat b { font-size: 1.2rem; }
  .stats-row { gap: 1rem; }
  .vip-mini { min-width: 100px; padding: 1rem; }
  .vip-mini-icon { font-size: 2rem; }
  .final-cta { margin: 3rem 1rem; padding: 2rem 1rem; }
}
/* ============================================
   NUEVOS FEATURES DE MINAS
   ============================================ */

.mc-feature.recover {
  background: rgba(255,214,51,.12);
  border: 1px solid rgba(255,214,51,.3);
}
.mc-feature.recover b {
  color: #ffd633;
  font-weight: 800;
}

/* ============================================
   RACHA — Widget en el header
   ============================================ */

.streak-widget {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, rgba(255,120,0,.2), rgba(255,214,51,.15));
  border: 1px solid rgba(255,160,50,.4);
  padding: .45rem .9rem;
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 800;
  color: #ffb84d;
  transition: .3s;
  cursor: default;
  position: relative;
}
.streak-widget:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255,160,50,.3);
}
.streak-widget .fire {
  font-size: 1.1rem;
  animation: fireFlicker 1.5s ease-in-out infinite;
  display: inline-block;
}
@keyframes fireFlicker {
  0%,100% { transform: scale(1) rotate(-3deg); }
  50%     { transform: scale(1.15) rotate(3deg); }
}
.streak-widget .streak-num {
  color: #fff;
  font-size: .95rem;
}
.streak-widget.milestone {
  background: linear-gradient(135deg, rgba(255,80,120,.3), rgba(255,160,50,.3));
  border-color: #ffb84d;
  animation: streakGlow 1.5s ease-in-out infinite;
}
@keyframes streakGlow {
  0%,100% { box-shadow: 0 0 20px rgba(255,160,50,.5); }
  50%     { box-shadow: 0 0 40px rgba(255,160,50,.9); }
}

/* Info de bonus de racha en el panel */
.streak-info-panel {
  background: linear-gradient(160deg, rgba(60,30,20,.9), rgba(30,20,40,.9));
  border: 1px solid rgba(255,160,50,.35);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.streak-info-panel .sip-icon {
  font-size: 2rem;
  animation: fireFlicker 1.5s ease-in-out infinite;
}
.streak-info-panel .sip-content { flex: 1; min-width: 200px; }
.streak-info-panel h4 {
  margin: 0 0 .3rem;
  font-size: .95rem;
  color: #ffb84d;
}
.streak-info-panel p {
  margin: 0;
  font-size: .82rem;
  color: #d0d8ff;
}
.streak-info-panel .sip-milestones {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.sip-milestone {
  background: rgba(0,0,0,.3);
  padding: .3rem .7rem;
  border-radius: 8px;
  font-size: .75rem;
  color: #a0b0d0;
  border: 1px solid rgba(255,160,50,.2);
}
.sip-milestone.reached {
  background: rgba(255,160,50,.25);
  border-color: #ffb84d;
  color: #ffd633;
  font-weight: 700;
}

/* ============================================
   BOTÓN DE REINVERSIÓN
   ============================================ */

.btn-reinvest {
  background: linear-gradient(135deg, #ff8a00, #ff5fb3);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 10px;
  border: none;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
  width: 100%;
  font-size: .9rem;
  position: relative;
  overflow: hidden;
  margin-top: .5rem;
  box-shadow: 0 4px 16px rgba(255,138,0,.4);
}
.btn-reinvest::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transform: translateX(-100%);
  animation: shineSlide 3s infinite;
}
@keyframes shineSlide {
  to { transform: translateX(100%); }
}
.btn-reinvest:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,138,0,.6);
}

/* Recompensa flotante de racha */
.streak-floater {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff8a00, #ffd633);
  color: #4a2e00;
  padding: 1rem 1.8rem;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 20px 60px rgba(255,138,0,.6);
  z-index: 9999;
  animation: streakPop 3s ease-out forwards;
  text-align: center;
  pointer-events: none;
}
.streak-floater small {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  margin-top: .3rem;
  opacity: .9;
}
@keyframes streakPop {
  0%   { opacity: 0; transform: translateX(-50%) scale(.5) translateY(-30px); }
  20%  { opacity: 1; transform: translateX(-50%) scale(1.1) translateY(0); }
  70%  { opacity: 1; transform: translateX(-50%) scale(1) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) scale(.9) translateY(-40px); }
}