
:root {
    /* Цветовая палитра */
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-secondary: #0f172a;
    --color-accent: #f59e0b;
    --color-success: #10b981;
    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --color-bg-body: #020617;
    --color-bg-card: #1e293b;
    --color-border: #334155;
    
    /* Размеры и отступы */
    --container-width: 1200px;
    --header-height: 70px;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    
    /* Тени и Эффекты */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.5);
    
    /* Типографика */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Утилиты */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* Топ Меню (Mobile/Desktop) */
.line-menu-mobile {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

.row-center {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.bbb {
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-header-right-login {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.landing-header-right-login:hover {
    background-color: rgba(37, 99, 235, 0.1);
}

.landing-header-right-reg {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: white;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.landing-header-right-reg:hover {
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

/* Header Box / Hero Section */
.header-box {
    position: relative;
    padding: 5rem 1rem;
    background: radial-gradient(circle at top, #1e293b 0%, #020617 100%);
    overflow: hidden;
    margin-bottom: 3rem;
}

.header-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Корректировка старой верстки table/ctr */
.header-box .table {
    display: flex;
    justify-content: center;
    width: 100%;
}

.header-box .ctr {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    z-index: 1;
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0,0,0,0.5);
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

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

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

/* Промокод */
.promo {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--color-accent);
    padding: 0.2rem 0.8rem;
    border: 1px dashed var(--color-accent);
    border-radius: var(--radius-sm);
    font-family: monospace;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
}

.promo:hover {
    background: rgba(245, 158, 11, 0.3);
    transform: scale(1.05);
}

.promo::after {
    content: 'Click to Copy';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    background: #000;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    white-space: nowrap;
    font-family: var(--font-main);
}

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

/* Основная кнопка действия */
.button.href-site {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #2563eb, #3b82f6);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-base);
    border: none;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.button.href-site::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.href-site:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.8);
}

.button.href-site:hover::before {
    left: 100%;
}

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

/* Основной контент */
.content {
    padding-bottom: 4rem;
}

.content h2 {
    font-size: 2rem;
    color: var(--color-text-main);
    margin: 3rem 0 1.5rem;
    position: relative;
    display: inline-block;
}

.content h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin-top: 0.5rem;
    border-radius: 2px;
}

.content p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    text-align: justify;
}

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

.content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

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

/* Изображения */
.img {
    margin: 3rem 0;
    text-align: center;
}

.img img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    filter: grayscale(20%);
}

.img img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}

/* Grid для контента (если нужен) */
.col-xs-12 {
    width: 100%;
}

/* Кнопки внутри текста */
.content .text-center {
    margin: 3rem 0;
}

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

/* Адаптивность */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .row-center {
        justify-content: space-between;
    }
    
    .bbb {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    h1 {
        margin-top: 1rem;
    }
    
    .header-box {
        padding: 3rem 1rem;
    }
    
    .content h2 {
        font-size: 1.5rem;
    }
    
    .content p {
        text-align: left;
    }
    
    .button.href-site {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    /* Скроллбар */
    ::-webkit-scrollbar {
        width: 10px;
    }
    
    ::-webkit-scrollbar-track {
        background: var(--color-bg-body);
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--color-border);
        border-radius: 5px;
    }
    
    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-primary);
    }
}

/* Стили для lazyload плейсхолдера */
img:not([src]) {
    visibility: hidden;
}

img[src] {
    animation: fadeImage 0.5s ease-in;
}

@keyframes fadeImage {
    from { opacity: 0; }
    to { opacity: 1; }
}
