
:root {
    /* Цветовая палитра */
    --primary-color: #0f6bff;
    --primary-hover: #0056e0;
    --secondary-color: #262b3c;
    --accent-color: #ffc107;
    --text-color: #ffffff;
    --text-muted: #8e9aad;
    --bg-body: #12141a;
    --bg-card: #1e222d;
    --success-color: #28a745;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #0f6bff 0%, #00d2ff 100%);
    --gradient-dark: linear-gradient(to bottom, rgba(18, 20, 26, 0.8), #12141a);
    
    /* Размеры и отступы */
    --container-width: 1200px;
    --header-height: 4rem;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    
    /* Тени */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(15, 107, 255, 0.4);
    
    /* Типографика */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-speed: 0.3s;
}

/* Сброс стилей и базовые настройки */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-body);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Утилитарные классы */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center {
    text-align: center;
}

.row-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Верхнее меню (Mobile/Desktop Header) */
.line-menu-mobile {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(30, 34, 45, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-sm);
}

.line-menu-mobile .row-center {
    justify-content: space-between;
}

.bbb {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-speed) ease;
}

.landing-header-right-login {
    color: var(--text-color);
    background: transparent;
}

.landing-header-right-login:hover {
    color: var(--primary-color);
}

.landing-header-right-reg {
    background: var(--success-color);
    color: var(--text-color);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

.landing-header-right-reg:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Hero секция (.header-box) */
.header-box {
    position: relative;
    padding: 4rem 1rem;
    background: radial-gradient(circle at center, #1e2535 0%, var(--bg-body) 100%);
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    z-index: 1;
}

.table {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.ctr {
    width: 100%;
    max-width: 800px;
    animation: fadeIn Up 0.8s ease-out;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(15, 107, 255, 0.3);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-head {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.text-head b {
    color: var(--accent-color);
}

/* Промокод */
.promo {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed var(--primary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    margin: 0 0.5rem;
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.promo:hover {
    background: rgba(15, 107, 255, 0.1);
    transform: scale(1.05);
}

.promo::after {
    content: 'COPY';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 0.6rem;
    background: var(--accent-color);
    color: #000;
    padding: 2px 4px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.promo:hover::after {
    opacity: 1;
}

/* Кнопки */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-glow);
    text-decoration: none;
    font-size: 1.1rem;
    border: none;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 25px rgba(15, 107, 255, 0.5);
}

.button:hover::before {
    left: 100%;
}

.button:active {
    transform: translateY(-1px);
}

.inform-promo {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Основной контент */
.content {
    padding: 3rem 1rem;
    background: var(--bg-body);
}

.content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--text-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-color);
}

.content p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    color: #cbd5e1;
    line-height: 1.7;
}

.content ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: #cbd5e1;
}

.content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Изображения */
.img {
    margin: 2.5rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-card);
}

.img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    opacity: 0; /* Для lazyload */
}

.img img[src] {
    opacity: 1; /* Когда загружено */
}

.img:hover img {
    transform: scale(1.03);
}

/* Сетка контента */
.col-xs-12 {
    width: 100%;
    max-width: 900px; /* Ограничиваем ширину текста для читаемости */
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-box {
        min-height: auto;
        padding: 3rem 1rem;
    }
    
    .landing-header-right-login, 
    .landing-header-right-reg {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .button {
        width: 100%;
        padding: 1rem;
    }
}

/* Элементы форм (на случай динамического добавления) */
input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-card);
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(15, 107, 255, 0.2);
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
