/* ================================================
   GOLPAFORUM.SYS :: style.css
   Ретро-терминальная тема (зелёный на чёрном, BBS/CRT)
   ================================================ */

html, body {
    background-color: #000000;
    color: #33ff33;
    font-family: "Courier New", Courier, monospace;
    font-size: 13px;
    margin: 0;
    padding: 50px 0;
}

/* Едва заметный "шум" CRT-монитора на фоне всей страницы */
body {
    background-image: repeating-linear-gradient(
        0deg,
        rgba(51, 255, 51, 0.04) 0px,
        rgba(51, 255, 51, 0.04) 1px,
        transparent 1px,
        transparent 3px
    );
}

.terminal-box {
    position: relative;
    width: 620px;
    border: 1px solid #33ff33;
    background-color: #050505;
    padding: 20px;
    margin: 0 auto;
    box-shadow: 0px 0px 12px #005500;
    overflow: hidden;
    animation: flicker 4s ease-in-out infinite;
}

/* Бегущие сканлайны поверх окна - классический эффект старого монитора */
.terminal-box::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(0,0,0,0.15) 0px,
        rgba(0,0,0,0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    animation: scan 6s linear infinite;
}

@keyframes scan {
    0%   { background-position: 0 0; }
    100% { background-position: 0 60px; }
}

/* Лёгкое "дыхание" свечения окна, как у старого ЭЛТ-монитора */
@keyframes flicker {
    0%, 100% { box-shadow: 0px 0px 12px #005500; }
    50%      { box-shadow: 0px 0px 16px #007700; }
}

.ascii-border {
    color: #33ff33;
    white-space: pre;
    line-height: 1.15;
    font-size: 13px;
    text-shadow: 0 0 4px #33ff33;
    margin: 0 0 4px 0;
}

.subtitle-row {
    color: #88ff88;
    font-size: 12px;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.blink {
    animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
    0%, 49%   { opacity: 1; }
    50%, 100% { opacity: 0; }
}

marquee.ticker {
    display: block;
    border-top: 1px dashed #33ff33;
    border-bottom: 1px dashed #33ff33;
    padding: 4px 0;
    margin-bottom: 16px;
    color: #33ff33;
    font-weight: bold;
    letter-spacing: 1px;
}

.line-separator {
    border-bottom: 1px dashed #33ff33;
    margin: 15px 0;
}

.download-zone {
    border: 1px solid #33ff33;
    background-color: #0a0a0a;
    padding: 30px;
    text-align: center;
    margin: 25px 0;
}

.hacker-btn {
    background-color: #111111;
    color: #33ff33 !important;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #33ff33;
    display: inline-block;
}
.hacker-btn:hover {
    background-color: #33ff33;
    color: #000000 !important;
    cursor: pointer;
}
.hacker-btn:active {
    background-color: #00aa00;
    color: #000000 !important;
}

ul {
    margin: 10px 0;
    padding-left: 20px;
    list-style-type: square;
}
li {
    margin-bottom: 5px;
}
.info-text {
    color: #88ff88;
}

.new-tag {
    color: #000000;
    background-color: #33ff33;
    font-size: 10px;
    font-weight: bold;
    padding: 0 4px;
    margin-left: 6px;
}

/* Классический "счётчик посещений" из старого веба */
.hit-counter {
    text-align: center;
    margin-top: 4px;
}
.hit-counter .digits {
    display: inline-block;
    background-color: #000000;
    border: 1px solid #33ff33;
    padding: 3px 6px;
    letter-spacing: 4px;
    font-weight: bold;
    color: #33ff33;
    text-shadow: 0 0 5px #33ff33;
}
.hit-counter .caption {
    font-size: 10px;
    color: #559955;
    display: block;
    margin-top: 3px;
}

.footer-note {
    text-align: center;
    font-size: 10px;
    color: #337733;
    margin-top: 18px;
    letter-spacing: 1px;
}

table.status-bar {
    font-size: 11px;
    color: #55aa55;
}

/* Уважаем пользователей, которым анимация мешает */
@media (prefers-reduced-motion: reduce) {
    .terminal-box,
    .terminal-box::after,
    .blink,
    body {
        animation: none !important;
    }
}