/* ==============================================
   АЛЬТЕРНАТИВНЫЙ СТИЛЬ ФОРУМА - ТЕМНАЯ ТЕМА
   ============================================== */

/* Темная основа с неоновыми акцентами */
body { 
    background: #0a0a0a;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.3) 0%, transparent 50%);
    background-attachment: fixed;
    margin: 0px; 
    padding: 0px; 
    scrollbar-arrow-color: #00d4ff; 
    scrollbar-face-color: #1a1a1a; 
    scrollbar-track-color: #0a0a0a; 
    scrollbar-highlight-color: #333333; 
    scrollbar-3dlight-color: #555555; 
    scrollbar-shadow-color: #000000; 
    scrollbar-darkshadow-color: #000000;
    min-height: 100vh;
    color: #e0e0e0;
}

/* Кибер-типографика */
font, th, td, p { 
    font-family: 'JetBrains Mono', 'Consolas', 'Monaco', monospace; 
    font-size: 14px; 
    line-height: 1.6;
    color: #e0e0e0;
    letter-spacing: 0.5px;
}

/* Неоновые ссылки */
a { 
    text-decoration: none; 
    color: #00d4ff; 
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

a:visited { 
    color: #8a2be2; 
    text-shadow: 0 0 5px rgba(138, 43, 226, 0.5);
}

a:hover, a:active { 
    color: #ff1493; 
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
    transform: scale(1.05);
}

a:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff1493, #00d4ff);
    animation: neonGlow 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
}

@keyframes neonGlow {
    0% { 
        width: 0; 
        box-shadow: 0 0 5px rgba(255, 20, 147, 0.5);
    }
    100% { 
        width: 100%; 
        box-shadow: 0 0 15px rgba(255, 20, 147, 1);
    }
}

/* Киберпанк линия */
hr { 
    height: 2px; 
    border: none;
    background: linear-gradient(90deg, #ff1493, #00d4ff, #8a2be2);
    border-radius: 1px;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
    animation: hrPulse 2s infinite;
}

@keyframes hrPulse {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 20, 147, 1);
    }
}

img { 
    border: 0px; 
    border-radius: 8px;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

img:hover {
    filter: brightness(1.1) contrast(1.1);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

form { 
    display: inline; 
}

/* Стеклянные таблицы с неоновой рамкой */
table.forumline { 
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    border: 2px solid #00d4ff;
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

table.forumline:hover { 
    border-color: #ff1493;
    box-shadow: 
        0 0 30px rgba(255, 20, 147, 0.5),
        inset 0 0 30px rgba(255, 20, 147, 0.1);
    transform: translateY(-2px);
}

/* Киберпанк строки */
.row, .row1, .row2 { 
    background: rgba(30, 30, 30, 0.6);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.row:hover, .row1:hover, .row2:hover {
    background: rgba(40, 40, 40, 0.8);
    border-left-color: #00d4ff;
    box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.1);
}

.row3 { 
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    border-left: 3px solid #ff1493;
    box-shadow: inset 0 0 20px rgba(255, 20, 147, 0.1);
}

/* Неоновые заголовки */
th, td.th { 
    color: #ffffff; 
    font-size: 14px; 
    font-weight: 700; 
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #00d4ff;
    height: 40px; 
    border-radius: 10px 10px 0 0;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

th::before, td.th::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    transition: left 0.7s;
}

th:hover::before, td.th:hover::before {
    left: 100%;
}

/* Темные категории с неоновыми акцентами */
td.cat, td.catHead, td.catLeft, td.rowpic, td.catSides, td.catRight, td.catBottom { 
    color: #e0e0e0; 
    font-size: 14px; 
    font-weight: 600;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border: 1px solid #555555;
    height: 40px; 
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 
        inset 0 1px 3px rgba(255, 255, 255, 0.1),
        0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

td.cat::before, td.catHead::before, td.catLeft::before, td.rowpic::before, 
td.catSides::before, td.catRight::before, td.catBottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff1493, #00d4ff, #8a2be2);
    border-radius: 8px 8px 0 0;
}

/* Улучшенные размеры шрифтов */
.gen { 
    font-size: 14px; 
    line-height: 1.6;
    color: #e0e0e0;
}

.genmed { 
    font-size: 13px; 
    line-height: 1.5;
    color: #c0c0c0;
}

.gensmall { 
    font-size: 12px; 
    line-height: 1.4;
    color: #a0a0a0;
}

/* Киберпанк навигация */
.nav { 
    font-weight: 700; 
    font-size: 14px; 
    color: #ff1493;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav a, .nav a:visited { 
    text-decoration: none; 
    color: #00d4ff;
    padding: 10px 20px;
    border: 2px solid #00d4ff;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.nav a:hover, .nav a:active { 
    background: rgba(255, 20, 147, 0.2);
    border-color: #ff1493;
    color: #ff1493;
    text-shadow: 0 0 15px rgba(255, 20, 147, 1);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.5);
}

/* Неоновая таблица навигации */
table.nav { 
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid #00d4ff;
    border-radius: 15px;
    height: 50px;
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

table.nav:hover { 
    border-color: #ff1493;
    box-shadow: 
        0 0 30px rgba(255, 20, 147, 0.5),
        inset 0 0 30px rgba(255, 20, 147, 0.1);
    transform: translateY(-2px);
}

/* Неоновые ссылки форумов */
.forumlink { 
    font-weight: 700; 
    font-size: 16px;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a.forumlink, a.forumlink:visited { 
    text-decoration: none;
    color: #00d4ff;
}

a.forumlink:hover, a.forumlink:active { 
    color: #ff1493;
    text-shadow: 0 0 15px rgba(255, 20, 147, 1);
    transform: scale(1.05);
}

/* Киберпанк формы */
input { 
    text-indent: 10px;
    transition: all 0.3s ease;
}

input, textarea, select { 
    color: #e0e0e0; 
    font: normal 14px 'JetBrains Mono', 'Consolas', monospace;
    border-radius: 8px;
    background: rgba(20, 20, 20, 0.8);
    letter-spacing: 0.5px;
}

input.post, textarea.post, select { 
    background: rgba(20, 20, 20, 0.9);
    border: 2px solid #555555;
    padding: 12px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

input.post:focus, textarea.post:focus, select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 212, 255, 0.5);
    background: rgba(30, 30, 30, 0.9);
}

input.post { 
    height: 45px; 
}

/* Неоновые кнопки */
input.button { 
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #00d4ff; 
    font-size: 14px; 
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    border: 2px solid #00d4ff;
    border-radius: 10px;
    padding: 12px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input.button:hover {
    background: linear-gradient(135deg, #ff1493, #8a2be2);
    border-color: #ff1493;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.5);
    transform: scale(1.05);
}

input.button:active {
    transform: scale(0.98);
}

/* Неоновые опции */
input.mainoption { 
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #00ff00;
    font-weight: 700;
    border: 2px solid #00ff00;
    border-radius: 8px;
    height: 40px;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    text-transform: uppercase;
}

input.mainoption:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
    transform: scale(1.05);
}

input.liteoption { 
    background: rgba(20, 20, 20, 0.9);
    color: #e0e0e0;
    font-weight: 600;
    border: 2px solid #555555;
    border-radius: 8px;
    height: 40px;
    padding: 0 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

input.liteoption:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

/* Темные селекты */
select optgroup { 
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    color: #e0e0e0;
    font-weight: 700;
}

select option, select optgroup option { 
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 10px;
}

/* Киберпанк код */
.code {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 13px;
    color: #00ff00;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border: 2px solid #00ff00;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 
        0 0 20px rgba(0, 255, 0, 0.3),
        inset 0 0 20px rgba(0, 255, 0, 0.1);
    position: relative;
    overflow-x: auto;
}

.code::before {
    content: '> CODE_BLOCK';
    position: absolute;
    top: 8px;
    right: 15px;
    font-size: 10px;
    color: #00ff00;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.code::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #00ff00, #00d4ff);
    border-radius: 10px 10px 0 0;
}

/* Неоновые цитаты */
.quote {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    font-size: 14px;
    color: #ff1493;
    line-height: 1.6;
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border-left: 4px solid #ff1493;
    border-radius: 0 10px 10px 0;
    padding: 20px 25px;
    margin: 20px 0;
    position: relative;
    box-shadow: 
        0 0 20px rgba(255, 20, 147, 0.3),
        inset 0 0 20px rgba(255, 20, 147, 0.1);
}

.quote::before {
    content: '>>>';
    position: absolute;
    top: 10px;
    left: -15px;
    font-size: 20px;
    color: #ff1493;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 20, 147, 1);
    background: #0a0a0a;
    padding: 5px;
    border-radius: 50%;
}

/* Темные посты */
.postbody { 
    font-size: 14px; 
    color: #e0e0e0;
    line-height: 1.8;
    padding: 20px;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    letter-spacing: 0.3px;
}

.postbody a, .postbody a:visited { 
    color: #00d4ff;
    text-decoration: none;
    border-bottom: 1px dotted #00d4ff;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.postbody a:hover, .postbody a:active { 
    color: #ff1493;
    border-bottom-color: #ff1493;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
}

/* Неоновые имена */
.name { 
    font-weight: 700; 
    font-size: 15px;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.name a, .name a:visited { 
    text-decoration: none;
    color: #ff1493;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
}

.name a:hover, .name a:active { 
    color: #8a2be2;
    text-shadow: 0 0 15px rgba(138, 43, 226, 1);
    transform: scale(1.1);
}

/* Темные детали */
.postdetails { 
    color: #888888; 
    font-size: 12px;
    font-style: italic;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}

/* Неоновые разделители */
td.spacerow { 
    background: linear-gradient(90deg, #ff1493, #00d4ff, #8a2be2);
    height: 3px; 
    padding: 0px;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

/* Киберпанк заголовки категорий */
.cattitle { 
    font-weight: 700; 
    font-size: 16px; 
    letter-spacing: 1px; 
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    text-transform: uppercase;
}

a.cattitle { 
    text-decoration: none;
    color: #00d4ff;
    transition: all 0.3s ease;
}

a.cattitle:hover { 
    color: #ff1493;
    text-shadow: 0 0 15px rgba(255, 20, 147, 1);
    transform: scale(1.05);
}

/* Неоновые главные заголовки */
.maintitle, h1, h2 {
    font-weight: 700; 
    font-size: 32px; 
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    text-decoration: none; 
    line-height: 1.3; 
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 1);
    margin: 30px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        text-shadow: 0 0 20px rgba(0, 212, 255, 1);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 212, 255, 1), 0 0 40px rgba(255, 20, 147, 0.5);
    }
}

/* ==============================================
   КИБЕРПАНК СТИЛИ для WR-Forum Professional
   ============================================== */

/* Неоновые кнопки пагинации */
.pgbutt a {
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    padding: 10px 20px;
    text-decoration: none;
    border: 2px solid #00d4ff;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #00d4ff;
    margin: 10px 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pgbutt a:hover {
    background: linear-gradient(135deg, #ff1493, #8a2be2);
    border-color: #ff1493;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 25px rgba(255, 20, 147, 0.5);
    transform: scale(1.1);
}

/* Киберпанк инпуты */
input, input.liteoption, .fakebut {
    border: 2px solid #555555;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    background: rgba(20, 20, 20, 0.9);
    color: #e0e0e0;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
}

input:focus, input.liteoption:focus, .fakebut:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    background: rgba(30, 30, 30, 0.9);
}

/* Матричный QR-код */
#qr img {
    width: 45px;
    height: 45px;
    position: fixed;
    right: 25px;
    top: 25px;
    border: 2px solid #00d4ff;
    border-radius: 8px;
    padding: 5px;
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
    z-index: 1000;
    filter: contrast(1.2) brightness(1.1);
}

#qr img:hover {
    width: 240px;
    height: 240px;
    border-radius: 12px;
    padding: 10px;
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.8);
    border-color: #ff1493;
}

/* Матричный аватар */
.guestavatar {
    width: 120px;
    height: 120px;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #00d4ff;
    font-size: 48px;
    font-weight: 700;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    display: table-cell;
    border: 3px solid #00d4ff;
    border-radius: 15px;
    position: relative;
    vertical-align: middle;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.guestavatar:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(255, 20, 147, 0.5);
    border-color: #ff1493;
    color: #ff1493;
    text-shadow: 0 0 15px rgba(255, 20, 147, 1);
}

/* Матричное меню */
#nav8, #nav8 ul, #nav8 li {
    margin: 0;
    padding: 0;
    border: 0;
}

#nav8, #nav8 ul {
    background: rgba(20, 20, 20, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid #00d4ff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

#nav8 {
    border-spacing: 0;
    position: relative;
    z-index: 100;
    width: 100%;
}

#nav8 ul {
    position: absolute;
    display: none;
    margin-top: 5px;
}

#nav8 td:hover ul {
    display: block;
    animation: matrixFadeIn 0.3s ease;
}

@keyframes matrixFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#nav8 ul li {
    list-style: none;
}

#nav8 .right {
    direction: rtl;
}

#nav8 .right ul {
    right: 0;
}

#nav8 .right li {
    direction: ltr;
}

#nav8 a {
    display: block;
    padding: 15px 25px;
    text-align: center;
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 600;
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    transition: all 0.3s ease