body {
  background:
    radial-gradient(1100px 520px at 50% -160px, rgba(73, 176, 255, .09), transparent 70%),
    var(--page);
}
.wrap { width: min(1200px, 100%); margin: 0 auto; padding: 0 20px; }
main { min-height: calc(100vh - 220px); }

/* navigáció */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.nav.solid { background: rgba(13, 13, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .04); }
.nav-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 28px; height: 28px; filter: drop-shadow(0 0 10px rgba(73, 176, 255, .45)); }
.brand b { color: var(--accent); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: var(--r1);
  color: var(--text2); font-size: 14px; font-weight: 500; transition: color .2s, background .2s;
}
.nav-links a i { font-size: 13px; opacity: .85; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-links a.active { color: color-mix(in srgb, var(--accent), #fff 25%); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.nav-links a.hl { color: color-mix(in srgb, var(--accent), #fff 20%); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-user { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.burger { display: none; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 150px 0 90px; min-height: 640px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg .glow { position: absolute; left: 50%; top: 60px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(73, 176, 255, .16), transparent); }
.hero-bg .grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%);
}
.hero-bg svg.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 300px; }
.hero-bg .fade { position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--page)); }
.hero-inner { display: grid; justify-items: center; text-align: center; gap: 18px; }
.hero-logo { width: 92px; height: 92px; filter: drop-shadow(0 0 28px rgba(73, 176, 255, .55)); animation: hero-float 6s ease-in-out infinite; }
@keyframes hero-float { 50% { transform: translateY(-8px); } }
.hero h1 { margin: 6px 0 0; font-size: clamp(44px, 8vw, 84px); line-height: 1; font-weight: 600; letter-spacing: -.02em; }
.hero h1 b { font-weight: 600; color: var(--accent); text-shadow: 0 0 40px rgba(73, 176, 255, .35); }
.hero .lead { margin: 0; font-size: clamp(18px, 2.4vw, 26px); font-weight: 500; }
.hero .sub { margin: 0; max-width: 620px; color: var(--text2); font-size: 16px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px; border-radius: 17px;
  background: rgba(15, 15, 18, .7); font-size: 13px; font-weight: 500; color: var(--text2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.live-pill b { color: var(--text); font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.ip-box { --rr: var(--r1); display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px 0 16px; border-radius: var(--r1); background: rgba(10, 10, 12, .6); cursor: pointer; border: 0; }
.ip-box .lbl { font-size: 11px; color: var(--text3); letter-spacing: .08em; text-transform: uppercase; }
.ip-box code { font-family: var(--font); font-weight: 500; font-size: 15px; color: var(--text); }
.ip-box .icon-box { width: 34px; height: 34px; font-size: 13px; }

/* szekciók */
.section { padding: 64px 0; scroll-margin-top: 70px; }
.section-title { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 30px; font-size: 26px; font-weight: 600; text-align: center; }
.section-title i { color: var(--accent); font-size: 22px; }
.section-sub { text-align: center; color: var(--text2); margin: -20px auto 30px; max-width: 640px; }

.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; align-items: stretch; }
.card { padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

/* csatlakozás */
.steps { counter-reset: s; display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--r1); background: rgba(25, 25, 29, .6); font-size: 15px; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: var(--r1);
  background: color-mix(in srgb, var(--accent) 22%, var(--base)); color: color-mix(in srgb, var(--accent), #fff 20%); font-weight: 600; font-size: 14px;
}
.steps li span { flex: 1; }
.steps a.link { color: color-mix(in srgb, var(--accent), #fff 15%); font-weight: 500; font-size: 13px; white-space: nowrap; }
.steps a.link:hover { text-decoration: underline; }

/* élő státusz */
.status-big { display: flex; align-items: baseline; gap: 8px; font-size: 44px; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1; }
.status-big small { font-size: 20px; color: var(--text3); }

/* grafikon */
.chart-box { position: relative; height: 320px; margin-top: 4px; }
.chart-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; }
.chart-tip {
  position: absolute; z-index: 3; pointer-events: none; padding: 9px 12px; border-radius: var(--r1);
  background: rgba(15, 15, 18, .95); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); font-size: 12px; white-space: nowrap;
  opacity: 0; transition: opacity .12s;
}
.chart-tip b { display: block; font-size: 15px; font-weight: 500; color: var(--text); }
.chart-tip span { color: var(--text3); }
.chart-foot { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 13px; color: var(--text3); }
.chart-foot b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }

/* GYIK */
.faq { display: grid; gap: 8px; max-width: 900px; margin: 0 auto; }
.faq details { border-radius: var(--r2); background: rgba(25, 25, 29, .7); transition: background .2s var(--ease); }
.faq details[open] { background: rgba(30, 30, 35, .85); }
.faq summary { --rr: var(--r2); display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; list-style: none; font-weight: 500; border-radius: var(--r2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { margin-left: auto; color: var(--text3); transition: transform .25s var(--ease); }
.faq details[open] .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 18px 18px 64px; color: var(--text2); font-size: 14px; }

/* hírek */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.news-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; min-height: 210px; cursor: pointer; text-align: left; border: 0; color: inherit; }
.news-card h3 { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.3; }
.news-card .ex { margin: 0; color: var(--text2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .meta { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: 12px; color: var(--text3); }
.news-body { color: var(--text2); font-size: 15px; line-height: 1.7; }
.news-body p { margin: 0 0 12px; }

/* toplista */
.top-row .pos {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--r1); flex: none;
  background: rgba(54, 54, 60, .6); color: var(--text2); font-weight: 600; font-size: 13px;
}
.top-row:nth-child(1) .pos { --c: var(--gold); background: color-mix(in srgb, var(--c) 26%, var(--base)); color: color-mix(in srgb, var(--c), #fff 25%); }
.top-row:nth-child(2) .pos { --c: #c8ccd6; background: color-mix(in srgb, var(--c) 20%, var(--base)); color: #e6e8ee; }
.top-row:nth-child(3) .pos { --c: var(--orange); background: color-mix(in srgb, var(--c) 22%, var(--base)); color: color-mix(in srgb, var(--c), #fff 25%); }

/* belső oldalak */
.page { padding: 100px 0 60px; }
.page-head { display: flex; align-items: center; gap: 18px; padding: 24px; margin-bottom: 16px; flex-wrap: wrap; }
.page-head .grow { flex: 1; min-width: 220px; }
.page-head h1 { margin: 4px 0 0; font-size: 28px; font-weight: 600; line-height: 1.15; }
.page-head p { margin: 4px 0 0; color: var(--text2); font-size: 14px; }
.layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start; }
.side { display: grid; gap: 16px; position: sticky; top: 84px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.char-pick { display: grid; gap: 6px; }
.money-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.money-grid .num { font-size: 24px; white-space: nowrap; }
.card, .side, .layout > section, .grid > * { min-width: 0; }

/* belépés */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 100px 16px 40px; }
.auth-card { width: min(420px, 100%); padding: 30px; display: grid; gap: 16px; }
.auth-card .head { display: grid; justify-items: center; gap: 8px; text-align: center; margin-bottom: 4px; }
.auth-card .head img { width: 54px; height: 54px; filter: drop-shadow(0 0 18px rgba(73, 176, 255, .5)); }
.auth-card .head h1 { margin: 6px 0 0; font-size: 24px; font-weight: 600; }
.auth-card .head p { margin: 0; color: var(--text3); font-size: 13px; }
.auth-card .seg { width: 100%; }
.auth-card .seg .chip { flex: 1; height: 36px; }
.form-err { display: none; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r1); font-size: 13px; background: color-mix(in srgb, var(--red) 14%, var(--base)); color: color-mix(in srgb, var(--red), #fff 40%); }
.form-err.show { display: flex; }
.note { font-size: 13px; color: var(--text3); text-align: center; }
.note a { color: color-mix(in srgb, var(--accent), #fff 15%); }

/* lábléc */
.foot { margin-top: 40px; padding: 34px 0; background: rgba(10, 10, 12, .6); }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: var(--text3); }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }

.ban-card { padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.ban-card h3 { margin: 0 0 4px; font-size: 16px; font-weight: 500; }
.ban-card p { margin: 0; font-size: 14px; color: var(--text2); }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.toolbar .input { flex: 1; min-width: 200px; height: 40px; }
.hide { display: none !important; }
.right { margin-left: auto; }
.mt { margin-top: 16px; }
.center { text-align: center; }

@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .burger { display: inline-flex; }
  .nav-links {
    position: absolute; top: 68px; left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch;
    padding: 10px; border-radius: var(--r3); background: rgba(15, 15, 18, .97); box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  }
  .nav-links.open { display: flex; }
  .nav-links a { height: 44px; }
  .nav-right .discord-btn span { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 60px; min-height: 0; }
  .chart-box { height: 240px; }
  .faq .ans { padding-left: 18px; }
  .nav-user .uname { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 23px; }
}
