:root {
    /* Основные цвета */
    --color-primary: #fff;
    --color-primary-dark: #4338ca;
    --color-secondary: #7729d7;
    --color-accent: #fbbf24;

    /* Фоновые цвета */
    --bg-primary: #141824;
    --bg-secondary: #121A29;
    --bg-dark: #161C24;
    --bg-card: #1e293b;
    --bg-card-hover: #334155;
    --bg-overlay: rgb(19 21 28 / 35%);

    /* Текстовые цвета */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #c5c5c5;
    --text-light: #9ca3af;
    --text-dark: #6b7280;

    /* Границы */
    --border-primary: #1e293b;
    --border-secondary: #374151;
    --border-card: #475569;
    --border-overlay: rgba(71, 85, 105, 0.3);

    /* Градиенты */
    --gradient-primary: linear-gradient(90deg, #41C6FF 0%, #1A65FC 100%);
    --gradient-text: linear-gradient(135deg, var(--text-primary) 0%, #c5c5c5 100%);
    --gradient-card: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-hover) 100%);
    --gradient-bg: linear-gradient(90deg, #0D131C, #141e2c);
    --gradient-cta: linear-gradient(90deg, #161D30 0%, #252c40 102.14%);

    /* Тени */
    --shadow-primary: 0 0 25px rgb(43 50 131);
    --shadow-secondary: rgba(0, 0, 0, 0.3);
    --shadow-card: rgba(0, 0, 0, 0.4);

    /* Статусные цвета */
    --status-new: #3b82f6;
    --status-jackpot: #fbbf24;
    --status-top: #10b981;
}

*, ::after, ::before {
    box-sizing: border-box;
    border-width: 0;
    margin: 0;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    margin: 0;
    padding: 0;
}

main {
    padding: 60px 0;
    background: var(--gradient-cta);
}

.menu {
    display: flex;
    position: relative;
    justify-content: flex-end;
    width: 100%;
    margin: 0 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text);
    cursor: pointer;
    padding: 8px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.menu ul li a {
    text-decoration: none;
    color: var(--color-text);
    transition: 0.3s;
    padding: 5px;
    display: block;
    border-radius: 6px;
    font-size: 13px;
}

.menu ul li a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .menu ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        flex-direction: column;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }
    
    .menu.active ul {
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        width: 100%;
        align-items: center;
        margin-top: 10px;
    }
    
    .menu ul li a {
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .menu ul li:last-child a {
        border-bottom: none;
    }
}

/* Block: Шапка сайта 1 (Group: Header) */
header {
        display: flex;
        height: 72px;
        width: 100%;
        background: var(--bg-dark);
        align-items: center;
        justify-content: center;
    }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    padding: 0 10px;
    margin: 0 auto;
}

.logotype img {
    display: flex;
    max-width: 100%;
    height: 40px;
    margin: 10px 0;
}

.menu {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.3s ease;
    }
    
.menu a:hover {
    color: var(--color-accent);
}

/* Block: Первый экран 1 (Group: First Screen) */
.first-screen {
    min-height: 680px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    background: var(--gradient-bg);
}

.first-screen-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
    gap: 60px;
}

.first-screen-inner-left {
    flex: 1;
    max-width: 600px;
}

.left-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: block;
}

.left-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
    display: block;
    line-height: 1.5;
    font-weight: 300;
}

.label-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 300;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 30px;
}

.users-icon {
    flex-shrink: 0;
}

.first-screen-inner-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.first-screen-image {
    max-width: 640px;
    width: 100%;
}

.first-screen-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px var(--shadow-secondary);
    border: 1px solid #262626;
}

.button-area {
    display: flex;
    gap: 10px;
}

.button {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    border-radius: 10px;
    text-decoration: none;
    padding: 20px 20px;
}

.button-primary {
    background: var(--gradient-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button-primary:hover {
    box-shadow: 0 0 25px var(--shadow-primary);
}

.button-secondary {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.3s ease;
}

.button-secondary:hover {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bold {
    font-weight: 700;
}

@media (max-width: 768px) {
.first-screen {
    min-height: auto;
    padding: 40px 0;
}

.first-screen-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.first-screen-inner-left {
    max-width: 100%;
}

.left-title {
    font-size: 32px;
    margin-bottom: 16px;
}

.left-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
}

.button-area {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.button {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 16px 20px;
    font-size: 14px;
}

.first-screen-image {
    max-width: 100%;
}

.first-screen-image img {
    border-radius: 12px;
}

.label-text {
    justify-content: center;
    margin-top: 24px;
}
}

@media (max-width: 480px) {
    .left-title {
        font-size: 28px;
    }
    
    .left-subtitle {
        font-size: 14px;
    }
    
    .button {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .label-text {
        font-size: 12px;
    }
    
    .users-icon {
        width: 14px;
        height: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet Styles */
    .first-screen {
        min-height: 600px;
        padding: 50px 0;
    }
    
    .first-screen-inner {
        gap: 40px;
    }
    
    .left-title {
        font-size: 40px;
    }
    
    .left-subtitle {
        font-size: 18px;
    }
    
    .button {
        padding: 18px 24px;
        font-size: 15px;
    }
    
    .first-screen-image {
        max-width: 400px;
    }
}

/* Block: Первый экран 2 (Group: First Screen) */
.first-screen {
    min-height: 600px;
    display: flex;
    align-items: center;
    padding: 40px 10px;
    background: var(--gradient-bg);
}

.first-screen-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 40px;
    gap: 20px;
    background: var(--gradient-cta);
    border-radius: 20px;
}

.first-screen-inner-left {
    flex: 1;
    max-width: 600px;
}

.left-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: block;
}

.left-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 30px;
    display: block;
    line-height: 1.5;
    font-weight: 300;
}

.label-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 300;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 30px;
}

.users-icon {
    flex-shrink: 0;
}

.first-screen-inner-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.first-screen-image {
    max-width: 640px;
    width: 100%;
}

.first-screen-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px var(--shadow-secondary);
    border: 1px solid #262626;
}

.button-area {
    display: flex;
    gap: 10px;
}

.button {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    border-radius: 10px;
    text-decoration: none;
    padding: 20px 20px;
}

.button-primary {
    background: var(--gradient-primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button-primary:hover {
    box-shadow: 0 0 25px var(--shadow-primary);
}

.button-secondary {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background 0.3s ease;
}

.button-secondary:hover {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bold {
    font-weight: 700;
}

@media (max-width: 768px) {
.first-screen {
    min-height: auto;
    padding: 40px 0;
}

.first-screen-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
}

.first-screen-inner-left {
    max-width: 100%;
}

.left-title {
    font-size: 32px;
    margin-bottom: 16px;
}

.left-subtitle {
    font-size: 16px;
    margin-bottom: 24px;
}

.button-area {
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.button {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 16px 20px;
    font-size: 14px;
}

.first-screen-image {
    max-width: 100%;
}

.first-screen-image img {
    border-radius: 12px;
}

.label-text {
    justify-content: center;
    margin-top: 24px;
}
}

@media (max-width: 480px) {
    .left-title {
        font-size: 28px;
    }
    
    .left-subtitle {
        font-size: 14px;
    }
    
    .button {
        padding: 14px 16px;
        font-size: 13px;
    }
    
    .label-text {
        font-size: 12px;
    }
    
    .users-icon {
        width: 14px;
        height: 14px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet Styles */
    .first-screen {
        min-height: 600px;
        padding: 50px 0;
    }
    
    .first-screen-inner {
        gap: 40px;
    }
    
    .left-title {
        font-size: 40px;
    }
    
    .left-subtitle {
        font-size: 18px;
    }
    
    .button {
        padding: 18px 24px;
        font-size: 15px;
    }
    
    .first-screen-image {
        max-width: 400px;
    }
}

/* Block: Статья 1 (Group: Article) */
.article-content {
    line-height: 1.8;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    background: var(--bg-overlay);
    border-radius: 16px;
    border: 1px solid var(--border-overlay);
    backdrop-filter: blur(10px);
}

h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    margin-top: 0;
    text-align: center;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 24px;
}

.article-content p {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 300;
}

.article-content ul, .article-content ol {
    margin-bottom: 16px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    min-width: 600px;
}

.article-content img {
    width: 100%;
}

.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
}

.article-content th {
    background: var(--border-secondary);
    color: var(--text-primary);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.article-content td {
    padding: 12px;
    border-top: 1px solid var(--border-secondary);
    color: var(--text-muted);
    font-size: 14px;
}

/* Block: Статья 2 (Group: Article) */
.article-content {
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 1040px;
    margin: 32px auto 40px;
    padding: 32px 24px 28px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-card);
}

.article-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
    text-align: center;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.article-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 10px;
}

.article-content p {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
}

.article-content ul,
.article-content ol {
    margin: 0 0 16px 18px;
    padding-left: 0;
}

.article-content li {
    margin: 0 0 8px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.article-content img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-card);
    margin: 10px 0 16px;
}

.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 10px;
}

.article-content th {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.article-content td {
    padding: 12px;
    border-top: 1px solid var(--border-secondary);
    color: var(--text-muted);
    font-size: 14px;
}

.article-content tr:nth-child(even) td {
    background: var(--bg-card-hover);
}

/* Block: Статья 3 (Group: Article) */
.article-content {
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
    max-width: 1280px;
    margin: 32px auto 40px;
    padding: 32px 24px 28px;
}

.article-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 20px;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.article-content h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 28px 0 10px;
}

.article-content p {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 300;
    color: var(--text-muted);
}

.article-content ul,
.article-content ol {
    margin: 0 0 16px 18px;
    padding-left: 0;
}

.article-content li {
    margin: 0 0 8px;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 16px;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.article-content img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border-card);
    margin: 10px 0 16px;
}

.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 10px;
}

.article-content th {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.article-content td {
    padding: 12px;
    border-top: 1px solid var(--border-secondary);
    color: var(--text-muted);
    font-size: 14px;
}

.article-content tr:nth-child(even) td {
    background: var(--bg-card-hover);
}

/* Block: Футер 1 (Group: Footer) */
.footer-bottom {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    border-top: 1px solid var(--border-primary);
    padding-top: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.footeropyright-main,
.footeropyright-sub {
    color: var(--text-dark);
    font-size: 13px;
}

.footeropyright-sub {
    font-size: 12px;
    opacity: 0.9;
}

.site-footer {
    background: var(--bg-secondary);
    padding: 32px 0 28px;
    border-top: 1px solid var(--border-primary);
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
}

.footer-age {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--border-secondary);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@media (max-width: 960px) {
    .footer-inner {
        row-gap: 24px;
    }
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        padding-top: 20px;
        gap: 10px;
        text-align: center;
    }
}