/* Amortag Landing Page - Modern Dating Style */
:root {
  --primary: #E63946;
  --primary-hover: #C1121F;
  --accent: #FF6B6B;
  --bg-dark: #0B0B0F;
  --bg-card: #15151C;
  --bg-modal: #1C1C26;
  --text: #FFFFFF;
  --text-muted: #A0A0B0;
  --success: #2ECC71;
  --border: rgba(255, 255, 255, 0.08);
  --gradient: linear-gradient(135deg, #E63946 0%, #FF6B6B 50%, #C1121F 100%);
  --shadow: 0 20px 60px rgba(230, 57, 70, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background subtle pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(230, 57, 70, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--accent);
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  background: rgba(11, 11, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo span {
  font-weight: 400;
  opacity: 0.9;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 720px;
  animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.3);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--gradient);
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 60px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 70px rgba(230, 57, 70, 0.4);
}

.cta-btn:active {
  transform: translateY(-1px);
}

.cta-btn svg {
  width: 20px;
  height: 20px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--success);
}

/* Social proof section */
.section {
  padding: 4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.stat-card .number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 57, 70, 0.4);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(230, 57, 70, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.testimonial .stars {
  color: #FFD700;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial p {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.testimonial .author {
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial .author span {
  color: var(--text-muted);
  font-weight: 400;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(230, 57, 70, 0.08));
  border-radius: 24px;
  margin: 2rem 1.5rem;
}

.final-cta h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.final-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer a {
  color: var(--text-muted);
  margin: 0 0.5rem;
}

.footer a:hover {
  color: var(--accent);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1rem;
}

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

.modal {
  background: var(--bg-modal);
  border: 1px solid var(--border);
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.modal-step {
  display: none;
}

.modal-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal .subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-group input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--primary);
}

.form-group input::placeholder {
  color: #555;
}

.age-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.age-btn {
  width: 100%;
  padding: 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.age-btn:hover {
  border-color: var(--primary);
  background: rgba(230, 57, 70, 0.1);
}

.age-btn.selected {
  border-color: var(--primary);
  background: rgba(230, 57, 70, 0.2);
}

.modal-cta {
  width: 100%;
  margin-top: 0.5rem;
}

.error-msg {
  color: var(--primary);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: none;
}

.error-msg.show {
  display: block;
}

/* Profile teaser overlay */
.profile-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  text-align: center;
  padding: 2rem;
}

.profile-overlay.hidden {
  display: none;
}

.profile-overlay h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  max-width: 360px;
}

.profile-overlay p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Admin styles */
.admin-body {
  background: #0f0f14;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.admin-container {
  max-width: 900px;
  margin: 0 auto;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.admin-card h2 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-login {
  max-width: 380px;
  margin: 10vh auto;
}

.leads-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.leads-table th,
.leads-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.leads-table th {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-danger {
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.4);
  color: var(--accent);
}

.btn-danger:hover {
  background: rgba(230, 57, 70, 0.3);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.input-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.input-row input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: white;
  font-size: 0.95rem;
}

.input-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.full-width {
  width: 100%;
}

/* Responsive */
@media (max-width: 600px) {
  .hero {
    padding: 5rem 1rem 3rem;
  }
  
  .cta-btn {
    width: 100%;
    padding: 1.1rem;
  }
  
  .trust-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .modal {
    padding: 1.5rem;
  }
}

/* Utility */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }

/* ===== FIXES & NEW STYLES ===== */

/* Header button smaller on mobile */
.header .cta-btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .header {
    padding: 0.75rem 1rem;
  }
  .header .cta-btn {
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
  }
  .logo {
    font-size: 1.35rem;
  }
}

/* Animated CTA button */
.cta-btn {
  position: relative;
  overflow: hidden;
  animation: ctaPulse 2.4s ease-in-out infinite;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(230, 57, 70, 0.35); transform: scale(1); }
  50% { box-shadow: 0 14px 40px rgba(230, 57, 70, 0.55); transform: scale(1.03); }
}

@keyframes shine {
  0% { left: -100%; }
  40%, 100% { left: 150%; }
}

/* Trust row centered on mobile */
@media (max-width: 600px) {
  .trust-row {
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
  }
  .trust-item {
    justify-content: center;
  }
}

/* Location + nearby line */
.location-line {
  margin-top: 1.1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.location-line strong {
  color: #fff;
}

.nearby-line {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
}

/* Hide old free-related if any residual */
.no-free { display: none !important; }


/* ===== HEADER CTA – compact + glow animation (no scale) ===== */
.header .cta-btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
  transform: none !important;
  animation: headerGlow 2.5s ease-in-out infinite !important;
  position: relative;
  overflow: hidden;
}

.header .cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: headerShine 3s ease-in-out infinite;
  display: block !important;
}

@keyframes headerGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(230, 57, 70, 0.4); }
  50% { box-shadow: 0 6px 24px rgba(230, 57, 70, 0.7); }
}

@keyframes headerShine {
  0% { left: -120%; }
  50%, 100% { left: 150%; }
}

@media (max-width: 480px) {
  .header {
    padding: 0.75rem 1rem;
  }
  .header .cta-btn {
    padding: 0.42rem 0.75rem !important;
    font-size: 0.78rem !important;
    max-width: 40vw;
  }
  .logo {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 380px) {
  .header .cta-btn {
    padding: 0.38rem 0.6rem !important;
    font-size: 0.72rem !important;
  }
}

/* Social proof above CTA */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
  padding: 0.45rem 0.95rem;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.35);
  border-radius: 999px;
  font-size: 0.92rem;
  color: #c8f0d8;
}
.social-proof strong { color: #2ECC71; font-weight: 700; }
.sp-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ECC71;
  box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
  animation: spPulse 1.6s infinite;
}
@keyframes spPulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Profiles */
.profiles-section { padding-top: 1rem; }
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  max-width: 1000px;
  margin: 0 auto;
}
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(230, 57, 70, 0.18);
}
.profile-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #1a1a22;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-info { padding: 0.85rem 0.9rem 1rem; }
.profile-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.65rem;
  text-align: center;
}
.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.profile-btn {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border: none;
  border-radius: 10px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}
.profile-btn-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--text);
}
.profile-btn:hover { filter: brightness(1.08); }

@media (max-width: 900px) {
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .profiles-grid { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
  .profile-btn { font-size: 0.75rem; padding: 0.5rem 0.4rem; }
}

/* Form microcopy + trust */
.form-microcopy {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}
.form-trust {
  margin-top: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.form-trust svg { flex-shrink: 0; opacity: 0.85; }

.modal-sm { max-width: 400px; }

/* Social proof always above CTA, centered */
.hero-content .social-proof {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Profile distance per card */
.profile-dist {
  text-align: center;
  font-size: 0.82rem;
  color: var(--accent);
  margin-bottom: 0.55rem;
  font-weight: 500;
}

/* Stats labels wrap inside card */
.stat-card {
  overflow: hidden;
  word-break: break-word;
  hyphens: auto;
}
.stat-card .label {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
  font-size: 0.85rem;
  max-width: 100%;
}

/* Center lock in login required modal */
.login-required-step {
  text-align: center;
}
.login-required-step .lock-icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  display: block;
  text-align: center;
  line-height: 1;
}
.login-required-step h2,
.login-required-step .subtitle {
  text-align: center;
}

/* 8 profiles grid */
.profiles-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .profiles-grid { grid-template-columns: repeat(2, 1fr); }
}

.profiles-section {
  clear: both;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.profiles-grid {
  position: relative;
  z-index: 1;
}
.see-more-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto 0;
  padding: 0 1rem;
  clear: both;
  position: relative;
  z-index: 2;
}
.see-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  margin: 0 auto;
  white-space: normal;
  max-width: 100%;
}


/* —— Intro (tylko homepage, 2s) —— */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(230, 57, 70, 0.28) 0%, rgba(230, 57, 70, 0.08) 32%, transparent 58%),
    radial-gradient(ellipse at 50% 70%, rgba(255, 107, 107, 0.08) 0%, transparent 45%),
    #050506;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.intro-overlay[hidden] { display: none !important; }
.intro-overlay.is-out {
  animation: introFade 0.25s ease forwards;
}
@keyframes introFade {
  to { opacity: 0; visibility: hidden; }
}
.intro-stage {
  position: relative;
  width: min(92vw, 520px);
  height: min(70vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.intro-heart {
  position: relative;
  z-index: 2;
  width: 240px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.32);
  animation: introGrow 0.65s cubic-bezier(.2,.8,.2,1) forwards;
  filter: drop-shadow(0 0 36px rgba(230,57,70,.55)) drop-shadow(0 0 72px rgba(193,18,31,.35));
}
.intro-heart svg { width: 100%; height: 100%; display: block; }
.intro-word {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding-bottom: 8%;
  text-align: center;
  font-size: 1.7rem;
  letter-spacing: -0.5px;
  opacity: 0;
  animation: introName 0.35s ease 0.4s forwards;
  pointer-events: none;
  /* te same style co .logo w headerze */
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.intro-word span {
  font-weight: 400;
  opacity: 0.9;
}
@keyframes introGrow {
  0% { transform: scale(0.32); }
  100% { transform: scale(1); }
}
@keyframes introName {
  to { opacity: 1; }
}
.intro-heart.is-burst {
  animation: introPop 0.22s ease forwards;
}
@keyframes introPop {
  to { transform: scale(1.2); opacity: 0; }
}
.intro-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.intro-mini {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  color: #E63946;
  opacity: 0;
  will-change: transform, opacity;
}
.intro-mini svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 6px rgba(230,57,70,.5)); }
.intro-overlay.is-bursting .intro-mini {
  animation: introFly 1.05s ease-in-out forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes introFly {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) scale(0.25);
    opacity: 1;
  }
  22% {
    transform: translate(calc(var(--dx) * 0.22 + var(--w1)), calc(var(--dy) * 0.18 - var(--w2))) rotate(calc(var(--rot) * 0.3)) scale(0.85);
    opacity: 1;
  }
  48% {
    transform: translate(calc(var(--dx) * 0.52 - var(--w1)), calc(var(--dy) * 0.48 + var(--w2))) rotate(calc(var(--rot) * 0.65)) scale(0.7);
    opacity: 1;
  }
  72% {
    transform: translate(calc(var(--dx) * 0.8 + var(--w1) * 0.5), calc(var(--dy) * 0.82 - var(--w2) * 0.4)) rotate(var(--rot)) scale(0.58);
    opacity: 1;
  }
  82% { opacity: 1; }
  88% { opacity: 0.2; filter: brightness(1.8); }
  93% { opacity: 1; filter: brightness(1.3); }
  100% {
    transform: translate(var(--dx), var(--dy)) rotate(calc(var(--rot) * 1.15)) scale(0.35);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-overlay { display: none !important; }
}

html.profil-boot body > :not(#introOverlay):not(#profilGateOverlay) {
  visibility: hidden !important;
}
html.profil-boot #profilGateOverlay.hidden { display: none; }
