:root {
  --bg: #080a0f; --panel: rgba(255,255,255,.035); --panel-solid: #11161f; --line: rgba(255,255,255,.08);
  --text: #eef2f8; --muted: #93a0b3; --accent: #5b8cff; --accent2: #9b6cff;
  --discord: #5865f2; --ok: #3fb950; --warn: #e3a008; --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text);
  font: 16px/1.65 -apple-system, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 500px at 50% -8%, rgba(91,140,255,.16), transparent 60%),
    radial-gradient(700px 500px at 85% 0%, rgba(155,108,255,.10), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}
a { color: inherit; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
code { background: rgba(255,255,255,.07); padding: 2px 7px; border-radius: 6px; font-size: 13px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  padding: 15px 28px; background: rgba(8,10,15,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .4px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-center {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; gap: 3px; padding: 4px; border-radius: 30px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.nav-center a { padding: 7px 17px; border-radius: 30px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: .15s; }
.nav-center a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-center a.active { color: var(--text); background: rgba(255,255,255,.1); }

/* profile menu (navbar, saat login) */
.profile { position: relative; }
.profile-trigger {
  display: flex; align-items: center; gap: 9px; padding: 5px 11px 5px 5px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 30px;
  cursor: pointer; color: var(--text); font: inherit; transition: .15s;
}
.profile-trigger:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.profile-av { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--panel-solid); }
.profile-name { font-size: 14px; font-weight: 600; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile .chevron { width: 15px; height: 15px; color: var(--muted); transition: transform .2s; }
.profile.open .chevron { transform: rotate(180deg); }
.profile-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); width: 264px;
  background: var(--panel-solid); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.55); padding: 8px; z-index: 40;
  opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top right;
  pointer-events: none; transition: opacity .16s, transform .16s;
}
.profile.open .profile-dropdown { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.pm-head { display: flex; gap: 12px; padding: 12px 12px 14px; }
.pm-av-lg { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg); box-shadow: 0 0 0 2px var(--panel-solid), 0 0 0 4px color-mix(in srgb, var(--discord) 60%, transparent); }
.pm-meta { min-width: 0; }
.pm-name { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-user { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm-tag { display: inline-block; margin-top: 7px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .3px;
  background: linear-gradient(95deg, rgba(91,140,255,.22), rgba(155,108,255,.22)); color: #bccbff; border: 1px solid rgba(123,163,255,.2); }
.pm-divider { height: 1px; background: var(--line); margin: 4px 6px 6px; }
.pm-item { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 9px; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 500; transition: .12s; }
.pm-item:hover { background: rgba(255,255,255,.06); }
.pm-item svg { width: 17px; height: 17px; color: var(--muted); flex: none; }
.pm-item.danger { color: #ff8a8a; }
.pm-item.danger svg { color: #ff8a8a; }
.pm-item.danger:hover { background: rgba(255,93,93,.1); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, #6a97ff, var(--accent)); color: #fff; text-decoration: none;
  padding: 10px 18px; border: none; border-radius: 11px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: .16s; box-shadow: 0 6px 18px rgba(91,140,255,.25);
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(91,140,255,.35); }
.btn-lg { padding: 14px 26px; font-size: 16px; border-radius: 13px; }
.btn-sm { padding: 7px 14px; font-size: 13px; box-shadow: none; }
.btn-ghost { background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.btn-discord { background: linear-gradient(180deg, #6873f5, var(--discord)); box-shadow: 0 6px 18px rgba(88,101,242,.3); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 96px 24px 56px; text-align: center; }
.hero-inner { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid var(--line);
  border-radius: 30px; color: var(--muted); font-size: 13px; margin-bottom: 24px;
  background: rgba(255,255,255,.04); backdrop-filter: blur(6px);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.hero h1 { font-size: clamp(36px, 6.2vw, 62px); line-height: 1.08; margin: 0 0 20px; letter-spacing: -1.5px; font-weight: 800; }
.grad { background: linear-gradient(95deg, #7aa3ff, var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { color: var(--muted); font-size: 18px; max-width: 580px; margin: 0 auto 32px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-glow {
  position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 700px; z-index: 1;
  background: radial-gradient(closest-side, rgba(91,140,255,.20), rgba(155,108,255,.08), transparent 72%);
  filter: blur(24px); pointer-events: none;
}

/* features strip */
.features {
  max-width: 1000px; margin: 0 auto; padding: 10px 24px 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.feature {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 4px;
}
.feature b { font-size: 15px; margin-top: 4px; }
.feature span { color: var(--muted); font-size: 14px; }
.feat-ic {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 20px;
  background: linear-gradient(180deg, rgba(91,140,255,.22), rgba(155,108,255,.14)); color: #cdd9ff;
}

/* sections */
.section { max-width: 1080px; margin: 0 auto; padding: 56px 24px; }
.section-title { font-size: 30px; text-align: center; margin: 0 0 6px; letter-spacing: -.5px; }
.section-title.left { text-align: left; font-size: 22px; }
.section-sub { color: var(--muted); text-align: center; margin: 0 0 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 18px; }

/* cards (glassy) */
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; backdrop-filter: blur(8px);
}
.card::before { content:""; position:absolute; inset:0 0 auto 0; height:1px; border-radius:var(--radius) var(--radius) 0 0; background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent); }
.product { display: flex; flex-direction: column; gap: 10px; transition: .18s; }
.product:hover { transform: translateY(-4px); border-color: rgba(123,163,255,.5); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.product-name { font-weight: 700; font-size: 17px; }
.product-desc { color: var(--muted); font-size: 14px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.price { font-weight: 700; background: linear-gradient(95deg,#7aa3ff,var(--accent2)); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* portal */
.portal { max-width: 1040px; margin: 0 auto; padding: 48px 24px 80px; }
.portal-title { font-size: 32px; margin: 0 0 6px; letter-spacing: -.8px; }
.portal-sub { color: var(--muted); margin: 0 0 36px; font-size: 16px; }
.accounts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 46px; }

.acct { --acc: var(--accent); display: flex; flex-direction: column; gap: 16px; padding: 22px; min-height: 168px; }
.acct-discord { --acc: var(--discord); }
.acct::before { background: linear-gradient(90deg, transparent, var(--acc), transparent); opacity: .55; }
.acct-head { display: flex; align-items: flex-start; gap: 15px; }
.avatar {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--panel-solid); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px color-mix(in srgb, var(--acc) 55%, transparent);
}
.avatar.placeholder { display: grid; place-items: center; color: var(--muted); font-size: 24px; font-weight: 800; }
.acct-info { flex: 1; min-width: 0; }
.acct-platform { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; color: color-mix(in srgb, var(--acc) 70%, var(--text)); }
.acct-name { font-size: 19px; font-weight: 700; margin: 3px 0 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-id { font-size: 12px; color: var(--muted); font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.acct-head .badge { margin-left: auto; flex: none; }
.acct-foot { color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.acct-action { margin-top: auto; width: 100%; }
.btn-danger { background: rgba(255,93,93,.12); color: #ff8a8a; border: 1px solid rgba(255,93,93,.28); box-shadow: none; }
.btn-danger:hover { background: rgba(255,93,93,.2); box-shadow: none; transform: none; }

/* empty state */
.empty {
  grid-column: 1 / -1; text-align: center; padding: 52px 24px;
  border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(255,255,255,.018);
}
.empty-ic { color: var(--muted); opacity: .7; margin-bottom: 12px; }
.empty-title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.empty-text { color: var(--muted); max-width: 380px; margin: 0 auto 20px; font-size: 14px; }

.badge { padding: 4px 11px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .3px; }
.badge.ok { background: rgba(63,185,80,.14); color: var(--ok); }
.badge.warn { background: rgba(227,160,8,.14); color: var(--warn); }
@media (max-width: 640px) { .accounts { grid-template-columns: 1fr; } }

/* footer */
.site-footer {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 56px auto 0; padding: 28px 24px; border-top: 1px solid var(--line);
}
@media (max-width: 820px) { .nav-center { display: none; } }
@media (max-width: 720px) { .features { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .site-header { padding: 12px 16px; } }
