* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0a0a0a;
    font-family: system-ui, -apple-system, 'Segoe UI', monospace;
    color: #eee;
    min-height: 100vh;
}

/* Фон как в Minecraft */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, #1a2a1a, #0a0f0a);
    z-index: -2;
}

.launcher {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== ЛОГОТИП ===== */
.header {
    padding: 25px 25px;
    border-bottom: 3px solid #6b8c42;
    background: linear-gradient(135deg, #111, #1a1f1a);
}

.logo-wrapper {
    text-align: center;
}

.logo {
    font-size: clamp(36px, 8vw, 58px);
    letter-spacing: 3px;
    font-weight: 900;
    text-shadow: 4px 4px 0 #2a2a2a;
    margin-bottom: 8px;
}

/* Wood — зелёный, T — золотой/жёлтый, остальные белые */
.wood {
    color: #6b8c42;
    text-shadow: 0 0 5px #3a5a2a;
}

.tales {
    color: #e6c87a;
    text-shadow: 0 0 5px #8b7a3a;
}

.short {
    font-size: 0.4em;
    color: #aaa;
    font-weight: normal;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 13px;
    color: #8bc34a;
    letter-spacing: 1px;
    word-spacing: 2px;
}

/* ===== СТАТУС ===== */
.status-badge {
    background: #2c2c2c;
    display: inline-block;
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 12px;
    margin-top: 12px;
}

/* ===== ТАБЫ ===== */
.tabs {
    display: flex;
    flex-wrap: wrap;
    background: #0f0f12;
    border-bottom: 1px solid #2a3a2a;
    gap: 5px;
    padding: 10px 15px;
    overflow-x: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #ccc;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 40px;
    white-space: nowrap;
}

.tab-btn.active {
    background: #6b8c42;
    color: #0a0a0a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* ===== КАРТОЧКИ ===== */
.content {
    flex: 1;
    padding: 25px;
}

.card {
    background: #1a1a1f;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #3a4a3a;
    transition: 0.2s;
}

.build-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.build-info h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: #e6c87a;
}

.build-info p {
    color: #bbb;
    font-size: 14px;
}

.meta {
    font-size: 12px;
    color: #8bc34a;
    margin-top: 10px;
}

.download-btn {
    background: #6b8c42;
    border: none;
    color: #0a0a0a;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
    font-weight: 700;
}

.download-btn:hover {
    background: #8bc34a;
    transform: scale(1.02);
}

.download-btn:active {
    transform: scale(0.96);
}

.news-date {
    color: #8bc34a;
    font-size: 12px;
    margin-bottom: 8px;
}

.loader {
    text-align: center;
    padding: 40px;
    color: #8bc34a;
}

.footer {
    text-align: center;
    padding: 18px;
    font-size: 11px;
    color: #6a6a6a;
    border-top: 1px solid #2a2a2a;
}

/* ===== АДАПТАЦИЯ ПОД ТЕЛЕФОН ===== */
@media (max-width: 600px) {
    .build-card {
        flex-direction: column;
        align-items: stretch;
    }
    .download-btn {
        text-align: center;
    }
    .tabs {
        justify-content: stretch;
    }
    .tab-btn {
        flex: 1;
        text-align: center;
        padding: 10px 12px;
        font-size: 14px;
    }
    .content {
        padding: 15px;
    }
}

/* ===== НОВОСТИ (АККОРДЕОН) ===== */
.news-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news-item {
    background: #1a1a1f;
    border-radius: 16px;
    border: 1px solid #3a4a3a;
    overflow: hidden;
}
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    cursor: pointer;
    background: #22222a;
    transition: 0.2s;
}
.news-header:hover {
    background: #2a2a35;
}
.news-title {
    font-weight: bold;
    font-size: 16px;
    color: #e6c87a;
}
.news-date {
    font-size: 12px;
    color: #8bc34a;
}
.news-toggle {
    font-size: 14px;
    color: #aaa;
    transition: 0.2s;
}
.news-body {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.2s;
    background: #111115;
    line-height: 1.5;
}
.news-body.open {
    max-height: 300px;
    padding: 16px 18px;
}
.news-body ul {
    margin: 10px 0;
    padding-left: 20px;
}
.news-body li {
    margin: 6px 0;
    color: #ccc;
}


