/* =========================================
ПЕРЕМЕННЫЕ И БАЗОВЫЕ НАСТРОЙКИ
========================================= */
:root {
--natobet-bg: #0a0f1c;
--natobet-surface: #111a2e;
--natobet-surface-2: #16223c;
--natobet-primary: #00d4ff;
--natobet-primary-hover: #4ce4ff;
--natobet-accent: #00ffa3;
--natobet-text: #dbe7f5;
--natobet-text-muted: #7f93ad;
--natobet-border: #1e2d4a;
--natobet-border-hover: #00d4ff;
--natobet-shadow: rgba(0, 0, 0, 0.45);
--natobet-glow: rgba(0, 212, 255, 0.15);
--natobet-thumb-bg: #0d1626;
}
* {
box-sizing: border-box !important;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: var(--natobet-bg);
color: var(--natobet-text);
line-height: 1.6;
overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--natobet-primary); }
/* =========================================
2. КОНТЕЙНЕР (ШИРИНА САЙТА)
========================================= */
.natobet-container {
max-width: 100% !important;
width: 94% !important;
padding-left: 20px !important;
padding-right: 20px !important;
margin-left: auto !important;
margin-right: auto !important;
}
.natobet-layout {
display: grid !important;
grid-template-columns: 1fr 350px !important;
gap: 40px !important;
width: 100% !important;
margin-top: 40px;
margin-bottom: 80px;
}
.natobet-content {
width: 100% !important;
min-width: 0 !important;
}
.natobet-sidebar {
width: 350px !important;
flex-shrink: 0 !important;
}
@media (max-width: 1000px) {
.natobet-layout {
grid-template-columns: 1fr !important;
}
.natobet-sidebar {
width: 100% !important;
}
}
/* =========================================
3. ХЕДЕР И МЕНЮ
========================================= */
.natobet-header {
background-color: var(--natobet-surface);
border-bottom: 1px solid var(--natobet-border);
padding: 20px 0;
}
.natobet-header .natobet-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.natobet-logo {
font-size: 28px;
font-weight: 800;
color: var(--natobet-primary);
text-transform: uppercase;
letter-spacing: 1px;
text-shadow: 0 0 20px var(--natobet-glow);
}
.natobet-nav a {
margin-left: 25px;
font-weight: 500;
font-size: 16px;
transition: color 0.2s ease;
}
.natobet-nav a:hover {
color: var(--natobet-primary);
}
/* =========================================
4. БЛОК ВХОДА (Resmi Giriş)
========================================= */
.natobet-official-entry {
background: linear-gradient(135deg, var(--natobet-surface) 0%, var(--natobet-surface-2) 100%);
border: 1px solid var(--natobet-border);
border-radius: 12px;
padding: 30px;
margin-top: 40px;
margin-bottom: 40px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 4px 24px var(--natobet-shadow);
}
.natobet-entry-content {
flex: 1;
}
.natobet-entry-title {
font-size: 24px;
margin: 0 0 8px 0;
color: var(--natobet-primary);
font-weight: 800;
}
.natobet-entry-text {
margin: 0;
color: var(--natobet-text-muted);
font-size: 15px;
}
.natobet-entry-btn {
background: linear-gradient(135deg, var(--natobet-primary) 0%, var(--natobet-accent) 100%);
color: #04101c;
font-weight: 700;
padding: 12px 30px;
border-radius: 6px;
text-transform: uppercase;
font-size: 14px;
white-space: nowrap;
margin-left: 30px;
transition: all 0.3s ease;
flex-shrink: 0;
box-shadow: 0 4px 16px var(--natobet-glow);
}
.natobet-entry-btn:hover {
background: linear-gradient(135deg, var(--natobet-primary-hover) 0%, var(--natobet-accent) 100%);
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
color: #04101c;
}
/* =========================================
5. ХЛЕБНЫЕ КРОШКИ
========================================= */
.natobet-breadcrumb {
padding: 15px 0;
margin-bottom: 25px;
font-size: 14px;
color: var(--natobet-text-muted);
}
.natobet-breadcrumb a {
color: var(--natobet-text-muted);
transition: color 0.2s;
}
.natobet-breadcrumb a:hover {
color: var(--natobet-primary);
}
.natobet-breadcrumb span {
color: var(--natobet-text);
}
.natobet-breadcrumb a:not(:last-child)::after {
content: "›";
margin: 0 8px;
color: var(--natobet-text-muted);
}
/* =========================================
6. ЗАГОЛОВКИ КАТЕГОРИЙ
========================================= */
.natobet-cat-title {
font-size: 36px;
font-weight: 800;
margin: 0 0 10px 0;
color: var(--natobet-primary);
border-left: 5px solid var(--natobet-primary);
padding-left: 20px;
text-shadow: 0 0 24px var(--natobet-glow);
}
.natobet-cat-count {
font-size: 16px;
color: var(--natobet-text-muted);
margin: 0 0 35px 0;
padding-left: 25px;
}
/* =========================================
7. СПИСОК СТАТЕЙ
========================================= */
.natobet-section-title {
font-size: 28px;
border-left: 5px solid var(--natobet-primary);
padding-left: 20px;
margin-bottom: 30px;
}
.natobet-post-item {
background-color: var(--natobet-surface);
border: 1px solid var(--natobet-border);
border-radius: 12px;
padding: 25px;
margin-bottom: 20px;
transition: all 0.3s ease;
}
.natobet-post-item:hover {
border-color: var(--natobet-border-hover);
transform: translateY(-3px);
box-shadow: 0 10px 32px var(--natobet-shadow), 0 0 0 1px var(--natobet-glow);
}
.natobet-post-badge {
display: inline-block;
background-color: rgba(0, 212, 255, 0.12);
color: var(--natobet-primary);
font-size: 12px;
font-weight: 700;
padding: 5px 10px;
border-radius: 4px;
margin-bottom: 12px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.natobet-post-title {
margin: 0 0 12px 0;
font-size: 22px;
line-height: 1.3;
color: var(--natobet-text);
}
.natobet-post-excerpt {
color: var(--natobet-text-muted);
font-size: 15px;
margin-bottom: 15px;
line-height: 1.5;
}
.natobet-post-meta {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: var(--natobet-text-muted);
}
.natobet-author {
font-weight: 500;
color: var(--natobet-accent);
}
.natobet-dot {
opacity: 0.5;
}
/* =========================================
САЙДБАР (ВИДЖЕТЫ) - ЕДИНЫЙ СТИЛЬ
========================================= */
.natobet-widget {
    background-color: var(--natobet-surface);
    border: 1px solid var(--natobet-border);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--natobet-shadow);
}

.natobet-widget-title {
    font-size: 15px;
    margin: 0;
    padding: 12px 18px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 255, 163, 0.04) 100%);
    border-bottom: 1px solid var(--natobet-border);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--natobet-primary);
    line-height: 1.4;
}

/* Единые стили для обоих списков */
.natobet-cat-list, 
.natobet-popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: item-counter;
}

.natobet-cat-list li, 
.natobet-popular-list li {
    margin: 0;
    border-bottom: 1px solid var(--natobet-border);
    position: relative;
}

.natobet-cat-list li:last-child, 
.natobet-popular-list li:last-child {
    border-bottom: none;
}

/* Ссылки внутри списков */
.natobet-cat-list a, 
.natobet-popular-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px 10px 45px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--natobet-text);
    transition: all 0.2s ease;
    line-height: 1.4;
    text-decoration: none;
}

/* Нумерация слева */
.natobet-cat-list li::before,
.natobet-popular-list li::before {
    counter-increment: item-counter;
    content: counter(item-counter);
    position: absolute;
    left: 18px;
    top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--natobet-accent);
    opacity: 0.9;
    line-height: 1.4;
}

/* Эффект при наведении */
.natobet-cat-list a:hover, 
.natobet-popular-list a:hover {
    background-color: rgba(0, 212, 255, 0.06);
    color: var(--natobet-primary);
}

.natobet-cat-list a:hover .list-text, 
.natobet-popular-list a:hover .list-text {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

/* Счётчик справа */
.natobet-cat-count {
    background-color: var(--natobet-surface-2);
    color: var(--natobet-primary);
    font-size: 12px;
    font-weight: 600;
    min-width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 6px;
    text-align: center;
    display: inline-block;
    margin-left: 15px;
    flex-shrink: 0;
    border: 1px solid var(--natobet-border);
}
/* =========================================
9. ФУТЕР
========================================= */
.natobet-footer {
background-color: #060b16;
border-top: 1px solid var(--natobet-border);
margin-top: 80px;
padding-top: 60px;
font-size: 14px;
}
.natobet-footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 40px;
margin-bottom: 50px;
}
.natobet-footer-col:first-child {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
.natobet-footer-logo {
font-size: 28px;
color: var(--natobet-primary);
margin: 0 0 15px 0;
padding: 0;
font-weight: 900;
text-transform: uppercase;
line-height: 1;
width: 100%;
text-align: center;
text-shadow: 0 0 24px var(--natobet-glow);
}
.natobet-footer-desc {
color: var(--natobet-text-muted);
line-height: 1.6;
margin: 0;
padding: 0;
max-width: 320px;
text-align: center;
}
.natobet-footer-title {
color: var(--natobet-accent);
font-size: 16px;
margin: 0 0 20px 0;
padding: 0;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.natobet-footer-links {
list-style: none;
padding: 0;
margin: 0;
}
.natobet-footer-links li { margin-bottom: 12px; }
.natobet-footer-links a {
color: var(--natobet-text-muted);
transition: all 0.2s;
}
.natobet-footer-links a:hover {
color: var(--natobet-primary);
padding-left: 5px;
}
.natobet-footer-bottom {
background-color: #03060d;
padding: 25px 0;
border-top: 1px solid var(--natobet-border);
}
.natobet-footer-bottom .natobet-container {
display: flex;
justify-content: space-between;
align-items: center;
color: var(--natobet-text-muted);
font-size: 13px;
}
.natobet-footer-nav a {
color: var(--natobet-text-muted);
margin-left: 20px;
}
.natobet-footer-nav a:hover { color: var(--natobet-primary); }
/* =========================================
10. АДАПТИВНОСТЬ
========================================= */
@media (max-width: 1000px) {
.natobet-layout {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.natobet-official-entry {
flex-direction: column;
text-align: center;
padding: 25px;
}
.natobet-entry-btn {
margin-left: 0;
margin-top: 20px;
width: 100%;
}
.natobet-cat-title {
font-size: 28px;
}
}
@media (max-width: 900px) {
.natobet-footer-grid {
grid-template-columns: 1fr 1fr;
text-align: left;
}
.natobet-footer-col:first-child {
align-items: flex-start;
text-align: left;
}
.natobet-footer-desc { text-align: left; }
}
@media (max-width: 600px) {
.natobet-footer-grid {
grid-template-columns: 1fr;
text-align: center;
}
.natobet-footer-col:first-child {
align-items: center;
text-align: center;
}
.natobet-footer-desc { text-align: center; }
.natobet-footer-bottom .natobet-container {
flex-direction: column;
gap: 15px;
}
}

/* =========================================
ИЗОБРАЖЕНИЯ В СТАТЬЯХ
========================================= */
.natobet-post-image-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.natobet-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.natobet-post-item:hover .natobet-post-image {
    transform: scale(1.05);
}

.natobet-article-hero {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
}

.natobet-article-hero img {
    width: 100%;
    height: auto;
    display: block;
}

.natobet-post-thumb {
    width: 100%;
    height: 180px;
    margin-bottom: 15px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--natobet-thumb-bg);
}

.natobet-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.natobet-post-item:hover .natobet-post-thumb img {
    transform: scale(1.05);
}

.natobet-post-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}