:root {
  --primary: #004aad;
  --secondary: #00a678;
  --dark: #121212;
  --darker: #0a0a0a;
  --light: #e0e0e0;
  --card-bg: #1e1e1e;
  --card-border: #555;
}

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

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--dark);
  color: var(--light);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Press Start 2P', cursive;
  font-weight: normal;
}

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

.hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  animation: flicker 3s infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.pixel-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.pixel-row {
  display: flex;
}

.pixel-row div {
  width: 20px;
  height: 20px;
  margin: 2px;
  opacity: 0.9;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.subtitle {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  font-family: 'Roboto', sans-serif;
}

.cta-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta {
  background: var(--light);
  color: var(--dark);
  padding: 12px 30px;
  border: none;
  text-decoration: none;
  display: inline-block;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta:hover {
  background: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.scrolling-pixels {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.2) 10px,
    rgba(255, 255, 255, 0.2) 20px
  );
}

.main-nav {
  background: var(--darker);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--card-border);
}

.main-nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 40px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--light);
  text-decoration: none;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  padding: 10px 15px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--secondary);
}

section {
  padding: 80px 0;
}

.intro {
  background: var(--dark);
}

.content-wrapper {
  display: flex;
  gap: 50px;
  margin-top: 40px;
  align-items: center;
}

.text-content {
  flex: 1;
}

.text-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.image-content {
  flex: 1;
  display: flex;
  justify-content: center;
}

.pixel-art {
  max-width: 300px;
}

.pixel-canvas {
  width: 300px;
  height: 300px;
  background: var(--card-bg);
  border: 2px dashed var(--card-border);
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: repeat(16, 1fr);
}

.pixel-canvas div {
  background: #333;
  transition: background 0.3s ease;
}

.pixel-canvas div:hover {
  background: var(--secondary);
}

.pixel-label {
  text-align: center;
  margin-top: 15px;
  font-style: italic;
  color: #aaa;
}

.ismusok {
  background: var(--darker);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: var(--card-bg);
  border: 2px dashed var(--card-border);
  padding: 30px;
  border-radius: 8px;
  animation: pixelFadeIn 1s ease-out forwards;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--secondary);
}

.card p {
  font-size: 1rem;
}

.vamizmus {
  border-color: #4fc3f7;
}

.ironizmus {
  border-color: #ff7043;
}

.veterizmus {
  border-color: #ffee58;
}

.mocsyzmus {
  border-color: #81c784;
}

.batyoizmus {
  border-color: #64b5f6;
}

.citromizmus {
  border-color: #fdd835;
}

.kozosseg {
  background: linear-gradient(to bottom, var(--darker), var(--dark));
}

.community-stats {
  display: flex;
  justify-content: space-around;
  margin: 50px 0;
  flex-wrap: wrap;
  gap: 30px;
}

.stat {
  text-align: center;
  min-width: 200px;
}

.stat-number {
  font-family: 'Press Start 2P', cursive;
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
}

.discord-cta {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid #7289da;
}

.discord-cta p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.discord-btn {
  background: #7289da;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.discord-btn:hover {
  background: #677bc4;
}

.discord-icon {
  font-size: 1.2rem;
}

.anti {
  background: var(--dark);
}

.anti-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.values {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.value {
  flex: 1;
  min-width: 300px;
  padding: 25px;
  border-radius: 8px;
}

.value h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.value ul {
  list-style: none;
}

.value li {
  padding: 10px 0;
  border-bottom: 1px dashed #333;
  display: flex;
  align-items: center;
}

.value li:before {
  content: "•";
  margin-right: 10px;
  font-size: 1.5rem;
}

.positive {
  background: rgba(0, 166, 120, 0.1);
  border: 2px solid var(--secondary);
}

.positive li:before {
  color: var(--secondary);
}

.negative {
  background: rgba(255, 0, 0, 0.1);
  border: 2px solid #f44336;
}

.negative li:before {
  color: #f44336;
}

footer {
  background: var(--darker);
  padding: 50px 0 20px;
  border-top: 2px solid var(--card-border);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.9rem;
}

.mini-pixels {
  display: flex;
}

.mini-pixels div {
  width: 10px;
  height: 10px;
  background: var(--secondary);
  margin: 1px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #777;
  font-size: 0.9rem;
}

@keyframes flicker {
  0% { opacity: 1; }
  100% { opacity: 0.95; }
}

@keyframes pixelFadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .content-wrapper {
    flex-direction: column;
  }
  
  .main-nav ul {
    gap: 15px;
  }
  
  .community-stats {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .cta {
    padding: 10px 20px;
    font-size: 0.7rem;
  }
  
  .card {
    padding: 20px;
  }
}
