/* style.css — WhiteBot Main Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0a0a1a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 680px;
    width: 100%;
    padding: 35px 30px;
    background: #14142e;
    border-radius: 24px;
    border: 1px solid #2a2a5a;
    text-align: center;
    position: relative;
}

/* Водяной знак */
.container::after {
    content: "WhiteBot © 2026";
    position: fixed;
    bottom: 10px;
    right: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
    z-index: 999;
    font-family: monospace;
    letter-spacing: 2px;
}

/* Навигация */
.nav-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a5a;
}

.nav-item {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    overflow: hidden;
    border-radius: 999px;
    transition: width .4s cubic-bezier(.22, 1, .36, 1), background .3s ease, box-shadow .3s ease, border-color .3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 0.6rem;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
    min-width: 52px;
    min-height: 52px;
}

.nav-item:hover {
    width: 170px;
    background: rgba(0, 255, 157, 0.08);
    border-color: rgba(0, 255, 157, 0.25);
    box-shadow: 0 0 28px rgba(0, 255, 157, 0.10);
}

.nav-label {
    opacity: 0;
    max-width: 0;
    transform: translateX(-4px);
    transition: opacity .25s ease, max-width .4s ease, transform .3s ease;
    white-space: nowrap;
    overflow: hidden;
    font-size: 0.9rem;
    font-weight: 500;
    color: #e0e0ff;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.nav-item:hover .nav-label {
    opacity: 1;
    max-width: 140px;
    transform: translateX(0);
}

.nav-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1;
    transition: transform .3s ease;
}

.nav-item:hover .nav-icon {
    transform: scale(1.05);
}

/* Индивидуальные цвета */
.nav-item:nth-child(1):hover { border-color: rgba(0, 255, 157, 0.4); box-shadow: 0 0 28px rgba(0, 255, 157, 0.15); }
.nav-item:nth-child(2):hover { border-color: rgba(0, 191, 255, 0.4); box-shadow: 0 0 28px rgba(0, 191, 255, 0.15); }
.nav-item:nth-child(3):hover { border-color: rgba(255, 215, 0, 0.4); box-shadow: 0 0 28px rgba(255, 215, 0, 0.15); }
.nav-item:nth-child(4):hover { border-color: rgba(255, 107, 107, 0.4); box-shadow: 0 0 28px rgba(255, 107, 107, 0.15); }
.nav-item:nth-child(5):hover { border-color: rgba(155, 89, 182, 0.4); box-shadow: 0 0 28px rgba(155, 89, 182, 0.15); }
.nav-item:nth-child(6):hover { border-color: rgba(78, 205, 196, 0.4); box-shadow: 0 0 28px rgba(78, 205, 196, 0.15); }
.nav-item.panel-link:hover { border-color: #8b5cf6; box-shadow: 0 0 28px rgba(139, 92, 246, 0.2); }

@media (max-width: 600px) {
    .nav-row { gap: 0.5rem; }
    .nav-item { width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0 0.4rem; }
    .nav-icon { font-size: 1.2rem; }
    .nav-item:hover { width: 150px; }
    .nav-label { font-size: 0.8rem; }
    .nav-item:hover .nav-label { max-width: 120px; }
}

/* Заголовки */
h1 {
    font-size: 2.6em;
    background: linear-gradient(135deg, #00ff9d, #00bfff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.sub {
    color: #888;
    margin-bottom: 20px;
}

.status {
    display: inline-block;
    background: #3ba55d;
    color: #fff;
    padding: 4px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 20px;
}

/* Карточки функций */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.feature {
    background: #1a1a38;
    padding: 10px 14px;
    border-radius: 10px;
    border-left: 3px solid #00ff9d;
}

.feature strong {
    color: #00ff9d;
}

/* Ссылки */
.cmd-link {
    display: inline-block;
    margin: 8px 4px;
    color: #00ff9d;
    text-decoration: none;
    font-size: 0.95em;
    border: 1px solid #00ff9d;
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}

.cmd-link:hover {
    background: #00ff9d;
    color: #0a0a1a;
}

.cmd-link.panel {
    background: #6a1b9a;
    border-color: #6a1b9a;
    color: #fff;
}

.cmd-link.panel:hover {
    background: #8b2bb8;
}

/* Футер */
.footer {
    margin-top: 20px;
    color: #555;
    font-size: 0.8em;
}

/* Адаптив */
@media (max-width: 600px) {
    .features {
        grid-template-columns: 1fr;
    }
    h1 {
        font-size: 2em;
    }
}