﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

/* 🔹 ОБЩИЕ СТИЛИ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #080A1A;
  color: #FFFFFF;
  text-align: center;
  overflow-x: hidden;
}

/* 🔹 ШАПКА */
header {
  background: #0D1124;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0px 4px 10px rgba(0, 255, 255, 0.2);
}

.logo {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.8));
}

/* 🔹 НАВИГАЦИЯ */
nav a {
  color: cyan;
  margin: 10px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  text-shadow: 0px 0px 10px cyan;
  text-decoration: underline;
}

/* 🔹 HERO (главный баннер) */
.hero {
  padding: 100px 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #FFFFFF;
  text-align: center;
  border-bottom: 2px solid rgba(0, 255, 255, 0.2);
}

.hero h2 {
  font-size: 2.5em;
  font-weight: 700;
  text-shadow: 0px 0px 15px cyan;
}

.hero p {
  font-size: 1.3em;
  color: #FFD700;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);
}

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 15px 35px;
  font-size: 1.2em;
  font-weight: bold;
  background: linear-gradient(45deg, #00FFFF, #FF00FF);
  color: #0A0A0A;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.6);
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0px 0px 25px rgba(255, 255, 255, 0.8);
}

/* 🔹 ОСНОВНОЙ КОНТЕНТ */
.content-wrapper {
  padding: 60px 20px 100px;
  display: flex;
  justify-content: center;
}

.article-card {
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid cyan;
  border-radius: 15px;
  box-shadow: 0px 0px 20px rgba(0, 255, 255, 0.3);
  padding: 40px;
  max-width: 900px;
  width: 100%;
  text-align: left;
  transition: 0.3s;
}

.article-card:hover {
  box-shadow: 0px 0px 35px rgba(0, 255, 255, 0.7);
  transform: scale(1.01);
}

.article-card p,
.article-card li {
  font-size: 1.05em;
  line-height: 1.7;
  color: #E0E0E0;
}

.article-card ul {
  margin: 15px 0 20px 25px;
}

.article-card strong {
  color: cyan;
}

/* 🔹 СТРАНИЦА НОВОСТЕЙ */
.news-list {
  background: url('../img/bg-news.jpg') center/cover no-repeat;
  padding: 60px 20px;
}

.news-list article {
  margin: 20px auto;
  max-width: 700px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid cyan;
  border-radius: 12px;
  box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.3);
  transition: 0.3s;
}

.news-list article:hover {
  box-shadow: 0px 0px 25px rgba(0, 255, 255, 0.7);
  transform: scale(1.03);
}

.news-list h2 a {
  color: cyan;
  text-decoration: none;
  transition: 0.3s;
}

.news-list h2 a:hover {
  text-shadow: 0px 0px 10px cyan;
  text-decoration: underline;
}

/* 🔹 КАРТИНКИ НОВОСТЕЙ */
.news-img {
  width: 100%;
  max-width: 700px;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0px 0px 10px rgba(0, 255, 255, 0.5);
}

/* 🔹 ПОЛНАЯ НОВОСТЬ */
.full-article {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 12px;
  border: 2px solid cyan;
  box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.4);
  text-align: left;
}

/* 🔹 ПОДВАЛ */
footer {
  background: #0D1124;
  padding: 25px;
  margin-top: 30px;
  font-size: 1em;
  color: #FFFFFF;
  text-shadow: 0px 0px 10px rgba(0, 255, 255, 0.5);
}
