:root {
    --primary-color: rgba(9, 15, 30, .95);
    --button-color: #ffffff;
    --background-dark: #0d0d0d;
    --text-light: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.logo {
    font-size: 28px;
    font-weight: 900;
    font-family: 'Trebuchet MS', 'Segoe UI', sans-serif;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}


.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background-color: #1a1a1a;
    padding: 20px 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    height: 50px;
}

.header__nav {
    display: flex;
    gap: 12px;
}

.btn {
    padding: 10px 20px;
    border: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--login, .btn--register {
    text-decoration: none;
    text-align: center;
}

.btn--login {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn--register {
    /*background-color: var(--button-color);*/
    /*background-image: linear-gradient(70deg,#31bc69 -8%,#089e4e 96%);*/

    background-image: linear-gradient(0deg, transparent 0%, transparent 100%);
    background-color: #1f2841;
    color: #ffffff;
}

.btn--cta {
    width: 30%;
    font-size: 16px;
    display: inline-block;
    background-color: var(--button-color);
    color: #000000;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn--cta:hover,
.btn--register:hover {
    background-color: #236c9d;
}

.btn--login:hover {
    background-color: var(--text-light);
    color: #000;
}

.main {
    background: linear-gradient(135deg, #1a1a1a 0%, var(--primary-color) 100%);
}

.hero {
    text-align: center;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--button-color);
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px auto;
}

.hero__image {
    max-width: 100%;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgb(35, 108, 157);
}

.seo-text {
    background-color: #111;
    padding: 40px 20px;
    color: #ccc;
    font-size: 1rem;
}

.seo-text h2 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
}

.footer {
    text-align: center;
    background-color: #1a1a1a;
    padding: 20px;
    font-size: 0.9rem;
    color: #777;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .header__nav {
        margin-top: 10px;
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .btn--cta {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }

    .seo-text {
        font-size: 0.95rem;
    }
}

.toc-wrapper {
    margin: 40px auto;
    padding: 0 20px;
}

.toc {
    background-color: #1a1a1a;
    border-left: 4px solid #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px #236c9d52;
}

.toc h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.toc ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.toc li {
    margin-bottom: 10px;
}

.toc a {
    text-decoration: none;
    color: #0099ff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.toc a:hover {
    color: #ffffff;
}

/* Адаптивность */
@media (max-width: 768px) {
    .toc {
        padding: 15px 20px;
    }

    .toc h2 {
        font-size: 1.3rem;
    }

    .toc a {
        font-size: 0.95rem;
    }
}


.table-section {
    margin: 60px auto;
    padding: 0 20px;
    color: #fff;
}

.table-section h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 30px;
}

.table-wrapper {
    overflow-x: auto;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 252, 0.1);
}

.styled-table thead {
    background-color: #236c9d;
    color: #000;
}

.styled-table th,
.styled-table td {
    padding: 16px 20px;
    text-align: left;
}

.styled-table tbody tr {
    border-bottom: 1px solid #333;
}

.styled-table tbody tr:nth-child(even) {
    background-color: #222;
}

.styled-table tbody tr:hover {
    background-color: #333;
    transition: background-color 0.3s ease;
}

.styled-table td {
    color: #ffffff;
    font-weight: 500;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .styled-table th,
    .styled-table td {
        padding: 12px;
        font-size: 14px;
    }

    .table-section h2 {
        font-size: 1.3rem;
    }
}

.mobile-hint {
    display: none;
    color: #aaa;
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .mobile-hint {
        display: block;
    }
}
