﻿@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600&family=Exo+2:wght@400;500;600&family=Source+Code+Pro:wght@400;500&display=swap');

/* Футуристичный фон 3D печати */
BODY {
    FONT-SIZE: 14px;
    PADDING-RIGHT: 0px;
    PADDING-LEFT: 0px;
    SCROLLBAR-FACE-COLOR: #2a0b3d;
    BACKGROUND: #0a0a1a;
    background: linear-gradient(135deg, 
        #0a0a1a 0%,
        #1a0b2a 25%,
        #2a0b3d 50%,
        #3a0b50 75%,
        #4a0b63 100%);
    PADDING-BOTTOM: 0px;
    MARGIN: 0 auto;
    FONT: 12px 'Exo 2', 'Orbitron', Verdana, Arial, Helvetica, sans-serif;
    SCROLLBAR-HIGHLIGHT-COLOR: #ff00ff;
    SCROLLBAR-SHADOW-COLOR: #00ffff;
    COLOR: #e0e0ff;
    SCROLLBAR-3DLIGHT-COLOR: #4a0b63;
    SCROLLBAR-ARROW-COLOR: #ff00ff;
    PADDING-TOP: 0px;
    SCROLLBAR-TRACK-COLOR: #1a0b2a;
    SCROLLBAR-DARKSHADOW-COLOR: #2a0b3d;
    line-height: 1.6;
    max-width: 1200px;
    text-shadow: 0 0 5px rgba(224, 224, 255, 0.1);
}

/* Глитч эффект для фона */
BODY::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, 
            transparent 50%, 
            rgba(255, 0, 255, 0.03) 50%),
        linear-gradient(45deg, 
            transparent 30%, 
            rgba(0, 255, 255, 0.02) 30%,
            rgba(0, 255, 255, 0.02) 70%, 
            transparent 70%);
    background-size: 20px 20px, 40px 40px;
    z-index: -1;
    opacity: 0.3;
}

/* Основные элементы */
FONT, TH, TD, P, DIV {
    FONT: 14px 'Exo 2', 'Orbitron', Verdana, Arial, Helvetica, sans-serif;
    COLOR: #e0e0ff;
}

.gensmall {FONT-SIZE: 13px; font-family: 'Exo 2', sans-serif; color: #ff00ff;}
TD.genmed {FONT-SIZE: 14px; font-family: 'Exo 2', sans-serif;}
.genmed {FONT-SIZE: 13px; font-family: 'Exo 2', sans-serif;}
.explaintitle {
    FONT-WEIGHT: 600;
    FONT-SIZE: 13px;
    COLOR: #00ffff;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Неоновые ссылки */
A:link {
    COLOR: #ff00ff;
    TEXT-DECORATION: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
    position: relative;
}

A:link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #ff00ff, #00ffff);
    transition: width 0.3s ease;
}

A:active {
    COLOR: #ff66ff;
    TEXT-DECORATION: none;
}

A:visited {
    COLOR: #cc66ff;
    TEXT-DECORATION: none;
}

A:hover {
    COLOR: #ffffff;
    TEXT-DECORATION: none;
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.8);
}

A:hover::after {
    width: 100%;
}

A.postlink {
    COLOR: #00ffff;
    TEXT-DECORATION: none;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

/* 3D заголовки */
.topictitle {
    FONT-WEIGHT: 600;
    FONT-SIZE: 13px;
    font-family: 'Orbitron', sans-serif;
    color: #00ffff;
    text-shadow: 
        0 0 10px rgba(0, 255, 255, 0.5),
        0 2px 0 rgba(0, 0, 0, 0.5);
}

A.topictitle:visited {COLOR: #cc66ff;}
A.topictitle:hover {
    COLOR: #ffffff;
    text-shadow: 
        0 0 15px rgba(0, 255, 255, 0.8),
        0 2px 0 rgba(0, 0, 0, 0.5);
}

.name {
    FONT-WEIGHT: 600;
    FONT-SIZE: 13px;
    color: #00ffff;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

/* Неоновые разделители */
HR {
    BORDER-RIGHT: #ffffff 0px solid;
    BORDER-TOP: 2px solid;
    BORDER-LEFT: #ffffff 0px solid;
    BORDER-BOTTOM: #ffffff 0px solid;
    HEIGHT: 0px;
    margin: 20px 0;
    border-image: linear-gradient(90deg, 
        transparent, 
        #ff00ff, 
        #00ffff, 
        #ff00ff, 
        transparent) 1;
    box-shadow: 
        0 0 10px rgba(255, 0, 255, 0.5),
        0 0 20px rgba(0, 255, 255, 0.3);
}

/* Категории с 3D эффектом */
TD.cat, TD.catHead, TD.catSides, TD.catLeft, TD.catRight, TD.catBottom {
    FONT-WEIGHT: 600;
    background: linear-gradient(135deg,
        #4a0b63 0%,
        #3a0b50 50%,
        #2a0b3d 100%);
    TEXT-INDENT: 15px;
    LETTER-SPACING: 1px;
    HEIGHT: 40px;
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    border: none;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 0, 255, 0.3);
    position: relative;
    overflow: hidden;
}

TD.cat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Ряды таблиц с градиентами */
.row1 {
    background: linear-gradient(135deg,
        rgba(42, 11, 61, 0.8) 0%,
        rgba(58, 11, 80, 0.8) 100%);
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.row2 {
    background: linear-gradient(135deg,
        rgba(58, 11, 80, 0.8) 0%,
        rgba(74, 11, 99, 0.8) 100%);
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.row3 {
    background: linear-gradient(135deg,
        rgba(74, 11, 99, 0.8) 0%,
        rgba(90, 11, 118, 0.8) 100%);
    transition: all 0.3s ease;
    border-left: 2px solid transparent;
}

.row1:hover, .row2:hover, .row3:hover {
    background: linear-gradient(135deg,
        rgba(255, 0, 255, 0.2) 0%,
        rgba(74, 11, 99, 0.8) 100%);
    border-left: 2px solid #ff00ff;
    transform: translateX(5px);
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.3),
        inset 0 0 20px rgba(0, 255, 255, 0.1);
}

.helpline {
    background: linear-gradient(135deg,
        rgba(0, 255, 255, 0.1) 0%,
        rgba(58, 11, 80, 0.8) 100%);
    border: 1px solid rgba(0, 255, 255, 0.3);
}

TD.spacerow {
    background: linear-gradient(90deg,
        #ff00ff,
        #00ffff,
        #ff00ff);
    opacity: 0.3;
}

TD.rowpic {
    background: linear-gradient(90deg,
        rgba(255, 0, 255, 0.1) 0%,
        rgba(74, 11, 99, 0.8) 100%);
}

/* Заголовки таблиц с кибер-стилем */
TH {
    PADDING-RIGHT: 15px;
    PADDING-LEFT: 15px;
    FONT-WEIGHT: 600;
    FONT-SIZE: 14px;
    background: linear-gradient(135deg,
        #ff00ff 0%,
        #00ffff 50%,
        #ff00ff 100%);
    COLOR: #000000;
    WHITE-SPACE: nowrap;
    HEIGHT: 40px;
    TEXT-ALIGN: center;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 
        0 1px 2px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.5);
    border: none;
    position: relative;
    overflow: hidden;
}

TH::before {
    content: '┃┃┃';
    position: absolute;
    top: 0;
    left: -100%;
    color: rgba(255, 255, 255, 0.2);
    font-size: 20px;
    animation: glitch 2s linear infinite;
}

@keyframes glitch {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Основные контейнеры с неоновыми границами */
.bodyline {
    BORDER-RIGHT: 2px solid #00ffff;
    BORDER-TOP: 2px solid #00ffff;
    background: linear-gradient(135deg,
        rgba(10, 10, 26, 0.9) 0%,
        rgba(42, 11, 61, 0.9) 100%);
    BORDER-LEFT: 2px solid #00ffff;
    BORDER-BOTTOM: 2px solid #00ffff;
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.3),
        inset 0 0 30px rgba(255, 0, 255, 0.1);
    position: relative;
}

.bodyline::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #ff00ff;
    border-radius: 12px;
    opacity: 0.5;
    z-index: -1;
}

.forumline {
    BORDER-RIGHT: 1px solid #00ffff;
    BORDER-TOP: 1px solid #00ffff;
    background: linear-gradient(135deg,
        rgba(10, 10, 26, 0.9) 0%,
        rgba(42, 11, 61, 0.9) 100%);
    BORDER-LEFT: 1px solid #00ffff;
    BORDER-BOTTOM: 1px solid #00ffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.2),
        inset 0 0 20px rgba(255, 0, 255, 0.1);
}

/* Футуристичные заголовки */
.maintitle, H1 {
    FONT: bold 28px/130% 'Orbitron', 'Exo 2', Verdana, Arial, Helvetica, sans-serif;
    COLOR: #ffffff;
    TEXT-DECORATION: none;
    text-align: center;
    margin: 30px 0;
    padding-bottom: 15px;
    background: linear-gradient(90deg, 
        #ff00ff, 
        #00ffff, 
        #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 
        0 0 30px rgba(255, 0, 255, 0.5),
        0 0 60px rgba(0, 255, 255, 0.3);
    position: relative;
}

.maintitle::after, H1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        #ff00ff, 
        #00ffff, 
        #ff00ff, 
        transparent);
    border-radius: 2px;
}

H2, .subtitle {
    FONT: bold 22px/150% 'Orbitron', 'Exo 2', Verdana, Arial, Helvetica, sans-serif;
    TEXT-DECORATION: none;
    COLOR: #00ffff;
    margin-top: 25px;
    text-shadow: 
        0 0 20px rgba(0, 255, 255, 0.5),
        0 2px 0 rgba(0, 0, 0, 0.5);
}

/* Навигация */
.nav {
    FONT-WEIGHT: 600; 
    FONT-SIZE: 14px; 
    color: #ff00ff; 
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}
.postbody {
    FONT-SIZE: 15px; 
    LINE-HEIGHT: 1.7; 
    color: #e0e0ff;
    text-shadow: 0 0 5px rgba(224, 224, 255, 0.1);
}
.postdetails {
    FONT-SIZE: 13px; 
    COLOR: #ff66ff;
    text-shadow: 0 0 8px rgba(255, 102, 255, 0.3);
}

/* Технические блоки */
.code_td, .php_td, .q_td, .quote_td {
    FONT-SIZE: 13px;
    COLOR: #00ff00;
    FONT-FAMILY: 'Source Code Pro', 'Courier New', monospace;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.code_table, .php_table, .q_table, .quote_table {
    BORDER-RIGHT: 2px solid #00ff00;
    BORDER-TOP: 2px solid #00ff00;
    FONT-SIZE: 13px;
    BORDER-LEFT: 2px solid #00ff00;
    WIDTH: 98%;
    BORDER-BOTTOM: 2px solid #00ff00;
    FONT-FAMILY: 'Source Code Pro', 'Courier New', monospace;
    background: linear-gradient(135deg,
        rgba(0, 20, 0, 0.9) 0%,
        rgba(0, 40, 0, 0.9) 100%);
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    box-shadow: 
        0 0 25px rgba(0, 255, 0, 0.3),
        inset 0 0 25px rgba(0, 255, 255, 0.1);
}

/* Кибер-цитаты */
.quote {
    BORDER-RIGHT: 2px solid #ff00ff;
    BORDER-TOP: 2px solid #ff00ff;
    FONT-SIZE: 14px;
    background: linear-gradient(135deg,
        rgba(40, 0, 40, 0.9) 0%,
        rgba(60, 0, 60, 0.9) 100%);
    BORDER-LEFT: 4px solid #ff00ff;
    COLOR: #ffccff;
    LINE-HEIGHT: 1.6;
    BORDER-BOTTOM: 2px solid #ff00ff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 10px;
    position: relative;
    box-shadow: 
        0 0 25px rgba(255, 0, 255, 0.3),
        inset 0 0 25px rgba(0, 255, 255, 0.1);
}

.quote::before {
    content: '╠═';
    position: absolute;
    top: -15px;
    left: 20px;
    color: #ff00ff;
    font-size: 20px;
    font-family: monospace;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.quote::after {
    content: '═╣';
    position: absolute;
    top: -15px;
    right: 20px;
    color: #ff00ff;
    font-size: 20px;
    font-family: monospace;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Технический код */
.code {
    BORDER-RIGHT: 2px solid #00ffff;
    BORDER-TOP: 2px solid #00ffff;
    PADDING-LEFT: 20px;
    background: linear-gradient(135deg,
        rgba(0, 20, 40, 0.9) 0%,
        rgba(0, 40, 80, 0.9) 100%);
    PADDING-BOTTOM: 20px;
    FONT: 13px 'Source Code Pro', 'Courier New', monospace;
    BORDER-LEFT: 2px solid #00ffff;
    COLOR: #00ffff;
    PADDING-TOP: 20px;
    BORDER-BOTTOM: 2px solid #00ffff;
    border-radius: 10px;
    margin: 20px 0;
    position: relative;
    box-shadow: 
        0 0 25px rgba(0, 255, 255, 0.3),
        inset 0 0 25px rgba(255, 0, 255, 0.1);
}

.code::before {
    content: '█▓▒░ КОД ░▒▓█';
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    color: #000000;
    padding: 3px 15px;
    border-radius: 5px;
    font-size: 11px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    text-shadow: none;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

/* Формы с футуристичным дизайном */
FORM {DISPLAY: inline;}
INPUT, SELECT, TEXTAREA {
    FONT: 13px 'Exo 2', 'Orbitron', Verdana, Arial, Helvetica, sans-serif;
    padding: 10px 15px;
    border: 2px solid #00ffff;
    border-radius: 6px;
    background: linear-gradient(135deg,
        rgba(10, 10, 26, 0.9) 0%,
        rgba(42, 11, 61, 0.9) 100%);
    transition: all 0.3s ease;
    color: #ffffff;
    box-shadow: 
        0 0 15px rgba(0, 255, 255, 0.2),
        inset 0 0 10px rgba(255, 0, 255, 0.1);
}

INPUT:focus, SELECT:focus, TEXTAREA:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 
        0 0 25px rgba(255, 0, 255, 0.4),
        inset 0 0 15px rgba(0, 255, 255, 0.2);
}

/* Кибер-кнопки */
INPUT.button, INPUT.liteoption, .fakebut, INPUT.catbutton, INPUT.mainoption {
    BORDER: none;
    FONT-SIZE: 14px;
    background: linear-gradient(135deg,
        #ff00ff 0%,
        #00ffff 50%,
        #ff00ff 100%);
    font-weight: 600;
    padding: 12px 25px;
    color: #000000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.5),
        0 5px 0 rgba(100, 0, 100, 1);
    position: relative;
    overflow: hidden;
}

INPUT.button:hover, INPUT.liteoption:hover, .fakebut:hover, 
INPUT.catbutton:hover, INPUT.mainoption:hover {
    background: linear-gradient(135deg,
        #00ffff 0%,
        #ff00ff 50%,
        #00ffff 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.7),
        0 8px 0 rgba(0, 100, 100, 1);
}

INPUT.button:active, INPUT.liteoption:active, .fakebut:active, 
INPUT.catbutton:active, INPUT.mainoption:active {
    transform: translateY(2px);
    box-shadow: 
        0 0 15px rgba(255, 0, 255, 0.3),
        0 3px 0 rgba(100, 0, 100, 1);
}

/* Дополнительные элементы */
.copyright {
    FONT-SIZE: 12px;
    COLOR: #ff66ff;
    FONT-FAMILY: 'Exo 2', sans-serif;
    LETTER-SPACING: -0.5px;
    text-align: center;
    padding: 25px 0;
    margin-top: 25px;
    border-top: 2px solid;
    border-image: linear-gradient(90deg, 
        transparent, 
        #ff00ff, 
        #00ffff, 
        #ff00ff, 
        transparent) 1;
    text-shadow: 0 0 10px rgba(255, 102, 255, 0.3);
}

/* Эффект сканирования для страницы */
@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.scan-effect {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        #00ffff,
        #ff00ff,
        transparent);
    animation: scan 3s linear infinite;
    z-index: 1000;
    pointer-events: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    BODY {
        width: 95%;
        padding: 10px;
        font-size: 13px;
    }
    
    .forumline {
        overflow-x: auto;
    }
    
    .maintitle, H1 {
        font-size: 22px;
    }
    
    H2, .subtitle {
        font-size: 18px;
    }
    
    .code, .quote {
        padding: 15px;
        font-size: 12px;
    }
    
    INPUT, SELECT, TEXTAREA {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* Эффекты для 3D печати */
.layer-effect {
    position: relative;
}

.layer-effect::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
        rgba(255, 0, 255, 0.1) 0%,
        rgba(0, 255, 255, 0.1) 100%);
    z-index: -1;
    border-radius: inherit;
}

.print-progress {
    background: linear-gradient(90deg,
        #ff00ff 0%,
        #ff00ff var(--progress, 50%),
        #333333 var(--progress, 50%),
        #333333 100%);
    height: 4px;
    border-radius: 2px;
    margin: 10px 0;
    transition: --progress 1s ease;
}

/* Анимации для элементов */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 0, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(255, 0, 255, 0.6); }
}

.glow-element {
    animation: glow 2s ease-in-out infinite;
}