
:root {
    /* Цветовая палитра */
    --primary-color: #2289e4;
    --primary-gradient: linear-gradient(135deg, #2289e4 0%, #1a6cb3 100%);
    --primary-hover: #3fa2ff;
    --accent-color: #00e676;
    
    --bg-body: #0f141a;
    --bg-surface: #192029;
    --bg-card: #1e2833;
    --bg-input: #0b1015;
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(34, 137, 228, 0.4);
    
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: 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(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Утилиты и Контейнеры */
.container {
    width: 100%;
    max-width: 75rem; /* 1200px */
    margin: 0 auto;
    padding: 0 1.25rem;
}

.row-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

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

.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Типографика */
h1, h2, h3 {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h1 {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    text-align: center;
    margin-top: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 span {
    color: var(--primary-color);
    display: block;
    font-size: 1.2em;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-top: 3rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-top: 2rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Header */
.bg-bk {
    background: radial-gradient(circle at center, #1b2836 0%, var(--bg-body) 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    width: 100%;
    max-width: 16rem;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(34, 137, 228, 0.2));
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(34, 137, 228, 0.4));
}

/* Промо-блок (Карточка бонуса) */
.item-promo-kod {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin: 2rem 0;
    align-items: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.item-promo-kod::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
}

.item-name {
    display: flex;
    flex-direction: column;
}

.item-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.item-title.color {
    color: var(--primary-color);
    font-weight: 700;
}

.item-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.item-copy {
    background: rgba(34, 137, 228, 0.1);
    border: 2px dashed var(--primary-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.item-copy:hover {
    background: rgba(34, 137, 228, 0.2);
    transform: translateY(-2px);
}

.item-copy p {
    margin: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.promo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    letter-spacing: 1px;
}

/* Кнопки */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    margin: 1.5rem 0;
}

.button::after {
    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(-3px);
    box-shadow: 0 0 30px rgba(34, 137, 228, 0.6);
}

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

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

/* Списки */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    position: relative;
}

ul li::marker {
    color: var(--primary-color);
}

/* Таблицы */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

table th, table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

table th {
    background: rgba(34, 137, 228, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Ссылки внутри текста */
a {
    color: var(--primary-color);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

a:not(.button):hover {
    color: var(--primary-hover);
}

a:not(.button)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-hover);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

a:not(.button):hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Формы (стилизация элементов форм, если появятся) */
input[type="text"], 
input[type="email"], 
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 1rem;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 137, 228, 0.15);
}

/* Footer */
footer {
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #0b0f13;
}

footer p {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    .item-promo-kod {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .item-copy {
        width: 100%;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .button {
        width: 100%;
    }
    
    .bg-bk {
        padding: 2rem 0;
    }
}

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

.content > * {
    animation: fadeIn 0.6s ease-out forwards;
}
