/* ==========================================================================
   NYUNYO & MILUKA - DESIGN SYSTEM & POLAROID CAROUSEL STYLES
   ========================================================================== */

/* ==========================================================================
   🔐 BELÉPŐ FELÜLET STÍLUSOK
   ========================================================================== */
#login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fcf0f2 0%, #f7e1e5 30%, #fdf6f0 70%, #f5e6f0 100%);
  overflow: hidden;
}

.login-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.login-glow-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #d46a7e 0%, transparent 70%);
  top: -80px;
  right: -100px;
  animation: loginGlowFloat 8s ease-in-out infinite alternate;
}

.login-glow-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #e8afb9 0%, transparent 70%);
  bottom: -60px;
  left: -80px;
  animation: loginGlowFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes loginGlowFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.15); }
}

.login-card {
  position: relative;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 106, 126, 0.2);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(180, 100, 115, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  animation: loginCardAppear 0.6s ease-out;
}

@keyframes loginCardAppear {
  0% { opacity: 0; transform: translateY(30px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.login-heart-icon {
  font-size: 3.5rem;
  margin-bottom: 0.8rem;
  animation: loginHeartPulse 1.4s ease-in-out infinite;
}

@keyframes loginHeartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.login-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #1f1a1c;
  margin: 0 0 0.3rem 0;
  letter-spacing: -0.02em;
}

.login-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: #7d6b70;
  font-weight: 500;
  margin: 0 0 1.2rem 0;
}

.login-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #d46a7e, #e8afb9);
  border-radius: 3px;
  margin: 0 auto 1.4rem auto;
}

.login-prompt {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #2d2426;
  font-weight: 600;
  margin: 0 0 1.2rem 0;
}

.login-input-wrapper {
  margin-bottom: 0.8rem;
}

.login-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 2px solid #e8d5d9;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #1f1a1c;
  background: rgba(255, 255, 255, 0.7);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  text-align: center;
  letter-spacing: 0.15em;
}

.login-input:focus {
  border-color: #d46a7e;
  box-shadow: 0 0 0 4px rgba(212, 106, 126, 0.12);
}

.login-input::placeholder {
  color: #b8a0a6;
  letter-spacing: 0.05em;
}

.login-error {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: #a84255;
  font-weight: 600;
  min-height: 1.2em;
  margin: 0 0 0.8rem 0;
  transition: opacity 0.2s ease;
}

.login-btn {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #d46a7e 0%, #c7586e 100%);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(212, 106, 126, 0.35);
  letter-spacing: 0.02em;
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(212, 106, 126, 0.45);
}

.login-btn:active {
  transform: translateY(0);
}

:root {
  --rose-primary: #d46a7e;
  --rose-light: #f7e1e5;
  --rose-dark: #a84255;
  --bg-porcelain: #fcf8f9;
  --card-bg: rgba(255, 255, 255, 0.92);
  --text-main: #2d2426;
  --text-muted: #7d6b70;
  --text-title: #1f1a1c;
  --shadow-soft: 0 10px 30px rgba(180, 100, 115, 0.08);
  --shadow-hover: 0 18px 40px rgba(180, 100, 115, 0.18);
  --radius-card: 20px;
  --radius-pill: 50px;
}

/* POLAROID INTERAKTÍV FOTÓ CAROUSEL STÍLUSOK */
.polaroid-photo-frame {
  position: relative;
  overflow: hidden;
}

.polaroid-carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 5;
}

.polaroid-photo-frame:hover .polaroid-carousel-controls,
.polaroid-photo-frame:active .polaroid-carousel-controls {
  opacity: 1;
}

.polaroid-nav-btn {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(220, 150, 165, 0.5);
  color: #1f1a1c;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, background 0.2s ease;
}

.polaroid-nav-btn:hover {
  background: #ffffff;
  transform: scale(1.15);
  border-color: var(--rose-primary);
}

.polaroid-dots-track {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
  pointer-events: none;
}

.polaroid-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.polaroid-dot.active {
  background: #ffffff;
  width: 14px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   GLOBAL RESET & BODY
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-porcelain);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* BACKDROP ANIMÁCIÓK */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -2;
  opacity: 0.45;
  pointer-events: none;
}

.bg-glow-1 {
  width: 400px;
  height: 400px;
  background: #f7cfd6;
  top: -100px;
  left: -100px;
}

.bg-glow-2 {
  width: 500px;
  height: 500px;
  background: #fae1e6;
  bottom: -150px;
  right: -150px;
}

#canvas-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.app-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.2rem 6rem;
}

/* HEADER BRANDING */
.app-header {
  text-align: center;
  margin-bottom: 2rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--rose-dark);
}

.heart-pulse {
  display: inline-block;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.2); }
  70% { transform: scale(1); }
}

.header-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* HERO DASHBOARD GRID */
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.hero-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

.counter-hero-card h2 {
  font-size: 1.15rem;
  color: var(--text-title);
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.counter-grid {
  display: flex;
  gap: 0.8rem;
}

.counter-box {
  flex: 1;
  background: rgba(247, 225, 229, 0.4);
  border: 1px solid rgba(212, 106, 126, 0.15);
  border-radius: 14px;
  padding: 0.7rem 0.3rem;
  text-align: center;
}

.counter-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--rose-dark);
}

.counter-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  margin-top: 0.1rem;
}

.stats-mini-grid {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.stat-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  padding: 0.6rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-title);
}

.stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-cta-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-dark));
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(168, 66, 85, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(168, 66, 85, 0.4);
}

/* FLOATING NAV DOCK */
.floating-nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  padding: 0.5rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-bottom: 2.2rem;
  position: sticky;
  top: 15px;
  z-index: 100;
}

.nav-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nav-tab-btn.active {
  background: #ffffff;
  color: var(--rose-dark);
  box-shadow: 0 4px 15px rgba(180, 100, 115, 0.15);
}

/* TOOLBAR & SEARCH */
.section-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.filters-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.3rem;
  scrollbar-width: none;
}

.filters-scroll::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 106, 126, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--rose-primary);
  color: #ffffff;
  border-color: var(--rose-primary);
}

.search-input-wrapper {
  position: relative;
  min-width: 240px;
}

.search-input-wrapper input {
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 106, 126, 0.2);
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  outline: none;
}

/* POLAROID TIMELINE CARD NÉZET */
.timeline-container.polaroid-mode {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.polaroid-card {
  background: #ffffff;
  border-radius: 4px;
  padding: 1rem 1rem 1.4rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.polaroid-card:nth-child(even) {
  transform: rotate(1.2deg);
}

.polaroid-card:nth-child(odd) {
  transform: rotate(-1.2deg);
}

.polaroid-card:hover {
  transform: translateY(-8px) scale(1.02) rotate(0deg) !important;
  box-shadow: 0 22px 45px rgba(180, 100, 115, 0.2);
  z-index: 10;
}

.polaroid-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: rgba(247, 225, 229, 0.75);
  border: 1px dashed rgba(212, 106, 126, 0.3);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.polaroid-photo-frame {
  width: 100%;
  height: 240px;
  background: #111;
  margin-bottom: 1rem;
  position: relative;
  cursor: pointer;
  border-radius: 2px;
}

.polaroid-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s ease, transform 0.4s ease;
}

.polaroid-photo-frame:hover img {
  transform: scale(1.04);
}

.polaroid-count-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 12px;
}

.polaroid-placeholder-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #fce8ec, #f7d6dc);
}

.polaroid-caption {
  padding: 0 0.4rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.card-tags {
  display: flex;
  gap: 0.4rem;
}

.tag-category {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(247, 225, 229, 0.6);
  color: var(--rose-dark);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

.tag-category.fav-tag {
  background: #fff4e5;
  color: #d97706;
}

.tag-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--text-title);
  margin-bottom: 0.3rem;
}

.card-location {
  font-size: 0.82rem;
  color: var(--rose-primary);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.card-description {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  border: 1px solid rgba(212, 106, 126, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  padding: 0.4rem 0.8rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background: var(--rose-light);
  color: var(--rose-dark);
}

/* LEAFLET POPUP CSS OVERRIDES */
.leaflet-popup-content-wrapper {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 4px !important;
  box-shadow: 0 14px 35px rgba(180, 100, 115, 0.25) !important;
  border: 1px solid rgba(212, 106, 126, 0.2) !important;
}

.map-popup-card {
  padding: 0.6rem 0.8rem;
  text-align: center;
}

.map-popup-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--rose-primary);
  background: var(--rose-light);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.map-popup-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--text-title);
  margin-bottom: 0.2rem;
}

.map-popup-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.map-popup-desc {
  font-size: 0.85rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.4;
}

.leaflet-popup-tip {
  background: #ffffff !important;
}

/* TÉRKÉP KONTÉNER */
.hd-map-wrapper {
  width: 100%;
  height: 520px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

#hd-map-canvas {
  width: 100%;
  height: 100%;
}

.custom-heart-pin {
  background: transparent;
  border: none;
}

.heart-pin-pulse {
  font-size: 2.2rem;
  filter: drop-shadow(0 6px 12px rgba(180, 60, 80, 0.4));
  animation: heartPinDrop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPinDrop {
  0% { transform: translateY(-30px) scale(0); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* IDŐKAPSZULA & BUCKETLIST GRID */
.capsules-grid, .bucket-grid, .questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.capsule-card, .bucket-card, .question-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-width: 0 !important;
}

.capsule-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  border-radius: 12px;
}

.capsule-badge.locked {
  background: #fff1f2;
  color: #e11d48;
}

.capsule-badge.open {
  background: #f0fdf4;
  color: #16a34a;
}

.capsule-title, .bucket-title {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin: 0.6rem 0 0.4rem;
}

.capsule-msg-box {
  background: rgba(247, 225, 229, 0.3);
  border-radius: 12px;
  padding: 1rem;
  font-style: italic;
  margin-top: 0.8rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.bucket-card.completed {
  opacity: 0.7;
  background: rgba(240, 253, 244, 0.8);
}

.bucket-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.btn-complete {
  background: var(--rose-primary);
  color: #fff;
  border: none;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

/* PÁRKAPCSOLATI KÁRTYÁK */
.game-progress-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.progress-bar-wrapper {
  width: 100%;
  height: 10px;
  background: rgba(212, 106, 126, 0.15);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-primary), var(--rose-dark));
  width: 0%;
  transition: width 0.4s ease;
}

.progress-text-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
}

.sub-tab-switcher {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.sub-tab-btn {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 106, 126, 0.2);
  background: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  cursor: pointer;
}

.sub-tab-btn.active {
  background: var(--rose-dark);
  color: #fff;
}

.single-draw-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(180, 100, 115, 0.15);
  border: 2px solid var(--rose-light);
  max-width: 550px;
  margin: 0 auto;
  transition: transform 0.4s ease;
}

.single-draw-category {
  background: var(--rose-light);
  color: var(--rose-dark);
  padding: 0.3rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 1rem;
}

.single-draw-question {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--text-title);
  line-height: 1.5;
  margin-bottom: 2rem;
}

.single-draw-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-draw-next {
  background: rgba(247, 225, 229, 0.6);
  color: var(--text-title);
  border: 1px solid rgba(212, 106, 126, 0.3);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
}

.answers-container {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.answer-bubble {
  background: rgba(247, 225, 229, 0.3);
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  text-align: left;
}

.answer-author {
  font-weight: 800;
  display: block;
  font-size: 0.78rem;
  color: var(--rose-dark);
  margin-bottom: 0.2rem;
}

/* FAB BUTTON */
.fab-add {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-dark));
  color: #fff;
  border: none;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(168, 66, 85, 0.4);
  cursor: pointer;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.fab-add:hover {
  transform: scale(1.1);
}

/* MODALS */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-card);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-title);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 106, 126, 0.25);
  outline: none;
  font-size: 0.92rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row > div {
  flex: 1;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--rose-primary), var(--rose-dark));
  color: #fff;
  border: none;
  padding: 0.85rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.btn-action-primary {
  background: var(--rose-primary);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

.location-suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(212, 106, 126, 0.3);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 100;
  display: none;
  max-height: 200px;
  overflow-y: auto;
}

.suggestion-item {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.suggestion-item:hover {
  background: var(--rose-light);
}

.multi-preview-grid {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.multi-preview-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.upload-dropzone {
  border: 2px dashed rgba(212, 106, 126, 0.4);
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  background: rgba(247, 225, 229, 0.2);
  cursor: pointer;
  position: relative;
}

.upload-dropzone input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* POSTCARD & LIGHTBOX MODAL */
.postcard-wrapper {
  background: #fffdfa;
  border-radius: 16px;
  padding: 2.2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 1px solid #ebd9c8;
  position: relative;
  text-align: center;
}

.postcard-stamp {
  position: absolute;
  top: 15px;
  right: 15px;
  border: 2px dashed var(--rose-primary);
  padding: 0.3rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--rose-primary);
}

.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}

.lightbox-img-wrapper {
  position: relative;
  display: inline-block;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox-prev { left: -20px; }
.lightbox-next { right: -20px; }
.lightbox-counter { color: #fff; margin-top: 0.4rem; font-size: 0.85rem; }

.section-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header-bar h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

/* ==========================================================================
   MOBIL RESPONSIVE STÍLUSOK (100% WATERPROOF FULL MOBIL NÉZET)
   ========================================================================== */

@media (max-width: 768px) {
  .app-wrapper {
    padding: 1rem 0.75rem 5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .counter-grid {
    gap: 0.4rem !important;
  }

  .counter-number {
    font-size: 1.25rem !important;
  }

  .counter-label {
    font-size: 0.65rem !important;
  }

  /* 📱 ALSÓ FIX DOCK NÉZET MOBILON */
  .floating-nav {
    position: fixed !important;
    bottom: 0 !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(212, 106, 126, 0.25) !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.12) !important;
    padding: 0.35rem 0.2rem !important;
    justify-content: space-around !important;
    background: rgba(255, 255, 255, 0.96) !important;
    z-index: 1000 !important;
  }

  .nav-tab-btn {
    padding: 0.4rem 0.2rem !important;
    font-size: 0.7rem !important;
    flex-direction: column !important;
    gap: 0.2rem !important;
    flex: 1 !important;
    text-align: center !important;
    border-radius: 8px !important;
  }

  .nav-tab-btn .nav-icon {
    font-size: 1.1rem !important;
  }

  /* 📱 TÖBB SORBA ELCSÚSZÓ TOUCH BADGE-EK MOBILON */
  .section-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .filters-scroll {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 0.4rem !important;
  }

  .filter-btn {
    flex: 1 1 auto !important;
    text-align: center !important;
    padding: 0.45rem 0.7rem !important;
    font-size: 0.8rem !important;
  }

  .search-input-wrapper {
    min-width: 100% !important;
    margin-top: 0.5rem !important;
  }

  .timeline-container.polaroid-mode {
    grid-template-columns: 1fr !important;
  }

  .polaroid-card {
    transform: rotate(0deg) !important;
    margin-bottom: 0.5rem !important;
  }

  .hd-map-wrapper {
    height: 380px !important;
  }

  .fab-add {
    bottom: 75px !important;
    right: 15px !important;
    width: 52px !important;
    height: 52px !important;
    font-size: 1.6rem !important;
  }
}
