:root{
  --bg:#080a0f;
  --panel:#11151d;
  --panel2:#151b25;
  --border:#252d3a;
  --text:#f4f6fb;
  --muted:#8e98a8;
  --accent:#f3c75e;
  --accent2:#d59b2d;
  --green:#5ee0a0;
  --red:#ff6b75;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  background:
    radial-gradient(
      circle at 50% -20%,
      #212839,
      var(--bg) 45%
    );
  color:var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.shell{
  max-width:1180px;
  margin:auto;
  padding:24px;
}

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0 36px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.coin{
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:24px;
  color:#1c1503;
  background:
    linear-gradient(
      145deg,
      #ffe69a,
      #c88c24
    );
  box-shadow:
    0 8px 30px
    rgba(243,199,94,.18);
}

h1,
h2,
h3,
p{
  margin-top:0;
}

.brand h1{
  margin:0;
  font-size:20px;
}

.brand p{
  margin:3px 0 0;
  color:var(--muted);
  font-size:12px;
}

.network{
  color:var(--muted);
  font-size:13px;
}

.hero{
  text-align:center;
  max-width:700px;
  margin:45px auto;
}

.hero h2{
  font-size:48px;
  margin-bottom:12px;
}

.hero p{
  color:var(--muted);
  line-height:1.7;
}

.auth-grid,
.wallet-grid{
  display:grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap:20px;
}

.card,
.stat{
  background:
    linear-gradient(
      145deg,
      var(--panel2),
      var(--panel)
    );
  border:1px solid var(--border);
  border-radius:18px;
  padding:24px;
}

.card h3{
  margin-bottom:22px;
}

label{
  display:block;
  margin:16px 0 7px;
  color:var(--muted);
  font-size:13px;
}

input,
textarea{
  width:100%;
  border:1px solid var(--border);
  border-radius:10px;
  background:#090c12;
  color:white;
  padding:13px 14px;
  outline:none;
}

input:focus,
textarea:focus{
  border-color:var(--accent2);
}

button{
  width:100%;
  border:0;
  border-radius:10px;
  margin-top:20px;
  padding:13px 16px;
  cursor:pointer;
  font-weight:700;
  background:var(--accent);
  color:#1c1503;
}

button.secondary{
  background:#222a37;
  color:white;
}

button.ghost{
  width:auto;
  margin:0;
  background:transparent;
  border:1px solid var(--border);
  color:white;
}

.wallet-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px;
}

.eyebrow{
  color:var(--accent);
  font-size:11px;
  font-weight:800;
  letter-spacing:2px;
}

.wallet-head h2{
  margin:5px 0 0;
}

.stats{
  display:grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap:16px;
  margin-bottom:20px;
}

.stat span{
  color:var(--muted);
  display:block;
  font-size:12px;
  margin-bottom:8px;
}

.stat strong{
  font-size:22px;
}

.receive-card{
  text-align:center;
}

.qr{
  width:180px;
  height:180px;
  background:white;
  border-radius:12px;
  padding:10px;
}

.address{
  margin-top:18px;
  padding:12px;
  border-radius:10px;
  background:#090c12;
  color:#cbd2df;
  word-break:break-all;
  font-family:monospace;
  font-size:12px;
}

.history{
  margin-top:20px;
}

.history-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.history-head h3{
  margin:0;
}

.transactions{
  margin-top:20px;
}

.tx{
  border-top:1px solid var(--border);
  padding:14px 0;
  display:grid;
  gap:4px;
}

.tx:first-child{
  border-top:0;
}

.tx-hash{
  color:var(--muted);
  font-family:monospace;
  word-break:break-all;
  font-size:11px;
}

.message{
  color:var(--red);
  margin-top:14px;
  font-size:13px;
}

.hidden{
  display:none !important;
}

.modal{
  position:fixed;
  inset:0;
  background:
    rgba(0,0,0,.78);
  display:grid;
  place-items:center;
  padding:20px;
  z-index:10;
}

.modal-card{
  width:min(600px,100%);
  border-radius:18px;
  background:var(--panel);
  border:1px solid var(--border);
  padding:28px;
}

.seed{
  padding:18px;
  background:#090c12;
  border-radius:10px;
  font-family:monospace;
  line-height:1.7;
  color:var(--accent);
  user-select:all;
}

footer{
  text-align:center;
  color:var(--muted);
  padding:40px 0 10px;
  font-size:12px;
}

@media(max-width:760px){

  .auth-grid,
  .wallet-grid,
  .stats{
    grid-template-columns:1fr;
  }

  .hero h2{
    font-size:34px;
  }

  header{
    align-items:flex-start;
    gap:15px;
  }

}

.logo{
  width:58px;
  height:58px;
  object-fit:contain;
  border-radius:50%;
}

.auth-tabs,
.restore-tabs{
  display:flex;
  gap:10px;
  margin:0 auto 22px;
  max-width:760px;
}

.tab,
.restore-tab{
  margin:0;
  background:#171d27;
  border:1px solid var(--border);
  color:var(--muted);
}

.tab.active,
.restore-tab.active{
  background:var(--accent);
  color:#17120a;
  border-color:var(--accent);
}

.auth-panel{
  max-width:760px;
  margin:auto;
}

.restore-pane{
  max-width:760px;
  margin:auto;
}


/* ===== FEELCOIN ECOSYSTEM NAV ===== */
.ecosystem-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:6px;
  margin-left:auto;
  margin-right:18px;
}

.ecosystem-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:9px 13px;

  border:1px solid var(--border);
  border-radius:10px;

  background:rgba(20,27,38,.72);
  color:var(--text);

  text-decoration:none;
  font-size:13px;
  font-weight:700;

  transition:.2s ease;
}

.ecosystem-nav a:hover{
  border-color:var(--accent2);
  color:var(--accent);
  transform:translateY(-1px);
}

@media(max-width:800px){
  header{
    flex-wrap:wrap;
    gap:12px;
  }

  .ecosystem-nav{
    order:3;
    width:100%;
    margin:0;
  }

  .ecosystem-nav a{
    flex:1 1 30%;
  }

  .network{
    margin-left:auto;
  }
}

@media(max-width:480px){
  .ecosystem-nav a{
    flex:1 1 100%;
  }
}


/* =========================================================
   FEELCOIN WEB WALLET — FULL GLASS THEME
   ========================================================= */

header{
  padding:16px 20px 18px !important;

  background:rgba(13,20,34,.68);

  border:1px solid rgba(255,255,255,.075);
  border-radius:18px;

  backdrop-filter:blur(16px) saturate(115%);
  -webkit-backdrop-filter:blur(16px) saturate(115%);

  box-shadow:
    0 10px 35px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.03);
}


.card,
.stat{
  background:
    linear-gradient(
      180deg,
      rgba(17,26,43,.68),
      rgba(10,17,30,.60)
    ) !important;

  border:1px solid rgba(255,255,255,.075) !important;

  backdrop-filter:blur(14px) saturate(110%);
  -webkit-backdrop-filter:blur(14px) saturate(110%);

  box-shadow:
    0 10px 30px rgba(0,0,0,.16),
    inset 0 1px 0 rgba(255,255,255,.025);
}


input,
textarea{
  background:rgba(8,16,29,.56) !important;

  border:
    1px solid
    rgba(255,255,255,.085) !important;

  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.02);
}


input:focus,
textarea:focus{
  border-color:
    rgba(243,199,94,.65) !important;

  box-shadow:
    0 0 0 2px
    rgba(243,199,94,.07);
}


.address,
.seed{
  background:
    rgba(8,16,29,.54) !important;

  border:
    1px solid
    rgba(255,255,255,.055);

  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}


.modal{
  background:
    rgba(2,5,10,.66) !important;

  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}


.modal-card{
  background:
    linear-gradient(
      180deg,
      rgba(17,26,43,.86),
      rgba(10,17,30,.82)
    ) !important;

  border:
    1px solid
    rgba(255,255,255,.08) !important;

  backdrop-filter:blur(18px) saturate(115%);
  -webkit-backdrop-filter:blur(18px) saturate(115%);

  box-shadow:
    0 20px 60px
    rgba(0,0,0,.35);
}


.tab,
.restore-tab{
  background:
    rgba(17,29,43,.60) !important;

  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}


.tab.active,
.restore-tab.active{
  background:
    linear-gradient(
      135deg,
      #f3c75e,
      #d59b2d
    ) !important;
}


button.secondary{
  background:
    rgba(34,42,55,.65) !important;

  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}


button.ghost{
  background:
    rgba(8,16,29,.32) !important;

  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}


.ecosystem-nav a{
  background:
    rgba(13,20,34,.52) !important;

  backdrop-filter:
    blur(10px) saturate(110%);

  -webkit-backdrop-filter:
    blur(10px) saturate(110%);
}


footer{
  margin-top:30px;
  padding:18px 20px !important;

  background:
    rgba(8,14,24,.30);

  border:
    1px solid
    rgba(255,255,255,.04);

  border-radius:14px;

  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}


/* Preserve QR readability */
.qr{
  background:white !important;
}


/* =========================================================
   END FEELCOIN WEB WALLET — FULL GLASS THEME
   ========================================================= */

