/* Globális stílusok */
:root {
    --primary: #ef4444;
    --primary-dark: #b91c1c;
    --secondary: #0ea5e9;
    --dark: #111827;
    --darker: #0a1120;
    --light: #f3f4f6;
  }
  
  html {
    scroll-behavior: smooth;
    background-color: var(--darker);
  }
  .active-page {
  color: #fff;
  background-color: rgba(239, 68, 68, 0.7);
}
#contact {
  scroll-margin-top: 120px; /* navbar magassághoz igazítva */
  padding-bottom: 100px;    /* hogy legyen hely alatta */
}
.cursor {
  display: inline-block;
  animation: blink 0.7s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}
#newsletter-email.error {
  border: 2px solid red;
  background-color: #fee2e2;
}
  body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at center, var(--darker), var(--dark));
    color: var(--light);
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
  }
  
  /* Gradiens szegélyek */
  .gradient-border {
    position: relative;
    background: var(--dark);
    border-radius: 12px;
  }
  
  .gradient-border::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 14px;
    z-index: -1;
  }
  
  /* Animált aláhúzás */
  .hover-underline {
    position: relative;
    display: inline-block;
  }
  
  .hover-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
  }
  
  .hover-underline:hover::after {
    width: 100%;
  }
  
  /* Parallax effektus */
  .parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
  }
  
  /* Particle canvas */
  #particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
  
  /* Animált gomb */
  .pulse-button {
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  
  @keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
  }
  
  /* Kártya animáció */
  .game-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    transform-style: preserve-3d;
  }
  
  .game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  }
  
  .progress-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0;
    transition: width 0.2s ease-out;
  }
  
  /* Theme toggle */
  .theme-toggle {
    transition: all 0.3s ease;
  }
  
  /* LIGHT THEME */
  body.light-theme {
    background: radial-gradient(circle at center, #afafaf, #c7c7c7);
    color: #1a2232;
  }
  body.light-theme #navbar,
  body.light-theme .gradient-border,
  body.light-theme .game-card,
  body.light-theme .feature-card,
  body.light-theme .bg-gray-900,
  body.light-theme .bg-gray-800 {
    background: #d8d7d7 !important;
    color: #1a2232 !important;
    box-shadow: 0 2px 8px 0 #e0e7ef33;
  }
  body.light-theme .text-white,
  body.light-theme .text-gray-300,
  body.light-theme .text-gray-400 {
    color: #1a2232 !important;
  }
  body.light-theme .bg-darker {
    background: #53555a !important;
  }
  body.light-theme .gradient-border::before {
    background: linear-gradient(45deg, var(--primary), var(--secondary), #f59e42 70%);
  }
  body.light-theme .pulse-button {
    background: linear-gradient(90deg, #ef4444, #0ea5e9);
    color: #fff;
  }
  body.light-theme .hover\:bg-red-600:hover {
    background: #dc2626 !important;
    color: #fff !important;
  }
  body.light-theme input,
  body.light-theme textarea {
    background: #c0c0c0 !important;
    color: #1a2232 !important;
    border-color: #bbb !important;
  }
  body.light-theme .bg-gradient-to-r {
    background: linear-gradient(to right, #ef4444, #0ea5e9) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
  }
  body.light-theme .bg-gradient-to-b {
    background: linear-gradient(to bottom, #fff, #e5e7eb) !important;
  }
  body.light-theme .border-gray-800 {
    border-color: #cbd5e1 !important;
  }
  body.light-theme .social-icon {
    background: #f3f4f6 !important;
    color: #ef4444 !important;
    border: 1px solid #e5e7eb;
  }
  body.light-theme .social-icon:hover {
    background: #ef4444 !important;
    color: #fff !important;
  }
  body.light-theme .gallery-item {
    background: #ffffff !important;
    color: #1a2232 !important;
  }
  body.light-theme .newsletter {
    background: #fff !important;
    color: #1a2232 !important;
  }
  body.light-theme footer {
    background: #f3f4f6 !important;
    color: #1a2232 !important;
  }
  body.light-theme .bg-gradient-to-br {
    background: linear-gradient(to bottom right, #fff, #dbdcdd) !important;
  }
  body.light-theme .bg-gray-700 { background: #e5e7eb !important; }
  body.light-theme .text-red-400 { color: #b91c1c !important; }
  body.light-theme .bg-red-500 { background: #ef4444 !important; color: #fff !important; }
  body.light-theme .hover\:text-white:hover { color: #b91c1c !important; }
  body.light-theme .border-red-500 { border-color: #ef4444 !important; }
  body.light-theme .focus\:ring-red-500 { --tw-ring-color: #ef4444; }
  body.light-theme .progress-bar { background: linear-gradient(90deg, #ef4444, #0ea5e9) !important; }