/* voidtree landing — DOS-ретро стиль в духе основного приложения (default.css) */
@font-face {
    font-family: 'PublicPixel-rv0pA';
    src: url('fonts/PublicPixel-rv0pA.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
}
*::-webkit-scrollbar { display: none; }

html { scroll-behavior: smooth; }

body {
    background-color: black;
    color: yellow;
    font-family: 'PublicPixel-rv0pA', monospace;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Лёгкий эффект ЭЛТ-сканлайнов поверх всего */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 0) 2px,
        rgba(0, 0, 0, 0.12) 3px
    );
    z-index: 9999;
}

.container {
    border: 2px solid white;
    padding: 5px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

/* ==================== ШАПКА ==================== */
header {
    background-color: black;
    border: 2px solid white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    margin-bottom: 10px;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: yellow;
    background-color: black;
    border: 2px solid yellow;
    padding: 8px 12px;
    margin: 4px;
    font-size: 11px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

nav a:hover {
    background-color: rgba(255, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.4);
    transform: translateY(-3px);
}

nav a.nav-app {
    color: #00ff00;
    border-color: #00ff00;
}
nav a.nav-app:hover {
    background-color: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

.lang-switch button {
    font-family: inherit;
    font-size: 10px;
    color: #00ccff;
    background: black;
    border: 2px solid #00ccff;
    padding: 6px 8px;
    margin: 2px;
    cursor: pointer;
    transition: all 0.2s;
}
.lang-switch button:hover { background: rgba(0, 204, 255, 0.15); }
.lang-switch button.active {
    background: #00ccff;
    color: black;
}

/* ==================== СЕКЦИИ ==================== */
main { flex-grow: 1; }

section {
    padding: 30px 20px;
    scroll-margin-top: 120px;
}

h1 {
    font-size: 42px;
    margin: 10px 0;
    color: yellow;
    text-shadow: 0 0 12px rgba(255, 255, 0, 0.5);
}

h2 {
    color: #ffd700;
    border-bottom: 2px dashed white;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 18px;
}

h3 {
    color: #00ccff;
    text-transform: uppercase;
    margin: 25px 0 15px;
    font-size: 14px;
}

p { font-size: 12px; line-height: 1.9; }

a { color: #00ccff; }

.divider {
    border-top: 1px dashed rgba(255, 255, 255, 0.25);
    margin: 10px 20px;
}

/* ==================== HERO ==================== */
.hero { text-align: center; padding-top: 50px; }

.cursor { animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.tagline { font-size: 13px; max-width: 640px; margin: 20px auto 8px; }
.tagline-sub { font-size: 11px; color: rgba(255, 255, 0, 0.65); max-width: 640px; margin: 0 auto 30px; }

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 25px 0 15px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    padding: 15px 25px;
    border: 2px solid;
    background: black;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    color: #00ff00;
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.25);
}
.btn-primary:hover {
    background: rgba(0, 255, 0, 0.12);
    box-shadow: 0 0 22px rgba(0, 255, 0, 0.55);
    transform: translateY(-3px);
}

.btn-secondary {
    color: #00ccff;
    border-color: #00ccff;
    font-size: 12px;
}
.btn-secondary:hover {
    background: rgba(0, 204, 255, 0.12);
    box-shadow: 0 0 18px rgba(0, 204, 255, 0.45);
    transform: translateY(-3px);
}

.btn-mini {
    font-size: 9px;
    padding: 5px 8px;
    color: yellow;
    border-color: yellow;
    margin-left: 10px;
}
.btn-mini:hover { background: rgba(255, 255, 0, 0.12); }

.download-note {
    font-size: 10px;
    color: rgba(255, 255, 0, 0.55);
}

.server-status { font-size: 10px; color: rgba(255, 255, 0, 0.7); }

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 0; /* пиксельный квадрат, никаких кругов */
}
.dot-unknown { background: #888; }
.dot-online { background: #00ff00; box-shadow: 0 0 8px rgba(0, 255, 0, 0.8); }
.dot-offline { background: #ff3333; box-shadow: 0 0 8px rgba(255, 51, 51, 0.8); }

/* ==================== СПИСКИ / QNA ==================== */
.features {
    font-size: 12px;
    line-height: 1.9;
    list-style-type: square;
    padding-left: 20px;
}

#qna details {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 15px;
    margin-bottom: 10px;
    cursor: pointer;
}
#qna summary {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    user-select: none;
    outline: none;
    color: #ffd700;
}
#qna details[open] summary { margin-bottom: 8px; border-bottom: 1px dashed rgba(255,255,255,0.15); padding-bottom: 8px; }
#qna details p { margin: 5px 0 0; font-size: 11px; }

/* ==================== MINECRAFT ==================== */
.mc-card {
    border: 2px solid #00ff00;
    background: rgba(0, 255, 0, 0.04);
    box-shadow: 0 0 14px rgba(0, 255, 0, 0.2);
    padding: 20px;
    display: inline-block;
}
.mc-row { font-size: 12px; margin: 8px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.mc-row code {
    color: #00ff00;
    background: rgba(0, 255, 0, 0.08);
    border: 1px dashed rgba(0, 255, 0, 0.4);
    padding: 4px 8px;
    font-family: inherit;
    font-size: 13px;
}

/* ==================== ПОДВАЛ ==================== */
footer {
    font-size: 10px;
    padding: 12px 0 5px;
    text-align: center;
    border-top: 2px solid white;
    margin-top: 10px;
}
footer a { color: #00ccff; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ==================== МОБИЛЬНАЯ ВЕРСИЯ ==================== */
@media (max-width: 640px) {
    body { padding: 8px; }
    header { position: static; justify-content: center; }
    section { padding: 20px 8px; scroll-margin-top: 10px; }
    h1 { font-size: 26px; }
    nav a { font-size: 9px; padding: 6px 8px; margin: 3px; }
    .hero { padding-top: 20px; }
    .btn { width: 100%; text-align: center; }
    .hero-buttons { flex-direction: column; }
}
