/* GrowHouse styles.css (Fix) */
:root{
  --bg:#0b0f14;
  --panel:#101824;
  --panel2:#0f1620;
  --border:rgba(255,255,255,.10);
  --muted:#9aa7b4;
  --text:#eaf2ff;
  --acc:#57f287;
  --bad:#ff5c7a;
  --warn:#ffcc66;
  --shadow:0 18px 55px rgba(0,0,0,.45);
  --radius:18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(87,242,135,.12), transparent 55%),
    radial-gradient(1000px 650px at 85% 15%, rgba(92,180,255,.10), transparent 55%),
    radial-gradient(900px 600px at 50% 120%, rgba(255,204,102,.08), transparent 55%),
    var(--bg);
}
img{max-width:100%;height:auto;display:block}
.muted{color:var(--muted)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

.topbar{
  position:sticky;top:0;z-index:10;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(11,15,20,.82), rgba(11,15,20,.55));
  border-bottom:1px solid rgba(255,255,255,.06);
  padding:14px 18px;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
}
.brand{display:flex;align-items:center;gap:12px;min-width:240px}
.logo{width:44px;height:44px;border-radius:12px;box-shadow:0 0 25px rgba(87,242,135,.15)}
.title{font-weight:900;letter-spacing:.2px}
.subtitle{font-size:12px;color:var(--muted)}
.walletBox{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:260px}

.container{max-width:1100px;margin:0 auto;padding:18px}
.grid{display:grid;grid-template-columns:1.2fr .8fr;gap:16px;align-items:start}

.card{
  background: rgba(16,24,36,.88);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
}
.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.between{justify-content:space-between}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);font-size:13px;
}
.btn{
  cursor:pointer;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 12px;border-radius:14px;
  font-weight:800;
  transition: transform .05s ease, filter .12s ease, border-color .12s ease;
}
.btn:hover{filter:brightness(1.08);border-color:rgba(255,255,255,.18)}
.btn:active{transform: translateY(1px)}
.btn.primary{background: rgba(87,242,135,.12);border-color: rgba(87,242,135,.22)}
.divider{height:1px;background:rgba(255,255,255,.08);margin:14px 0}
.small{font-size:12px}

.growroom{position:relative;border-radius:16px;overflow:hidden;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.22)}
.hero{width:100%;aspect-ratio:16/9;object-fit:cover}
.harvestBtn{
  position:absolute;right:14px;bottom:14px;
  display:flex;align-items:center;gap:10px;
  border-radius: 16px;padding:12px 14px;
  border:1px solid rgba(87,242,135,.22);
  background: rgba(87,242,135,.12);
  color:var(--text);font-weight:900;
}
.harvestBtn img{width:18px;height:18px}

.stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.stat{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:12px}
.stat .label{font-size:12px;color:var(--muted)}
.stat .value{font-size:20px;font-weight:900;margin-top:4px}

.upgradeList{display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px}
.upgrade{display:flex;gap:12px;border-radius:16px;padding:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.05)}
.upgrade img{width:54px;height:54px;border-radius:14px;object-fit:cover;border:1px solid rgba(255,255,255,.08)}
.upgrade .name{font-weight:900}
.upgrade .desc{color:var(--muted);font-size:12px;margin-top:2px}
.upgrade .meta{display:flex;gap:10px;margin-top:8px;flex-wrap:wrap;color:var(--muted);font-size:12px}

.eventCard{display:flex;gap:12px;align-items:center;border-radius:16px;padding:12px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.05)}
.eventCard .icon{width:40px;height:40px;border-radius:12px;border:1px solid rgba(255,255,255,.08)}
.footer{margin-top:18px;text-align:center}

@media (max-width:980px){
  .grid{grid-template-columns:1fr}
  .walletBox{align-items:flex-start}
}
@media (max-width:520px){
  .stats{grid-template-columns:1fr}
  .btn{width:100%}
  .harvestBtn{left:14px;right:14px;justify-content:center}
}
