/* ==========================================================================
   HLR ROLEPLAY - PRÉMIUM FIVEM SZERVER WEBOLDAL STÍLUSLAP
   Design: Dark Cyber-Glassmorphism, Neon Glows, Smooth Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Rajdhani:wght@500;600;700&family=Fira+Code:wght@400;600&display=swap');

:root {
  /* Színpaletta */
  --bg-dark: #07090e;
  --bg-surface: rgba(15, 18, 28, 0.7);
  --bg-surface-hover: rgba(23, 28, 44, 0.85);
  --bg-glass: rgba(18, 22, 34, 0.55);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.25);

  /* Neon Akcentusok */
  --neon-cyan: #00f0ff;
  --neon-cyan-glow: 0 0 25px rgba(0, 240, 255, 0.45);
  --neon-purple: #9d4edd;
  --neon-purple-glow: 0 0 25px rgba(157, 78, 221, 0.45);
  --neon-amber: #f59e0b;
  --neon-green: #10b981;
  --neon-red: #ef4444;

  /* Tipográfia */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-code: 'Fira Code', monospace;

  /* Szövegszínek */
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: #00f0ff;

  /* Átmenetek & Hatások */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --blur-amount: 16px;
}

/* Alapvető reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(157, 78, 221, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 240, 255, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

/* Egyedi görgetősáv */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #080a10;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-purple));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-cyan);
}

/* Konténerek */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGÁCIÓS SÁV
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all var(--transition-normal);
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  background: rgba(7, 9, 14, 0.65);
  border-bottom: 1px solid var(--border-glass);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(7, 9, 14, 0.92);
  border-bottom-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px; /* Bővebb szélesség, hogy a menüpontok és gombok szellősen, kényelmesen elférjenek */
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #000;
  font-size: 1.05rem;
  box-shadow: var(--neon-cyan-glow);
  flex-shrink: 0;
}

.brand-logo span.highlight {
  color: var(--neon-cyan);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.3vw, 22px);
  list-style: none;
  flex-wrap: nowrap;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  transition: width var(--transition-normal);
  border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn-sm {
  padding: 8px 13px;
  font-size: 0.85rem;
  gap: 6px;
  white-space: nowrap;
}

/* Hangszóró / Zene gomb a menüben */
.audio-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  position: relative;
}

.audio-toggle-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.audio-toggle-btn.playing {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

/* Equalizer hullám animáció */
.equalizer-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
}

.bar {
  width: 3px;
  background-color: currentColor;
  border-radius: 1px;
  height: 4px;
  transition: height 0.15s ease;
}

.playing .bar:nth-child(1) { animation: soundWave 0.7s infinite alternate ease-in-out; }
.playing .bar:nth-child(2) { animation: soundWave 0.5s 0.2s infinite alternate ease-in-out; }
.playing .bar:nth-child(3) { animation: soundWave 0.8s 0.1s infinite alternate ease-in-out; }
.playing .bar:nth-child(4) { animation: soundWave 0.6s 0.3s infinite alternate ease-in-out; }

@keyframes soundWave {
  0% { height: 4px; }
  100% { height: 16px; }
}

/* Mobil Hamburger Menü */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   GOMBOK & STÍLUSOK
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  padding: 12px 26px;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #00d2ff 0%, #00f0ff 50%, #7000ff 100%);
  color: #040810;
  font-weight: 800;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 240, 255, 0.65);
}

.btn-secondary {
  background: var(--bg-surface);
  color: #ffffff;
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--bg-surface-hover);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  color: var(--neon-cyan);
}

.btn-discord {
  background: linear-gradient(135deg, #5865F2, #4752C4);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
}

.btn-discord:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(88, 101, 242, 0.65);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   HERO SZEKCIÓ
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
  transition: transform 10s ease;
}

.hero:hover .hero-bg-img {
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(7, 9, 14, 0.4) 0%,
    rgba(7, 9, 14, 0.75) 60%,
    var(--bg-dark) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 820px;
}

/* Élő szerver státusz jelvény */
.server-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #34d399;
}

.status-dot-pulse {
  position: relative;
  width: 10px;
  height: 10px;
  background-color: var(--neon-green);
  border-radius: 50%;
}

.status-dot-pulse::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--neon-green);
  animation: pulsePing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pulsePing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title span.glow-text {
  background: linear-gradient(135deg, #00f0ff 0%, #9d4edd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.4));
}

.hero-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 680px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

/* IP Box - Gyors másolás kártya */
.ip-copy-box {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 18, 28, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 6px 8px 6px 18px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.ip-copy-box:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-2px);
}

.ip-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--neon-cyan);
  margin-right: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ip-address {
  font-family: var(--font-code);
  font-size: 0.95rem;
  color: #f1f5f9;
  margin-right: 16px;
}

.ip-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.ip-copy-box:hover .ip-copy-btn {
  background: var(--neon-cyan);
  color: #000;
}

/* Quick Stats Row a Hero alján */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.stat-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 20px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 255, 0.3);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number span.unit {
  font-size: 1.1rem;
  color: var(--neon-cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   ÁLTALÁNOS SZEKCIÓ FEJLÉCEK
   ========================================================================== */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  margin-bottom: 12px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title span.highlight {
  color: var(--neon-cyan);
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   SZERVER TULAJDONSÁGOK (FEATURES)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(14px);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.15);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(157, 78, 221, 0.15));
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   FRAKCIÓK & KARRIEREK
   ========================================================================== */
.factions-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.faction-tab-btn {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.faction-tab-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.faction-tab-btn.active {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(157, 78, 221, 0.2));
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.faction-display-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.faction-image-side {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}

.faction-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.faction-display-card:hover .faction-image-side img {
  transform: scale(1.04);
}

.faction-image-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent 65%, var(--bg-surface) 100%);
}

.faction-info-side {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faction-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid rgba(157, 78, 221, 0.4);
  color: #e0aaff;
  margin-bottom: 16px;
}

.faction-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.faction-subtitle {
  color: var(--neon-cyan);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.faction-desc {
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.65;
}

.faction-req-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 12px;
}

.faction-req-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 30px;
}

.faction-req-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.faction-req-item svg {
  color: var(--neon-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   SZABÁLYZAT & RP FOGALMAK
   ========================================================================== */
.rules-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  background: var(--bg-glass);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.rules-categories-wrap {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
}

.rule-cat-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  padding: 7px 14px;
}

.tab-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

.rule-cat-filter.active .tab-badge {
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.rules-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 320px;
  transition: border-color var(--transition-fast);
}

.rules-search-box:focus-within {
  border-color: var(--neon-cyan);
  background: rgba(255, 255, 255, 0.07);
}

.rules-search-box input {
  background: none;
  border: none;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  width: 100%;
}

.rules-search-box input::placeholder {
  color: var(--text-muted);
}

/* ==========================================================================
   TÉMAKÖRÖK HARMONIKA & LENYÍLÓ RENDSZER
   ========================================================================== */
.rules-topics-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rule-topic-group {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.rule-topic-group:hover {
  border-color: rgba(157, 78, 221, 0.4);
}

.rule-topic-group.is-open {
  border-color: rgba(157, 78, 221, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.rule-topic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.rule-topic-header:hover {
  background: rgba(157, 78, 221, 0.08);
}

.rule-topic-group.is-open .rule-topic-header {
  background: rgba(157, 78, 221, 0.1);
  border-bottom: 1px solid var(--border-glass);
}

.rule-topic-info {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.rule-topic-icon {
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.rule-topic-title-wrap {
  min-width: 0;
}

.rule-topic-title {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

.rule-topic-subtext {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rule-topic-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.rule-topic-badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(157, 78, 221, 0.15);
  color: #c084fc;
  border: 1px solid rgba(157, 78, 221, 0.3);
}

.rule-topic-status-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neon-cyan);
  display: none;
}

@media (min-width: 768px) {
  .rule-topic-status-label {
    display: inline-block;
  }
}

.rule-topic-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.rule-topic-header:hover .rule-topic-arrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.rule-topic-group.is-open .rule-topic-arrow {
  transform: rotate(180deg);
  background: var(--neon-cyan);
  color: #000;
}

.rule-topic-content {
  padding: 24px;
  background: rgba(10, 14, 23, 0.6);
  animation: fadeInDown 0.25s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.rule-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rule-card:hover {
  transform: translateY(-4px);
  border-color: rgba(157, 78, 221, 0.4);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  background: rgba(18, 22, 34, 0.9);
}

.rule-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.rule-term {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--neon-cyan);
  line-height: 1.35;
}

.rule-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(157, 78, 221, 0.12);
  color: #c084fc;
  border: 1px solid rgba(157, 78, 221, 0.25);
  white-space: nowrap;
  flex-shrink: 0;
}

.rule-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.rule-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
}

.rule-card-punishment {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.22);
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.78rem;
  max-width: 78%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rule-card-view-btn {
  color: var(--neon-purple);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.rule-card:hover .rule-card-view-btn {
  color: var(--neon-cyan);
  transform: translateX(3px);
}

/* ==========================================================================
   CSATLAKOZÁSI ÚTMUTATÓ (HOW TO JOIN)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-cyan);
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.6), rgba(0, 240, 255, 0.05));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
}

.step-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

/* ==========================================================================
   GYAKORAN ISMÉTELT KÉRDÉSEK (FAQ)
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.4);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  text-align: left;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--neon-cyan);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 22px;
}

/* ==========================================================================
   DISCORD BANNER CTA
   ========================================================================== */
.discord-cta {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(15, 18, 28, 0.8) 100%);
  border: 1px solid rgba(88, 101, 242, 0.4);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: 0 20px 50px rgba(88, 101, 242, 0.2);
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.discord-cta::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(88, 101, 242, 0.4) 0%, transparent 70%);
  z-index: 0;
}

.cta-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}

.cta-desc {
  color: #cbd5e1;
  font-size: 1.05rem;
}

/* ==========================================================================
   LÁBLÉC (FOOTER)
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-glass);
  background: rgba(4, 6, 10, 0.85);
  padding: 60px 0 30px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   TOAST ÉRTESÍTÉS (IP MÁSOLVA)
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 18, 28, 0.92);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), var(--neon-cyan-glow);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-bounce);
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
}

.toast-text {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}

/* ==========================================================================
   RESPONZÍV NÉZETEK (TABLET & MOBIL)
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(7, 9, 14, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    border-bottom: 1px solid var(--border-glass);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .faction-display-card {
    grid-template-columns: 1fr;
  }

  .faction-image-side {
    min-height: 280px;
  }

  .faction-image-gradient {
    background: linear-gradient(0deg, var(--bg-surface) 10%, transparent 100%);
  }

  .faction-info-side {
    padding: 30px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 0 50px;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

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

  .ip-copy-box {
    width: 100%;
    justify-content: space-between;
  }

  .faction-req-list {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .discord-cta {
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   SZABÁLYZAT FELUGRÓ ABLAK (MODAL) STÍLUSOK
   ========================================================================== */
.rule-card {
  cursor: pointer;
  position: relative;
}

.rule-card::after {
  content: 'Kattints a részletekért ↗';
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--neon-cyan);
  margin-top: 14px;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.rule-card:hover::after {
  opacity: 1;
  transform: translateX(4px);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 12, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--neon-cyan);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), var(--neon-cyan-glow);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 36px 36px 30px;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: var(--neon-red);
  color: var(--neon-red);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 8px;
  letter-spacing: -0.5px;
}

.modal-section-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
}

.modal-section-box.highlight-box {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
}

.modal-section-box.punishment-box {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
}

.modal-subtitle {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.modal-text {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.65;
}

.modal-tips-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 26px;
}

.tip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 10px;
}

/* ==========================================================================
   HÍREK & FRISSÍTÉSEK (NEWS SECTION)
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.news-card {
  background: rgba(18, 23, 37, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
  cursor: pointer;
  position: relative;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.45);
  box-shadow: 0 20px 45px rgba(0, 240, 255, 0.14);
}

.news-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.07);
}

.news-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 22, 0.1) 0%, rgba(10, 14, 22, 0.85) 100%);
}

.news-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 240, 255, 0.2);
  border: 1px solid rgba(0, 240, 255, 0.5);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.news-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.news-card:hover .news-card-title {
  color: var(--neon-cyan);
}

.news-card-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.news-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--neon-cyan);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: gap 0.2s ease, color 0.2s ease;
}

.news-card:hover .btn-read-more {
  gap: 12px;
  color: #ffffff;
}

/* ==========================================================================
   HÍR OLVASÓ MODAL
   ========================================================================== */
.modal-news-card {
  max-width: 760px;
  padding: 0;
  overflow: hidden;
}

.modal-news-header-img {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  background: #080c14;
}

.modal-news-header-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-news-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 20, 0.1) 0%, rgba(10, 13, 20, 0.92) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 28px;
}

.news-modal-date {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

.news-modal-author {
  display: block;
  font-size: 0.88rem;
  color: var(--neon-cyan);
  font-weight: 600;
  margin-top: 4px;
}

.modal-news-card .modal-header {
  padding: 24px 28px 0;
  margin-bottom: 12px;
}

.modal-news-card .modal-body {
  padding: 0 28px 20px;
  max-height: 52vh;
  overflow-y: auto;
}

.modal-news-card .modal-footer {
  padding: 16px 28px 24px;
  margin-top: 0;
}

.news-paragraph {
  margin-bottom: 16px;
  line-height: 1.7;
  color: #cbd5e1;
  font-size: 0.98rem;
}

.news-list-item {
  margin-bottom: 10px;
  margin-left: 18px;
  line-height: 1.65;
  color: #e2e8f0;
  list-style: disc;
  font-size: 0.96rem;
}

/* ==========================================================================
   MÉDIA GALÉRIA (GALLERY SECTION)
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.gallery-filter-group {
  display: inline-flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid var(--border-glass);
}

.gallery-filter-btn {
  border-radius: 30px !important;
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-card {
  background: rgba(18, 23, 37, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 18px 40px rgba(0, 240, 255, 0.15);
}

.gallery-card-thumb-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #080c14;
}

.gallery-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-card:hover .gallery-card-img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.25);
  border: 2px solid var(--neon-cyan);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.gallery-card:hover .gallery-play-btn {
  transform: scale(1);
}

.gallery-play-btn.is-video svg {
  margin-left: 4px;
}

.gallery-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.gallery-pill.video-pill {
  background: rgba(239, 68, 68, 0.3);
  border: 1px solid rgba(239, 68, 68, 0.65);
  color: #ffffff;
}

.gallery-pill.image-pill {
  background: rgba(0, 240, 255, 0.25);
  border: 1px solid rgba(0, 240, 255, 0.65);
  color: #ffffff;
}

.gallery-card-body {
  padding: 16px 20px;
}

.gallery-card-cat {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--neon-cyan);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.gallery-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 6px 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LIGHTBOX MODAL (KÉP & VIDEÓ LEJÁTSZÓ)
   ========================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  position: relative;
  width: 100%;
  max-width: 980px;
  background: rgba(14, 18, 28, 0.96);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-overlay.active .lightbox-container {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: var(--neon-red);
  transform: rotate(90deg);
}

.lightbox-media-wrapper {
  width: 100%;
  min-height: 280px;
  max-height: 65vh;
  background: #04060a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-single-img {
  max-width: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.lightbox-video-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 képarány */
  height: 0;
}

.lightbox-video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.lightbox-video-player {
  width: 100%;
  max-height: 65vh;
  background: #000;
  outline: none;
}

.lightbox-caption {
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 13, 20, 0.85);
}

.lightbox-badge {
  display: inline-block;
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--neon-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.lightbox-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.5;
}

.lightbox-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}


