/* =========================================================
   TLS V3 - főoldal (hero, játékosfigyelő, hírek előnézet)
   ========================================================= */

.hero {
  padding: 70px 0 40px;
  position: relative;
  overflow: hidden;
}

/*
  Hero háttérkép: egyedi, saját készítésű éjszakai városkép (SVG),
  nem konkrét játék-grafika. Ha inkább egy valódi GTA V screenshotot
  akarsz helyette, csak tegyél egy .jpg-t ide, és írd át lent az
  url()-t assets/img/hero-backdrop.jpg-re.
*/
.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('../img/hero-backdrop.svg');
  background-size: cover;
  background-position: center 78%;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 85%);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  max-width: 780px;
  margin-bottom: 18px;
}

.hero__subtitle {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero--centered {
  text-align: center;
  padding: 90px 0 20px;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__inner .hero__eyebrow { margin-bottom: 28px; }
.hero__inner .hero__subtitle { margin-left: auto; margin-right: auto; }
.hero__inner .hero__actions { justify-content: center; }

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.hero__glow--1 {
  width: 420px;
  height: 420px;
  top: -120px;
  left: -80px;
  background: var(--accent-2-soft);
}
.hero__glow--2 {
  width: 380px;
  height: 380px;
  top: -60px;
  right: -100px;
  background: var(--accent-soft);
}

.hero__logo {
  display: flex;
  justify-content: center;
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero__logo-img {
  width: min(560px, 82vw);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(59, 130, 246, 0.25));
  animation: floatSlow 6s ease-in-out infinite;
}

.hero__tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: -6px 0 4px;
  position: relative;
  z-index: 1;
}

.hero__inner .hero__subtitle {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.hero__inner .hero__actions { position: relative; z-index: 1; }

.monitor-card {
  margin-top: 46px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elevated));
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.monitor-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.monitor-stat {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.monitor-stat .value {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
}

.monitor-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.monitor-chart-wrap {
  position: relative;
  height: 240px;
}

.monitor-toggle {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  justify-content: center;
}

.section {
  padding: 54px 0;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 12px;
}

.section__head h2 {
  font-size: 1.7rem;
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 940px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .news-grid { grid-template-columns: 1fr; }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-tile {
  text-align: left;
}
.feature-tile .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.feature-tile h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature-tile p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* --- Csatlakozás szekció --- */

.join-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

@media (max-width: 900px) {
  .join-panel { grid-template-columns: 1fr; }
}

.join-panel__steps h2 { font-size: 1.6rem; }

.join-steps {
  list-style: none;
  counter-reset: step;
  margin: 22px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.join-steps li {
  counter-increment: step;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}

.join-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.join-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.join-panel__requirements {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.req-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}
.req-card--accent { border-color: rgba(59, 130, 246, 0.35); }
.req-card h4 { font-size: 0.95rem; margin-bottom: 12px; }
.req-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.req-card li { font-size: 0.85rem; color: var(--text-muted); }
.req-card li strong { color: var(--text); }

/* --- GYIK / FAQ --- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
}

.faq-item__chevron {
  color: var(--accent);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.faq-item.is-open .faq-item__answer {
  max-height: 220px;
  padding: 0 20px 20px;
}
