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

:root {
  --bg: #0a0e14;
  --bg-soft: #111620;
  --card: #151c28;
  --card-hover: #1c2536;
  --border: #243044;
  --text: #e2e8f0;
  --muted: #8896aa;
  --neon-yellow: #f0e130;
  --neon-yellow-glow: rgba(240, 225, 48, 0.4);
  --neon-orange: #ff6b35;
  --neon-orange-glow: rgba(255, 107, 53, 0.4);
  --neon-cyan: #00e5ff;
  --neon-cyan-glow: rgba(0, 229, 255, 0.4);
  --neon-red: #ff1744;
  --neon-red-glow: rgba(255, 23, 68, 0.4);
  --neon-green: #00e676;
  --neon-green-glow: rgba(0, 230, 118, 0.4);
  --warning: #f0e130;
  --success: #00e676;
  --danger: #ff1744;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 49px,
      rgba(0, 229, 255, 0.03) 49px,
      rgba(0, 229, 255, 0.03) 50px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 49px,
      rgba(0, 229, 255, 0.03) 49px,
      rgba(0, 229, 255, 0.03) 50px
    );
}

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

.site-header {
  background: rgba(10, 14, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--neon-yellow);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 0 20px var(--neon-yellow-glow), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--neon-yellow);
  text-shadow: 0 0 12px var(--neon-yellow-glow), 0 0 30px rgba(240, 225, 48, 0.2);
  letter-spacing: 1px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 12px;
  border: 2px solid var(--border);
  border-radius: 4px;
  background: rgba(21, 28, 40, 0.6);
  transition: 0.2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.nav a:hover {
  color: var(--neon-yellow);
  border-color: var(--neon-yellow);
  box-shadow: 0 0 14px var(--neon-yellow-glow), inset 0 0 14px rgba(240, 225, 48, 0.05);
}

.nav a.active {
  color: #000;
  border-color: var(--neon-yellow);
  background: var(--neon-yellow);
  box-shadow: 0 0 20px var(--neon-yellow-glow);
  font-weight: 800;
}

.hero {
  position: relative;
  text-align: center;
  padding: 100px 20px;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(240, 225, 48, 0.02) 20px,
      rgba(240, 225, 48, 0.02) 40px
    ),
    linear-gradient(180deg, #111620, #0a0e14);
  border-bottom: 3px solid var(--neon-yellow);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--neon-yellow) 0px,
    var(--neon-yellow) 20px,
    transparent 20px,
    transparent 40px
  );
}

.hero-fire {
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(255, 107, 53, 0.02) 20px,
      rgba(255, 107, 53, 0.02) 40px
    ),
    linear-gradient(180deg, #1a1208, #0a0e14);
}

.hero-fire::before {
  background: repeating-linear-gradient(
    90deg,
    var(--neon-orange) 0px,
    var(--neon-orange) 20px,
    transparent 20px,
    transparent 40px
  );
}

.hero-pdd {
  background:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(0, 229, 255, 0.02) 20px,
      rgba(0, 229, 255, 0.02) 40px
    ),
    linear-gradient(180deg, #0a1418, #0a0e14);
}

.hero-pdd::before {
  background: repeating-linear-gradient(
    90deg,
    var(--neon-cyan) 0px,
    var(--neon-cyan) 20px,
    transparent 20px,
    transparent 40px
  );
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(240, 225, 48, 0.1));
  pointer-events: none;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  color: var(--neon-yellow);
  text-shadow: 0 0 22px var(--neon-yellow-glow), 0 0 50px rgba(240, 225, 48, 0.15);
}

.hero-fire h1 {
  color: var(--neon-orange);
  text-shadow: 0 0 22px var(--neon-orange-glow), 0 0 50px rgba(255, 107, 53, 0.15);
}

.hero-pdd h1 {
  color: var(--neon-cyan);
  text-shadow: 0 0 22px var(--neon-cyan-glow), 0 0 50px rgba(0, 229, 255, 0.15);
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: var(--neon-yellow);
  color: #000;
  padding: 12px 26px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 0 20px var(--neon-yellow-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px var(--neon-yellow-glow), 0 0 14px rgba(240, 225, 48, 0.6);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 16px var(--neon-cyan-glow), inset 0 0 16px rgba(0, 229, 255, 0.05);
}

.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.1);
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.section-title,
.page-title {
  text-align: center;
  margin: 48px 0 28px;
  font-size: 2rem;
  color: var(--neon-yellow);
  text-shadow: 0 0 12px var(--neon-yellow-glow);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}

.card {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--neon-yellow);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 28px var(--neon-yellow-glow);
}

.card:hover::before {
  opacity: 1;
}

.card-emoji {
  font-size: 3rem;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--neon-yellow);
}

.card-desc {
  color: var(--muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 14px 0;
}

.card:hover .card-meta span:first-child {
  color: var(--neon-yellow);
}

.info-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.info-item {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  transition: 0.25s;
}

.info-item:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 26px var(--neon-cyan-glow);
}

.info-item h3 {
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.rule-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 50px;
}

.rule-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 24px;
  transition: 0.25s;
}

.rule-card:hover {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 20px var(--neon-yellow-glow);
}

.rule-number {
  min-width: 40px;
  height: 40px;
  background: var(--neon-yellow);
  color: #000;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.rule-content h3 {
  color: var(--neon-yellow);
  margin-bottom: 4px;
}

.rule-content p {
  color: var(--muted);
  font-size: 0.95rem;
}

.emergency-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.emergency-card {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 2px solid var(--neon-red);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  transition: 0.25s;
  box-shadow: 0 0 15px var(--neon-red-glow);
}

.emergency-card:hover {
  box-shadow: 0 0 30px var(--neon-red-glow), 0 0 60px rgba(255, 23, 68, 0.15);
  transform: translateY(-2px);
}

.emergency-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--neon-red);
  text-shadow: 0 0 12px var(--neon-red-glow);
}

.emergency-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.signs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.sign-card {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  transition: 0.25s;
}

.sign-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px var(--neon-cyan-glow);
}

.sign {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.8rem;
}

.sign-prohibitory {
  background: rgba(255, 23, 68, 0.15);
  border: 2px solid var(--neon-red);
}

.sign-mandatory {
  background: rgba(0, 229, 255, 0.15);
  border: 2px solid var(--neon-cyan);
}

.sign-warning {
  background: rgba(240, 225, 48, 0.15);
  border: 2px solid var(--neon-yellow);
}

.sign-information {
  background: rgba(0, 230, 118, 0.15);
  border: 2px solid var(--neon-green);
}

.sign-card h3 {
  color: var(--neon-cyan);
  margin-bottom: 8px;
}

.sign-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.tip-card {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  transition: 0.25s;
}

.tip-card:hover {
  border-color: var(--neon-yellow);
  box-shadow: 0 0 20px var(--neon-yellow-glow);
}

.tip-card h3 {
  color: var(--neon-yellow);
  margin-bottom: 12px;
}

.tip-card ul {
  padding-left: 20px;
}

.tip-card li {
  color: var(--muted);
  margin-bottom: 8px;
}

.tip-card li::marker {
  color: var(--neon-yellow);
}

.error-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 50px;
}

.error-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px 22px;
  transition: 0.25s;
}

.error-card:hover {
  border-color: var(--neon-red);
  box-shadow: 0 0 20px var(--neon-red-glow);
}

.error-icon {
  font-size: 1.5rem;
  min-width: 30px;
  text-align: center;
}

.error-card h3 {
  color: var(--neon-red);
  margin-bottom: 4px;
}

.error-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.znk-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}

.znk-menu a {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 4px;
  transition: 0.25s;
}

.znk-menu a:hover {
  color: var(--neon-yellow);
  border-color: var(--neon-yellow);
  box-shadow: 0 0 16px var(--neon-yellow-glow);
}

.znk-note {
  max-width: 820px;
  margin: 0 auto 30px;
  text-align: center;
  color: var(--muted);
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px 22px;
}

.znk-group {
  margin-bottom: 60px;
}

.znk-group-title {
  font-size: 1.6rem;
  margin-bottom: 6px;
  padding-left: 14px;
  border-left: 5px solid var(--neon-yellow);
  color: var(--neon-yellow);
}

.znk-group-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 24px 14px;
  max-width: 860px;
}

.znk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.znk-card {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.znk-card:hover {
  transform: translateY(-3px);
  border-color: var(--neon-yellow);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 22px var(--neon-yellow-glow);
}

.znk-fig {
  position: relative;
  width: 92px;
  height: 82px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.znk-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

.znk-ic {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 1.7rem;
  line-height: 1;
  color: #14141a;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.znk-ic.dbl {
  font-size: 1.2rem;
}

.znk-ic.t {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
}

.znk-ic.wb {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.znk-ic .ar-r {
  color: #d40000;
  font-weight: 900;
}

.znk-ic .ar-b {
  color: #101014;
  font-weight: 900;
}

.znk-ic .ar-y {
  color: #f8c831;
  font-weight: 900;
  text-shadow: 0 0 1px #000;
}

.znk-ic.g {
  filter: grayscale(1);
  opacity: 0.75;
}

.znk-ic.x {
  position: relative;
}

.znk-ic.x::after {
  content: "";
  position: absolute;
  left: -18%;
  top: 50%;
  width: 136%;
  height: 6px;
  background: #d40000;
  border-radius: 3px;
  transform: rotate(-45deg);
  z-index: 2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.znk-num {
  position: absolute;
  top: -8px;
  left: -10px;
  background: rgba(10, 14, 20, 0.9);
  border: 1px solid var(--neon-yellow);
  color: var(--neon-yellow);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  z-index: 3;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.znk-card h4 {
  color: var(--neon-yellow);
  font-size: 0.98rem;
  margin-bottom: 6px;
  line-height: 1.4;
}

.znk-card p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.support-card {
  background: linear-gradient(160deg, var(--card), var(--bg-soft));
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
  text-align: center;
  max-width: 640px;
  margin: 40px auto 50px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.support-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(240, 225, 48, 0.03) 20px,
    rgba(240, 225, 48, 0.03) 40px
  );
  pointer-events: none;
}

.support-emoji {
  font-size: 4rem;
  display: block;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 14px var(--neon-yellow-glow));
  animation: supportBob 3s ease-in-out infinite;
}

@keyframes supportBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.support-title {
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--neon-yellow);
  text-shadow: 0 0 12px var(--neon-yellow-glow);
}

.support-text {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.sber-card {
  background: linear-gradient(135deg, #2ba44e, #1b7a33);
  color: #fff;
  border-radius: 4px;
  padding: 28px;
  margin: 24px auto;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(43, 164, 78, 0.35);
  position: relative;
}

.sber-card .logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.sber-card .num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform 0.25s;
}

.sber-card .hint {
  font-size: 0.85rem;
  opacity: 0.9;
}

.copy-btn {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  padding: 6px 16px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  transition: 0.3s;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.donation-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.thanks {
  margin-top: 24px;
  color: var(--neon-green);
  font-weight: 700;
  font-size: 1.05rem;
  text-shadow: 0 0 10px var(--neon-green-glow);
}

.site-footer {
  background: var(--bg-soft);
  border-top: 2px solid var(--neon-yellow);
  color: var(--muted);
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
    height: auto;
    padding: 16px 20px;
    gap: 14px;
  }

  .nav {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .nav a {
    flex: 1 1 auto;
    text-align: center;
    padding: 10px 10px;
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .card-meta {
    flex-direction: column;
    gap: 6px;
  }

  .rule-card {
    flex-direction: column;
    text-align: center;
  }

  .error-card {
    flex-direction: column;
    text-align: center;
  }
}