/* Внутренние страницы WarnMedia — оформление в стиле главной: неон, стекло, свечение. */

:root {
    --void: #070318;
    --glass: rgba(255, 255, 255, 0.055);
    --glass-strong: rgba(255, 255, 255, 0.1);
    --edge: rgba(255, 255, 255, 0.12);

    --text: #f2edff;
    --muted: #a89fc4;

    --cyan: #22d3ee;
    --magenta: #e879f9;
    --violet: #8b5cf6;
    --lime: #a3e635;
    --amber: #fbbf24;
    --rose: #fb7185;

    --sans: 'Noto Sans Armenian', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--void);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }

/* ---------- Живой фон ---------- */

.aurora { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

.aurora__blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45; }

.aurora__blob--1 {
    top: -200px; left: -140px; width: 600px; height: 600px;
    background: radial-gradient(circle, var(--violet), transparent 68%);
    animation: drift1 24s ease-in-out infinite;
}

.aurora__blob--2 {
    top: 240px; right: -200px; width: 540px; height: 540px;
    background: radial-gradient(circle, var(--magenta), transparent 68%);
    animation: drift2 28s ease-in-out infinite;
}

.aurora__blob--3 {
    bottom: -260px; left: 25%; width: 640px; height: 640px;
    background: radial-gradient(circle, var(--cyan), transparent 70%);
    opacity: 0.3;
    animation: drift3 32s ease-in-out infinite;
}

@keyframes drift1 { 0%,100% { transform: none; } 50% { transform: translate(70px, 60px) scale(1.1); } }
@keyframes drift2 { 0%,100% { transform: none; } 50% { transform: translate(-60px, 80px) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: none; } 50% { transform: translate(50px, -60px) scale(1.12); } }

/* ---------- Шапка ---------- */

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(7, 3, 24, 0.78);
    border-bottom: 1px solid var(--edge);
    backdrop-filter: blur(18px);
}

.topbar__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 14px 24px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }

.brand__mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(140deg, var(--cyan), var(--violet));
    border-radius: 12px;
    color: #08021a;
    font-size: 18px;
    font-weight: 800;
}

.brand__name { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; }

.brand__name span {
    background: linear-gradient(100deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.menu {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.menu::-webkit-scrollbar { display: none; }

.menu a {
    padding: 9px 15px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.menu a:hover { background: var(--glass); color: var(--text); }

.menu a.is-active {
    background: var(--glass-strong);
    border: 1px solid rgba(34, 211, 238, 0.45);
    color: var(--text);
}

/* ---------- Каркас страницы ---------- */

.page {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    padding: 28px 24px 72px;
}

.crumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 14.5px;
}

.crumbs a { color: var(--cyan); }
.crumbs a:hover { text-decoration: underline; }
.crumbs__current { color: var(--muted); }

.pagehead { margin: 26px 0 42px; }

.pagehead h1 {
    font-size: clamp(32px, 5.5vw, 50px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: linear-gradient(100deg, #ffffff 30%, var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pagehead__lead {
    margin-top: 16px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 20px);
    line-height: 1.55;
}

/* ---------- Текст статьи ---------- */

.article h2 {
    margin: 0 0 20px;
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.article h3 {
    margin: 28px 0 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--cyan);
}

.article h4 { margin: 20px 0 8px; font-size: 17px; font-weight: 700; }

.article p { margin: 0 0 14px; color: rgba(242, 237, 255, 0.82); }

.article a:not(.site-button):not(.back-button) {
    color: var(--cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article strong { color: var(--text); font-weight: 700; }

/* ---------- Секции ---------- */

.seo-section {
    margin-bottom: 22px;
    padding: 30px;
    background: var(--glass);
    border: 1px solid var(--edge);
    border-radius: 22px;
    backdrop-filter: blur(14px);
}

.seo-list { margin: 12px 0 18px; padding: 0; list-style: none; }

.seo-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 9px;
    color: rgba(242, 237, 255, 0.82);
}

.seo-list li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 12px;
    width: 7px;
    height: 7px;
    background: linear-gradient(140deg, var(--cyan), var(--magenta));
    border-radius: 50%;
}

/* ---------- Сетки карточек ---------- */

.casino-features,
.slot-types,
.sports-grid,
.payment-methods,
.withdrawal-methods,
.casino-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.feature-card,
.slot-card,
.sport-card,
.casino-card,
.payment-method,
.withdrawal-method,
.promo-card,
.casino-review {
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--edge);
    border-radius: 18px;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature-card:hover,
.slot-card:hover,
.sport-card:hover,
.casino-card:hover,
.payment-method:hover,
.withdrawal-method:hover,
.casino-review:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.45);
    box-shadow: 0 18px 40px rgba(34, 211, 238, 0.12);
}

.feature-icon,
.slot-icon,
.sport-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    background: linear-gradient(140deg, var(--cyan), var(--violet));
    border-radius: 16px;
    color: #08021a;
    font-size: 21px;
}

.slot-icon { background: linear-gradient(140deg, var(--magenta), var(--violet)); }
.sport-icon { background: linear-gradient(140deg, var(--lime), #14b8a6); }

.feature-card h3,
.slot-card h3,
.sport-card h3,
.casino-card h3 { margin-top: 0; color: var(--text); }

/* ---------- Карточки казино ---------- */

.casino-header,
.promo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.casino-name,
.casino-title {
    font-size: 21px;
    font-weight: 700;
    color: var(--text);
}

.casino-rating,
.stars {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--amber);
    font-size: 14.5px;
}

.rating-number { color: var(--muted); font-weight: 700; }

.casino-description,
.promo-description { color: rgba(242, 237, 255, 0.78); font-size: 15.5px; }

/* ---------- Плюсы и минусы ---------- */

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 18px 0;
}

.pros,
.cons {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--edge);
}

.pros { background: rgba(163, 230, 53, 0.07); border-color: rgba(163, 230, 53, 0.28); }
.cons { background: rgba(251, 113, 133, 0.07); border-color: rgba(251, 113, 133, 0.28); }

.pros h4 { color: var(--lime); }
.cons h4 { color: var(--rose); }

.pros ul,
.cons ul { margin: 10px 0 0; padding-left: 20px; }
.pros li,
.cons li { margin-bottom: 7px; color: rgba(242, 237, 255, 0.82); }

.yes-symbol { color: var(--lime); }
.no-symbol { color: var(--rose); }

/* ---------- Выделенные блоки ---------- */

.highlight-box,
.important-note,
.main-benefit,
.tips-section {
    padding: 22px 24px;
    margin: 18px 0;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-left: 4px solid var(--violet);
    border-radius: 16px;
}

.important-note {
    background: rgba(251, 191, 36, 0.09);
    border-color: rgba(251, 191, 36, 0.32);
    border-left-color: var(--amber);
}

.tips-section {
    background: rgba(34, 211, 238, 0.08);
    border-color: rgba(34, 211, 238, 0.3);
    border-left-color: var(--cyan);
}

.highlight-box p:last-child,
.important-note p:last-child,
.main-benefit p:last-child { margin-bottom: 0; }

/* ---------- Пошаговые гайды ---------- */

.step-card {
    position: relative;
    padding: 30px 30px 30px 34px;
    margin-bottom: 20px;
    background: var(--glass);
    border: 1px solid var(--edge);
    border-radius: 22px;
    backdrop-filter: blur(14px);
}

.step-number {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    background: linear-gradient(140deg, var(--cyan), var(--magenta));
    border-radius: 14px;
    color: #08021a;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 10px 26px rgba(232, 121, 249, 0.3);
}

.step-title {
    margin: 0 0 10px;
    font-size: 23px;
    font-weight: 700;
    color: var(--text);
}

.step-description { color: rgba(242, 237, 255, 0.82); }

.screenshot-placeholder {
    margin: 18px 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--edge);
    border-radius: 16px;
    overflow: hidden;
}

.screenshot-placeholder img { width: 100%; height: auto; border-radius: 10px; }

/* ---------- Кнопки ---------- */

.site-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }

.site-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    background: linear-gradient(100deg, var(--cyan), var(--magenta));
    border-radius: 12px;
    color: #14001f;
    font-size: 15.5px;
    font-weight: 700;
    transition: filter 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}

.site-button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(232, 121, 249, 0.35);
}

.back-button,
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    background: var(--glass);
    border: 1px solid var(--edge);
    border-radius: 999px;
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
}

.back-button:hover,
.back-link:hover { background: var(--glass-strong); }

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px dashed rgba(34, 211, 238, 0.5);
    border-radius: 12px;
    color: var(--cyan);
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s var(--ease);
}

.copy-btn:hover { background: rgba(34, 211, 238, 0.22); }

/* ---------- Вопросы и ответы ---------- */

.faq-q {
    margin-top: 24px;
    color: var(--magenta) !important;
}

/* ---------- Таблицы ---------- */

.odds-table,
table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 15.5px;
}

th, td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--edge);
    text-align: left;
}

th { color: var(--cyan); font-weight: 700; }
td { color: rgba(242, 237, 255, 0.82); }

/* ---------- Подвал ---------- */

.sitefooter {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.35);
    border-top: 1px solid var(--edge);
}

.sitefooter__inner { max-width: 1140px; margin: 0 auto; padding: 52px 24px 32px; }

.sitefooter__cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}

.sitefooter__col h3 {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.sitefooter__col ul { list-style: none; padding: 0; }

.sitefooter__col li { margin-bottom: 9px; }

.sitefooter__col a { color: var(--muted); font-size: 15px; }
.sitefooter__col a:hover { color: var(--cyan); }

.sitefooter__bottom {
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid var(--edge);
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.sitefooter__bottom p + p { margin-top: 5px; }

/* ---------- Уведомление о копировании ---------- */

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translate(-50%, 16px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    background: rgba(15, 8, 34, 0.94);
    border: 1px solid rgba(34, 211, 238, 0.5);
    border-radius: 999px;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 40px rgba(34, 211, 238, 0.25);
    font-size: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    z-index: 50;
}

.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast i { color: var(--lime); }
.toast p { margin: 0; }

/* ---------- Адаптив ---------- */

@media (max-width: 900px) {
    .pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }

    .topbar__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 16px;
    }

    .menu { margin: 0 -16px; padding: 0 16px; }

    .page { padding: 20px 16px 56px; }
    .seo-section { padding: 22px 18px; }
    .step-card { padding: 24px 20px; }
    .sitefooter__inner { padding: 40px 16px 26px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
    .aurora__blob { animation: none; }
}
