:root {
  --bg: #0a0a0f;
  --card: #14141a;
  --accent: #e50914;
  --accent-2: #ff6b6b;
  --accent-glow: rgba(229, 9, 20, 0.3);
  --muted: #9a9a9a;
  --glass: rgba(255, 255, 255, 0.03);
}

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

button,
input,
textarea,
a {
  outline: none;
  -webkit-tap-highlight-color: transparent
}

button:focus,
input:focus,
textarea:focus,
a:focus {
  outline: none
}

html {
  scroll-behavior: smooth
}

html.scroll-smooth {
  scroll-behavior: smooth
}

body {
  font-family: Inter, system-ui, sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Base gradient background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(229, 9, 20, 0.25) 0%, transparent 35%),
    radial-gradient(circle at 90% 10%, rgba(255, 20, 147, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(138, 43, 226, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(255, 107, 107, 0.18) 0%, transparent 45%),
    linear-gradient(135deg, #0a0000 0%, #000 30%, #001a2e 70%, #0a0a0f 100%);
  z-index: -3;
  animation: bgShift 25s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 1
  }

  50% {
    transform: scale(1.05) rotate(1deg);
    opacity: 0.95
  }

  100% {
    transform: scale(1.02) rotate(-1deg);
    opacity: 1
  }
}

/* ÚJ: Animated particles layer (Három réteg, parallax hatással) */
body::after {
  content: '';
  position: fixed;
  inset: 0;

  /* THREE LAYERS OF PARTICLES: Near (fast, bright), Mid (medium), Far (slow, faint) */
  background-image:
    /* 1. Near Particles (small, bright, fast) - MÉRET NÖVELVE */
    radial-gradient(circle at 20% 30%, rgba(229, 9, 20, 0.4) 1.5px, transparent 2.5px),
    radial-gradient(circle at 60% 70%, rgba(255, 107, 107, 0.3) 1.5px, transparent 2.5px),
    radial-gradient(circle at 5% 95%, rgba(229, 9, 20, 0.35) 1.5px, transparent 2.5px),
    radial-gradient(circle at 95% 5%, rgba(255, 107, 107, 0.25) 1.5px, transparent 2.5px),

    /* 2. Mid Particles (medium size, medium speed) - MÉRET NÖVELVE */
    radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.3) 2.5px, transparent 4px),
    radial-gradient(circle at 30% 80%, rgba(255, 20, 147, 0.35) 2.5px, transparent 4px),
    radial-gradient(circle at 40% 10%, rgba(138, 43, 226, 0.25) 2.5px, transparent 4px),
    radial-gradient(circle at 10% 40%, rgba(255, 20, 147, 0.3) 2.5px, transparent 4px),

    /* 3. Far Particles (large, faint, slow) - MÉRET NÖVELVE */
    radial-gradient(circle at 70% 50%, rgba(229, 9, 20, 0.15) 3.5px, transparent 5px),
    radial-gradient(circle at 15% 60%, rgba(255, 107, 107, 0.1) 3.5px, transparent 5px);

  /* Set background size for each particle type (10 entries) */
  background-size:
    300px 300px, 300px 300px, 250px 250px, 250px 250px,
    /* Near */
    450px 450px, 450px 450px, 400px 400px, 400px 400px,
    /* Mid */
    600px 600px, 600px 600px;
  /* Far */

  z-index: -2;
  opacity: 0.9;
  /* Opacitás növelve a jobb láthatóságért */
  animation: particles 60s linear infinite;
  pointer-events: none;
}

/* ÚJ KEYFRAMES: 10 pont valósághű mozgással */
@keyframes particles {
  0% {
    background-position:
      0% 0%, 50% 50%, 80% 10%, 20% 90%,
      /* Near */
      20% 80%, 70% 30%, 40% 10%, 10% 40%,
      /* Mid */
      10% 90%, 90% 10%;
    /* Far */
  }

  100% {
    background-position:
      -100% -100%, 150% 150%, -120% 120%, 120% -120%,
      /* Near: fast movement */
      -60% 120%, 130% -30%, -30% 60%, 60% -30%,
      /* Mid: medium movement */
      10% -10%, -10% 10%;
    /* Far: slow movement */
  }
}

/* Grid overlay (a styles.css-ben a navbar::before-hoz van kötve) */
.navbar::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(229, 9, 20, 0.03) 2px, rgba(229, 9, 20, 0.03) 4px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 2px, rgba(229, 9, 20, 0.03) 2px, rgba(229, 9, 20, 0.03) 4px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0)
  }

  100% {
    transform: translate(4px, 4px)
  }
}

/* [További stílusok változatlanok] */

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(229, 9, 20, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(229, 9, 20, 0.1);
  transition: all 0.3s ease;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent) 50%, transparent);
  opacity: 0.5;
  animation: navGlow 3s ease-in-out infinite;
}

@keyframes navGlow {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleX(0.8)
  }

  50% {
    opacity: 0.7;
    transform: scaleX(1)
  }
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Alfa Slab One', serif;
  color: var(--accent);
  letter-spacing: 4px;
  font-size: 24px;
  text-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(229, 9, 20, 0.2);
  animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {

  0%,
  100% {
    text-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(229, 9, 20, 0.2)
  }

  50% {
    text-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(229, 9, 20, 0.4)
  }
}

.logo-sub {
  color: var(--accent-2);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #ddd;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--accent);
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a:hover {
  color: #fff;
  text-shadow: 0 0 15px var(--accent-glow);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: clamp(160px, 10vw, 240px)
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 50% 30%, rgba(229, 9, 20, 0.2), transparent),
    radial-gradient(circle 400px at 20% 60%, rgba(138, 43, 226, 0.15), transparent),
    radial-gradient(circle 350px at 80% 70%, rgba(255, 20, 147, 0.12), transparent);
  z-index: 0;
  animation: heroGlow 8s ease-in-out infinite alternate
}

@keyframes heroGlow {
  0% {
    opacity: 0.6;
    filter: blur(40px)
  }

  100% {
    opacity: 0.8;
    filter: blur(60px)
  }
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h60v60H0z" fill="none"/%3E%3Cpath d="M30 0v60M0 30h60" stroke="%23ffffff" stroke-width="0.5" opacity="0.03"/%3E%3C/svg%3E');
  animation: grid-move 20s linear infinite
}

@keyframes grid-move {
  0% {
    transform: translateY(0)
  }

  100% {
    transform: translateY(60px)
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 24px 100px 24px
}

.hero-title {
  font-family: 'Alfa Slab One', serif;
  font-size: clamp(48px, 8vw, 92px);
  margin-bottom: 16px;
  line-height: 1.1
}

.glitch {
  position: relative;
  color: #fff; 
  text-shadow: 0 0 30px var(--accent-glow), 2px 2px 0 var(--accent), -2px -2px 0 #0ff
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8
}

.glitch::before {
  animation: glitch-1 2.5s infinite;
  color: var(--accent);
  z-index: -1
}

.glitch::after {
  animation: glitch-2 3s infinite;
  color: #0ff;
  z-index: -2
}

@keyframes glitch-1 {

  0%,
  100% {
    transform: translate(0)
  }

  20% {
    transform: translate(-3px, 3px)
  }

  40% {
    transform: translate(-3px, -3px)
  }

  60% {
    transform: translate(3px, 3px)
  }

  80% {
    transform: translate(3px, -3px)
  }
}

@keyframes glitch-2 {

  0%,
  100% {
    transform: translate(0)
  }

  20% {
    transform: translate(3px, -3px)
  }

  40% {
    transform: translate(-3px, 3px)
  }

  60% {
    transform: translate(-3px, -3px)
  }

  80% {
    transform: translate(3px, 3px)
  }
}

.hero-subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: #ccc;
  margin-bottom: 36px;
  font-weight: 300
}

.hero-image {
  margin: 36px auto;
  max-width: 500px;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  opacity: 0.3;
  filter: blur(30px);
  animation: glow 3s ease-in-out infinite;
  z-index: -1;
}

@keyframes glow {

  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.95)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.05)
  }
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(229, 9, 20, 0.4), 0 0 80px rgba(229, 9, 20, 0.2);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(229, 9, 20, 0.3);
}

.hero-image img:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 30px 80px rgba(229, 9, 20, 0.7), 0 0 100px rgba(229, 9, 20, 0.5);
  border-color: var(--accent);
}

.cta-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 18px 52px;
  background: linear-gradient(135deg, var(--accent) 0%, #c00810 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 1px;
  box-shadow: 0 8px 28px var(--accent-glow), 0 4px 12px rgba(229, 9, 20, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: none;
  outline: none;
  text-transform: uppercase;
}


.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent, rgba(255, 255, 255, 0.3));
  opacity: 0;
  transition: opacity 0.3s;
}

.cta-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.cta-btn:hover::before {
  opacity: 1;
  animation: btnShine 1s ease;
}

.cta-btn:hover::after {
  width: 400px;
  height: 400px;
}

.cta-btn:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 16px 48px rgba(229, 9, 20, 0.8), 0 0 60px rgba(229, 9, 20, 0.5), 0 0 30px rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #ff1a24 0%, #f50915 100%);
}

.cta-btn:active {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.6);
}

.cta-btn:focus {
  outline: none;
}

/* Fade-in animations */
.fade-in {
  animation: fadeIn 1.2s ease-out
}

.fade-in-delay {
  animation: fadeIn 1.2s ease-out 0.3s backwards
}

.fade-in-delay-2 {
  animation: fadeIn 1.2s ease-out 0.6s backwards
}

.fade-in-delay-3 {
  animation: fadeIn 1.2s ease-out 0.9s backwards
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* About Section */
.section-about {
  padding: 100px 24px;
  background: transparent;
  position: relative;
}

.section-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 30% 50%, rgba(255, 20, 147, 0.08), transparent),
    radial-gradient(circle 500px at 70% 50%, rgba(138, 43, 226, 0.06), transparent);
  z-index: 0;
  animation: sectionPulse 10s ease-in-out infinite;
}

@keyframes sectionPulse {

  0%,
  100% {
    opacity: 0.5
  }

  50% {
    opacity: 0.8
  }
}

.section-about>* {
  position: relative;
  z-index: 1
}

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

.section-title {
  font-size: clamp(40px, 6vw, 72px);
  text-align: center;
  margin-bottom: 60px;
  color: var(--accent);
  font-family: 'Alfa Slab One', serif;
  text-shadow:
    0 0 40px var(--accent-glow),
    0 0 80px rgba(229, 9, 20, 0.4),
    3px 3px 0 rgba(0, 0, 0, 0.5),
    -2px -2px 0 rgba(255, 107, 107, 0.3);
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
  width: 100%;
  animation: titlePulse 4s ease-in-out infinite;
}

.section-title::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 107, 107, 0.3);
  z-index: -1;
  animation: glitchTitle 5s infinite;
}

@keyframes titlePulse {

  0%,
  100% {
    text-shadow:
      0 0 40px var(--accent-glow),
      0 0 80px rgba(229, 9, 20, 0.4),
      3px 3px 0 rgba(0, 0, 0, 0.5),
      -2px -2px 0 rgba(255, 107, 107, 0.3);
  }

  50% {
    text-shadow:
      0 0 60px var(--accent-glow),
      0 0 120px rgba(229, 9, 20, 0.6),
      3px 3px 0 rgba(0, 0, 0, 0.5),
      -2px -2px 0 rgba(255, 107, 107, 0.5);
  }
}

@keyframes glitchTitle {

  0%,
  90%,
  100% {
    transform: translate(0, 0);
    opacity: 0
  }

  92% {
    transform: translate(-3px, 2px);
    opacity: 0.7
  }

  94% {
    transform: translate(2px, -2px);
    opacity: 0.7
  }

  96% {
    transform: translate(0, 0);
    opacity: 0
  }
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px
}

.feature-card {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(229, 9, 20, 0.15);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(229, 9, 20, 0.3);
  border-color: var(--accent)
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 20px
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #fff !important
}

.feature-card p {
  color: #aaa;
  line-height: 1.6
}

/* Cards page styles have been moved to `css/cards.css` */
.btn {
  padding: 11px 20px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 14px;
  position: relative;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, #c00810 100%);
  color: #fff;
  box-shadow: 0 6px 16px var(--accent-glow), 0 2px 8px rgba(229, 9, 20, 0.4);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn.primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent, rgba(255, 255, 255, 0.3));
  opacity: 0;
  transition: opacity 0.3s;
}

.btn.primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
  transform: scale(0);
}

.btn.primary:hover::before {
  opacity: 1;
  animation: btnShine 1s ease;
}

.btn.primary:hover::after {
  opacity: 1;
  transform: scale(1);
}

@keyframes btnShine {
  0% {
    transform: translateX(-100%) skewX(-20deg)
  }

  100% {
    transform: translateX(200%) skewX(-20deg)
  }
}

.btn.primary:hover {
  box-shadow: 0 12px 32px rgba(229, 9, 20, 0.7), 0 0 40px rgba(229, 9, 20, 0.4), 0 0 20px rgba(255, 255, 255, 0.2);
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, #ff1a24 0%, #f50915 100%);
}

.btn.primary:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.5);
}

.btn:not(.primary) {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.btn:not(.primary):hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15), 0 0 20px rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* Footer */
.site-footer {
  padding: 60px 24px;
  background: linear-gradient(180deg, #0a0a0f, #050508);
  border-top: 1px solid rgba(229, 9, 20, 0.1);
  text-align: center
}

.footer-content {
  color: var(--muted);
  font-size: 14px
}

.footer-content .logo {
  margin: 0 auto 16px;
  display: inline-flex
}

.footer-content p {
  margin-top: 12px
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100
}

.modal[aria-hidden="false"] {
  display: flex
}

.modal[aria-hidden="false"] .modal-content {
  animation: modalIn 380ms cubic-bezier(0.22, 1, 0.36, 1) forwards
}

.modal-content {
  background: linear-gradient(135deg, #14141a, #0f0f14);
  padding: 32px;
  border-radius: 20px;
  width: 92%;
  max-width: 540px;
  border: 1px solid rgba(229, 9, 20, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  position: relative
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 50%;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
  line-height: 1;
}

.close-btn:hover {
  background: rgba(229, 9, 20, 0.2); 
  color: var(--accent);
  transform: rotate(90deg); 
}

.modal-content h2 {
  color: white;
  margin: 0 0 20px;
  font-size: 28px
}

.custom-notice-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.custom-notice-box {
  background: var(--bg);
  border: 2px solid var(--accent);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 0 40px var(--accent-glow);
  max-width: 320px;
  width: 90%;
  animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-notice-box p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.4;
}


@keyframes scaleIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

#modalCardInfo {
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border-left: 3px solid var(--accent)
}

.modal-content label {
  display: block;
  margin: 20px 0 8px;
  color: #ddd;
  font-weight: 500;
  font-size: 15px
}

.modal-content label:first-of-type {
  margin-top: 0
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-family: inherit;
  transition: border-color 0.3s;
  margin-bottom: 4px
}

.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: var(--accent)
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px
}

/* Reveal animation on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s
}

.reveal.active {
  opacity: 1;
  transform: translateY(0)
}

/* Megtekintő modal egyedi stílusai */
.modal-view-img {
  width: 100%;
  max-height: 350px;
  display: flex;
  justify-content: center;
  margin: 20px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--accent);
  background: #000;
  box-shadow: 0 0 20px var(--accent-glow);
}

.modal-view-img img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.modal-view-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed var(--muted);
  border-radius: 12px;
  margin: 20px 0;
  color: var(--muted);
}

.modal-view-details p {
  font-size: 18px;
  margin: 10px 0;
  color: #eee;
}

.modal-view-details strong {
  color: var(--accent-2);
}

@media (max-width:768px) {
  .nav-links {
    display: none
  }

  .hero {
    min-height: 90vh
  }

  .hero-image {
    max-width: 340px
  }

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

  /* cards-grid responsive rule moved to css/cards.css */
}

/* Modal entrance animation (smoother) */
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985)
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1)
  }
}

/* ÚJ: Elrejtő osztály */
.hidden {
  display: none !important;
}

/* Card entrance reveal (used when cards are rendered) */
.card.reveal {
  /* moved to css/cards.css */
}