@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400..900&subset=cyrillic&display=swap');

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(to bottom, #0c0c0c, #002b36);
    color: #d9f9ff; /* мягко-голубой для обычного текста */
    text-align: center;
    padding: 10px;
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Хедер */
.header {
    background-color: transparent;
    color: #b0c7d1;
    padding: 0;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.header nav ul {
    list-style: none;
    margin-left: 40px;
    padding: 0;
    display: flex;
    gap: 40px;
}

.header nav ul li {
    display: inline;
}

.header nav ul li a {
    font-family: 'Tektur', sans-serif;
    color: #b0c7d1;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.header nav ul li a:hover {
    color: #5fffe6;
    text-shadow: 0 0 6px rgba(95, 255, 230, 0.6);
}

/* Контейнер для фиксированного заголовка */
.title-container {
    position: fixed;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 99;
}

/* Главный заголовок */
h1 {
    font-size: 4em;
    margin: 0;
    color: #00e5ff;
    text-shadow: 0 0 1px rgba(0, 229, 255, 0.8), 0 0 15px rgba(0, 229, 255, 0.5);
}

h2 {
    font-family: 'Tektur', sans-serif;
    text-align: center;
    margin-top: 10px;
    color: #b0c7d1;
}

h3 {
    font-size: 2em;
    margin-bottom: 100px;
    color: #d9f9ff;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.3);
}

.lable-userId {
    font-size: 1em;
    font-family: 'Tektur', sans-serif;
    position: fixed;
    top: 5px;
    right: 20px;
    z-index: 10000;
    color: #d9f9ff;
}

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin-top: 170px;
    margin-bottom: 100px;
}

.bots-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    max-width: 620px;
    margin: 0 auto;
}

.bots-container.odd button:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: auto;
}

/* Кнопки */
button {
    font-family: 'Tektur', sans-serif;
    background-color: rgba(169, 169, 169, 0.15);
    color: #d9f9ff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2);
    width: 300px;
    backdrop-filter: blur(10px);
}

button:hover {
    background-color: rgba(169, 169, 169, 0.25);
    transform: scale(1.03);
    color: #00e5ff;
    text-shadow: 0 0 6px rgba(0,229,255,0.7);
    box-shadow: inset 0 1px 5px rgba(255, 255, 255, 0.5), 0 6px 15px rgba(0, 0, 0, 0.3);
}

button:active {
    transform: scale(1.01);
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.3), 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Кнопка ID */
#lable-userId {
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    background-color: rgba(169, 169, 169, 0.15);
    color: #d9f9ff;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
}

#lable-userId:hover {
    background-color: rgba(169, 169, 169, 0.25);
    color: #00e5ff;
    text-shadow: 0 0 6px rgba(0,229,255,0.7);
    box-shadow: inset 0 1px 5px rgba(255, 255, 255, 0.5), 0 6px 15px rgba(0, 0, 0, 0.3);
}

#lable-userId.disabled {
    background-color: #171717;
    cursor: not-allowed;
    opacity: 0.5;
}

/* Футер */
footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 10px;
    position: fixed;
    bottom: 10px;
    width: 100%;
}

.footer-main {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seo-left, .seo-right {
    font-family: 'Tektur', sans-serif;
    font-size: 14px;
    color: #b0c7d1;
    max-width: 200px;
    margin: 20px;
}

.privacy-policy {
    font-family: 'Tektur', sans-serif;
    color: #b0c7d1;
}

.privacy-policy a {
    font-size: 1.2em;
    color: #5fffe6;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.privacy-policy a:hover {
    transform: scale(1.05);
    color: #ffffff;
}

/* Чекбокс */
.acceptTerms {
    display: inline-flex;
    align-items: center;
}

.acceptTerms input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 30px;
    height: 30px;
    border: 3px solid #5fffe6;
    border-radius: 5px;
    background-color: #202020;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    margin-right: 10px;
    position: relative;
}

.acceptTerms input[type="checkbox"]:checked {
    background-color: #00e5ff;
    border-color: #00e5ff;
}

.acceptTerms input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 24px;
}

.acceptTerms input[type="checkbox"]:hover {
    background-color: #3b3b3b;
    border-color: #5fffe6;
}

/* Скрытые кнопки */
#signMessage,
#sendSol,
#goToBotMira,
#goToBotRigel,
#goToBotTracker,
#logout {
    display: none;
}

/* Анимация */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Социальные иконки */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-icons a {
    color: #b0c7d1;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s, text-shadow 0.3s;
}

.social-icons a:hover {
    color: #00e5ff;
    text-shadow: 0 0 6px rgba(0,229,255,0.6);
}

/* Мобильные стили */
@media (max-width: 768px) {
    body {
        padding: 20px;
        margin: 0;
    }

    .header nav ul {
        flex-direction: column;
        align-items: center;
        padding: 10px 0;
        margin: 0;
    }
    .header nav ul li {
        margin-bottom: 15px;
    }
    .header nav ul li a {
        font-size: 16px;
    }

    h1 {
        font-size: 2em;
        margin: 20px 0;
        text-align: center;
    }
    h3 {
        font-size: 1.2em;
        margin: 0 0 25px 0;
        text-align: center;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 20px 0;
    }
    .button-container button {
        padding: 10px 24px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
    }

    .bots-container {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    footer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }
    .seo-left, .seo-right {
        max-width: 100%;
        text-align: center;
        margin: 10px 0;
        font-size: 14px;
    }
    .privacy-policy a {
        font-size: 14px;
        margin-top: 10px;
    }

    .social-icons {
        gap: 15px;
        margin: 10px 0;
    }
    .social-icons a {
        font-size: 1.2em;
    }
}
