/* =========================================================
   RideRPG – közös stílus (weboldal + prémium oldal)
   Stílus: lapos, sötét palaszürke (SeeRPG-jellegű) elrendezés,
   RideRPG színekkel: ezüst + zöld
   ========================================================= */
:root {
  --bg:       #212529;   /* oldal háttér */
  --bg-2:     #1a1d21;   /* sötétebb sávok */
  --card:     #343a40;   /* kártyák */
  --card-2:   #3c434a;   /* kártya hover / fejléc */
  --line:     #454c54;

  --text:     #f1f3f5;
  --muted:    #adb5bd;
  --silver:   #d0d5da;

  --green:    #3ccf6e;   /* fő kiemelő szín */
  --green-2:  #2fb35c;
  --blue:     #4fa9e6;   /* MTA gomb */
  --discord:  #5865f2;

  --radius: 4px;
  --shadow: 0 4px 14px rgba(0,0,0,.28);
  --font: "Poppins", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }
html { background: var(--bg); }
body {
  font-family: var(--font);
  background: transparent;
  position: relative;
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex; flex-direction: column;
}
a { color: var(--green); text-decoration: none; transition: color .2s; }
a:hover { color: #6fe79a; }
img { max-width: 100%; display: block; }

/* ---------- 3D kockaminta a lap nagy részén ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-color: #23272b;
  background-image:
    linear-gradient(30deg, #2a2f34 12%, transparent 12.5%, transparent 87%, #2a2f34 87.5%, #2a2f34),
    linear-gradient(150deg, #2a2f34 12%, transparent 12.5%, transparent 87%, #2a2f34 87.5%, #2a2f34),
    linear-gradient(30deg, #2a2f34 12%, transparent 12.5%, transparent 87%, #2a2f34 87.5%, #2a2f34),
    linear-gradient(150deg, #2a2f34 12%, transparent 12.5%, transparent 87%, #2a2f34 87.5%, #2a2f34),
    linear-gradient(60deg, #2e3338 25%, transparent 25.5%, transparent 75%, #2e3338 75%, #2e3338),
    linear-gradient(60deg, #2e3338 25%, transparent 25.5%, transparent 75%, #2e3338 75%, #2e3338);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
}
/* középen kicsit sötétebb, hogy a szöveg jól olvasható legyen */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 45%, rgba(33,37,41,.75) 0%, rgba(33,37,41,.35) 60%, rgba(33,37,41,.05) 100%);
}
.container { width: min(1344px, 94%); margin: 0 auto; }
main { flex: 1; }

/* ---------- Felső menü (jobbra igazított szöveges linkek) ---------- */
.topbar { position: relative; z-index: 20; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 54px; }
.topbar .mini-logo { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; }
.topbar .mini-logo img { width: 30px; height: 30px; object-fit: contain; }
.topbar .mini-logo b { color: inherit; font-weight: 700; }
.menu { display: flex; gap: 46px; }
.menu a {
  color: var(--muted); font-size: 1.02rem; font-weight: 400;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.menu a:hover { color: var(--text); }
.menu a.store { color: var(--green); }
.menu a.forum { color: var(--silver); }
.menu a.store:hover, .menu a.forum:hover { color: #fff; }

/* ---------- Gombok (lapos, színes) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: .98rem;
  padding: 9px 22px; border-radius: var(--radius); border: none; cursor: pointer;
  color: #fff; background: var(--card-2); transition: filter .2s, transform .2s;
}
.btn:hover { filter: brightness(1.1); color: #fff; }
.btn-green   { background: var(--green); color: #0e2a17; }
.btn-green:hover { color: #0e2a17; }
.btn-blue    { background: var(--blue); }
.btn-discord { background: var(--discord); }
.btn-sm { padding: 6px 14px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 70px 0 30px; position: relative; }
.wordmark {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 800; font-style: italic; letter-spacing: -1px; line-height: 1;
}
.wordmark img { height: 1.1em; width: auto; filter: drop-shadow(0 4px 14px rgba(0,0,0,.5)); }
.wordmark span {
  background: linear-gradient(180deg, #ffffff 0%, #dfe3e7 40%, #9aa2aa 62%, #e9ecef 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,.55)); padding-right: .08em;
}
.wordmark b { color: inherit; font-weight: inherit; }
.hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-top: 22px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 5px 14px; border-radius: 999px; background: var(--card); color: var(--muted); font-size: .88rem;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #6c757d; }
.dot.on { background: var(--green); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(60,207,110,.6); } 100% { box-shadow: 0 0 0 10px rgba(60,207,110,0); } }

/* ---------- Csatlakozás blokk (bal: dísz, jobb: kártya) ---------- */
.join { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; margin-top: 90px; }
.join-art { position: relative; min-height: 320px; }
.join-art::before {           /* elmosott ezüst fénycsík */
  content: ""; position: absolute; left: 0; right: -10%; bottom: 0; height: 150px;
  background: linear-gradient(90deg, transparent 0%, rgba(208,213,218,.30) 40%, rgba(233,236,239,.45) 75%, rgba(208,213,218,.10) 100%);
  filter: blur(38px);
}
.join-art img { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); width: 240px; opacity: .92;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px;
  position: relative;
}
.card::before {               /* vékony ezüst fénycsík a kártyák tetején */
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(208,213,218,.55), transparent);
}
.join-card { text-align: center; padding: 30px 34px; position: relative; z-index: 1; }
.join-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 14px; }
.join-card .strong { font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.join-card p { color: var(--text); font-size: .95rem; }
.join-card ol { text-align: left; display: inline-block; margin: 18px 0; padding-left: 22px; }
.join-card ol li { padding: 3px 0; font-size: .95rem; }
.join-card .bye { font-weight: 700; margin-bottom: 14px; }
.join-card .actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.ip-line { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.ip-line code { background: var(--bg); padding: 3px 10px; border-radius: var(--radius); color: var(--text); font-family: Consolas, monospace; }
.ip-line button { background: none; border: none; color: var(--green); cursor: pointer; margin-left: 6px; font-size: .95rem; }

/* ---------- Rendszerkövetelmény ---------- */
.reqs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.reqs h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.reqs ul { padding-left: 22px; }
.reqs li { padding: 2px 0; }
.reqs li b { font-weight: 700; }

/* ---------- Szekció cím (középre) ---------- */
.section-title {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-size: 1.5rem; font-weight: 700; margin: 50px 0 24px;
}
.section-title::before, .section-title::after {
  content: ""; height: 1px; flex: 0 1 220px;
  background: linear-gradient(90deg, transparent, rgba(208,213,218,.5));
}
.section-title::after { background: linear-gradient(270deg, transparent, rgba(208,213,218,.5)); }
.cube-ico {                   /* kis 3D kocka ikon */
  width: 22px; height: 22px; flex-shrink: 0;
  background:
    linear-gradient(150deg, #e9ecef 0 50%, transparent 50%) top / 100% 50% no-repeat,
    linear-gradient(30deg, transparent 50%, #e9ecef 50%) top / 100% 50% no-repeat,
    linear-gradient(90deg, #adb5bd 50%, #6c757d 50%) bottom / 100% 50% no-repeat;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
/* hero mögötti fényfolt */
.hero::before {
  content: ""; position: absolute; left: 50%; top: 40px; width: 560px; height: 220px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(208,213,218,.13), transparent 70%); z-index: -1;
}

/* ---------- Játékosfigyelő ---------- */
.watch-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.watch-head b { font-weight: 700; }
.bar { height: 16px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.bar > div { height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width .6s; }
.watch-sub { text-align: center; font-size: .82rem; font-style: italic; margin-top: 10px; color: var(--text); }
.chart-wrap { position: relative; height: 420px; margin-top: 26px; }
.chart-msg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.chart-toggle { text-align: center; margin-top: 14px; }

/* ---------- Prémium oldal ---------- */
.page-hero { text-align: center; padding: 60px 0 10px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 700; margin-top: 18px; }
.page-hero p { color: var(--muted); max-width: 680px; margin: 10px auto 0; }
.notice { display: flex; gap: 22px; align-items: center; border-left: 4px solid var(--green); }
.notice i.big { font-size: 2.6rem; color: var(--discord); }
.notice h2 { font-size: 1.35rem; font-weight: 700; margin-bottom: 4px; }
.notice p { color: var(--text); }
.tag { display: inline-block; padding: 0 8px; border-radius: var(--radius); background: var(--bg); color: var(--green); font-family: Consolas, monospace; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.steps .num { width: 36px; height: 36px; border-radius: var(--radius); display: grid; place-items: center; background: var(--green); color: #0e2a17; font-weight: 800; margin-bottom: 12px; }
.steps h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: .93rem; margin-bottom: 12px; }

/* ---------- Csapat sáv: 2 felül (piros, zöld) + 2 alul (lila, sárga) ---------- */
.team-band {
  margin-top: 70px; padding: 56px 0 46px;
  background-color: #262a2f;
  background-image:
    linear-gradient(30deg, #2c3136 12%, transparent 12.5%, transparent 87%, #2c3136 87.5%, #2c3136),
    linear-gradient(150deg, #2c3136 12%, transparent 12.5%, transparent 87%, #2c3136 87.5%, #2c3136),
    linear-gradient(30deg, #2c3136 12%, transparent 12.5%, transparent 87%, #2c3136 87.5%, #2c3136),
    linear-gradient(150deg, #2c3136 12%, transparent 12.5%, transparent 87%, #2c3136 87.5%, #2c3136),
    linear-gradient(60deg, #31373d 25%, transparent 25.5%, transparent 75%, #31373d 75%, #31373d),
    linear-gradient(60deg, #31373d 25%, transparent 25.5%, transparent 75%, #31373d 75%, #31373d);
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  border-top: 1px solid rgba(208,213,218,.12);
}
.team-band h2 { margin-top: 0; }
.team-grid {
  display: grid; grid-template-columns: repeat(2, 170px); justify-content: center;
  column-gap: 120px; row-gap: 34px;
}
.member-slot { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--text); }
.member-slot:hover { color: var(--text); }
.member-tile {
  width: 170px; height: 170px; border-radius: 30px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); border: 2px solid var(--glow);
  box-shadow: 0 0 16px var(--glow), inset 0 0 18px rgba(0,0,0,.5);
  transition: transform .25s, box-shadow .25s;
}
.member-slot:hover .member-tile { transform: translateY(-6px); box-shadow: 0 0 30px var(--glow), inset 0 0 18px rgba(0,0,0,.5); }
.member-tile img, .member-tile .ph {
  width: 84px; height: 84px; border-radius: 18px; object-fit: cover;
  border: 2px solid var(--glow);
}
.member-tile .ph {
  display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; color: var(--glow);
  background: rgba(255,255,255,.04);
}
.member-tile .name { font-weight: 700; font-size: 1rem; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.member-role {
  font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; font-size: .92rem; color: var(--glow);
  text-shadow: 0 0 10px var(--glow);
}
.member-slot.red    { --glow: #ff3b3b; }
.member-slot.green  { --glow: #3ccf6e; }
.member-slot.purple { --glow: #a855f7; }
.member-slot.yellow { --glow: #facc15; }
.member-slot.empty .name { color: var(--muted); font-weight: 400; }

.socials { display: flex; gap: 10px; justify-content: center; margin: 4px 0 12px; }
.socials a {
  width: 38px; height: 38px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--bg); color: var(--silver); font-size: 1.05rem;
}
.socials a:hover { color: #fff; background: var(--card-2); }

.footer { background: var(--card); text-align: center; padding: 30px 0; color: var(--text); font-size: .98rem; }
.footer p { margin: 8px 0; }
.footer a { color: var(--blue); }
.footer a:hover { color: #8cc8f0; }

.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--green); color: #0e2a17; padding: 10px 20px; border-radius: var(--radius); font-weight: 600;
  transition: transform .3s, opacity .3s; z-index: 100; opacity: 0; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Reszponzív (telefon / tablet) ---------- */
@media (max-width: 900px) {
  .menu { gap: 22px; }
  .join { grid-template-columns: 1fr; margin-top: 40px; }
  .join-art { min-height: 200px; }
  .join-art img { width: 160px; }
  .reqs, .steps { grid-template-columns: 1fr; }
  .chart-wrap { height: 300px; }
  .team-grid { column-gap: 40px; }
}
@media (max-width: 520px) {
  .topbar .mini-logo span { display: none; }
  .menu { gap: 18px; }
  .join-card { padding: 24px 18px; }
  .notice { flex-direction: column; text-align: center; }
  .team-grid { grid-template-columns: repeat(2, 140px); column-gap: 20px; }
  .member-tile { width: 140px; height: 140px; border-radius: 24px; }
  .member-tile img, .member-tile .ph { width: 64px; height: 64px; border-radius: 14px; }
  .section-title::before, .section-title::after { flex-basis: 40px; }
}
