:root {
    --bg-site: #0f131b;
    --bg-wrapper: #151b24;
    --bg-container: #1a212d;
    --border: rgba(255, 255, 255, 0.08);
    --contrast: #ffffff;
    --gray: #9aa4b2;
    --yellow: #ed9e00;
    --yellow-hover: #ffc926;
    --green: #94ca37;
    --red: #ff5e5e;
    --black: #000;
    --white: #fff;
    --text-main: #f5f7fb;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    background:
        radial-gradient(1000px 600px at 80% -10%, rgba(237, 158, 0, .08), transparent 60%),
        radial-gradient(800px 500px at -10% 10%, rgba(255,255,255,.03), transparent 60%),
        linear-gradient(180deg, #111722 0%, #0d1118 100%);
    color: var(--text-main);
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    scroll-behavior: smooth;
}

body {
    overflow-y: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button {
    font: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1412px;
    margin-inline: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 1201px) {
    .container {
        padding-left: 36px;
        padding-right: 36px;
    }
}

.flex { display: flex; }
.grid { display: grid; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.static { position: static; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.grow { flex-grow: 1; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.self-center { align-self: center; }
.overflow-hidden { overflow: hidden; }
.whitespace-nowrap { white-space: nowrap; }
.rounded-md { border-radius: 8px; }
.rounded-sm { border-radius: 4px; }
.rounded-full { border-radius: 9999px; }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-border { border-color: var(--border); }
.bg-bg-site { background-color: var(--bg-site); }
.text-f-main { color: var(--text-main); }
.text-gray { color: var(--gray); }
.text-yellow { color: var(--yellow); }
.text-white { color: var(--white); }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-semibold { font-weight: 600; }
.uppercase { text-transform: uppercase; }
.not-italic { font-style: normal; }

.mb-1 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-\[20px\] { margin-bottom: 20px; }
.mb-\[-3px\] { margin-bottom: -3px; }
.mt-5 { margin-top: 32px; }
.ml-auto { margin-left: auto; }
.mr-1 { margin-right: 8px; }
.mr-3 { margin-right: 16px; }
.mr-md { margin-right: 24px; }
.p-\[6px\] { padding: 6px; }
.p-sm { padding: 16px; }
.py-3 { padding-top: 16px; padding-bottom: 16px; }
.text-\[11px\] { font-size: 11px; }
.text-\[20px\] { font-size: 20px; }
.text-basebold { font-size: 14px; line-height: 20px; font-weight: 700; }
.text-h2 { font-size: 24px; line-height: 32px; font-weight: 700; }
.text-h3 { font-size: 20px; line-height: 24px; font-weight: 700; }
.text-tiny { font-size: 12px; line-height: 16px; font-weight: 300; }

@media (min-width: 1201px) {
    .text-h2 { font-size: 32px; line-height: 40px; font-weight: 800; }
    .text-h3 { font-size: 24px; line-height: 32px; }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 18, 26, .92);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.site-header__row {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.site-brand__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.site-brand__eyebrow {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--yellow);
    margin-bottom: 3px;
}

.site-brand__title {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: 24px;
}

.site-nav__link {
    color: var(--gray);
    font-weight: 600;
    position: relative;
    padding: 30px 0;
    transition: color .2s ease;
}

.site-nav__link:hover,
.site-nav__link.active {
    color: #fff;
}

.site-nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--yellow);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.site-nav__link:hover::after,
.site-nav__link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.site-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1;
    transition: .2s ease;
    padding: 12px 16px;
}

.btn-outline-custom {
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    background: transparent;
}

.btn-outline-custom:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.btn-primary-custom {
    background: var(--yellow);
    color: #000;
    border: 1px solid var(--yellow);
}

.btn-primary-custom:hover {
    background: var(--yellow-hover);
    border-color: var(--yellow-hover);
}

.burger {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: .2s ease;
}

.burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
    opacity: 0;
}

.burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    padding: 0 0 16px;
}

.mobile-menu.is-open {
    display: block;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0 14px;
}

.mobile-menu__link {
    padding: 10px 0;
    color: rgba(255,255,255,.84);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.mobile-menu__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.site-main {
    padding: 28px 0 40px;
}

.hero-banner-section {
    margin-bottom: 24px;
}

.promo-banner {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(22, 28, 39, .96) 0%, rgba(15, 20, 28, .96) 100%);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 30px rgba(0,0,0,.32);
}

.promo-banner--compact {
    min-height: 98px;
}

.promo-banner__media img {
    width: 100%;
    height: 100%;
    max-height: 356px;
    object-fit: cover;
    display: block;
}

.promo-banner__cta {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow);
    color: #000;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,.22);
}

.compact-games {
    margin-top: 8px;
}

.compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
}

.compact-panel {
    background: linear-gradient(180deg, rgba(23, 29, 41, .94) 0%, rgba(17, 22, 31, .94) 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
    overflow: hidden;
}

.compact-panel__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.compact-panel__title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 6px;
    color: #fff;
}

.compact-panel__online {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.76);
    font-size: 14px;
}

.compact-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(148,202,55,.45);
    display: inline-block;
    flex: 0 0 10px;
}

.compact-panel__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yellow);
    color: #000;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.compact-panel__btn--small {
    padding: 9px 14px;
}

.compact-panel__thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 10px;
}

.compact-panel__thumbs img {
    width: 100%;
    aspect-ratio: 1 / 1.18;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
}

.dragon-games-section {
    margin-top: 32px;
}

.dragon-games-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.dragon-games-controls {
    display: flex;
    gap: 8px;
}

.dragon-slider-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.08);
    background: #171d28;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.28);
    transition: .2s ease;
}

.dragon-slider-btn:hover {
    background: rgba(237, 158, 0, .14);
    color: var(--yellow);
    transform: translateY(-1px);
}

.dragon-games-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

.dragon-games-slider::-webkit-scrollbar {
    display: none;
}

.dragon-games-track {
    display: flex;
    gap: 16px;
    flex-wrap: nowrap !important;
    width: max-content;
}

.dragon-slide {
    width: 360px;
    min-width: 360px;
    max-width: 360px;
    flex: 0 0 360px;
}

.game-card-mini {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(23, 29, 41, .94) 0%, rgba(17, 22, 31, .94) 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,.28);
    min-height: 220px;
}

.game-card-mini__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-mini__body {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(180deg, rgba(7,10,16,.06) 0%, rgba(7,10,16,.60) 56%, rgba(7,10,16,.84) 100%);
}

.game-card-mini__badge {
    display: inline-flex;
    align-self: flex-start;
    background: var(--green);
    color: #000;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}

.game-card-mini__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.game-card-mini__title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
}

.textSeo {
    margin: 50px 0;
    color: #f5f7fb;
}

.textSeo p,
.textSeo li {
    line-height: 1.5;
    font-size: 16px;
    color: rgba(255,255,255,.82);
}

.textSeo h1,
.textSeo h2,
.textSeo h3 {
    margin-bottom: 20px;
    margin-top: 30px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}

.textSeo h1:first-child,
.textSeo h2:first-child,
.textSeo h3:first-child {
    margin-top: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 12px;
    margin: 24px 0;
    background: #141a24;
    box-shadow: 0 12px 30px rgba(0,0,0,.28);
}

th {
    background: #ed9e00 !important;
    color: #000 !important;
    padding: 18px;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 2px solid #d68f00;
}

tr:nth-child(even) {
    background: linear-gradient(90deg, #131923 0%, #1a1f17 100%);
}

tr:nth-child(odd) {
    background: linear-gradient(90deg, #171d28 0%, #1d2014 100%);
}

td {
    padding: 16px 20px;
    color: #f5f7fb;
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: relative;
}

td:before {
    content: "⚡";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

tr:hover td:before {
    opacity: 1;
    left: -5px;
}

tr:hover {
    background: linear-gradient(90deg, rgba(237, 158, 0, .18) 0%, rgba(255, 201, 38, .12) 100%);
    transform: translateX(8px);
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(237, 158, 0, .14);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-top: 28px;
}

.footer-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 18px;
}

.footer-18 {
    margin-right: 16px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #ff5e5e;
    color: #fff;
    font-weight: 700;
    flex: 0 0 40px;
}

.footer-logo-mini {
    margin-right: 16px;
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 42px;
}

.footer-link-accent {
    color: #ffd36a;
}

.footer-link-accent:hover {
    color: #fff1b8;
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .site-nav,
    .site-header__actions {
        display: none;
    }

    .burger {
        display: inline-flex;
    }

    .site-header__row {
        min-height: 72px;
    }

    .site-brand__title {
        font-size: 18px;
    }

    .site-brand__logo {
        width: 40px;
        height: 40px;
    }

    .compact-grid {
        grid-template-columns: 1fr;
    }

    .dragon-slide {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
        flex: 0 0 320px;
    }

    .footer-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .site-main {
        padding: 22px 0 36px;
    }

    .textSeo {
        margin: 40px 0 0;
    }

    .textSeo h1,
    .textSeo h2,
    .textSeo h3 {
        font-size: 22px;
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .dragon-games-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dragon-slide {
        width: calc(100vw - 32px);
        min-width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        flex: 0 0 calc(100vw - 32px);
    }

    th {
        font-size: 16px;
        padding: 14px 12px;
    }

    td {
        padding: 12px 12px;
    }

    .compact-panel__thumbs {
        gap: 8px;
    }

    .game-card-mini__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .promo-banner--compact {
        min-height: auto;
    }

    .promo-banner__media img {
        min-height: 140px;
    }

    .compact-panel__top {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        font-size: 14px;
        padding: 10px 12px;
    }

    .mobile-menu__actions {
        flex-direction: column;
    }

    .mobile-menu__actions .btn {
        width: 100%;
    }
}