:root {
    --c-bg: #2B2B2B;
    --c-hdr: #151515;
    --c-btn-dark: #1A1A1A;
    --c-btn-green: #347938;
    --c-text: #e8e8e8;
    --c-text-muted: #aaa;
    --c-border: #3a3a3a;
    --c-card: #222;
    --c-accent: #4caf50;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, .45)
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    background: var(--c-bg);
    color: var(--c-text);
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden
}

a {
    color: var(--c-accent);
    text-decoration: none;
    transition: color .2s
}

a:hover {
    color: #6dca72
}

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

.xq7f2 {
    display: none
}

.wz91k {
    visibility: hidden;
    position: absolute;
    pointer-events: none
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px
}

.g-wrap {
    width: 100%
}

/*  */
.site-header {
    background: var(--c-hdr);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .6)
}

.hdr-inner {
    display: grid;
    grid-template-columns:auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 18px;
    max-width: 1200px;
    margin: 0 auto
}

.hdr-logo img {
    height: 54px;
    width: auto;
    object-fit: contain
}

.hdr-nav {
    display: flex;
    gap: 6px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center
}

.hdr-nav a {
    color: var(--c-text);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: .85rem;
    font-weight: 600;
    transition: background .2s, color .2s
}

.hdr-nav a:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff
}

.hdr-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0
}

.hdr-online {
    font-size: .78rem;
    color: #6dca72;
    font-weight: 700;
    white-space: nowrap;
    background: rgba(52, 121, 56, .15);
    border: 1px solid rgba(52, 121, 56, .3);
    border-radius: 20px;
    padding: 4px 10px
}

.hdr-online span {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #6dca72;
    border-radius: 50%;
    margin-right: 5px;
    animation: blink 1.4s infinite
}

@keyframes blink {
    0%, 100% {
        opacity: 1
    }
    50% {
        opacity: .3
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: 7px;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, filter .15s;
    white-space: nowrap
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
    filter: brightness(1.1)
}

.btn:active {
    transform: translateY(0)
}

.btn-dark {
    background: var(--c-btn-dark);
    color: #fff;
    border: 1px solid #333
}

.btn-green {
    background: var(--c-btn-green);
    color: #fff
}

.btn-green:hover {
    color: #fff
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s
}

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

.burger.open span:nth-child(2) {
    opacity: 0
}

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

.mob-nav {
    display: none;
    background: var(--c-hdr);
    padding: 16px 18px;
    border-top: 1px solid #222
}

.mob-nav.open {
    display: block
}

.mob-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.mob-nav ul a {
    display: block;
    color: var(--c-text);
    padding: 10px 14px;
    border-radius: 7px;
    font-weight: 600;
    transition: background .2s
}

.mob-nav ul a:hover {
    background: rgba(255, 255, 255, .07)
}

/*  */
.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('/totogaming-banner.png');
    background-size: cover;
    background-position: center;
    filter: brightness(.45);
    z-index: 0
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
    max-width: 700px
}

.hero-content h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7)
}

.hero-content p {
    font-size: 1.1rem;
    color: #ddd;
    margin-bottom: 30px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .7)
}

.hero-badge {
    display: inline-block;
    background: rgba(52, 121, 56, .85);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: .5px
}

.hero-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap
}

.btn-xl {
    padding: 14px 38px;
    font-size: 1.05rem;
    border-radius: 10px
}

.section {
    padding: 56px 0
}

.section-alt {
    background: rgba(0, 0, 0, .2)
}

.section-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    background: var(--c-btn-green);
    border-radius: 2px
}

.tbl-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px
}

.info-table tr {
    border-bottom: 1px solid var(--c-border);
    transition: background .15s
}

.info-table tr:hover {
    background: rgba(255, 255, 255, .04)
}

.info-table td {
    padding: 13px 18px;
    font-size: .93rem;
    vertical-align: top;
    text-align: left
}

.info-table td:first-child {
    color: var(--c-text-muted);
    font-weight: 600;
    width: 42%;
    border-right: 1px solid var(--c-border)
}

.info-table td:last-child {
    color: var(--c-text);
    font-weight: 500
}

/*  */
.jackpots-grid {
    display: grid;
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px
}

.jackpot-card {
    background: linear-gradient(135deg, #1e3a20 0%, #152b17 100%);
    border: 1px solid #347938;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s
}

.jackpot-card::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(52, 121, 56, .15);
    border-radius: 50%
}

.jackpot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(52, 121, 56, .3)
}

.jackpot-name {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #6dca72;
    font-weight: 700;
    margin-bottom: 8px
}

.jackpot-amount {
    font-size: 1.9rem;
    font-weight: 900;
    color: #fff;
    line-height: 1
}

.jackpot-currency {
    font-size: .85rem;
    color: var(--c-text-muted);
    margin-top: 6px
}

.jackpot-icon {
    font-size: 2rem;
    margin-bottom: 10px
}

.winners-table {
    width: 100%;
    border-collapse: collapse
}

.winners-table thead tr {
    background: rgba(52, 121, 56, .2);
    border-bottom: 2px solid var(--c-btn-green)
}

.winners-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #6dca72;
    font-weight: 700
}

.winners-table td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--c-border);
    font-size: .9rem;
    vertical-align: middle
}

.winners-table tr:hover td {
    background: rgba(255, 255, 255, .03)
}

.w-rank {
    font-weight: 800;
    color: #6dca72;
    width: 40px
}

.w-top3 {
    color: #ffd700;
    font-weight: 800
}

.w-nick {
    font-weight: 600
}

.w-amount {
    font-weight: 700;
    color: #4caf50
}

.w-game {
    color: var(--c-text-muted);
    font-size: .83rem
}

.app-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 32px;
    align-items: start
}

.app-tbl {
    width: 100%;
    border-collapse: collapse
}

.app-tbl td {
    padding: 11px 16px;
    border-bottom: 1px solid var(--c-border);
    font-size: .92rem;
    text-align: left
}

.app-tbl td:first-child {
    color: var(--c-text-muted);
    font-weight: 600;
    width: 50%
}

.app-btns {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .15s;
    font-weight: 600
}

.app-btn:hover {
    background: #252525;
    border-color: #555;
    transform: translateX(3px);
    color: #fff
}

.app-btn-icon {
    font-size: 1.8rem;
    line-height: 1
}

.app-btn-label {
    font-size: .72rem;
    color: var(--c-text-muted);
    font-weight: 400
}

.app-btn-title {
    font-size: .95rem;
    font-weight: 700
}

/*  */
.wheel-section {
    text-align: center
}

.wheel-wrap {
    position: relative;
    display: inline-block;
    margin: 0 auto
}

.wheel-pointer {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 28px solid #f44336;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5));
    z-index: 10
}

#wheelCanvas {
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(52, 121, 56, .4), 0 0 0 6px #1a1a1a, 0 0 0 8px #347938;
    display: block
}

.wheel-btn {
    margin-top: 30px
}

.wheel-result {
    margin-top: 24px;
    padding: 20px 28px;
    background: linear-gradient(135deg, #1e3a20, #152b17);
    border: 1px solid #347938;
    border-radius: var(--radius-lg);
    display: none;
    animation: fadeInUp .4s ease
}

.wheel-result.show {
    display: block
}

.wheel-result-win {
    color: #6dca72;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px
}

.wheel-result-lose {
    color: #e57373;
    font-size: 1.05rem;
    font-weight: 600
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.review-block {
    background: var(--c-card);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    border: 1px solid var(--c-border)
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-border)
}

.author-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #347938, #1e5e22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0
}

.author-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 3px
}

.author-bio {
    font-size: .82rem;
    color: var(--c-text-muted)
}

.author-link {
    font-size: .8rem;
    color: var(--c-accent)
}

.review-content h2, .review-content h3 {
    color: #fff;
    margin: 24px 0 12px;
    font-weight: 700
}

.review-content p {
    margin-bottom: 14px;
    line-height: 1.75;
    color: #d0d0d0
}

.review-content ul, .review-content ol {
    padding-left: 22px;
    margin-bottom: 14px;
    color: #d0d0d0
}

.review-content li {
    margin-bottom: 6px
}

.review-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    overflow-x: auto;
    display: block
}

.review-content table th, .review-content table td {
    padding: 10px 14px;
    border: 1px solid var(--c-border);
    text-align: left
}

.review-content table th {
    background: rgba(52, 121, 56, .2);
    font-weight: 700
}

.review-content a {
    color: var(--c-accent)
}

.review-content strong {
    color: #fff
}

.review-content blockquote {
    border-left: 3px solid var(--c-btn-green);
    padding: 12px 20px;
    margin: 18px 0;
    background: rgba(52, 121, 56, .08);
    border-radius: 0 8px 8px 0;
    color: #ccc;
    font-style: italic
}

/*  */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.faq-item {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius)
}

.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: var(--c-text);
    font-family: inherit;
    font-size: .97rem;
    font-weight: 600;
    text-align: left;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color .2s
}

.faq-q:hover {
    color: #6dca72
}

.faq-q .faq-icon {
    font-size: 1.1rem;
    transition: transform .3s;
    flex-shrink: 0;
    color: #347938
}

.faq-q.open .faq-icon {
    transform: rotate(45deg)
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .3s
}

.faq-a.open {
    max-height: 500px;
    padding: 0 20px 18px
}

.faq-a p {
    color: #c8c8c8;
    line-height: 1.75;
    font-size: .92rem
}

.site-footer {
    background: var(--c-hdr);
    padding: 48px 0 24px;
    margin-top: 0
}

.footer-grid {
    display: grid;
    grid-template-columns:auto 1fr;
    gap: 40px;
    margin-bottom: 36px;
    align-items: start
}

.footer-logo img {
    height: 48px;
    width: auto;
    margin-bottom: 18px
}

.footer-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px
}

.footer-nav a {
    color: var(--c-text-muted);
    font-size: .83rem;
    transition: color .2s
}

.footer-nav a:hover {
    color: #fff
}

.footer-logos-wrap {
    margin-bottom: 28px
}

.footer-logos-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--c-text-muted);
    margin-bottom: 12px;
    font-weight: 600
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center
}

.footer-logo-pill {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: .78rem;
    font-weight: 700;
    color: #ccc;
    letter-spacing: .5px
}

.footer-divider {
    border: none;
    border-top: 1px solid #252525;
    margin: 24px 0
}

.footer-legal {
    font-size: .75rem;
    color: #666;
    line-height: 1.65;
    text-align: center
}

.footer-copyright {
    text-align: center;
    font-size: .82rem;
    color: var(--c-text-muted);
    margin-top: 16px
}

.bottom-widget {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: linear-gradient(90deg, #0d2b0e 0%, #1a3f1c 50%, #0d2b0e 100%);
    border-top: 2px solid #347938;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .5)
}

.widget-text {
    color: #e8e8e8;
    font-size: .88rem;
    font-weight: 600
}

.widget-bonus {
    color: #6dca72;
    font-weight: 800
}

.widget-close {
    background: none;
    border: none;
    color: #666;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px 8px;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: color .2s
}

.widget-close:hover {
    color: #999
}

.block-card {
    background: var(--c-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow)
}

/*  */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(8px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.fadeIn {
    animation: fadeInUp .5s ease both
}

.ux81f {
    display: contents
}

.ptg9s {
    contain: layout
}

.wm3kz {
    content-visibility: auto
}

.yk2xq {
    isolation: isolate
}

.dv0e4 {
    speak: none
}

.jn5wc::selection {
    background: transparent
}

.rs7f1 {
    user-select: none
}

.qb3m2 {
    pointer-events: none;
    opacity: 0;
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px
}

/*  */
@media (max-width: 900px) {
    .hdr-inner {
        grid-template-columns:auto 1fr auto
    }

    .hdr-nav {
        display: none
    }

    .burger {
        display: flex
    }

    .app-grid {
        grid-template-columns:1fr
    }

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

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 1.65rem
    }

    .hdr-logo img {
        height: 40px
    }

    .review-block {
        padding: 22px 18px
    }

    .section {
        padding: 36px 0
    }

    .jackpots-grid {
        grid-template-columns:1fr 1fr
    }

    .bottom-widget {
        flex-direction: column;
        gap: 10px;
        padding: 14px 40px
    }

    .widget-close {
        top: 10px;
        transform: none
    }
}

@media (max-width: 380px) {
    .jackpots-grid {
        grid-template-columns:1fr
    }

    .hero-btns {
        flex-direction: column;
        align-items: center
    }
}
