
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');

:root {
    /* Цветовая палитра */
    --color-bg-body: #0b1622;
    --color-bg-card: #152233;
    --color-bg-header: #101d2d;
    
    --color-primary: #1e90ff;
    --color-primary-dark: #1060b0;
    --color-primary-light: #5baaff;
    
    --color-accent: #00d26a; /* Яркий зеленый для акцентов */
    
    --color-text-main: #ffffff;
    --color-text-muted: #8ba2b8;
    
    --gradient-main: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
    --gradient-hover: linear-gradient(135deg, #339dff 0%, #1a7ae0 100%);
    --gradient-card: linear-gradient(180deg, rgba(21, 34, 51, 0.8) 0%, rgba(11, 22, 34, 0.9) 100%);

    /* Размеры и отступы */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 2rem;
    
    /* Тени */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(30, 144, 255, 0.4);
    
    /* Типографика */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --fs-h1: clamp(2rem, 5vw, 4rem);
    --fs-h2: clamp(1.5rem, 3vw, 2.5rem);
    --fs-body: 1rem;
    
    /* Анимации */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

.row-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

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

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

/* --- Header / Hero Section --- */
.header-box {
    position: relative;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxsaW5lYXJHcmFkaWVudCBpZD0iZyIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzBlMWMyZCIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzBiMTYyMiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZykiLz48L3N2Zz4=');
    background-size: cover;
    padding: var(--spacing-lg) 0;
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.header-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(30, 144, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.header-box .ctr {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

h1 {
    font-size: var(--fs-h1);
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #b0c4de);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.text-head {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    background: rgba(11, 22, 34, 0.6);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    display: inline-block;
}

.text-head b {
    color: var(--color-primary-light);
    font-weight: 700;
}

/* --- Promo Code --- */
.promo {
    font-family: monospace;
    font-size: 1.25em;
    color: var(--color-accent);
    background: rgba(0, 210, 106, 0.1);
    padding: 0.2em 0.6em;
    border-radius: var(--radius-sm);
    border: 1px dashed var(--color-accent);
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.promo:hover {
    background: rgba(0, 210, 106, 0.2);
    transform: scale(1.05);
}

.promo:active {
    transform: scale(0.95);
}

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

/* --- Mobile Menu / Top Bar --- */
.line-menu-mobile {
    padding: var(--spacing-sm) 0;
    background: rgba(21, 34, 51, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

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

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

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

.landing-header-right-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-text-main);
}

.landing-header-right-reg {
    background: var(--color-accent);
    color: #0b1622;
    box-shadow: 0 4px 15px rgba(0, 210, 106, 0.3);
}

.landing-header-right-reg:hover {
    background: #00b359;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 106, 0.4);
}

/* --- Main Content --- */
.content {
    padding-bottom: var(--spacing-lg);
}

.content h2 {
    font-size: var(--fs-h2);
    color: var(--color-text-main);
    margin: var(--spacing-lg) 0 var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

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

.content ul {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-sm);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xs);
}

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

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

/* --- Buttons --- */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--gradient-main);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    transition: var(--transition-smooth);
    border: none;
    margin: var(--spacing-sm) 0;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
}

.button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(30, 144, 255, 0.6);
    background: var(--gradient-hover);
}

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

.button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(30, 144, 255, 0.4);
}

/* --- Images --- */
.img {
    margin: var(--spacing-md) 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.img::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 1;
}

.img img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

/* --- Forms (Generic Styles based on request) --- */
input, select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-text-main);
    font-family: var(--font-family);
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

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

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

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 2.5rem;
    }

    .line-menu-mobile .row-center {
        justify-content: space-between;
    }
    
    .landing-header-right-login, 
    .landing-header-right-reg {
        flex: 1;
        margin: 0 5px;
        padding: 0.6em 0;
        font-size: 0.85rem;
    }

    .header-box {
        min-height: auto;
        padding: var(--spacing-lg) 0;
        background-position: center;
    }

    h1 {
        font-size: 2rem;
    }
    
    .content h2 {
        text-align: center;
        display: block;
        border-bottom: none;
        position: relative;
    }
    
    .content h2::after {
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        background: var(--color-primary);
        margin: 10px auto 0;
    }

    .content ul {
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
        display: flex;
        padding: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

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

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

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