
:root {
    /* Цветовая палитра (Dark Theme / Gaming Style) */
    --color-primary: #2289e4;
    --color-primary-hover: #1b7acb;
    --color-accent: #00e5ff;
    --color-bg-body: #0f1216;
    --color-bg-card: #1a2029;
    --color-bg-header: #141920;
    --color-text-main: #ffffff;
    --color-text-muted: #9caab9;
    --color-border: #2c3642;
    --color-success: #00c853;
    
    /* Градиенты */
    --gradient-btn: linear-gradient(135deg, #2289e4 0%, #00b4d8 100%);
    --gradient-btn-hover: linear-gradient(135deg, #1b7acb 0%, #009ec3 100%);
    --gradient-card: linear-gradient(145deg, #1a2029, #161b22);

    /* Типографика и размеры */
    --font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --spacing-unit: 1rem;
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
    
    /* Тени */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(34, 137, 228, 0.3);
    
    /* Анимации */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base Styles --- */
*, *::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(--color-bg-body);
    color: var(--color-text-muted);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

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

.col-xs-12 {
    width: 100%;
    flex: 0 0 100%;
}

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

.pa-0 {
    padding: 0 !important;
}

/* --- Header Section --- */
header.bg-bk {
    background-color: var(--color-bg-header);
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

/* Логотип */
.logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 0 10px rgba(34, 137, 228, 0.2));
    transition: transform var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

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

h1 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

h1 span {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

h1 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
    box-shadow: 0 0 10px var(--color-primary);
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 3rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-primary);
}

/* --- Promo Card Component --- */
.item-promo-kod {
    background: var(--color-bg-card);
    background-image: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    padding: 2rem;
    margin: 2.5rem auto;
    max-width: 800px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
    transition: transform var(--transition-fast);
}

.item-promo-kod:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    border-color: var(--color-primary);
}

.item-name {
    flex: 1 1 200px;
}

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

.item-title.color {
    color: var(--color-accent);
    font-weight: 600;
}

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

.item-copy {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px dashed var(--color-border);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.item-copy:hover {
    background: rgba(34, 137, 228, 0.1);
    border-color: var(--color-primary);
}

.item-copy p {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.promo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 1px;
    user-select: all;
}

/* --- Button Styles --- */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    background: var(--gradient-btn);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    margin: 1.5rem 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 {
    background: var(--gradient-btn-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

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

/* --- Content Section --- */
.content {
    padding: 3rem var(--spacing-unit);
}

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

.content strong {
    color: var(--color-text-main);
    font-weight: 600;
}

/* Списки */
.content ul {
    list-style: none;
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.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: 0;
    color: var(--color-success);
    font-weight: bold;
    font-size: 1.2rem;
}

.content ul li strong {
    color: var(--color-text-main);
    display: block;
    margin-bottom: 0.25rem;
}

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

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

th {
    background-color: rgba(34, 137, 228, 0.1);
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

td {
    color: var(--color-text-main);
    font-size: 0.95rem;
}

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

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

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

.img img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    animation: fadeIn 0.8s forwards;
    transition: transform var(--transition-smooth);
}

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

/* --- Footer --- */
footer {
    background-color: var(--color-bg-header);
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

footer p {
    font-size: 0.8rem;
    color: #5c6b7f;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Animation Keyframes --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Adaptations --- */
@media (max-width: 768px) {
    header.bg-bk {
        padding: 2rem 0;
    }

    .item-promo-kod {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .item-name, .item-copy {
        width: 100%;
        flex: 0 0 auto;
    }

    .item-copy {
        margin-top: 1rem;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .button {
        width: 100%;
        max-width: 320px;
    }
}
