:root {
    --bg-dark: #090d28;
    --bg-mid: #262f45;
    --panel: rgba(14, 20, 36, 0.72);
    --panel-soft: rgba(18, 26, 46, 0.55);
    --text: #cddeff;
    --text-soft: #a7b8db;
    --accent: #ff9313;
    --accent-soft: #ffb458;
    --border: #4d587f;
    --table-head: #47567ac9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    background-image:
            linear-gradient(180deg, #090d28, #47567ac9 14.6px, #323c55c2 22px, #2f3951e6 33px, #0f1420b8 47.5px, #0000009e 55px, #0e121b9c),
            linear-gradient(180deg, rgba(94, 104, 128, 0.83), #262f45);
    background-color: var(--bg-dark);
}

body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text);
    padding: 14px 18px 48px;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: -1;
    filter: blur(35px);
    opacity: 0.55;
}

body::before {
    width: 340px;
    height: 340px;
    right: 8%;
    top: 120px;
    background: radial-gradient(circle, rgba(255, 147, 19, 0.3), transparent 65%);
}

body::after {
    width: 300px;
    height: 300px;
    left: 4%;
    bottom: 12%;
    background: radial-gradient(circle, rgba(118, 143, 212, 0.36), transparent 66%);
}

article {
    max-width: 900px;
    margin: 0 auto;
    padding: 22px 22px 34px;
    border-radius: 20px;
    border: 1px solid rgba(77, 88, 127, 0.7);
    background: linear-gradient(180deg, rgba(14, 20, 36, 0.78), rgba(20, 29, 50, 0.64));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(6px);
}

h1 { font-size: clamp(1.8em, 4vw, 2.35em); margin-bottom: 0.45em; line-height: 1.22; letter-spacing: -0.02em; }
h2 {
    font-size: 1.45em;
    margin: 2.1em 0 0.75em;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
    position: relative;
}
h3 { font-size: 1.15em; margin: 1.6em 0 0.5em; }
p { margin-bottom: 1.1em; color: #d7e2ff; }
ul, ol { margin: 0.8em 0 1.1em 1.4em; }
li { margin-bottom: 0.45em; }
li::marker { color: var(--accent-soft); }
small { color: #666; font-size: 0.82em; }

.lead {
    font-size: 1.08em;
    border-left: 3px solid var(--accent);
    padding-left: 14px;
    color: var(--accent-soft);
    margin-bottom: 0;
}

.hero {
    margin: 0 0 1.6em;
    padding: 26px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 147, 19, 0.35);
    background:
            linear-gradient(180deg, rgba(18, 24, 36, 0.82), rgba(43, 54, 83, 0.55));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.hero .post-screen img {
    max-width: 100%;
    border-radius: 12px;
}

/* ---- SEO Tables ---- */
.seo-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.4em 0 1.8em;
    border-radius: 10px;
    border: 1px solid rgba(77, 88, 127, 0.8);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
    background: rgba(15, 22, 39, 0.55);
}
.seo-table table {
    border-collapse: collapse;
    width: 100%;
    min-width: 480px;
    font-size: 0.93em;
}
.seo-table thead tr {
    background: var(--table-head);
}
.seo-table th, .seo-table td {
    border: 1px solid rgba(77, 88, 127, 0.85);
    padding: 11px 13px;
    text-align: left;
    vertical-align: middle;
}
.seo-table th {
    font-weight: bold;
    white-space: nowrap;
}
.seo-table tbody tr:nth-child(even) {
    background: rgba(71, 86, 122, 0.5);
}
.seo-table tbody tr:hover {
    background: rgba(71, 86, 122, 0.32);
}
.table-note {
    font-size: 0.82em;
    color: #b7fff2;
    margin-top: 0.4em;
    margin-bottom: 1.2em;
    display: block;
}

/* ---- Advantages block ---- */
.vegaslot-advantages {
    padding: 22px 24px;
    border-radius: 18px;
    margin: 2.2em 0;
    border: 2px solid var(--border);
    position: relative;
    background: linear-gradient(180deg, rgba(26, 36, 60, 0.55), rgba(14, 20, 36, 0.48));
}
.vegaslot-advantages:before {
    background-color: var(--accent-soft);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    content: "";
    height: 4px;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translate(-50%);
    width: 34.3%;
    z-index: 1;
}
.vegaslot-advantages h3 {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 1.15em;
    text-align: center;
}
.advantages-grid {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 13px;
    margin-left: 0;
}
.advantages-grid li {
    border: 1px solid rgba(77, 88, 127, 0.9);
    border-radius: 9px;
    padding: 11px 14px;
    font-size: 0.93em;
    line-height: 1.5;
    margin-bottom: 0;
    background: rgba(16, 23, 39, 0.42);
    transition: transform .25s ease, border-color .25s ease;
}
.advantages-grid li:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 147, 19, 0.6);
}

/* ---- FAQ ---- */
.faq-block { margin-top: 2.5em; }
.faq-item {
    border: 1px solid rgba(62, 75, 104, 0.65);
    background: rgba(20, 29, 50, 0.45);
    border-radius: 10px;
    padding: 1em 1em 0.45em;
    margin-bottom: 10px;
    transition: border-color .25s ease, transform .25s ease;
}
.faq-item:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 147, 19, 0.55);
}
.faq-item:last-child { margin-bottom: 0; }
.faq-q { font-weight: bold; margin-bottom: 0.4em; color: #f4f7ff; }

/* ---- Tips block ---- */
.tips-block {
    background: rgba(71, 86, 122, 0.25);
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 18px 22px;
    margin: 1.8em 0;
}
.tips-block ol { margin: 0.6em 0 0 1.2em; }

/* ---- CTA Buttons ---- */
.btn-primary {
    transition: all .3s ease;
    text-align: center;
    align-items: center;
    border: 1px solid rgba(255, 147, 19, 0.45);
    border-radius: 10px;
    min-height: 58px;
    display: inline-flex;
    justify-content: center;
    padding: 0;
    pointer-events: all;
    text-decoration: none;
    background: linear-gradient(180deg, rgba(255, 147, 19, 0.16), rgba(255, 147, 19, 0.06));
}
.btn-primary-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #121824 0%, #2b3653 109.3%);
    flex-direction: column;
    min-height: 52px;
    margin: 2px;
    padding: 0 20px;
    width: calc(100% - 4px);
    white-space: nowrap;
    color: #e7eeff;
    font-weight: 700;
    line-height: 100%;
    text-align: center;
    border-radius: 8px;
    letter-spacing: 0.2px;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .27);
    border-color: rgba(255, 147, 19, 0.75);
}
.btn-primary:active { transform: translateY(0); }

.cta-block-1 {
    text-align: center;
    margin: 28px 0;
}
.cta-block-1 .cta-sub {
    font-size: 13px;
    color: #9babce;
    margin-top: 9px;
    display: block;
}
.cta-block-2 {
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    margin: 28px 0;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    background: rgba(22, 32, 55, 0.5);
}
.cta-block-3 {
    text-align: center;
    margin: 32px 0;
    padding: 24px 20px;
    border-radius: 14px;
    border: 1px solid rgba(77, 88, 127, 0.85);
    background: linear-gradient(180deg, rgba(30, 42, 68, 0.6), rgba(18, 24, 36, 0.45));
}
.cta-block-3 p { margin: 0 0 13px 0; font-weight: 600; }
.cta-block-3 .cta-sub {
    font-size: 12px;
    color: #9ca9c4;
    margin: 10px 0 0 0;
    display: block;
}
.cta-block-4 {
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
}
.cta-block-4 .cta-sub {
    font-size: 13px;
    color: #9aa8c6;
    margin-top: 11px;
    display: block;
}

.header {
    margin: 0 auto 24px;
    max-width: 900px;
    border: 1px solid rgba(77, 88, 127, 0.8);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(18, 24, 36, 0.95), rgba(43, 54, 83, 0.88));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    /* overflow: hidden; */
    position: sticky;
    top: 10px;
    z-index: 40;
    backdrop-filter: blur(7px);
}
.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* display: flex; */
    align-items: center;
    /* justify-content: space-between; */
    gap: 14px;
    padding: 14px 18px;
}
.header-brand {
    color: var(--accent-soft);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.4px;
    font-size: 1.05em;
    white-space: nowrap;
    display: flex;
    transition: color .25s ease;
}
.header-brand:hover { color: #ffe7c5; }
.header-brand img { max-height: 34px; max-width: 130px; }

.header-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}
.header-burger {
    display: none;
    color: #cddeff;
    text-decoration: none;
    border: 1px solid #4d587f;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.95em;
    line-height: 1;
    transition: all .25s ease;
}
.header-burger:hover {
    color: #ffb458;
    border-color: #ff9313;
    background: rgba(255, 147, 19, 0.1);
}
.header-nav a {
    color: #cddeff;
    text-decoration: none;
    border: 1px solid #4d587f;
    border-radius: 20px;
    padding: 8px 13px;
    font-size: 0.9em;
    line-height: 1;
    transition: all .25s ease;
    background: rgba(255, 255, 255, 0.01);
}
.header-nav a:hover {
    color: #ffb458;
    border-color: #ff9313;
    background: rgba(255, 147, 19, 0.1);
}
.header-lang {
    margin-left: auto;
    position: relative;
    display: inline-block;
}
.lang-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 126px;
    background: linear-gradient(180deg, rgba(31, 44, 74, 0.45), rgba(14, 20, 36, 0.5));
    color: #e4eeff;
    border: 1px solid rgba(77, 88, 127, 0.95);
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 0.88em;
    line-height: 1;
    cursor: pointer;
    font-weight: 600;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.lang-trigger:hover {
    border-color: #ff9313;
    transform: translateY(-1px);
}
.lang-trigger:focus-visible {
    outline: none;
    border-color: #ff9313;
    box-shadow: 0 0 0 2px rgba(255, 147, 19, 0.2);
}
.lang-trigger .arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #ffb458;
    border-bottom: 2px solid #ffb458;
    transform: rotate(45deg) translateY(-1px);
    transition: transform .22s ease;
    pointer-events: none;
    opacity: 0.9;
}
.header-lang.open .lang-trigger {
    border-color: #ff9313;
    box-shadow: 0 0 0 2px rgba(255, 147, 19, 0.2);
}
.header-lang.open .lang-trigger .arrow {
    transform: rotate(-135deg) translateY(-1px);
}
.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 100%;
    list-style: none;
    margin: 0;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid rgba(77, 88, 127, 0.95);
    background: linear-gradient(180deg, rgba(17, 24, 40, 0.98), rgba(12, 18, 31, 0.96));
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(-6px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 60;
}
.header-lang.open .lang-menu {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}
.lang-menu a {
    display: block;
    color: #dce7ff;
    text-decoration: none;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.86em;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}
.lang-menu a:hover {
    background: rgba(255, 147, 19, 0.16);
    color: #ffd5a0;
}
.lang-menu a.active {
    background: rgba(255, 147, 19, 0.24);
    color: #ffd39a;
}

.footer {
    max-width: 900px;
    margin: 18px auto 0;
    border: 1px solid rgba(77, 88, 127, 0.72);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(18, 24, 36, 0.85), rgba(29, 40, 64, 0.65));
}
.footer-inner {
    padding: 16px 18px;
}
.footer-inner > p {
    margin: 0;
    color: #9eacc9;
    font-size: 0.9em;
}
.footer-contacts {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}
.footer-contacts p {
    margin: 0;
    color: #d7e2ff;
}
.footer-contacts a {
    color: #ffcf8f;
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 179, 96, 0.45);
}
.footer-contacts a:hover {
    color: #ffd7a5;
    border-bottom-color: rgba(255, 179, 96, 0.8);
}

/* ---- Mobile ---- */
@media (max-width: 600px) {
    body { font-size: 15px; padding: 10px 12px 36px; }
    article { padding: 18px 14px 28px; border-radius: 14px; }
    h1 { font-size: 1.5em; }
    h2 { font-size: 1.2em; }
    .hero { padding: 18px 14px; border-radius: 12px; }
    .seo-table table { min-width: 380px; }
    .seo-table th, .seo-table td { padding: 8px 9px; font-size: 0.86em; }
    .vegaslot-advantages { padding: 16px 14px; border-radius: 12px; }
    .cta-block-2 { flex-direction: column; align-items: flex-start; }
    .header-inner { gap: 0; flex-direction: row; grid-template-columns: 1fr 1fr; align-items: center; justify-content: space-between; }
    .header-nav { display: none; }
    .header-burger { display: inline-flex; align-items: center; margin-left: auto; }
    .header-lang { display: none; }
    .btn-primary, .btn-primary-content { width: 100%; }
    .footer-inner { padding: 14px 12px; }
}