/* === Общие стили === */
body {
  margin:0;
  font-family:'Segoe UI', sans-serif;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background: linear-gradient(135deg, #0a0a0a, #111);
  color:#eee;
  overflow:hidden;
  position: relative;
}

/* === Header === */
header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 40px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(5px);
  box-shadow:0 2px 10px rgba(179,71,245,0.2);
}
.logo h1 {
  margin:0;
  font-size:1.3em;
  color:#b347f5;
  text-shadow: 0 0 10px #b347f5;
}
.lang-switch { display:flex; gap:10px; }
.lang-btn {
  cursor:pointer;
  color:#b347f5;
  font-weight:bold;
  transition: 0.3s;
}
.lang-btn:hover { text-shadow:0 0 10px #b347f5; transform: scale(1.1); }

/* === Главная страница === */
main.center-content {
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:50px 20px;
  position: relative;
  z-index:1;
}
main.center-content h2 {
  font-size:2.2em;
  margin-bottom:20px;
  color:#b347f5;
  text-shadow:0 0 12px #b347f5;
}
main.center-content p {
  font-size:1.1em;
  margin-bottom:35px;
  color:#ccc;
  max-width:600px;
}

/* === Кнопки неон === */
.btn {
  display:inline-block;
  padding:12px 28px;
  border:2px solid #b347f5;
  border-radius:8px;
  text-decoration:none;
  color:#b347f5;
  font-weight:bold;
  text-transform:uppercase;
  letter-spacing:1px;
  box-shadow:0 0 5px #b347f5, 0 0 10px #b347f5, 0 0 20px #b347f5;
  transition: all 0.3s ease;
}
.btn:hover {
  box-shadow:0 0 15px #b347f5, 0 0 25px #b347f5, 0 0 35px #b347f5;
  color:#e0b3ff;
  transform: translateY(-2px);
}

/* === Футер === */
footer {
  text-align:center;
  padding:15px 20px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(5px);
  color:#aaa;
  box-shadow:0 -2px 6px rgba(179,71,245,0.2);
}

/* === Файлы: карточки === */
.files-container {
  flex:1;
  padding:40px 20px;
  display:flex;
  flex-direction:column;
  align-items:center;
}
.files-container h2 {
  font-size:2em;
  margin-bottom:30px;
  color:#b347f5;
  text-shadow:0 0 10px #b347f5;
}

.cards {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  justify-content:center;
}

.card {
  background: rgba(30,30,30,0.85);
  backdrop-filter: blur(5px);
  padding:20px;
  border-radius:12px;
  width:260px;
  box-shadow:0 4px 12px rgba(179,71,245,0.2);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow:0 0 20px #b347f5, 0 0 30px #b347f5, 0 0 40px #b347f5;
}
.card h3 { margin:0 0 10px 0; font-size:1.3em; color:#b347f5; text-shadow:0 0 6px #b347f5; }
.card p { font-size:0.95em; color:#ccc; margin-bottom:15px; }

/* Canvas для визуальных эффектов */
#bg-canvas {
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  z-index:0;
  pointer-events: none; /* вот это ключевое! */
}
.logo h1 a {
  color:#b347f5;
  text-decoration:none;
  text-shadow: 0 0 10px #b347f5;
  transition: 0.3s;
}

.logo h1 a:hover {
  text-shadow: 0 0 20px #b347f5;
}
