/* ─────────────────────────────────────────────────────────────────
   Szarvasi Kenumaraton — fő stíluslap
   ───────────────────────────────────────────────────────────────── */

:root {
  --primary: #1e3a8a;
  --primary-dark: #0f1d44;
  --primary-fg: #ffffff;
  --secondary: #60a5fa;
  --accent: #facc15;
  --accent-dark: #ca8a04;
  --accent-fg: #1e3a8a;
  --bg: #f8fafc;
  --bg-muted: #f1f5f9;
  --card: #ffffff;
  --fg: #0f172a;
  --fg-muted: #64748b;
  --border: #e2e8f0;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(15,23,42,.08);
  --shadow: 0 10px 25px -10px rgba(15,23,42,.15);
  --shadow-lg: 0 20px 50px -15px rgba(30,58,138,.35);
  --gradient-hero: linear-gradient(135deg,#1e3a8a 0%,#2563eb 50%,#3b82f6 100%);
  --gradient-water: linear-gradient(180deg,#3b82f6 0%,#1e3a8a 100%);
  --gradient-accent: linear-gradient(90deg,#60a5fa 0%,#facc15 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.script { font-family: 'Caveat', cursive; }

/* ─── HEADER ────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(30, 58, 138, 0.95);
  backdrop-filter: blur(10px);
  color: var(--primary-fg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-accent);
  font-size: 20px; box-shadow: 0 0 20px rgba(250, 204, 21, 0.4);
}
.logo-eyebrow {
  display: block;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.8;
}
.logo-main {
  display: block;
  font-size: 16px; font-weight: 700;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  transition: background 0.2s;
}
.nav-link:hover { background: rgba(255,255,255,0.1); }
.nav-link.active { background: rgba(255,255,255,0.15); color: var(--accent); }

.menu-toggle {
  display: none; background: none; border: none;
  color: var(--primary-fg); cursor: pointer; padding: 8px;
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--primary); padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 12px; }
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-cta, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; transition: all 0.2s;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent); color: var(--accent-fg);
  box-shadow: var(--shadow);
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

.btn-secondary {
  background: rgba(255,255,255,0.1); color: var(--primary-fg);
  border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(6px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

.btn-ghost {
  background: transparent; color: var(--primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-muted); }

.btn-cta { padding: 8px 16px; font-size: 13px; }

/* ─── HERO SECTION ─────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: var(--gradient-hero);
  color: var(--primary-fg);
  padding: 80px 0 100px;
}
.hero-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center; position: relative; z-index: 2;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(6px);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 72px); margin-top: 20px;
  line-height: 0.95;
}
.hero h1 .accent {
  background: var(--gradient-accent);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: 18px; opacity: 0.9; margin-top: 20px; max-width: 560px;
}
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats {
  margin-top: 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  max-width: 440px;
}
.stat {
  padding: 10px 14px; border-radius: 12px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
}
.stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.8; }
.stat-value { font-weight: 700; margin-top: 2px; }

.hero-right { position: relative; }
.hero-script {
  font-family: 'Caveat', cursive; font-size: 56px;
  color: var(--accent);
  transform: rotate(-6deg); display: inline-block;
  animation: float 6s ease-in-out infinite;
}
.hero-image {
  margin-top: 24px; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-image img { width: 100%; height: 280px; object-fit: cover; }

@keyframes float {
  0%,100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-10px); }
}

/* Hero háttér animáció */
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero::before {
  width: 400px; height: 400px; background: rgba(96, 165, 250, 0.3);
  top: -100px; left: -50px; animation: drift 14s ease-in-out infinite;
}
.hero::after {
  width: 500px; height: 500px; background: rgba(250, 204, 21, 0.2);
  bottom: -150px; right: -100px; animation: drift 18s ease-in-out infinite reverse;
}
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,-20px) scale(1.1); }
}

@media (max-width: 860px) {
  .hero { padding: 60px 0 80px; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; }
}

/* ─── SECTION HEADER (smaller pages) ──────────────────────────── */
.page-header {
  background: var(--gradient-hero); color: var(--primary-fg);
  padding: 60px 0; position: relative; overflow: hidden;
}
.page-header h1 {
  font-size: clamp(28px, 5vw, 52px); margin-top: 8px;
}
.page-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  opacity: 0.8;
}
.page-lead {
  margin-top: 12px; max-width: 640px; opacity: 0.9; font-size: 17px;
}

/* ─── SECTIONS ─────────────────────────────────────────────────── */
section { padding: 60px 0; }
.section-muted { background: var(--bg-muted); }

.section-title { font-size: clamp(24px, 4vw, 36px); }
.section-eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--primary); font-weight: 600;
}

/* ─── CARDS ────────────────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: all 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.cat-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600; color: white;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.cat-badge.outrigger { background: linear-gradient(90deg, var(--secondary), var(--accent)); color: var(--accent-fg); }
.cat-badge.sup       { background: linear-gradient(90deg, var(--accent), var(--secondary)); color: var(--accent-fg); }
.cat-badge.sarkany   { background: linear-gradient(90deg, var(--primary), var(--accent)); }
.cat-badge.kajak     { background: linear-gradient(90deg, var(--secondary), var(--primary)); }

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

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ─── CTA strip ────────────────────────────────────────────────── */
.cta-strip {
  background: var(--gradient-water); color: var(--primary-fg);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
}
.cta-strip::after {
  content: ''; position: absolute; right: -50px; bottom: -50px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(250, 204, 21, 0.2); filter: blur(60px);
}
.cta-strip h2 { font-size: clamp(22px, 3vw, 36px); }
.cta-strip p { opacity: 0.9; margin-top: 8px; }
.cta-strip > * { position: relative; z-index: 2; }

/* ─── FORMS ────────────────────────────────────────────────────── */
.form-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

label {
  display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px;
  color: var(--fg);
}
input[type="text"], input[type="email"], input[type="tel"],
input[type="number"], input[type="password"], input[type="date"],
input[type="url"], select, textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--card); color: var(--fg);
  font-family: inherit; font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}
.checkbox-group {
  display: flex; align-items: flex-start; gap: 10px; font-size: 14px;
}
.checkbox-group input[type="checkbox"] { margin-top: 3px; }

/* ─── ALERTS ───────────────────────────────────────────────────── */
.alert {
  padding: 14px 16px; border-radius: 10px; font-size: 14px;
  margin-bottom: 16px; border-left: 4px solid var(--primary);
  background: rgba(30, 58, 138, 0.05);
}
.alert-success { border-color: var(--success); background: rgba(22, 163, 74, 0.08); color: #15803d; }
.alert-error { border-color: var(--danger); background: rgba(220, 38, 38, 0.08); color: #991b1b; }
.alert-warning { border-color: var(--warning); background: rgba(245, 158, 11, 0.08); color: #92400e; }
.alert-info { border-color: var(--primary); background: rgba(30, 58, 138, 0.06); color: var(--primary); }

/* ─── BADGES & PILLS ──────────────────────────────────────────── */
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge-pending  { background: #fef3c7; color: #92400e; }
.badge-approved { background: #d1fae5; color: #065f46; }
.badge-rejected { background: #fee2e2; color: #991b1b; }
.badge-paid     { background: #dbeafe; color: #1e40af; }

/* ─── TIMELINE (program) ──────────────────────────────────────── */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 20px;
  top: 0; bottom: 0; width: 3px;
  background: var(--gradient-accent); border-radius: 3px;
}
.timeline-item {
  position: relative; padding-left: 60px; padding-bottom: 24px;
}
.timeline-dot {
  position: absolute; left: 12px; top: 10px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); border: 4px solid var(--bg);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-time {
  font-size: 12px; font-weight: 700; color: var(--primary);
  letter-spacing: 0.05em;
}
.timeline-title { font-size: 17px; font-weight: 700; margin-top: 4px; }
.timeline-desc { font-size: 14px; color: var(--fg-muted); margin-top: 4px; }

/* ─── FAQ ──────────────────────────────────────────────────────── */
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
  transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; padding: 18px 20px; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: inherit; font-size: 15px; font-weight: 600;
  text-align: left; cursor: pointer; color: var(--fg);
}
.faq-question::after {
  content: '+'; font-size: 24px; font-weight: 300; color: var(--primary);
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner { padding: 0 20px 18px; color: var(--fg-muted); font-size: 14px; }
.faq-item.open .faq-answer { max-height: 500px; }

/* ─── FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  margin-top: 80px;
  background: var(--primary-dark); color: var(--primary-fg);
  padding: 50px 0 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px;
  padding-bottom: 32px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px;
}
.footer-tagline { margin-top: 12px; font-size: 14px; opacity: 0.8; line-height: 1.6; }

.site-footer h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--accent); margin-bottom: 14px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; font-size: 14px; }
.footer-links a { opacity: 0.85; transition: opacity 0.2s, color 0.2s; }
.footer-links a:hover { opacity: 1; color: var(--accent); }

.footer-date { font-size: 28px; font-weight: 700; line-height: 1.1; }
.footer-time { font-size: 14px; opacity: 0.7; margin-top: 4px; }

.footer-bottom {
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 12px; opacity: 0.7; align-items: center;
}
.footer-credit { font-size: 12px; opacity: 0.9; }
.footer-credit a { color: var(--accent); text-decoration: none; font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }

/* ─── EGYEDI LOGÓ KÉP ───────────────────────────────────────────── */
.logo-image { max-height: 48px; width: auto; display: block; }
@media (max-width: 768px) { .logo-image { max-height: 38px; } }

/* ─── NAV DROPDOWN ──────────────────────────────────────────────── */
.nav-dropdown {
  position: relative;
  display: inline-block;
}
.nav-dropdown-toggle {
  background: none; border: none; cursor: pointer; padding: 8px 12px;
  font: inherit; color: inherit; font-weight: 500;
  display: flex; align-items: center;
}
.nav-dropdown-toggle:hover { color: var(--primary, #1e3a8a); }

.nav-dropdown-menu {
  position: absolute; top: 100%; right: 0;
  background: #fff; border-radius: 10px; padding: 8px;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid var(--border, #e2e8f0);
  display: none; z-index: 100;
  /* NINCS margin-top — az hagy egy átláthatatlan rést.
     Helyette egy láthatatlan "híd" ::before-vel: */
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px; left: 0; right: 0;
  height: 10px;
  background: transparent;
}
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block; padding: 10px 14px; color: var(--fg, #222);
  text-decoration: none; border-radius: 6px; font-size: 14px;
  transition: background 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--bg-soft, #f8fafc); color: var(--primary, #1e3a8a); }
.nav-dropdown-menu a.active { background: var(--bg-soft, #f8fafc); color: var(--primary, #1e3a8a); font-weight: 600; }

@media (max-width: 768px) {
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    position: static; box-shadow: none; border: none;
    padding-left: 16px;
    background: transparent;
  }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
}

/* ─── LEGÉNYSÉG TAGOK (NEVEZÉSI ŰRLAP) ──────────────────────────── */
.member-block {
  background: var(--bg-soft, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 14px;
  transition: border-color 0.2s;
}
.member-block:focus-within {
  border-color: var(--primary, #1e3a8a);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
}
.member-header {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary, #1e3a8a);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.member-num {
  display: inline-block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  background: var(--accent, #facc15);
  color: #000;
  border-radius: 50%;
  margin-right: 6px;
  font-weight: 800;
}

/* ─── NEVEZÉS ŰRLAP LÉPÉSEK ──────────────────────────────────────── */
.reg-form { display: flex; flex-direction: column; gap: 28px; }

.reg-step {
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.reg-step:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.reg-step:focus-within {
  border-color: var(--primary, #1e3a8a);
  box-shadow: 0 6px 24px rgba(30, 58, 138, 0.1);
}

/* Színes oldalsó sáv a stepek számához */
.reg-step::before {
  content: '';
  position: absolute;
  left: 0; top: 24px; bottom: 24px;
  width: 4px;
  background: linear-gradient(180deg, #facc15 0%, #fbbf24 100%);
  border-radius: 0 4px 4px 0;
}

.reg-step-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--bg-soft, #f1f5f9);
}
.reg-step-header h2 {
  font-size: 22px;
  margin: 0;
  color: var(--primary, #1e3a8a);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.reg-step-header p {
  margin-top: 4px;
  color: var(--text-muted, #64748b);
  font-size: 14px;
}
.reg-step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.accept-row {
  padding: 12px 14px;
  background: var(--bg-soft, #f8fafc);
  border-radius: 10px;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.accept-row:has(input:checked) { background: #ecfdf5; }
.accept-row:last-child { margin-bottom: 0; }

/* ─── ALTÍPUS-VÁLASZTÓ (kenu: amatőr/családi/dragon/céges) ─────── */
.subtype-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}
.has-error .subtype-options { 
  outline: 2px solid #dc2626;
  outline-offset: 4px;
  border-radius: 8px;
}
.subtype-option {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 2px solid var(--border, #e2e8f0);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
  font-size: 14px;
  font-weight: 500;
  user-select: none;
}
.subtype-option:hover {
  border-color: var(--primary, #1e3a8a);
  background: var(--bg-soft, #f8fafc);
}
.subtype-option input[type="radio"] {
  margin: 0;
  cursor: pointer;
  accent-color: var(--primary, #1e3a8a);
  width: 18px;
  height: 18px;
}
.subtype-option:has(input:checked) {
  border-color: var(--primary, #1e3a8a);
  background: #eff6ff;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
  color: var(--primary, #1e3a8a);
  font-weight: 700;
}

@media (max-width: 768px) {
  .reg-step { padding: 24px 20px; }
  .reg-step-header { gap: 12px; }
  .reg-step-num { width: 36px; height: 36px; font-size: 15px; }
  .reg-step-header h2 { font-size: 18px; }
}

/* ─── ÁRMEGJELENÍTÉS (áthúzott / aktív) ──────────────────────────── */
.price-active { color: var(--accent-dark, #d97706); font-weight: 800; font-size: 1.1em; }
.price-strike { text-decoration: line-through; opacity: 0.5; margin-left: 8px; }

/* ─── DOKUMENTUM MODAL (PDF lightbox) ───────────────────────────── */
.doc-modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
}
.doc-modal[aria-hidden="false"] { display: block; }
.doc-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: doc-fade-in 0.2s ease;
}
.doc-modal-window {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(95vw, 1100px);
  height: min(92vh, 900px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: doc-zoom-in 0.25s ease;
}
@keyframes doc-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes doc-zoom-in {
  from { transform: translate(-50%, -50%) scale(0.95); opacity: 0; }
  to { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.doc-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border, #e2e8f0);
  background: #f8fafc;
}
.doc-modal-head h3 {
  font-size: 16px;
  margin: 0;
  color: var(--primary, #1e3a8a);
  font-weight: 700;
  flex: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.doc-modal-actions { display: flex; align-items: center; gap: 10px; }
.doc-modal-close {
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  width: 36px; height: 36px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted, #64748b);
  padding: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.doc-modal-close:hover {
  background: var(--bg-soft, #f1f5f9);
  color: var(--primary, #1e3a8a);
}
.doc-modal-body {
  flex: 1;
  background: #f1f5f9;
  overflow: hidden;
}
.doc-modal-body iframe {
  width: 100%; height: 100%;
  border: 0;
  background: #f8fafc;
}

@media (max-width: 640px) {
  .doc-modal-window { width: 100vw; height: 100vh; border-radius: 0; }
}

/* ─── SZÜLETÉSI DÁTUM (3 dropdown: Év / Hónap / Nap) ─────────── */
.dob-row {
  display: grid;
  grid-template-columns: 1.3fr 1.8fr 1fr;
  gap: 8px;
}
.dob-row select {
  padding: 11px 10px;
  font-size: 15px;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
}
.dob-row select:hover { border-color: var(--primary, #1e3a8a); }
.dob-row select:focus {
  outline: none;
  border-color: var(--primary, #1e3a8a);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}
.dob-row select:invalid {
  color: var(--text-muted, #94a3b8);
}
.dob-row select option { color: var(--fg, #0f172a); }
@media (max-width: 480px) {
  .dob-row { grid-template-columns: 1fr 1.4fr 1fr; gap: 6px; }
  .dob-row select { padding: 10px 6px; font-size: 14px; }
}

/* ─── EGYSZERŰ ÁR-SZALAG (visszafogott) ─────────────────────────── */
.cta-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 28px;
  background: var(--bg-soft, #f8fafc);
  border: 1px solid var(--border, #e2e8f0);
  border-left: 4px solid var(--primary, #1e3a8a);
  border-radius: 12px;
}
.cta-simple h2 { font-size: clamp(20px, 2.5vw, 26px); color: var(--primary, #1e3a8a); margin: 0 0 4px; }
.cta-simple-text { flex: 1; min-width: 280px; }
.cta-simple-price { font-size: 16px; line-height: 1.6; margin: 0; color: var(--fg); }
.cta-simple-price strong { color: var(--primary, #1e3a8a); font-size: 20px; font-weight: 800; }
.cta-simple-note { color: var(--text-muted, #64748b); font-size: 14px; margin-left: 4px; }

@media (max-width: 640px) {
  .cta-simple { padding: 20px; }
  .cta-simple .btn-primary { width: 100%; text-align: center; }
}

/* ─── MARKETINGES ÁR-CTA BLOKK ──────────────────────────────────── */
.price-cta {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #1e40af 100%);
  color: #fff;
  border-radius: 20px;
  padding: 40px 48px;
  box-shadow: 0 20px 40px -10px rgba(30, 58, 138, 0.4);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin: 24px 0;
}
.price-cta-compact { padding: 28px 40px; }

.price-cta-bg-blob {
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.price-cta-left { position: relative; z-index: 2; }
.price-cta-right { position: relative; z-index: 2; text-align: right; }

.price-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(250, 204, 21, 0.95);
  color: #1e3a8a;
  font-weight: 700; font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}
.price-badge-late {
  background: rgba(255, 255, 255, 0.95);
  color: #1e3a8a;
}

.price-cta h2 {
  font-size: clamp(24px, 3.5vw, 38px);
  margin: 0 0 18px;
  color: #fff;
  line-height: 1.1;
}

.price-display { display: flex; flex-direction: column; gap: 10px; }

.price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
  font-weight: 900;
}
.price-number {
  font-size: clamp(48px, 7vw, 76px);
  letter-spacing: -0.03em;
  color: #facc15;
  text-shadow: 0 2px 20px rgba(250, 204, 21, 0.4);
}
.price-currency {
  font-size: clamp(22px, 3vw, 32px);
  color: #facc15;
  font-weight: 800;
}
.price-per {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-left: 6px;
}

.price-secondary {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 15px;
}
.price-strike-bold {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(250, 204, 21, 0.6);
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  font-weight: 600;
}
.price-save {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.price-deadline {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.btn-cta-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #facc15;
  color: #1e3a8a;
  font-weight: 800;
  font-size: 18px;
  padding: 18px 32px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(250, 204, 21, 0.55);
}
.btn-arrow { font-size: 22px; transition: transform 0.2s; }
.btn-cta-big:hover .btn-arrow { transform: translateX(4px); }

.price-cta-note {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.8;
  text-align: right;
}

@media (max-width: 768px) {
  .price-cta { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; }
  .price-cta-right { text-align: center; }
  .price-cta-note { text-align: center; }
  .btn-cta-big { width: 100%; justify-content: center; }
}

/* ─── KATEGÓRIA OLDAL: csoportos megjelenítés ─────────────────── */
.category-group {
  margin-bottom: 56px;
}
.category-group:last-of-type { margin-bottom: 32px; }

.category-group-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border, #e2e8f0);
}
.category-group-icon {
  font-size: 40px;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #facc15 0%, #fbbf24 100%);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(250, 204, 21, 0.25);
  flex-shrink: 0;
}
.category-group-meta h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  color: var(--primary, #1e3a8a);
  letter-spacing: -0.01em;
}
.category-group-count {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted, #64748b);
  font-weight: 500;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .category-grid { grid-template-columns: 1fr; }
}

.category-card {
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 14px;
  padding: 22px;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary, #1e3a8a);
}

.category-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.category-distance {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary, #1e3a8a);
}
.category-card-title {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--primary, #1e3a8a);
  font-weight: 700;
  line-height: 1.3;
}
.category-card-desc {
  font-size: 14px;
  color: var(--text-muted, #64748b);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.category-card-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border, #e2e8f0);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.category-crew {
  font-size: 13px;
  color: var(--text-muted, #64748b);
  font-weight: 600;
}
.category-subtypes {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border, #e2e8f0);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.category-subtypes-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 4px;
}
.cat-subtype-tag {
  display: inline-block;
  padding: 3px 8px;
  background: var(--bg-soft, #f1f5f9);
  color: var(--primary, #1e3a8a);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

/* ─── TÁMOGATÓK GRID ───────────────────────────────────────────── */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #fff;
  border-radius: 10px;
  min-height: 100px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--border, #e2e8f0);
}
.sponsor-item:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); }
.sponsor-item img { max-width: 100%; max-height: 70px; object-fit: contain; filter: grayscale(15%); transition: filter 0.2s; }
.sponsor-item:hover img { filter: grayscale(0%); }
.sponsor-name { font-weight: 600; color: var(--primary, #1e3a8a); text-align: center; }

/* ─── UTILITIES ────────────────────────────────────────────────── */
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.flex-end { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 20px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--fg-muted); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent-dark); }
.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }
.font-bold { font-weight: 700; }
.font-script { font-family: 'Caveat', cursive; }

/* ─── HOMEPAGE specifics ──────────────────────────────────────── */
.discipline-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 280px;
}
.discipline-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.discipline-card:hover img { transform: scale(1.05); }
.discipline-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,58,138,0.9) 0%, rgba(30,58,138,0.3) 50%, transparent 100%);
}
.discipline-card .label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  color: var(--primary-fg); z-index: 2;
}
.discipline-card .label h3 { font-size: 22px; }
.discipline-card .label p { opacity: 0.9; font-size: 13px; margin-top: 4px; }

/* ─── Article ─────────────────────────────────────────────────── */
.article {
  max-width: 740px; margin: 0 auto;
  padding: 40px 20px;
}
.article h1 { font-size: clamp(28px, 5vw, 42px); margin-bottom: 12px; }
.article-meta { font-size: 13px; color: var(--fg-muted); margin-bottom: 24px; }
.article-body { font-size: 16px; line-height: 1.7; color: var(--fg); }
.article-body p { margin-bottom: 16px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; color: var(--primary); margin-bottom: 16px;
}
.back-link:hover { text-decoration: underline; }

/* ─── HÍR-OLDAL: 2-OSZLOPOS ELRENDEZÉS ──────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: flex-start;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 0;
}
.article-main {
  max-width: 100%;
  padding: 0;
}
.article-main h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 12px; }

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.sidebar-card h3 {
  font-size: 15px;
  margin: 0 0 14px;
  color: var(--primary, #1e3a8a);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent, #facc15);
}

/* Nevezés CTA-card sötét */
.sidebar-card-cta {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  border: none;
  color: #fff;
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.25);
}
.sidebar-card-cta h3 {
  color: #fff;
  border-bottom-color: rgba(250, 204, 21, 0.7);
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
}
.sidebar-card-price {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
}
.sidebar-card-price strong {
  color: #facc15;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.sidebar-note {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}
.btn-cta-sidebar {
  display: block;
  background: #facc15;
  color: #1e3a8a;
  font-weight: 800;
  padding: 12px 18px;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  font-size: 14px;
}
.btn-cta-sidebar:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(250, 204, 21, 0.45);
}

.sidebar-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.sidebar-list li { line-height: 1.5; color: var(--fg); }
.sidebar-list a { color: var(--primary, #1e3a8a); text-decoration: none; }
.sidebar-list a:hover { text-decoration: underline; }

.sidebar-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #1e3a8a);
  text-decoration: none;
}
.sidebar-link:hover { text-decoration: underline; }

.sidebar-news {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.sidebar-news a {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 8px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.sidebar-news a:hover { background: var(--bg-soft, #f8fafc); }
.sidebar-news-date {
  display: block;
  font-size: 11px;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.sidebar-news-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary, #1e3a8a);
  line-height: 1.35;
}

/* Cikk megosztás */
.article-share {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--border, #e2e8f0);
  border-bottom: 1px solid var(--border, #e2e8f0);
}
.share-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.share-fb { background: #1877f2; }
.share-tw { background: #0f172a; }
.share-mail { background: var(--primary, #1e3a8a); }

/* Mobil: sidebar a cikk alá */
@media (max-width: 980px) {
  .article-layout { grid-template-columns: 1fr; gap: 24px; }
  .article-sidebar { position: static; }
}


/* ─── Gallery ─────────────────────────────────────────────────── */
.album-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  height: 280px; box-shadow: var(--shadow-sm);
}
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.album-card:hover img { transform: scale(1.05); }
.album-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,58,138,0.95) 0%, rgba(30,58,138,0.3) 60%, transparent 100%);
}
.album-card .label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 20px;
  color: var(--primary-fg); z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.album-card .label .y { font-size: 24px; font-weight: 800; }
.album-card .label .c { font-size: 13px; opacity: 0.9; }
.album-card .pill {
  background: var(--accent); color: var(--accent-fg);
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
}

/* ─── Map area ────────────────────────────────────────────────── */
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.map-wrap iframe { display: block; width: 100%; height: 480px; border: 0; }

.poi-list { list-style: none; position: relative; padding-left: 24px; }
.poi-list::before {
  content: ''; position: absolute; left: 8px; top: 12px; bottom: 12px;
  width: 2px; background: var(--secondary); border-radius: 2px;
  border-left: 2px dashed var(--secondary); background: none;
}
.poi-list li {
  position: relative; margin-bottom: 16px; padding: 12px 16px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.poi-list li::before {
  content: counter(poi); counter-increment: poi;
  position: absolute; left: -28px; top: 14px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: var(--accent-fg);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 0 0 3px var(--bg);
}
.poi-list { counter-reset: poi; }
.poi-title { font-weight: 600; }
.poi-desc { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }

/* ─── Loading/empty states ──────────────────────────────────── */
.empty-state {
  text-align: center; padding: 60px 20px;
  color: var(--fg-muted); font-size: 15px;
}

/* ─── Print friendly ──────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .menu-toggle { display: none; }
  body { background: white; color: black; }
}

/* ─── Animations ──────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.6s ease both; }

/* ─── FACEBOOK ESEMÉNY LEBEGŐ GOMB ──────────────────────────────── */
.fb-event-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: linear-gradient(135deg, #1877f2 0%, #0d5dc9 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.15;
  box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4), 0 0 0 4px rgba(24, 119, 242, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fb-fab-pulse 2.5s ease-in-out infinite;
}
.fb-event-fab:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 32px rgba(24, 119, 242, 0.5), 0 0 0 6px rgba(24, 119, 242, 0.15);
  animation: none;
}
.fb-event-fab:active { transform: translateY(-1px) scale(1.0); }

.fb-event-fab-icon {
  width: 26px; height: 26px;
  flex-shrink: 0;
}
.fb-event-fab-text {
  display: flex;
  flex-direction: column;
}
.fb-event-fab-line1 { font-size: 11px; font-weight: 500; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.04em; }
.fb-event-fab-line2 { font-size: 14px; font-weight: 700; }

@keyframes fb-fab-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4), 0 0 0 4px rgba(24, 119, 242, 0.1); }
  50%      { box-shadow: 0 10px 28px rgba(24, 119, 242, 0.55), 0 0 0 8px rgba(24, 119, 242, 0.2); }
}

@media (max-width: 640px) {
  .fb-event-fab { left: 12px; bottom: 12px; padding: 10px 14px 10px 11px; }
  .fb-event-fab-icon { width: 22px; height: 22px; }
  .fb-event-fab-line1 { font-size: 10px; }
  .fb-event-fab-line2 { font-size: 12px; }
}
@media (max-width: 380px) {
  .fb-event-fab-text { display: none; }
  .fb-event-fab { padding: 12px; }
}

/* ─── PÓLÓ INFO + MODÁLIS ───────────────────────────────────────── */
.shirt-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 16px;
  background: #fef9c3;
  border: 1px solid #fde047;
  border-radius: 10px;
  font-size: 14px;
}
.btn-shirt-link {
  background: var(--primary, #1e3a8a);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
  font-family: inherit;
}
.btn-shirt-link:hover { background: #1e40af; transform: translateY(-1px); }

.shirt-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  z-index: 10000;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 12px;
  overflow-y: auto;
}
.shirt-modal-box {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  max-width: 760px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.shirt-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-muted, #64748b);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.shirt-modal-close:hover { background: var(--bg-soft, #f1f5f9); color: var(--fg, #0f172a); }
.shirt-modal-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 12px 0;
  border-radius: 8px;
  background: #f8fafc;
}
@media (max-width: 640px) {
  .shirt-info-bar { font-size: 13px; padding: 10px 12px; }
  .btn-shirt-link { font-size: 12px; padding: 7px 12px; }
  .shirt-modal-box { padding: 20px 16px; }
}

/* ─── NEVEZÉSI VISSZASZÁMLÁLÓ ───────────────────────────────────── */
.reg-countdown {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(30,58,138,0.25);
  transition: background 0.3s;
}
.reg-countdown.soon {
  background: linear-gradient(135deg, #b45309 0%, #ea580c 100%);
  box-shadow: 0 8px 24px rgba(180,83,9,0.3);
}
.reg-countdown.urgent {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
  box-shadow: 0 8px 24px rgba(185,28,28,0.35);
  animation: cd-pulse 2s ease-in-out infinite;
}
@keyframes cd-pulse {
  0%,100% { box-shadow: 0 8px 24px rgba(185,28,28,0.35); }
  50%     { box-shadow: 0 12px 32px rgba(185,28,28,0.55); }
}
.reg-countdown-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
}
.reg-countdown-label {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  opacity: 0.95;
}
.reg-countdown-pulse {
  display: inline-block;
  animation: cd-blink 1.5s ease-in-out infinite;
  margin-right: 4px;
}
@keyframes cd-blink { 50% { opacity: 0.35; } }
.reg-countdown-timer {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.cd-part {
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 62px;
  text-align: center;
  backdrop-filter: blur(2px);
}
.cd-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #facc15;
}
.reg-countdown.soon .cd-num,
.reg-countdown.urgent .cd-num { color: #fff; }
.cd-lbl {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 4px;
  opacity: 0.85;
}
.reg-countdown-date {
  text-align: right;
  font-size: 13px;
  line-height: 1.5;
}
.reg-countdown-hint {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  background: #facc15;
  color: #78350f;
  border-radius: 999px;
  font-weight: 700;
  font-size: 11px;
}
.reg-countdown.soon .reg-countdown-hint,
.reg-countdown.urgent .reg-countdown-hint {
  background: #fff; color: #7f1d1d;
}

@media (max-width: 780px) {
  .reg-countdown-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }
  .reg-countdown-date { text-align: center; }
  .cd-part { min-width: 56px; padding: 8px 10px; }
  .cd-num { font-size: 26px; }
}

/* ─── HATÁRIDŐ LEJÁRT (lezárt nézet) ──────────────────────────── */
.deadline-closed {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border: 2px solid #f59e0b;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.deadline-closed-icon { font-size: 72px; line-height: 1; margin-bottom: 8px; }
.deadline-closed-title {
  font-size: 28px;
  color: #78350f;
  margin: 0 0 12px;
}
.deadline-closed-lead {
  font-size: 17px;
  line-height: 1.5;
  color: #78350f;
  margin: 0 0 24px;
}
.deadline-closed-info {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  text-align: left;
  margin-top: 16px;
}
.deadline-info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #fef3c7;
}
.deadline-info-row:last-child { border-bottom: none; }
.deadline-info-icon {
  font-size: 24px;
  line-height: 1;
  margin-top: 2px;
}

.deadline-closed-window {
  display: inline-block;
  background: #7c2d12;
  color: #fef3c7;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  margin: 4px 0 20px;
  box-shadow: 0 4px 12px rgba(124, 45, 18, 0.25);
}
@media (max-width: 480px) {
  .deadline-closed-window { font-size: 13px; padding: 10px 16px; }
}

/* ─── POST-RACE (UTÓKOMMUNIKÁCIÓ) ─────────────────────────────── */
.post-race-banner {
  padding: 40px 0;
  background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
}
.post-race-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 40px;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.15);
  position: relative;
  overflow: hidden;
}
.post-race-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, #facc15 0%, #f59e0b 50%, #facc15 100%);
}
.post-race-icon {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 12px;
  animation: pr-float 3s ease-in-out infinite;
}
@keyframes pr-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.post-race-title {
  font-size: clamp(22px, 4vw, 32px);
  color: #1e3a8a;
  margin: 0 0 20px;
  line-height: 1.2;
}
.post-race-message {
  font-size: 16px;
  line-height: 1.7;
  color: #334155;
  text-align: left;
  margin: 0 auto 28px;
  max-width: 600px;
}
.post-race-message p { margin: 0 0 12px; }
.post-race-message p:last-child { margin-bottom: 0; }
.post-race-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .post-race-banner { padding: 24px 0; }
  .post-race-card { padding: 30px 20px; border-radius: 14px; }
  .post-race-icon { font-size: 48px; }
  .post-race-message { font-size: 15px; }
}
