:root {
  --lila: #B77FB4;
  --szurke: #706F6F;
  --feher: #ffffff;
  --szurke-sotet: #2b2b2b;
  --hatter-sotet: #1f1f1f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--hatter-sotet);
  color: var(--feher);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- NAVIGÁCIÓ --- */
.navbar {
  background-color: var(--szurke-sotet);
  border-bottom: 2px solid var(--lila);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--feher);
  letter-spacing: 0.5px;
}

.logo-text span {
  color: var(--lila);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-links a {
  color: var(--feher);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 6px;
  transition: all 0.25s ease;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: var(--lila);
  color: var(--szurke-sotet);
}

/* Nyelvváltó gomb */
.lang-toggle-btn {
  background-color: var(--hatter-sotet);
  color: var(--szurke);
  border: 1px solid var(--szurke);
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.lang-toggle-btn:hover {
  border-color: var(--lila);
}

.lang-toggle-btn .lang-opt.active {
  color: var(--lila);
}

/* Belépés / Profil gombok a menüben */
.auth-nav-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-auth-open {
  background-color: var(--lila);
  color: var(--szurke-sotet);
  border: 1.5px solid var(--lila);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-auth-open:hover {
  filter: brightness(1.1);
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(183, 127, 180, 0.15);
  border: 1px solid var(--lila);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--feher);
}

.user-badge a {
  color: var(--lila);
  padding: 2px 6px;
  text-decoration: none;
}

.user-badge a:hover {
  background: transparent;
  color: var(--feher);
  text-decoration: underline;
}

.btn-logout {
  background-color: #ef4444;
  color: var(--feher);
  border: none;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.btn-logout:hover {
  background-color: #dc2626;
}

/* Mobil hamburger gomb (PC-n rejtve) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background-color: var(--feher);
  border-radius: 2px;
  transition: 0.3s;
}

/* --- VÁLTAKOZÓ FEJLÉC (HERO SLIDER) --- */
.hero-slider {
  position: relative;
  height: 420px;
  background: linear-gradient(135deg, var(--szurke-sotet) 0%, #161616 100%);
  border-bottom: 1px solid var(--szurke);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 60px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-content {
  max-width: 750px;
}

.badge {
  display: inline-block;
  background-color: rgba(183, 127, 180, 0.2);
  color: var(--lila);
  border: 1px solid var(--lila);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.slide h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--feher);
}

.slide p {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 25px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--lila);
  color: var(--szurke-sotet);
  font-weight: 700;
  text-decoration: none;
  border: none;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Slider nyilak és pontok */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(43, 43, 43, 0.7);
  color: var(--feher);
  border: 1px solid var(--szurke);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.2s;
  z-index: 10;
}

.slider-arrow:hover {
  background-color: var(--lila);
  color: var(--szurke-sotet);
}

.slider-arrow.prev { left: 15px; }
.slider-arrow.next { right: 15px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--szurke);
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background-color: var(--lila);
  transform: scale(1.2);
}

/* --- FŐ TARTALOM & KÁRTYÁK --- */
.main-content {
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-card,
.profile-card {
  background-color: var(--szurke-sotet);
  border: 1px solid var(--szurke);
  border-top: 4px solid var(--lila);
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card h3,
.profile-card h2 {
  margin-bottom: 10px;
  color: var(--feher);
}

.info-card p,
.muted-text {
  color: #cccccc;
  font-size: 0.95rem;
}

.profile-row {
  padding: 12px 0;
  border-bottom: 1px solid #3d3d3d;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--lila);
  font-weight: 700;
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

/* --- DISCORD KÖZÖSSÉGEK SZEKCIÓ --- */
.community-section {
  scroll-margin-top: 90px;
  padding-top: 10px;
}

.section-header {
  text-align: center;
  margin-bottom: 26px;
}

.section-header .badge {
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 1.9rem;
  color: var(--feher);
  margin-bottom: 6px;
}

.discord-card {
  background-color: var(--szurke-sotet);
  border: 1px solid var(--szurke);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.discord-card:hover {
  border-color: var(--lila);
  transform: translateY(-3px);
}

.discord-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.discord-avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid var(--lila);
  background-color: var(--hatter-sotet);
}

.discord-title-wrap h3 {
  font-size: 1.35rem;
  color: var(--feher);
  margin-top: 4px;
}

.discord-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--lila);
  background-color: rgba(183, 127, 180, 0.14);
  border: 1px solid rgba(183, 127, 180, 0.45);
  padding: 2px 10px;
  border-radius: 12px;
}

.discord-desc {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--lila);
  border: 1.5px solid var(--lila);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-discord:hover {
  background-color: var(--lila);
  color: var(--szurke-sotet);
}

/* --- SEO KERESŐBARÁT BEVEZETŐ SÁV (GYŰJTEMÉNYKEZELŐ) --- */
.seo-subbar {
  background-color: #181818;
  border-bottom: 1px solid #333333;
  padding: 6px 0;
}

.seo-subbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-subbar h1 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lila);
  margin: 0;
}

.seo-subbar p {
  font-size: 0.82rem;
  color: #aaaaaa;
  margin: 0;
}

/* --- TELJES KÉPERNYŐS GYŰJTEMÉNYKEZELŐ ALOLDAL --- */
body.tracker-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden;
}

.fullscreen-tracker-container {
  flex: 1;
  width: 100%;
  min-height: 0;
  background-color: var(--hatter-sotet);
}

.fullscreen-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* --- LEBEGŐ SUPPORT GOMB --- */
.floating-support-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--szurke-sotet);
  color: var(--feher);
  border: 2px solid var(--lila);
  padding: 10px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
  z-index: 1500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.floating-support-btn:hover {
  background-color: var(--lila);
  color: var(--szurke-sotet);
  transform: translateY(-2px);
}

/* --- MODALOK (BELÉPÉS + SUPPORT) --- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background-color: var(--szurke-sotet);
  border: 1.5px solid var(--lila);
  border-radius: 12px;
  width: 100%;
  max-width: 450px;
  padding: 28px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #aaaaaa;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover {
  color: var(--feher);
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--szurke);
  padding-bottom: 12px;
}

.auth-tab {
  flex: 1;
  background: none;
  border: 1px solid transparent;
  color: #bbbbbb;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}

.auth-tab.active {
  background-color: rgba(183, 127, 180, 0.2);
  border-color: var(--lila);
  color: var(--lila);
}

.auth-form {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.auth-form.active {
  display: flex;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #dddddd;
}

.form-group input,
.form-select,
.form-textarea {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--szurke);
  background-color: var(--hatter-sotet);
  color: var(--feher);
  font-size: 0.95rem;
  font-family: inherit;
}

.form-group input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--lila);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Jelszó címke sor + modern elfelejtett jelszó link */
.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.forgot-link-modern {
  background: none;
  border: none;
  color: #aaaaaa;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-link-modern:hover {
  color: var(--lila);
  text-decoration: underline;
}

.back-login-btn {
  background: none;
  border: 1px solid var(--szurke);
  color: #cccccc;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s ease;
}

.back-login-btn:hover {
  border-color: var(--lila);
  color: var(--lila);
}

.auth-message {
  display: none;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.auth-message.error {
  display: block;
  background-color: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #fca5a5;
}

.auth-message.success {
  display: block;
  background-color: rgba(74, 222, 128, 0.2);
  border: 1px solid #4ade80;
  color: #86efac;
}

/* --- LÁBLÉC --- */
.footer {
  background-color: var(--szurke-sotet);
  border-top: 1px solid var(--szurke);
  text-align: center;
  padding: 25px 0;
  margin-top: 40px;
  color: #aaaaaa;
  font-size: 0.9rem;
}

/* --- MOBIL NÉZET (RESZPONZÍV) --- */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .logo-img {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 1.35rem;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--szurke-sotet);
    padding: 20px;
    border-bottom: 2px solid var(--lila);
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .lang-toggle-btn {
    text-align: center;
    padding: 9px;
  }

  .auth-nav-container {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--szurke);
  }

  .btn-auth-open {
    width: 100%;
    padding: 10px;
  }

  .hero-slider {
    height: 380px;
  }

  .slide {
    padding: 20px 45px;
  }

  .slide h1 {
    font-size: 1.7rem;
  }

  .slide p {
    font-size: 0.95rem;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .seo-subbar p {
    display: none;
  }

  .floating-support-btn {
    bottom: 14px;
    right: 14px;
    padding: 9px 14px;
    font-size: 0.85rem;
  }
}