/* === NEONOS STÍLUS SkymoMC szabályzat oldalhoz - Mobilbarátított === */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600;800&family=Inter:wght@400;600&display=swap');

:root {
  --bg: #030416;
  --card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.06);
  --neon-pink: #ff4f79;
  --neon-cyan: #6ff0ff;
  --text: #e6eef9;
  --muted: #9aa9bf;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at 10% 10%, rgba(111, 38, 255, 0.08), transparent 70%),
              radial-gradient(circle at 90% 90%, rgba(0, 255, 233, 0.05), transparent 70%),
              var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* === HEADER === */
header {
  background: rgba(15, 22, 40, 0.6);
  backdrop-filter: blur(8px);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 0 20px rgba(111, 240, 255, 0.1);
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--neon-pink);
  letter-spacing: 2px;
  text-shadow: 0 0 8px var(--neon-pink);
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  box-shadow: 0 0 15px var(--neon-cyan);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
  box-shadow: 0 0 10px var(--neon-cyan);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

nav ul li a:hover::after {
  width: 100%;
}

/* === MAIN === */
main {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap; /* mobilon egymás alá kerül */
  justify-content: center;
}

.rules-content {
  flex: 1 1 650px; /* minimum szélesség, hogy mellette legyen a DC widget */
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 35px;
  box-shadow: 0 0 25px rgba(111, 240, 255, 0.06);
  transition: all 0.3s ease;
}

.discord-widget {
  flex: 0 1 350px; /* fix szélesség gépen */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(111,240,255,0.1);
  transition: all 0.3s ease;
  height: 500px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  main {
    flex-direction: column; /* mobilon egymás alá */
    align-items: center;
    gap: 30px;
  }

  .discord-widget {
    height: 450px;
    flex: 1 1 100%; /* mobilon teljes szélesség */
  }

  .rules-content {
    flex: 1 1 100%; /* mobilon teljes szélesség */
  }
}

@media (max-width: 480px) {
  .rules-content {
    padding: 25px;
  }

  .discord-widget {
    height: 400px;
  }
}

footer {
  text-align: center;
  padding: 25px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}