/* RESET + ALAPOK */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.18) 0, transparent 55%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.18) 0, transparent 55%),
    linear-gradient(145deg, #050816 0%, #05091f 40%, #020617 100%);
  color: #f9fafb;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* MOZGÓ PONTOK */

.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #22c55e;
  border-radius: 999px;
  opacity: 0;
  animation: float 7s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-80px) translateX(40px);
    opacity: 0;
  }
}

/* NAVBAR – színes sáv, üveges */

.main-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(
      90deg,
      rgba(59, 130, 246, 0.3),
      rgba(139, 92, 246, 0.18),
      rgba(236, 72, 153, 0.28)
    )
    rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.6);
  z-index: 1000;
}

.nav-container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.nav-side {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.nav-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow:
    0 0 18px rgba(59, 130, 246, 0.8),
    0 0 32px rgba(236, 72, 153, 0.8);
}

.nav-title {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.nav-link {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #38bdf8, #e11d48);
  box-shadow: 0 0 8px rgba(236, 72, 153, 0.9);
  transition: width 0.2s ease;
}

.nav-link:hover {
  color: #f472b6;
  transform: translateY(-1px);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-button {
  border: none;
  background: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: inherit;
}

.dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 140%;
  right: 0;
  min-width: 190px;
  background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.25), transparent 70%)
    rgba(15, 23, 42, 0.98);
  border-radius: 0.8rem;
  border: 1px solid rgba(129, 140, 248, 0.9);
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.98),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  padding: 0.35rem 0;
  display: none;
  z-index: 1500;
}

.dropdown-menu.open {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 0.5rem 0.95rem;
  font-size: 0.84rem;
  color: #e5e7eb;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.2), rgba(236, 72, 153, 0.35));
  color: #f9fafb;
  transform: translateX(2px);
}

/* OLDAL TÖRZS */

.page-content {
  flex: 1;
  padding-top: 88px;
}

/* HERO – két rétegű kártya, neon keret */

.hero {
  padding: 3.4rem 1.5rem 2.8rem;
}

.hero-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.05fr);
  gap: 2.8rem;
  align-items: center;
}

.hero-left {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 0.7s ease-out forwards;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: linear-gradient(120deg, #22c55e, #38bdf8, #e11d48);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow:
    0 0 12px rgba(56, 189, 248, 0.7),
    0 0 28px rgba(236, 72, 153, 0.8);
}

.hero-tagline {
  margin-top: 0.9rem;
  font-size: 1.02rem;
  color: #e5e7eb;
}

.hero-text {
  margin-top: 0.7rem;
  font-size: 0.96rem;
  color: #cbd5f5;
  line-height: 1.7;
}

/* PILL LABELS */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.22rem 0.95rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.pill-primary {
  border: 1px solid rgba(56, 189, 248, 0.75);
  background: rgba(15, 23, 42, 0.95);
  color: #dbeafe;
}

.pill-soft {
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

/* GOMBOK – zöld‑kék neon */

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.7rem;
  border-radius: 999px;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #22c55e, #38bdf8);
  color: #020617;
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow:
    0 0 20px rgba(56, 189, 248, 0.9),
    0 0 28px rgba(34, 197, 94, 0.8);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4ade80, #60a5fa);
  border-color: #bbf7d0;
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.75);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 1);
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.6);
  transform: translateY(-1px);
}

.btn-icon-wrap {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

/* HERO META – kis kapszulák */

.hero-meta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 0.8rem;
}

.meta-label {
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.meta-value {
  color: #e5e7eb;
}

/* HERO JOBB – rétegzett kártya stack */

.hero-right {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 1.2rem;
  padding: 1.8rem 1.9rem 1.9rem;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), transparent 60%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.25), transparent 55%),
    rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(129, 140, 248, 0.9);
  box-shadow:
    0 22px 60px rgba(15, 23, 42, 0.98),
    0 0 0 1px rgba(15, 23, 42, 0.94);
}

.hero-card::before,
.hero-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 1.4rem;
  border: 1px dashed rgba(148, 163, 184, 0.3);
  opacity: 0.25;
  pointer-events: none;
}

.hero-card::after {
  inset: 22px;
  opacity: 0.18;
}

.hero-card-title {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e5e7eb;
  margin-bottom: 0.9rem;
}

.hero-card-list {
  list-style: none;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.hero-card-list li + li {
  margin-top: 0.45rem;
}

.hero-card-note {
  margin-top: 0.9rem;
  font-size: 0.82rem;
  color: #9ca3af;
}

/* SZEKCIÓ ALAP */

.section {
  padding: 3.2rem 1.5rem 3.4rem;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 2.1rem auto;
  text-align: center;
}

.section-title {
  font-size: 2.1rem;
  margin-top: 0.6rem;
  margin-bottom: 0.4rem;
  background: linear-gradient(120deg, #38bdf8, #a855f7, #f97316);
  -webkit-background-clip: text;
  color: transparent;
}

.section-text {
  font-size: 0.96rem;
  color: #cbd5f5;
}

/* DISCORD SZEKCIÓ – kártya + lista */

.discord-layout {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.6rem;
  align-items: center;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.discord-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 1.2rem;
  border: 1px solid rgba(59, 130, 246, 0.9);
  box-shadow: 0 20px 52px rgba(15, 23, 42, 0.98);
  overflow: hidden;
}

.discord-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: linear-gradient(90deg, #111827, #1e293b);
  border-bottom: 1px solid rgba(30, 64, 175, 0.9);
}

.discord-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6b7280;
}

.discord-dot-green {
  background: #22c55e;
}

.discord-title {
  margin-left: auto;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e5e7eb;
}

.discord-iframe-wrapper {
  padding: 0.55rem 0.9rem 0.9rem;
}

.discord-iframe-wrapper iframe {
  border-radius: 0.7rem;
}

.discord-points {
  list-style: none;
  font-size: 0.9rem;
  color: #e5e7eb;
  max-width: 420px;
}

.discord-points li + li {
  margin-top: 0.55rem;
}

/* FEATURE KÁRTYÁK – döntött, neon keret */

.feature-grid {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.feature-card {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.32), transparent 60%),
    rgba(15, 23, 42, 0.98);
  border-radius: 1rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.96);
  transform: translateY(0) rotate(-1deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(135deg, #22c55e, #38bdf8, #e11d48) border-box;
  mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px) rotate(0deg);
  border-color: transparent;
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.98),
    0 0 24px rgba(56, 189, 248, 0.5);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-title {
  font-size: 1.02rem;
  margin-bottom: 0.55rem;
  color: #e5e7eb;
}

.feature-body {
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* SPLIT GRID – JÁTÉKMÓDOK, RÓLUNK */

.split-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.1rem;
}

.split-card {
  background: linear-gradient(
      135deg,
      rgba(109, 40, 217, 0.18),
      rgba(56, 189, 248, 0.12),
      transparent 70%
    )
    rgba(15, 23, 42, 0.98);
  border-radius: 1.1rem;
  padding: 1.8rem 1.8rem 1.9rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.96);
}

.split-title {
  font-size: 1.06rem;
  margin-bottom: 0.6rem;
  color: #e5e7eb;
}

.split-body {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 0.9rem;
}

.split-list {
  list-style: none;
  font-size: 0.88rem;
  color: #cbd5f5;
}

.split-list li + li {
  margin-top: 0.35rem;
}

/* PARANCSOK */

.commands-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.commands-column {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 1.1rem;
  padding: 1.6rem 1.7rem 1.8rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.96);
}

.commands-title {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.commands-list {
  list-style: none;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.commands-list li + li {
  margin-top: 0.4rem;
}

.cmd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
    monospace;
  color: #a5b4fc;
}

/* STAFF GRID – neon keretes kártyák */

.staff-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.7rem;
}

.staff-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 1.2rem;
  padding: 1.4rem 1.5rem 1.6rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.96);
  position: relative;
  overflow: hidden;
}

.staff-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.22), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}

.staff-card-owner {
  grid-column: span 2;
  border-color: rgba(56, 189, 248, 0.9);
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.98),
    0 0 24px rgba(56, 189, 248, 0.7);
}

.staff-avatar {
  width: 66px;
  height: 66px;
  border-radius: 999px;
  object-fit: cover;
  margin-bottom: 0.7rem;
  border: 2px solid #22c55e;
  position: relative;
  z-index: 1;
}

.staff-name,
.staff-role,
.staff-desc {
  position: relative;
  z-index: 1;
}

.staff-name {
  font-size: 0.98rem;
  margin-bottom: 0.25rem;
}

.staff-role {
  font-size: 0.84rem;
  color: #a5b4fc;
  margin-bottom: 0.35rem;
}

.staff-desc {
  font-size: 0.84rem;
  color: #cbd5f5;
}

/* FOOTER – sávos, színes */

.site-footer {
  background: linear-gradient(
      120deg,
      rgba(15, 23, 42, 1) 0%,
      rgba(24, 24, 48, 1) 40%,
      rgba(15, 23, 42, 1) 100%
    );
  border-top: 1px solid rgba(59, 130, 246, 0.8);
  padding: 2.8rem 1.8rem 2.4rem;
}

.footer-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-brand {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #e5f9e5;
  white-space: nowrap;
  text-shadow:
    0 0 16px rgba(34, 197, 94, 0.8),
    0 0 26px rgba(56, 189, 248, 0.8);
}

.footer-right {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-column h4 {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
  margin-bottom: 0.75rem;
}

.footer-column a,
.footer-column span {
  display: block;
  font-size: 0.85rem;
  color: #cbd5f5;
  text-decoration: none;
  margin-bottom: 0.3rem;
}

.footer-column a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* MODAL */

.join-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.join-modal-backdrop.open {
  display: flex;
}

.join-modal {
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.22), transparent 60%),
    rgba(15, 23, 42, 0.98);
  border-radius: 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 1.6rem 1.9rem 1.7rem;
  max-width: 360px;
  width: 90%;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.98),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  text-align: left;
}

.join-modal h3 {
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.join-modal p {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.join-close {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: #111827;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.7);
  cursor: pointer;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .nav-container {
    justify-content: space-between;
  }

  .nav-center {
    display: none;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
    margin-bottom: 1.6rem;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .discord-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .commands-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .staff-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 2.4rem;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 0.24em;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .staff-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-right {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-brand {
    font-size: 1.9rem;
  }
}
