/* bounty — homepage sections: logo, split hero, community wall, VoiceMaster, feature visuals */
.brand .logo-img { width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.5)); transition: transform .5s var(--spring); }
.brand:hover .logo-img { transform: rotate(-8deg) scale(1.08); }

/* section badge: our own rounded tile with a slow halo */
.badge-ico { border-radius: 30px; position: relative; }
.badge-ico::after {
  content: ''; position: absolute; inset: -12px; border-radius: 40px; border: 1px solid rgba(146,200,210,.12);
  animation: halo 4s ease-in-out infinite;
}
@keyframes halo { 50% { inset: -20px; opacity: .2; } }

/* split hero */
.hero.split-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 150px; }
.orbit { position: relative; aspect-ratio: 1; width: min(460px, 100%); justify-self: center; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(146,200,210,.16); }
.orbit .ring.r2 { inset: 16%; border-style: solid; border-color: rgba(255,255,255,.05); }
.orbit .ring.r3 { inset: 32%; border-color: rgba(146,200,210,.1); }
.orbit .spin { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit .spin.slow { inset: 16%; animation-duration: 60s; animation-direction: reverse; }
.orbit .node {
  position: absolute; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 16px;
  display: grid; place-items: center; font-size: 18px; color: #dbeef1;
  background: var(--glass), var(--card); border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1);
  animation: spin 40s linear infinite reverse; /* stays upright while its ring turns */
}
.orbit .spin.slow .node { animation-duration: 60s; animation-direction: normal; }
.orbit .core-logo {
  position: absolute; inset: 27%; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(146,200,210,.18), transparent 65%);
}
.orbit .core-logo img { width: 100%; height: 100%; object-fit: contain; animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 20px 30px rgba(0,0,0,.55)); }

/* live community wall */
.community { margin-top: 70px; text-align: center; }
.community .powering { color: var(--muted); font-size: 18px; padding: 0 16px; }
.community .powering b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.community .marquee { margin-top: 26px; }
.server {
  display: flex; align-items: center; gap: 16px; padding: 14px 26px 14px 14px; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); border: 1px solid var(--line);
  white-space: nowrap;
}
.server .av {
  width: 58px; height: 58px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center;
  background: var(--glass), #1a2022; color: #e5f3f5; font-weight: 700; font-size: 20px;
  box-shadow: 0 0 0 3px rgba(146,200,210,.08);
}
.server .av img { width: 100%; height: 100%; object-fit: cover; }
.server b { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.server b i { font-size: 15px; color: var(--teal); }
.server span { color: var(--dim); font-size: 14px; }
.community.empty { display: none; }

/* purge console */
.console { position: absolute; inset: 10px 0 0; display: flex; flex-direction: column; gap: 12px; }
.console .toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.console .toggles button {
  display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600;
  background: #161b1c; border: 1px solid #2a3537; color: #cfdfe2; transition: all .3s var(--ease);
}
.console .toggles button.on { background: #1b2b2e; border-color: #4a6a6f; color: #fff; box-shadow: 0 0 0 3px rgba(146,200,210,.08); }
.console .toggles button i { color: #9fcbd3; }
.console .feed { display: grid; gap: 8px; }
.console .line {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; font-size: 14px;
  background: var(--card-2); border: 1px solid var(--line); color: #cbd3d4;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background .3s;
}
.console .line .who { color: #fff; font-weight: 600; }
.console .line .tag { margin-left: auto; font-size: 11px; color: var(--dim); font-family: var(--mono); }
.console .line.gone { opacity: .18; transform: translateX(14px); text-decoration: line-through; }
.console .result { font-size: 13px; color: var(--teal); font-family: var(--mono); min-height: 18px; }

/* VoiceMaster */
.vm { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
.steps { display: grid; gap: 14px; position: sticky; top: 120px; }
.step {
  display: flex; gap: 18px; padding: 22px; border-radius: 26px; border: 1px solid var(--line); background: var(--card);
  opacity: .45; transition: opacity .5s var(--ease), border-color .5s, transform .5s var(--spring); cursor: pointer; text-align: left;
}
.step.on { opacity: 1; border-color: rgba(146,200,210,.22); transform: translateX(6px); }
.step .num {
  flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 700;
  background: var(--glass); color: #fff; border: 1px solid var(--line-2);
}
.step h4 { font-size: 19px; font-weight: 700; }
.step p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.step code { font-family: var(--mono); font-size: 13px; background: rgba(146,200,210,.1); padding: 2px 8px; border-radius: 7px; color: #e6f3f5; }
.vm-stage { display: grid; gap: 18px; }
.dc-side {
  border-radius: 26px; background: #2b2d31; padding: 18px 12px; border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 30px 80px rgba(0,0,0,.45); font-family: 'gg sans', 'Noto Sans', var(--font); min-height: 330px;
}
.dc-side .cat { font-size: 12px; font-weight: 700; color: #949ba4; text-transform: uppercase; letter-spacing: .02em; padding: 6px 8px; display: flex; gap: 6px; align-items: center; }
.dc-ch {
  display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; color: #949ba4; font-size: 15px; font-weight: 500;
  transition: background .3s, color .3s;
}
.dc-ch i { width: 18px; text-align: center; }
.dc-ch.live { color: #f2f3f5; background: rgba(255,255,255,.04); }
.dc-ch .meta { margin-left: auto; font-size: 12px; color: #949ba4; display: flex; gap: 8px; align-items: center; }
.dc-ch .meta .pill { background: #1e1f22; border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.dc-ch.new { animation: chIn .7s var(--spring); }
@keyframes chIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
.dc-users { padding-left: 34px; display: grid; gap: 4px; margin: 2px 0 6px; }
.dc-user { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #dbdee1; animation: chIn .6s var(--spring); }
.dc-user .a { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #0c0d0d; font-weight: 700; }
.dc-user.speaking .a { box-shadow: 0 0 0 2px #23a55a; }
.vm-panel { border-radius: 26px; background: var(--card); border: 1px solid var(--line); padding: 20px; }
.vm-panel .title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.vm-panel .title b { font-size: 16px; }
.vm-panel .title span { color: var(--dim); font-size: 13px; }
.vm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.vm-grid button {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px; border-radius: 16px;
  background: #171b1c; border: 1px solid #242d2f; color: #d7e4e6; font-size: 13px; font-weight: 600;
  transition: transform .35s var(--spring), background .25s, border-color .25s;
}
.vm-grid button i { font-size: 18px; color: #c9d6dc; }
.vm-grid button:hover { transform: translateY(-3px); background: #1c2426; border-color: #3b5155; }
.vm-grid button:active { transform: scale(.94); }
.vm-grid button.flash { background: #203033; border-color: #5c858c; }
.vm-log { margin-top: 12px; font-family: var(--mono); font-size: 13px; color: var(--teal); min-height: 20px; }

/* feature visuals grid */
.fx { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.fx .card { min-height: 390px; padding: 40px; }
.fx .card h3 { font-size: 24px; }
.fx .card p { font-size: 16px; }
.ticket-flow { position: absolute; inset: 20px 0 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.tpanel, .tchan { border-radius: 18px; background: #2b2d31; padding: 16px; font-family: 'gg sans', var(--font); border: 1px solid rgba(255,255,255,.06); }
.tpanel b, .tchan b { color: #f2f3f5; font-size: 14px; display: block; }
.tpanel span, .tchan span { color: #b5bac1; font-size: 13px; display: block; margin-top: 4px; }
.tpanel .tbtn { margin-top: 12px; display: inline-flex; gap: 8px; align-items: center; background: #4e5058; color: #fff; font-size: 13px; padding: 6px 12px; border-radius: 8px; transition: background .3s, transform .3s var(--spring); }
.tpanel .tbtn.press { background: #6d6f78; transform: scale(.94); }
.tflow-arrow { color: var(--teal); font-size: 20px; opacity: .3; transition: opacity .4s, transform .6s var(--spring); }
.tflow-arrow.go { opacity: 1; transform: translateX(6px); }
.tchan { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--spring); }
.tchan.show { opacity: 1; transform: none; }
.tchan .hash { color: #949ba4; font-weight: 600; margin-bottom: 8px; display: block; font-size: 13px; }
.rank { position: absolute; inset: 30px 0 0; display: grid; place-items: center; }
.rank-card { width: min(380px, 100%); border-radius: 22px; padding: 20px; background: linear-gradient(135deg, #182224, #111415); border: 1px solid var(--line-2); display: flex; gap: 16px; align-items: center; }
.rank-card .pfp { width: 64px; height: 64px; border-radius: 50%; background: var(--glass), #1a2224; display: grid; place-items: center; font-size: 24px; color: #dff0f3; flex: none; }
.rank-card .info { flex: 1; min-width: 0; }
.rank-card .row1 { display: flex; justify-content: space-between; font-weight: 700; }
.rank-card .row1 span { color: var(--teal); }
.rank-card .bar { height: 10px; border-radius: 99px; background: #1f2729; margin-top: 12px; overflow: hidden; }
.rank-card .bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #4b676c, #92c8d2); transition: width 1.8s var(--ease); }
.in .rank-card .bar i { width: 78%; }
.rank-card .xp { font-size: 12px; color: var(--dim); margin-top: 6px; font-family: var(--mono); }
.levelup {
  position: absolute; right: 8%; top: 8%; padding: 8px 14px; border-radius: 999px; background: var(--glass), #151b1c;
  border: 1px solid var(--line-2); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(10px) scale(.9);
  transition: opacity .5s var(--ease) 1.8s, transform .6s var(--spring) 1.8s;
}
.in .levelup { opacity: 1; transform: none; }
.gw { position: absolute; inset: 24px 0 0; display: grid; place-items: center; }
.gw-card { width: min(360px, 100%); border-radius: 22px; background: #2b2d31; padding: 20px; font-family: 'gg sans', var(--font); border: 1px solid rgba(255,255,255,.06); }
.gw-card h5 { font-size: 17px; color: #f2f3f5; display: flex; gap: 8px; align-items: center; }
.gw-card h5 i { color: #c9d6dc; }
.gw-card .rowx { display: flex; justify-content: space-between; color: #b5bac1; font-size: 14px; margin-top: 10px; }
.gw-card .rowx b { color: #fff; font-variant-numeric: tabular-nums; }
.gw-card .enter { margin-top: 14px; width: 100%; display: flex; justify-content: center; gap: 8px; align-items: center; padding: 9px; border-radius: 10px; background: #4e5058; color: #fff; font-weight: 600; transition: background .25s, transform .3s var(--spring); }
.gw-card .enter:hover { background: #5d5f68; }
.gw-card .enter:active { transform: scale(.96); }
.gw-card .enter.joined { background: #2f4a4e; }
.slots { position: absolute; inset: 30px 0 0; display: grid; place-items: center; align-content: center; gap: 14px; }
.reels { display: flex; gap: 12px; }
.reel { width: 86px; height: 96px; border-radius: 20px; overflow: hidden; background: #151a1b; border: 1px solid var(--line-2); position: relative; }
.reel .strip { position: absolute; left: 0; right: 0; top: 0; display: grid; transition: transform 1.6s cubic-bezier(.15,.85,.25,1.05); }
.reel .strip i { height: 96px; display: grid; place-items: center; font-size: 34px; color: #c9d6dc; }
.spin-btn { padding: 8px 20px; border-radius: 999px; background: var(--glass), var(--card); border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; transition: transform .3s var(--spring); }
.spin-btn:hover { transform: scale(1.05); }
.slot-res { font-size: 14px; color: var(--muted); min-height: 20px; }

/* dashboard preview */
.dash-prev { border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: #0b0b0b; box-shadow: 0 40px 100px rgba(0,0,0,.5); display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
.dash-prev .side { border-right: 1px solid #1a1a1a; padding: 18px 12px; display: grid; align-content: start; gap: 6px; background: #0d0d0d; }
.dash-prev .side b { font-size: 11px; color: #6b6b6b; margin: 10px 8px 2px; font-weight: 600; }
.dash-prev .side span { font-size: 13px; color: #9a9a9a; padding: 7px 10px; border-radius: 9px; display: flex; gap: 10px; align-items: center; }
.dash-prev .side span.on { background: #1a1a1a; color: #fff; }
.dash-prev .main { padding: 24px; display: grid; gap: 14px; align-content: start; }
.dash-prev .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.dash-prev .kpi { border: 1px solid #1c1c1c; border-radius: 14px; padding: 12px; background: #111; font-size: 11px; color: #8a8a8a; }
.dash-prev .kpi b { display: block; color: #fff; font-size: 18px; margin-top: 4px; }
.dash-prev .chart { border: 1px solid #1c1c1c; border-radius: 16px; background: #111; height: 170px; position: relative; overflow: hidden; }
.dash-prev .chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dash-prev .chart path.l { stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.4s var(--ease); }
.dash-prev.in .chart path.l { stroke-dashoffset: 0; }

@media (max-width: 900px) {
  .hero.split-hero, .vm, .fx { grid-template-columns: 1fr; }
  .orbit { width: min(340px, 90%); }
  .steps { position: static; }
  .dash-prev { grid-template-columns: 1fr; }
  .dash-prev .side { display: none; }
}
@media (max-width: 640px) {
  .vm-grid { grid-template-columns: repeat(3, 1fr); }
  .dash-prev .kpis { grid-template-columns: repeat(2, 1fr); }
  .ticket-flow { grid-template-columns: 1fr; }
  .tflow-arrow { transform: rotate(90deg); justify-self: center; }
  .server { padding-right: 18px; }
  .server .av { width: 46px; height: 46px; }
  .fx .card { padding: 28px; min-height: 420px; }
}

/* ---------------------------------------------------------------------------
   Smooth edges. The old glass used a see-through border over a dark fill, so
   the page showed through as a darker ring. These are solid fills with a
   gradient edge: light along the top, fading away towards the bottom.
   --------------------------------------------------------------------------- */
:root {
  --fill: linear-gradient(180deg, #2d3a3d 0%, #1b2224 100%);
  --fill-hi: linear-gradient(180deg, #354448 0%, #20292b 100%);
  --edge: linear-gradient(180deg, rgba(178, 212, 219, .34) 0%, rgba(178, 212, 219, .08) 55%, rgba(178, 212, 219, .03) 100%);
  --edge-hi: linear-gradient(180deg, rgba(190, 222, 228, .5) 0%, rgba(178, 212, 219, .12) 60%, rgba(178, 212, 219, .05) 100%);
}
.btn {
  border: 1px solid transparent;
  background: var(--fill) padding-box, var(--edge) border-box;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .38);
}
.btn:hover {
  background: var(--fill-hi) padding-box, var(--edge-hi) border-box;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45), 0 0 0 5px rgba(146, 200, 210, .05);
}
.btn i { color: #b9d9df; }
/* No hard-edged sheen: a soft glow that fades in from the top instead. */
.btn::after {
  left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 60%; transform: none;
  background: radial-gradient(120% 100% at 50% 0%, rgba(255, 255, 255, .08), transparent 70%);
  opacity: 0; transition: opacity .4s var(--ease); border-radius: inherit;
}
.btn:hover::after { left: 0; opacity: 1; }

.pillbar a.active,
.filters button.on {
  border: 1px solid transparent;
  background: var(--fill) padding-box, var(--edge) border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
.pillbar a { border: 1px solid transparent; }
.tile .ico, .int .logo, .orbit .node, .step .num, .badge-ico, .spin-btn, .core, .rank-card .pfp, .levelup, .msg.banned .tag {
  border: 1px solid transparent;
  background: var(--fill) padding-box, var(--edge) border-box;
}
.badge-ico { box-shadow: 0 0 0 10px rgba(146, 200, 210, .025), 0 20px 50px rgba(0, 0, 0, .4); }
.server .av { background: var(--fill); }
.search { border: 1px solid transparent; background: linear-gradient(#131616, #101212) padding-box, var(--edge) border-box; }
