Загрузка данных
/* ==============================================
ИГРОВОЙ ЖУРНАЛ "NEON ARCADE" — ОСНОВНЫЕ СТИЛИ
Основные цвета: Фиолетовый, Синий, Красный
============================================== */
/* --- 1. ПЕРЕМЕННЫЕ И СБРОС СТИЛЕЙ --- */
:root {
/* Основная палитра */
--purple-deep: #4a0e4e;
--purple-mid: #8b2fc9;
--purple-neon: #b44dff;
--blue-deep: #0b1d4a;
--blue-mid: #1e3a8a;
--blue-neon: #3b82f6;
--red-deep: #5c1010;
--red-mid: #dc2626;
--red-neon: #ff4d4d;
/* Градиенты */
--gradient-main: linear-gradient(135deg, var(--purple-deep), var(--blue-mid), var(--red-deep));
--gradient-header: linear-gradient(90deg, var(--purple-neon), var(--blue-neon), var(--red-neon));
--gradient-card: linear-gradient(145deg, rgba(139, 47, 201, 0.15), rgba(30, 58, 138, 0.2));
--gradient-footer: linear-gradient(0deg, var(--purple-deep), var(--blue-deep));
/* Типографика */
--font-display: 'Orbitron', 'Press Start 2P', 'Russo One', sans-serif;
--font-body: 'Rajdhani', 'Russo One', 'Arial Black', sans-serif;
--text-xxl: 3.5rem; /* Заголовок H1 */
--text-xl: 2.5rem; /* Заголовок H2 */
--text-lg: 1.8rem; /* Заголовок H3 */
--text-md: 1.3rem; /* Обычный текст */
--text-sm: 1.1rem; /* Мелкий текст */
/* Тени и эффекты */
--neon-glow-purple: 0 0 15px rgba(180, 77, 255, 0.7);
--neon-glow-blue: 0 0 15px rgba(59, 130, 246, 0.7);
--neon-glow-red: 0 0 15px rgba(255, 77, 77, 0.7);
--card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
/* Размеры */
--image-width: 350px; /* Все картинки одинакового размера */
--image-height: 220px;
--border-radius: 16px;
}
/* Сброс отступов и базовые настройки */
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
scroll-behavior: smooth;
}
body {
background: #0a0a14;
background-image:
radial-gradient(ellipse at top left, rgba(180, 77, 255, 0.1), transparent 50%),
radial-gradient(ellipse at bottom right, rgba(255, 77, 77, 0.08), transparent 50%),
repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 4px);
color: #e0e0ff;
font-family: var(--font-body);
font-size: var(--text-md);
line-height: 1.6;
min-height: 100vh;
}
/* --- 2. ОБЩИЕ ТИПОГРАФИЧЕСКИЕ ПРАВИЛА: ВЕСЬ ТЕКСТ КРУПНЫЙ --- */
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-display);
font-weight: 900;
text-transform: uppercase;
letter-spacing: 2px;
margin-bottom: 1.5rem;
background: var(--gradient-header);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
filter: drop-shadow(0 0 8px rgba(180, 77, 255, 0.5));
line-height: 1.2;
}
h1 { font-size: var(--text-xxl); }
h2 { font-size: var(--text-xl); }
h3 { font-size: var(--text-lg); }
p, li, td, th, label, input, button, textarea, select, blockquote, span, div {
font-size: var(--text-md);
font-weight: 500;
}
small, .small-text {
font-size: var(--text-sm);
}
/* --- 3. ШАПКА САЙТА (HEADER) --- */
.site-header {
background: rgba(10, 10, 20, 0.9);
backdrop-filter: blur(12px);
border-bottom: 3px solid;
border-image: var(--gradient-header) 1;
padding: 1.5rem 2rem;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 5px 25px rgba(139, 47, 201, 0.3);
}
.header-inner {
max-width: 1400px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1.5rem;
}
.logo a {
font-family: var(--font-display);
font-size: 2.2rem;
font-weight: 900;
background: var(--gradient-header);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-decoration: none;
text-shadow: var(--neon-glow-purple);
letter-spacing: 3px;
}
.main-nav ul {
display: flex;
list-style: none;
gap: 2rem;
flex-wrap: wrap;
}
.main-nav a {
color: #c8c8ff;
text-decoration: none;
font-family: var(--font-display);
font-size: var(--text-md);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 2px;
padding: 0.6rem 1.2rem;
border-radius: 8px;
transition: all 0.3s ease;
position: relative;
}
.main-nav a:hover,
.main-nav a.active {
color: #fff;
background: rgba(139, 47, 201, 0.2);
box-shadow: var(--neon-glow-purple);
}
.main-nav a::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 3px;
background: var(--gradient-header);
transition: width 0.3s ease;
border-radius: 2px;
}
.main-nav a:hover::after {
width: 70%;
}
/* --- 4. КОНТЕЙНЕР КОНТЕНТА --- */
.main-content {
max-width: 1400px;
margin: 2rem auto;
padding: 0 2rem;
}
/* --- 5. КАРТОЧКИ СТАТЕЙ / ОБЗОРОВ --- */
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
gap: 2.5rem;
margin: 3rem 0;
}
.card {
background: var(--gradient-card);
backdrop-filter: blur(8px);
border: 1px solid rgba(180, 77, 255, 0.2);
border-radius: var(--border-radius);
overflow: hidden;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: var(--card-shadow);
}
.card:hover {
transform: translateY(-12px) scale(1.02);
border-color: rgba(180, 77, 255, 0.6);
box-shadow:
var(--neon-glow-purple),
0 20px 40px rgba(0, 0, 0, 0.7);
}
/* ВСЕ КАРТИНКИ ОДИНАКОВОГО РАЗМЕРА */
.card-image {
width: 100%;
height: var(--image-height);
overflow: hidden;
position: relative;
border-bottom: 2px solid rgba(180, 77, 255, 0.3);
}
.card-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.card:hover .card-image img {
transform: scale(1.1);
}
/* Плашка с жанром поверх картинки */
.card-badge {
position: absolute;
top: 15px;
right: 15px;
background: var(--gradient-header);
color: #fff;
padding: 0.5rem 1.2rem;
border-radius: 25px;
font-family: var(--font-display);
font-size: var(--text-sm);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
box-shadow: 0 0 20px rgba(255, 77, 77, 0.5);
}
.card-body {
padding: 2rem;
}
.card-title {
font-size: var(--text-lg);
margin-bottom: 1rem;
}
.card-meta {
display: flex;
gap: 1.5rem;
margin-bottom: 1.5rem;
color: #9e9eff;
font-size: var(--text-sm);
font-weight: 600;
}
.card-excerpt {
color: #b0b0d0;
font-size: var(--text-md);
margin-bottom: 1.5rem;
}
.card-footer {
display: flex;
justify-content: space-between;
align-items: center;
}
.read-more {
display: inline-block;
padding: 0.8rem 1.8rem;
background: var(--gradient-header);
color: #fff;
text-decoration: none;
border-radius: 30px;
font-family: var(--font-display);
font-size: var(--text-sm);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
}
.read-more:hover {
box-shadow: var(--neon-glow-red);
transform: scale(1.05);
}
/* --- 6. СТРАНИЦА ДЕТАЛЬНОГО ПРОСМОТРА (ARTICLE DETAIL) --- */
.article-detail {
background: rgba(20, 20, 40, 0.7);
backdrop-filter: blur(10px);
border-radius: var(--border-radius);
padding: 3rem;
border: 1px solid rgba(139, 47, 201, 0.3);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.article-header {
text-align: center;
margin-bottom: 3rem;
}
.article-featured-image {
width: 100%;
height: 450px;
border-radius: var(--border-radius);
overflow: hidden;
margin-bottom: 2rem;
border: 2px solid rgba(180, 77, 255, 0.4);
box-shadow: var(--neon-glow-purple);
}
.article-featured-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.article-content {
font-size: var(--text-md);
line-height: 1.9;
color: #d0d0f0;
}
.article-content p {
margin-bottom: 1.5rem;
}
/* Стилизация блоков с информацией */
.info-box {
background: var(--gradient-card);
border-left: 4px solid var(--purple-neon);
padding: 2rem;
margin: 2rem 0;
border-radius: 0 var(--border-radius) var(--border-radius) 0;
font-size: var(--text-md);
}
.info-box.warning {
border-left-color: var(--red-neon);
background: linear-gradient(145deg, rgba(220, 38, 38, 0.1), rgba(75, 20, 20, 0.2));
}
/* --- 7. БОКОВАЯ ПАНЕЛЬ (SIDEBAR) --- */
.sidebar {
background: rgba(15, 15, 35, 0.8);
backdrop-filter: blur(8px);
border: 1px solid rgba(139, 47, 201, 0.2);
border-radius: var(--border-radius);
padding: 2rem;
}
.sidebar-widget {
margin-bottom: 2.5rem;
}
.sidebar-widget h3 {
font-size: var(--text-lg);
margin-bottom: 1.5rem;
padding-bottom: 0.8rem;
border-bottom: 2px solid;
border-image: var(--gradient-header) 1;
}
.sidebar-list {
list-style: none;
}
.sidebar-list li {
padding: 0.8rem 0;
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-list a {
color: #b0b0ff;
text-decoration: none;
font-size: var(--text-md);
transition: color 0.3s;
}
.sidebar-list a:hover {
color: var(--purple-neon);
text-shadow: 0 0 8px rgba(180, 77, 255, 0.5);
}
/* --- 8. КНОПКИ И ФОРМЫ --- */
.btn {
display: inline-block;
padding: 1rem 2.2rem;
border-radius: 35px;
font-family: var(--font-display);
font-size: var(--text-md);
font-weight: 700;
text-transform: uppercase;
letter-spacing: 2px;
text-decoration: none;
cursor: pointer;
border: none;
transition: all 0.3s ease;
}
.btn-primary {
background: var(--gradient-header);
color: #fff;
box-shadow: 0 5px 20px rgba(180, 77, 255, 0.4);
}
.btn-primary:hover {
box-shadow: 0 8px 30px rgba(255, 77, 77, 0.6);
transform: translateY(-3px);
}
.btn-secondary {
background: transparent;
color: var(--purple-neon);
border: 2px solid var(--purple-mid);
}
.btn-secondary:hover {
background: rgba(139, 47, 201, 0.1);
border-color: var(--purple-neon);
box-shadow: var(--neon-glow-purple);
}
/* Форма поиска */
.search-form {
display: flex;
gap: 0.5rem;
}
.search-input {
flex: 1;
padding: 1rem 1.5rem;
background: rgba(0, 0, 0, 0.5);
border: 2px solid rgba(139, 47, 201, 0.4);
border-radius: 30px;
color: #fff;
font-family: var(--font-body);
font-size: var(--text-md);
outline: none;
transition: border-color 0.3s;
}
.search-input:focus {
border-color: var(--purple-neon);
box-shadow: 0 0 15px rgba(180, 77, 255, 0.3);
}
.search-btn {
padding: 1rem 1.8rem;
background: var(--gradient-header);
border: none;
border-radius: 30px;
color: #fff;
font-family: var(--font-display);
font-size: var(--text-md);
cursor: pointer;
}
/* --- 9. ПОДВАЛ (FOOTER) --- */
.site-footer {
background: var(--gradient-footer);
margin-top: 4rem;
padding: 3rem 2rem;
text-align: center;
border-top: 3px solid;
border-image: var(--gradient-header) 1;
}
.footer-content {
max-width: 1400px;
margin: 0 auto;
}
.footer-nav {
display: flex;
justify-content: center;
gap: 3rem;
list-style: none;
margin-bottom: 2rem;
}
.footer-nav a {
color: #a0a0d0;
text-decoration: none;
font-family: var(--font-display);
font-size: var(--text-md);
text-transform: uppercase;
letter-spacing: 2px;
}
.copyright {
color: #7070a0;
font-size: var(--text-md);
}
/* --- 10. АНИМАЦИИ И ЭФФЕКТЫ --- */
@keyframes neonPulse {
0%, 100% { text-shadow: 0 0 10px rgba(180, 77, 255, 0.5); }
50% { text-shadow: 0 0 25px rgba(180, 77, 255, 0.9), 0 0 50px rgba(59, 130, 246, 0.5); }
}
.glow-text {
animation: neonPulse 2.5s ease-in-out infinite;
}
/* Скроллбар в стиле неона */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #0a0a14;
}
::-webkit-scrollbar-thumb {
background: var(--gradient-header);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: linear-gradient(90deg, var(--purple-neon), var(--red-neon));
}
/* --- 11. АДАПТИВНОСТЬ --- */
@media (max-width: 768px) {
:root {
--text-xxl: 2.2rem;
--text-xl: 1.9rem;
--text-lg: 1.5rem;
--text-md: 1.2rem;
--image-height: 200px;
}
.header-inner {
flex-direction: column;
text-align: center;
}
.main-nav ul {
justify-content: center;
}
.card-grid {
grid-template-columns: 1fr;
}
.article-detail {
padding: 1.5rem;
}
}