:root {
    --bg: #070707;
    --card: #111111;
    --accent-red: #E50914;
    --accent-gold: #FFC107;
    --text: #FFFFFF;
    --muted: #B8B8B8;
    --border: #242424;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --gradient: linear-gradient(120deg, #E50914 0%, #ff5c52 100%);
}

* {
    box-sizing: border-box;
}

body.frontend-body {
    background:
        radial-gradient(circle at 8% 20%, rgba(229, 9, 20, .18), transparent 40%),
        radial-gradient(circle at 92% 0%, rgba(255, 193, 7, .08), transparent 35%),
        var(--bg);
    color: var(--text);
    font-family: "Poppins", "Segoe UI", sans-serif;
    min-height: 100vh;
}

a {
    color: #fff;
    text-decoration: none;
}

a:hover {
    color: var(--accent-gold);
}

.site-header {
    backdrop-filter: blur(10px);
    background: rgba(7, 7, 7, .85);
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: .3px;
}

.site-logo {
    border-radius: 8px;
    object-fit: cover;
}

.brand-badge {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient);
    font-weight: 700;
}

.btn-entry,
.btn-gradient {
    background: var(--gradient);
    color: #fff;
    border: 0;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 12px 25px rgba(229, 9, 20, .25);
}

.btn-entry:hover,
.btn-gradient:hover {
    color: #fff;
    transform: translateY(-1px);
}

.hero {
    padding: 4.6rem 0 2.6rem;
}

.hero-inner {
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
    padding: clamp(1.4rem, 4vw, 3rem) clamp(1rem, 3.2vw, 2.2rem);
    background:
        radial-gradient(circle at top, rgba(229, 9, 20, .24), transparent 56%),
        radial-gradient(circle at 80% 0, rgba(255, 193, 7, .16), transparent 45%),
        linear-gradient(145deg, rgba(14, 14, 14, .98), rgba(8, 8, 8, .98));
    box-shadow: 0 28px 58px rgba(0, 0, 0, .45);
}
.text-muted {
    color: #fff !important;
}
.hero-inner h1 {
    margin: 0;
}

.hero-brand-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
}

.hero-brand-link span {
    display: block;
    font-size: clamp(2rem, 5.5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: .2px;
    text-shadow: 0 14px 28px rgba(0, 0, 0, .48);
}

.hero-inner h1 small {
    display: inline-block;
    margin-top: .85rem;
    padding: .45rem .95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 193, 7, .45);
    background: rgba(255, 193, 7, .09);
    color: #ffd36b;
    font-size: .82rem;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.hero-inner > p {
    margin: 1.25rem auto 0;
    max-width: 760px;
    color: var(--muted);
    font-size: 1.06rem;
    line-height: 1.78;
}

.hero-pills {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
}

.hero-pills span {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .03);
    color: #ededed;
    border-radius: 999px;
    font-size: .78rem;
    letter-spacing: .28px;
    text-transform: uppercase;
    padding: .45rem .72rem;
}

.hero-actions {
    margin-top: 1.55rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .7rem;
}

.btn-accent,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: .86rem 1.28rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-accent {
    background: linear-gradient(120deg, #E50914 0%, #ff5f54 58%, #ffa426 100%);
    color: #fff;
    border: 0;
    box-shadow: 0 15px 28px rgba(229, 9, 20, .3);
}

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

.btn-accent:hover,
.btn-outline:hover {
    color: #fff;
    transform: translateY(-2px);
}

.entry-slider {
    position: relative;
    min-height: clamp(220px, 34vw, 330px);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 22px 46px rgba(0, 0, 0, .42);
    background: #0d0d0d;
}

.entry-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .7s ease, transform 5.5s ease;
}

.entry-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 9, 9, .78), rgba(9, 9, 9, .55), rgba(9, 9, 9, .78));
}

.entry-slide.slide-1 {
    background-image: url("../images/hero/hero-chips.jpg");
}

.entry-slide.slide-2 {
    background-image: url("../images/hero/hero-roulette.jpg");
}

.entry-slide.slide-3 {
    background-image: url("../images/hero/casino-hall.jpg");
}

.entry-slide:first-child {
    opacity: 1;
}

.entry-slide.is-active {
    opacity: 1;
    transform: scale(1.08);
    z-index: 1;
}

.entry-slider-overlay {
    position: relative;
    z-index: 2;
    min-height: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: .7rem;
    padding: 1rem;
}

.entry-slider-overlay h2 {
    margin: 0;
    font-size: clamp(1.55rem, 4.5vw, 3.05rem);
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 10px 24px rgba(0, 0, 0, .48);
}

.entry-slider-overlay a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: min(320px, 86vw);
    padding: .88rem 1.25rem;
    border-radius: 12px;
    background: linear-gradient(120deg, #E50914 0%, #ff6157 58%, #ffb430 100%);
    color: #fff;
    font-weight: 700;
    border: 0;
    box-shadow: 0 14px 30px rgba(229, 9, 20, .3);
}

.entry-slider-overlay a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.providers-section {
    position: relative;
}

.providers-slider {
    overflow: hidden;
    border: 1px solid rgba(229, 9, 20, .45);
    border-radius: 16px;
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 193, 7, .18), transparent 28%),
        linear-gradient(135deg, #2a090d 0%, #4a0a13 48%, #5a0f1a 100%);
    padding: .9rem 0;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.providers-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: providers-marquee 28s linear infinite;
}

.providers-slider:hover .providers-track {
    animation-play-state: paused;
}

.provider-item {
    width: 230px;
    min-height: 74px;
    padding: .6rem;
    margin-right: .75rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 193, 7, .28);
    background: linear-gradient(130deg, rgba(143, 17, 32, .72), rgba(90, 8, 19, .9));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.provider-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .16);
}

.provider-item img {
    max-width: 180px;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .45));
}

.provider-item span {
    font-weight: 600;
    color: #fff3d0;
    font-size: .92rem;
}

@keyframes providers-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes pulse-ring {
    0% {
        opacity: .7;
        transform: scale(1);
    }
    75% {
        opacity: .15;
        transform: scale(1.08);
    }
    100% {
        opacity: 0;
        transform: scale(1.15);
    }
}

.info-card {
    height: 100%;
    background: rgba(17, 17, 17, .9);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
    transition: .2s ease;
}

.info-card:hover {
    border-color: rgba(255, 193, 7, .45);
    transform: translateY(-4px);
}

.info-card h2,
.info-card h3 {
    font-size: 1.1rem;
}

.info-card p {
    color: var(--muted);
    margin: 0;
}

.section-title {
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    color: var(--muted);
    max-width: 820px;
}

.post-card {
    height: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: .2s ease;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 9, 20, .6);
}

.post-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    object-fit: cover;
    background: #1a1a1a;
}

.post-body {
    padding: 1rem;
}

.post-category {
    display: inline-block;
    font-size: .75rem;
    color: #141414;
    background: var(--accent-gold);
    border-radius: 999px;
    padding: .2rem .6rem;
    margin-bottom: .7rem;
    font-weight: 600;
}

.post-title {
    font-size: 1rem;
    font-weight: 600;
    min-height: 48px;
}

.post-excerpt {
    color: var(--muted);
    font-size: .92rem;
}

.badge-meta {
    color: var(--muted);
    font-size: .78rem;
}

.faq-wrap .accordion-item {
    background: var(--card);
    border: 1px solid var(--border);
    margin-bottom: .7rem;
    border-radius: 10px;
    overflow: hidden;
}

.faq-wrap .accordion-button {
    background: #131313;
    color: #fff;
    font-weight: 600;
}

.faq-wrap .accordion-button:not(.collapsed) {
    color: #fff;
    background: #1b1b1b;
    box-shadow: inset 0 -1px 0 var(--border);
}

.faq-wrap .accordion-body {
    color: var(--muted);
}

.long-content {
    margin-top: 3.5rem;
    background: linear-gradient(145deg, rgba(17, 17, 17, .94), rgba(10, 10, 10, .9));
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.4rem;
}

.long-content p,
.long-content li {
    color: var(--muted);
}

.breadcrumb-wrap {
    background: #0f0f0f;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .65rem 1rem;
    margin-bottom: 1rem;
}

.breadcrumb-wrap .breadcrumb {
    margin: 0;
}

.breadcrumb-wrap .breadcrumb-item,
.breadcrumb-wrap .breadcrumb-item a {
    color: var(--muted);
    font-size: .88rem;
}

.article-content {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    margin-top: 1.4rem;
    margin-bottom: .7rem;
}

.article-content h1 {
    margin-top: .2rem;
    font-size: clamp(1.45rem, 3.2vw, 2.2rem);
}

.article-content h2 {
    font-size: clamp(1.15rem, 2.7vw, 1.6rem);
}

.article-content h3 {
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.article-content p,
.article-content li {
    color: var(--muted);
    line-height: 1.8;
}

.pagination .page-link {
    background: #141414;
    border: 1px solid var(--border);
    color: #fff;
}

.pagination .page-item.active .page-link {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

.site-footer {
    background: #0b0b0b;
    border-top: 1px solid var(--border);
}

.footer-title {
    font-weight: 700;
}

.footer-links li {
    margin-bottom: .35rem;
}

.footer-links a {
    color: var(--muted);
    font-size: .92rem;
}

.footer-links a:hover {
    color: #fff;
}

.disclaimer-text {
    color: #ffd8d8;
    font-size: .92rem;
}

.search-box,
.filter-select {
    background: #111;
    color: #fff;
    border: 1px solid var(--border);
}

.search-box:focus,
.filter-select:focus {
    background: #111;
    color: #fff;
    border-color: #c72f36;
    box-shadow: none;
}

@media (max-width: 992px) {
    .hero {
        padding-top: 2.8rem;
    }

    .hero-inner {
        border-radius: 18px;
        padding: 1.2rem 1rem 1.4rem;
    }

    .hero-brand-link span {
        font-size: clamp(1.85rem, 8.5vw, 2.8rem);
    }

    .hero-inner > p {
        font-size: .98rem;
        line-height: 1.65;
    }

    .hero-actions {
        gap: .55rem;
    }

    .btn-accent,
    .btn-outline {
        width: 100%;
        min-width: 0;
    }

    .provider-item {
        width: 180px;
        min-height: 64px;
    }

    .provider-item img {
        max-width: 134px;
        max-height: 34px;
    }

    .post-title {
        min-height: auto;
    }
}
