
:root {
    /* Цветовая палитра (Dark Theme / Betting Style) */
    --bg-body: #0f141f;
    --bg-card: #161d2b;
    --bg-header: rgba(15, 20, 31, 0.95);
    
    --text-main: #e0e6ed;
    --text-muted: #94a3b8;
    --text-accent: #3b82f6;

    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --primary-hover: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --secondary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);

    /* Типографика и размеры */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    
    --container-width: 1200px;
    --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(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

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

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-top: 3rem;
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
}

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

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

ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

ul li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1.2rem;
}

/* --- Header / Top Menu --- */
.line-menu-mobile {
    background-color: var(--bg-header);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.line-menu-mobile .row-center {
    justify-content: flex-end;
    gap: 1rem;
}

.landing-header-right-login,
.landing-header-right-reg {
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    text-align: center;
}

.landing-header-right-login {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.landing-header-right-login:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.landing-header-right-reg {
    background: var(--secondary-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.landing-header-right-reg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* --- Hero Section (.header-box) --- */
.header-box {
    position: relative;
    padding: 4rem 0;
    background: radial-gradient(circle at center, #1e293b 0%, #0f141f 100%);
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.header-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        transparent,
        transparent 10px,
        rgba(37, 99, 235, 0.03) 10px,
        rgba(37, 99, 235, 0.03) 11px
    );
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

.header-box .table {
    display: flex;
    justify-content: center;
    width: 100%;
    z-index: 2;
    position: relative;
}

.header-box .ctr {
    width: 100%;
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.text-head {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 2rem;
}

.promo {
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed #2563eb;
    color: #60a5fa;
    padding: 0.2em 0.6em;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
    position: relative;
}

.promo:hover {
    background: rgba(37, 99, 235, 0.2);
    color: #fff;
}

.promo::after {
    content: 'Click to copy';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s;
    pointer-events: none;
    margin-bottom: 5px;
}

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

.inform-promo {
    font-size: 0.875rem;
    color: #94a3b8;
    margin-top: 1rem;
    font-style: italic;
}

/* --- Buttons (Main CTA) --- */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1.2rem 3rem;
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.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 10px 25px rgba(37, 99, 235, 0.5);
    background: var(--primary-hover);
}

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

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

/* --- Content Section --- */
.content {
    padding: 4rem 0;
}

.content p b, .content p strong {
    color: #fff;
}

/* Images */
.img {
    margin: 3rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #1e293b; /* Placeholder color */
    position: relative;
}

.img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

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

/* --- Forms (Generic Styles for Inputs) --- */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Checkbox & Radio generic styling */
input[type="checkbox"],
input[type="radio"] {
    accent-color: #2563eb;
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    vertical-align: middle;
    cursor: pointer;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* --- Media Queries --- */

/* Tablet & Mobile */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .header-box {
        padding: 3rem 0;
        min-height: auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 14px; /* Adjust base scale */
    }

    h1 {
        margin-bottom: 1.5rem;
    }

    .line-menu-mobile .row-center {
        justify-content: center; /* Center buttons on mobile */
    }
    
    .landing-header-right-login,
    .landing-header-right-reg {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        flex: 1; /* Stretch buttons */
        max-width: 150px;
    }

    .button {
        width: 100%; /* Full width buttons on mobile */
        padding: 1rem;
    }

    .header-box {
        text-align: center;
    }
    
    .img {
        margin: 2rem 0;
    }
    
    ul li {
        padding-left: 1.2rem;
    }
}

/* Helpers specific to the provided HTML classes */
.bbb {
    user-select: none;
    -webkit-user-select: none;
}

/* Lazyload placeholder transition */
img.lazyload {
    opacity: 0;
    transition: opacity 0.4s ease-in;
}

img.lazyloaded {
    opacity: 1;
}
