:root {
    --bg: #03090d;
    --bg-soft: #07151b;
    --surface: rgba(8, 28, 35, 0.9);
    --surface-strong: #0a2028;
    --primary: #00aeff;
    --primary-soft: #7be7ff;
    --accent: #ff4d5f;
    --text: #f5fcff;
    --muted: #a9c0c9;
    --border: rgba(0, 174, 255, 0.32);
    --radius: 22px;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(0, 174, 255, 0.18), transparent 28rem),
        radial-gradient(circle at 88% 32%, rgba(255, 77, 95, 0.12), transparent 25rem),
        var(--bg);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

body.popup-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button,
a {
    font: inherit;
}

button {
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--primary-soft);
    outline-offset: 4px;
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    padding: 10px 16px;
    color: #001018;
    background: var(--primary-soft);
    border-radius: 10px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    background: rgba(3, 9, 13, 0.86);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand img {
    width: 180px;
    max-height: 52px;
    object-fit: contain;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-navigation a {
    padding: 10px 13px;
    border-radius: 999px;
    color: #d9f5ff;
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.main-navigation a:hover {
    color: #fff;
    background: rgba(0, 174, 255, 0.12);
    transform: translateY(-1px);
}

.main-navigation .nav-login {
    border: 1px solid var(--border);
}

.main-navigation .nav-register {
    color: #001018;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(0, 174, 255, 0.08);
    cursor: pointer;
}

.menu-toggle span {
    width: 21px;
    height: 2px;
    display: block;
    border-radius: 10px;
    background: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.trustbar {
    position: relative;
    z-index: 20;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 174, 255, 0.25);
    background: linear-gradient(90deg, #06161d, #0d242b, #06161d);
}

.trustbar-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.live-badge,
.section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 7px 12px;
    color: #001018;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.ticker {
    min-width: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.ticker-track {
    width: max-content;
    display: flex;
    gap: 50px;
    color: #d8f5ff;
    font-size: 14px;
    animation: ticker 30s linear infinite;
}

.ticker-track span::before {
    content: "";
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary);
}

.section {
    padding: 90px 0;
}

.section-dark {
    background:
        linear-gradient(rgba(0, 174, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 174, 255, 0.025) 1px, transparent 1px),
        rgba(5, 17, 22, 0.7);
    background-size: 36px 36px;
    border-block: 1px solid rgba(0, 174, 255, 0.12);
}

.hero {
    padding-top: 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
    align-items: center;
    gap: 45px;
}

.hero-media {
    position: relative;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(0, 174, 255, 0.12), rgba(255, 77, 95, 0.06));
    box-shadow: var(--shadow), 0 0 50px rgba(0, 174, 255, 0.13);
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: 8%;
    z-index: -1;
    background: rgba(0, 174, 255, 0.22);
    filter: blur(70px);
}

.hero-media img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
}

.brand-card,
.content-card,
.rtp-panel {
    position: relative;
    overflow: hidden;
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(0, 174, 255, 0.18), transparent 35%),
        linear-gradient(145deg, rgba(8, 30, 38, 0.96), rgba(4, 14, 19, 0.96));
    box-shadow: var(--shadow);
}

.brand-card::before,
.rtp-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 30%, rgba(123, 231, 255, 0.08), transparent 70%);
    transform: translateX(-100%);
    animation: scan 6s linear infinite;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--primary-soft);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    margin: 0;
    font-size: clamp(32px, 4.2vw, 55px);
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-shadow: 0 0 25px rgba(0, 174, 255, 0.24);
}

h2 {
    margin: 0;
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.2;
}

h3 {
    margin: 0;
    font-size: clamp(22px, 2.5vw, 30px);
}

.hero-description {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.hero-actions,
.popup-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    min-width: 135px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    color: #001018;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    box-shadow: 0 10px 30px rgba(0, 174, 255, 0.24);
}

.button-primary:hover {
    box-shadow: 0 15px 38px rgba(0, 174, 255, 0.38);
    filter: brightness(1.08);
}

.button-outline {
    border-color: rgba(0, 174, 255, 0.65);
    background: rgba(0, 174, 255, 0.06);
}

.button-outline:hover {
    background: rgba(0, 174, 255, 0.15);
    box-shadow: 0 12px 30px rgba(0, 174, 255, 0.18);
}

.hero-points {
    display: grid;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.hero-points li {
    color: #dff8ff;
}

.hero-points li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--primary);
    font-weight: 900;
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2 {
    margin-top: 14px;
}

.section-heading p {
    margin: 14px auto 0;
    color: var(--muted);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.info-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 25px 18px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(8, 31, 39, 0.9), rgba(4, 13, 18, 0.9));
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(123, 231, 255, 0.7);
}

.info-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: #001018;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    font-weight: 900;
    box-shadow: 0 0 24px rgba(0, 174, 255, 0.3);
}

.info-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.info-card strong {
    font-size: 18px;
}

.content-card {
    margin-top: 28px;
}

.content-card > p {
    color: var(--muted);
}

.offer-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 30px;
}

.offer-list > div {
    padding: 18px;
    border: 1px solid rgba(0, 174, 255, 0.2);
    border-radius: 16px;
    background: rgba(0, 174, 255, 0.05);
}

.offer-list span {
    color: var(--primary);
    font-weight: 900;
}

.offer-list p {
    margin: 9px 0 0;
    color: var(--muted);
}

.game-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 32px;
}

.game-tab {
    min-width: 0;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid rgba(0, 174, 255, 0.2);
    border-radius: 18px;
    color: #d8f5ff;
    background: rgba(0, 174, 255, 0.05);
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.game-tab:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.game-tab.active {
    color: #001018;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    border-color: transparent;
    box-shadow: 0 12px 28px rgba(0, 174, 255, 0.25);
}

.game-tab img,
.game-placeholder {
    width: 66px;
    height: 66px;
    object-fit: cover;
    border-radius: 16px;
}

.game-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #112d36, #ff4d5f);
    font-size: 22px;
    font-weight: 900;
}

.rtp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.status-badge {
    padding: 8px 14px;
    border: 1px solid rgba(0, 174, 255, 0.4);
    border-radius: 999px;
    color: var(--primary-soft);
    background: rgba(0, 174, 255, 0.08);
    font-size: 12px;
    font-weight: 900;
}

.status-badge.hot {
    color: #001018;
    background: linear-gradient(135deg, #56ffd6, var(--primary-soft));
}

.status-badge.low {
    color: #ffd9dd;
    border-color: rgba(255, 77, 95, 0.5);
    background: rgba(255, 77, 95, 0.12);
}

.rtp-content {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 35px;
}

.rtp-circle {
    --rtp-angle: 347deg;
    width: 165px;
    height: 165px;
    display: grid;
    place-content: center;
    text-align: center;
    border-radius: 50%;
    background:
        radial-gradient(circle, #08212a 55%, transparent 57%),
        conic-gradient(var(--primary) 0 var(--rtp-angle), rgba(255, 255, 255, 0.1) var(--rtp-angle));
    box-shadow: 0 0 35px rgba(0, 174, 255, 0.28), inset 0 0 25px rgba(0, 0, 0, 0.45);
}

.rtp-circle strong {
    font-size: 29px;
}

.rtp-circle span {
    color: var(--primary-soft);
    font-size: 12px;
    letter-spacing: 0.14em;
}

.rtp-details > p {
    color: var(--muted);
}

.progress {
    height: 17px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.35);
}

.progress-fill {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), #ffd85e, var(--primary));
    box-shadow: 0 0 18px rgba(0, 174, 255, 0.42);
    transition: width 0.8s ease;
}

.progress-labels,
.rtp-meta {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: var(--muted);
    font-size: 12px;
}

.progress-labels {
    margin-top: 7px;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.time-grid > div {
    padding: 14px;
    border: 1px solid rgba(0, 174, 255, 0.16);
    border-radius: 14px;
    background: rgba(0, 174, 255, 0.045);
}

.time-grid small {
    display: block;
    color: var(--muted);
}

.time-grid strong {
    display: block;
    margin-top: 4px;
}

.faq-section {
    max-width: 980px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(8, 29, 37, 0.9), rgba(4, 13, 18, 0.9));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
    font-weight: 900;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list details p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--muted);
}

.faq-symbol {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 11px;
    color: #001018;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    font-size: 22px;
    transition: transform 0.2s ease;
}

.faq-list details[open] .faq-symbol {
    transform: rotate(45deg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.review-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(8, 30, 38, 0.92), rgba(4, 13, 18, 0.92));
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.review-header span {
    color: #ffd85e;
    letter-spacing: 2px;
}

.review-card blockquote {
    margin: 18px 0;
    color: var(--muted);
    font-style: italic;
}

.review-card time {
    color: #78929c;
    font-size: 12px;
}

.cta-section {
    padding: 55px 0;
    border-block: 1px solid var(--border);
    background:
        radial-gradient(circle at left, rgba(0, 174, 255, 0.18), transparent 45%),
        radial-gradient(circle at right, rgba(255, 77, 95, 0.12), transparent 40%),
        #07151b;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.cta-inner p {
    margin-bottom: 0;
    color: var(--muted);
}

.cta-inner .hero-actions {
    flex: 0 0 auto;
    margin: 0;
}

.site-footer {
    padding-top: 65px;
    background: #020609;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 45px;
}

.footer-brand img {
    width: 170px;
}

.footer-brand p {
    max-width: 330px;
    color: var(--muted);
}

.footer-grid h2 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 16px;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-grid a {
    padding: 5px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--primary-soft);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 45px;
    padding: 22px 0;
    border-top: 1px solid rgba(0, 174, 255, 0.14);
    color: #718993;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #001018;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(1, 6, 9, 0.8);
    backdrop-filter: blur(12px);
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.popup-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.welcome-popup {
    position: relative;
    width: min(100%, 430px);
    overflow: hidden;
    border: 1px solid rgba(0, 174, 255, 0.55);
    border-radius: 25px;
    background: linear-gradient(145deg, #0b242c, #041116);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.65), 0 0 40px rgba(0, 174, 255, 0.2);
    animation: popup-in 0.35s ease;
}

.welcome-popup > img {
    width: 100%;
    aspect-ratio: 1.35;
    object-fit: cover;
}

.popup-content {
    padding: 24px;
    text-align: center;
}

.popup-content h2 {
    font-size: 25px;
}

.popup-content p {
    color: var(--muted);
}

.popup-actions {
    justify-content: center;
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #fff;
    background: rgba(2, 9, 13, 0.8);
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

@keyframes ticker {
    to {
        transform: translateX(-50%);
    }
}

@keyframes scan {
    to {
        transform: translateX(100%);
    }
}

@keyframes popup-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 960px) {
    .menu-toggle {
        display: grid;
    }

    .main-navigation {
        position: absolute;
        top: calc(100% + 1px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(3, 14, 19, 0.98);
        box-shadow: var(--shadow);
    }

    .main-navigation.open {
        display: flex;
    }

    .main-navigation a {
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-media {
        max-width: 700px;
        margin-inline: auto;
    }

    .info-grid,
    .game-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .section {
        padding: 65px 0;
    }

    .brand img {
        width: 150px;
    }

    .live-badge {
        display: none;
    }

    .trustbar-inner {
        min-height: 46px;
    }

    .brand-card,
    .content-card,
    .rtp-panel {
        padding: 25px 20px;
        border-radius: 22px;
    }

    h1 {
        font-size: 34px;
    }

    .info-grid,
    .offer-list,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .rtp-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .rtp-content {
        grid-template-columns: 1fr;
    }

    .rtp-circle {
        margin-inline: auto;
    }

    .time-grid {
        grid-template-columns: 1fr;
    }

    .rtp-meta {
        flex-direction: column;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-inner .hero-actions {
        margin-top: 8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 430px) {
    .container {
        width: min(calc(100% - 22px), var(--container));
    }

    .game-tabs {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .game-tab {
        min-height: 120px;
        padding: 9px;
    }

    .hero-actions,
    .popup-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}