:root {
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --bg-card: #1e1e1e;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --color-yellow: #ffb400;
    --color-yellow-hover: #e5a200;
    --color-green: #28a745;
    --color-green-hover: #218838;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Header */
.header {
    background-color: var(--bg-darker);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--color-yellow);
}

.header-auth {
    display: flex;
    gap: 15px;
}

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

.burger-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
    border-radius: 2px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.1s;
    font-family: inherit;
    font-size: 14px;
    color: #111;
}

.btn:active {
    transform: scale(0.98);
}

.btn-login {
    background-color: var(--color-yellow);
}

.btn-login:hover {
    background-color: var(--color-yellow-hover);
}

.btn-register {
    background-color: var(--color-green);
    color: white;
}

.btn-register:hover {
    background-color: var(--color-green-hover);
}

.btn-real {
    background-color: var(--color-green);
    color: white;
}

.btn-real:hover {
    background-color: var(--color-green-hover);
}

.btn-demo {
    background-color: var(--color-yellow);
    color: #111;
}

.btn-demo:hover {
    background-color: var(--color-yellow-hover);
}

.btn-cookie {
    background-color: var(--color-yellow);
    color: #111;
}

.btn-cookie:hover {
    background-color: var(--color-yellow-hover);
}

/* Slider */
.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 30px;
    background-color: #000;
    border-radius: 10px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot-indicator {
    width: 30px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.3s;
}

.dot-indicator.active {
    background-color: var(--color-yellow);
}

/* Categories */
.categories {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 30px;
    scrollbar-width: none;
}

.categories::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid #333;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 500;
    transition: 0.3s;
}

.cat-btn:hover,
.cat-btn.active {
    border-color: var(--color-yellow);
    color: var(--color-yellow);
}

/* Sprite Logic for 6 icons */
.icon-sprite {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('cat-icons.webp');
    background-size: 600% 100%;
    filter: invert(1);
}
.cat-btn:hover .icon-sprite, .cat-btn.active .icon-sprite {
    filter: invert(70%) sepia(85%) saturate(700%) hue-rotate(350deg) brightness(101%) contrast(104%);
}
.icon-all { background-position: 0% 0%; }
.icon-slots { background-position: 20% 0%; }
.icon-jackpots { background-position: 40% 0%; }
.icon-live { background-position: 60% 0%; }
.icon-table { background-position: 80% 0%; }
.icon-drops { background-position: 100% 0%; }

/* Games Grid */
.games-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-yellow);
    border-radius: 50%;
    display: inline-block;
}

.show-all {
    color: var(--color-yellow);
    font-size: 0.9rem;
    border: 1px solid var(--color-yellow);
    padding: 5px 15px;
    border-radius: 20px;
    transition: 0.3s;
}

.show-all:hover {
    background-color: var(--color-yellow);
    color: #111;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.game-card {
    background-color: var(--bg-card);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.game-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.game-img img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
}

.game-card:hover .game-img img {
    transform: scale(1.05);
}

.game-title {
    font-size: 1rem;
    margin-bottom: 5px;
}

.game-provider {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.game-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-actions .btn {
    width: 100%;
    padding: 8px;
}

.games-action-center {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btn-show-all {
    background-color: var(--color-yellow);
    padding: 12px 40px;
    font-size: 16px;
    text-transform: uppercase;
    display: inline-block;
}

.btn-show-all:hover {
    background-color: var(--color-yellow-hover);
}

/* SEO Text */
.seo-text {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.seo-text h2 {
    color: var(--color-yellow);
    margin-bottom: 15px;
}

.seo-text h3 {
    margin: 25px 0 15px;
}

.seo-text p {
    color: #ccc;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.promo-box {
    background-color: var(--bg-dark);
    border: 1px dashed var(--color-yellow);
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.promo-code {
    color: var(--color-yellow);
    font-weight: bold;
    font-size: 1.2rem;
    flex-grow: 1;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.9rem;
}

.info-table th, .info-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #333;
    text-align: center;
}

.info-table th {
    color: var(--color-yellow);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Footer */
.footer {
/*    background-color: var(--bg-darker);*/
    padding: 40px 0 20px;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-payments {
    margin-bottom: 30px;
}

.payment-img {
    max-width: 100%;
    height: 40px;
    object-fit: cover;
    opacity: 0.6;
}

/* Footer Links */
.footer-links {
    margin-bottom: 25px;
}

.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px;
}

.footer-menu a {
    color: #888;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--color-yellow);
}

.footer-legal p {
    color: #666;
    font-size: 0.75rem;
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-legal .copyright {
    margin-top: 20px;
    color: #888;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: auto;
    background-color: var(--bg-card);
    border: 1px solid #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    max-width: 320px;
    z-index: 99999;
    transform: translateY(150%);
    transition: transform 0.4s ease-in-out;
}

.cookie-modal.show {
    transform: translateY(0);
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.4;
}

.cookie-content .btn {
    width: 100%;
}

/* Floating Auth Widget */
.floating-auth-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 320px;
    background-color: var(--bg-card);
    border: 1px solid #333;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    z-index: 999;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.floating-auth-widget.minimized {
    transform: translateY(calc(100% - 54px));
}

.widget-header {
    background-color: var(--bg-darker);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    font-weight: 600;
}

.widget-header:hover {
    background-color: #111;
}

.toggle-icon {
    transition: transform 0.3s;
    font-size: 0.8rem;
}

.floating-auth-widget.minimized .toggle-icon {
    transform: rotate(180deg);
}

.widget-content {
    padding: 20px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 15px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.auth-tab:hover {
    color: var(--text-main);
}

.auth-tab.active {
    color: var(--color-yellow);
    border-bottom: 2px solid var(--color-yellow);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.auth-form.active {
    display: flex;
}

.auth-input, .currency-select {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid #444;
    color: #fff;
    border-radius: 5px;
    font-family: var(--font-main);
}

.auth-input:focus, .currency-select:focus {
    outline: none;
    border-color: var(--color-yellow);
}

.w-100 {
    width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-right {
        gap: 15px;
    }
    .burger-btn {
        display: flex;
    }
    .header-nav {
        position: fixed;
        top: 71px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 71px);
        background-color: var(--bg-darker);
        border-left: 1px solid #333;
        transition: right 0.3s ease;
        z-index: 100;
        padding-top: 30px;
    }
    .header-nav.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .burger-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .burger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .burger-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-auth .btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    .promo-box {
        flex-direction: column;
        text-align: center;
    }
    .promo-box .btn {
        width: 100%;
    }
    
    .floating-auth-widget {
        right: 10px;
        bottom: 10px;
        width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    .info-table th, .info-table td {
        padding: 8px 5px;
        font-size: 0.8rem;
    }
    .cookie-modal {
        right: auto;
        left: 10px;
        bottom: 10px;
        max-width: 300px;
    }
}

/* Inner page styles */
/* НОВЫЕ СТИЛИ ДЛЯ ВНУТРЕННЕЙ СТРАНИЦЫ */

/* Breadcrumbs */
.breadcrumbs {
    padding: 15px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.breadcrumbs a {
    transition: color 0.3s;
}
.breadcrumbs a:hover {
    color: var(--color-yellow);
}
.breadcrumbs .separator {
    margin: 0 8px;
    color: #444;
}
.breadcrumbs .current {
    color: var(--text-main);
}

/* Slot Hero */
.slot-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 21/9;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.slot-hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease-out;
}
.slot-hero:hover .slot-hero-bg {
    transform: scale(1.05);
}
.slot-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
}
.slot-hero-top-left {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 2;
}
.slot-badge {
    background: rgba(10, 10, 10, 0.85);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 4px solid var(--color-yellow);
    backdrop-filter: blur(5px);
}
.slot-hero-center {
    margin: auto;
    display: flex;
    gap: 20px;
    z-index: 2;
}
.btn-large {
    padding: 16px 35px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Content Section & Typography */
.content-section {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 60px;
}
.content-section h1 {
    color: var(--color-yellow);
    font-size: 2.2rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    line-height: 1.2;
}
.content-section h2 {
    color: var(--text-main);
    font-size: 1.6rem;
    margin: 40px 0 20px;
}
.content-block p {
    color: #c4c4c4;
    margin-bottom: 18px;
    line-height: 1.7;
    font-size: 1.05rem;
}
.content-block span {
    color: var(--color-yellow);
    font-weight: 500;
}
.content-block ul,
.content-block ol {
    margin-bottom: 25px;
    padding-left: 25px;
    color: #c4c4c4;
}
.content-block li {
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 1.05rem;
}
.content-block ul li::marker {
    color: var(--color-yellow);
}
.content-block ol li::marker {
    color: var(--color-green);
    font-weight: bold;
}
.content-block div {
    margin-bottom: 20px;
}

/* Images in text */
img.content-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 30px 0;
    display: block;
    border: 1px solid #333;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Slot Table */
.slot-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: var(--bg-dark);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px #333;
}
.slot-table th, 
.slot-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #333;
    font-size: 1rem;
}
.slot-table th {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--color-yellow);
    font-weight: 600;
    width: 40%;
}
.slot-table td {
    color: #e0e0e0;
}
.slot-table tr:last-child th, 
.slot-table tr:last-child td {
    border-bottom: none;
}
.slot-table tr:hover td, 
.slot-table tr:hover th {
    background-color: rgba(255, 255, 255, 0.06);
}

/* FAQ Styles */
.faq-block {
    margin-top: 30px;
}
.faq-item {
    background-color: var(--bg-dark);
    border: 1px solid #333;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
    transition: background-color 0.3s, color 0.3s;
    user-select: none;
}
.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-yellow);
}
.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-yellow);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question {
    color: var(--color-yellow);
    border-bottom: 1px solid #333;
}
.faq-item.active .faq-question::after {
    content: '+';
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: var(--bg-dark);
}
.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px;
}
.faq-answer p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Responsive Inner Page */
@media (max-width: 768px) {
    .slot-hero {
        aspect-ratio: 16/9;
    }
    .slot-hero-center {
        flex-direction: column;
        width: 80%;
        gap: 15px;
    }
    .btn-large {
        width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
    }
    .slot-hero-top-left {
        top: 15px;
        left: 15px;
    }
    .slot-badge {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    .content-section {
        padding: 20px;
    }
    .content-section h1 {
        font-size: 1.6rem;
    }
    .slot-table th,
    .slot-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
        display: block;
        width: 100%;
    }
    .slot-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }
    .slot-table td {
        padding-top: 5px;
        border-bottom: 1px solid #333;
    }
}
/* ===== MOBILE FIXES FOR HEADER + SLOT DEMO ===== */




/* header */
.header {
    overflow-x: clip;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
    min-width: 0;
}

.logo {
    flex: 0 1 auto;
    min-width: 0;
}

.logo img {
    display: block;
    max-width: 190px;
    width: 100%;
    height: auto;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.header-nav {
    min-width: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    min-width: 0;
}

.header-auth a {
    margin-left: 0 !important;
    white-space: nowrap;
    min-width: 0;
    text-align: center;
}

/* demo area */
.slot-hero,
.content-section {
    width: 100%;
    min-width: 0;
}

.game-demo-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.game-demo-poster,
.game-demo-iframe {
    width: 100%;
    max-width: 100%;
}

.game-demo-buttons {
    position: absolute !important;
    inset: 0;
    z-index: 3 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 20px;
    text-align: center;
}

.game-demo-buttons .btn,
.game-demo-buttons a,
.game-demo-buttons button {
    margin: 0 !important;
}

.slot-table {
    width: 100%;
    table-layout: fixed;
    overflow-wrap: anywhere;
}

.promo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ===== TABLET ===== */
@media (max-width: 991px) {
    .game-demo-container {
        height: 560px !important;
    }

    .game-demo-buttons {
        padding: 16px;
        gap: 12px;
    }

    .game-demo-buttons .btn,
    .game-demo-buttons a,
    .game-demo-buttons button {
        padding: 12px 20px !important;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 767px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-container {
        gap: 10px;
    }

    .logo img {
        max-width: 150px;
    }

    .header-auth {
        gap: 8px;
    }

    .header-auth a {
        padding: 10px 14px !important;
        font-size: 15px;
        line-height: 1.2;
        min-height: 44px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        white-space: normal;
        word-break: break-word;
    }

    .game-demo-container {
        height: 320px !important;
        border-radius: 14px !important;
    }

    .game-demo-title {
        top: 12px !important;
        left: 12px !important;
    }

    .game-demo-buttons {
        inset: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px;
    }

    .game-demo-buttons .btn,
    .game-demo-buttons a,
    .game-demo-buttons button {
        width: min(100%, 260px);
        min-width: 0 !important;
        height: auto !important;
        min-height: 46px;
        padding: 12px 16px !important;
        font-size: 15px;
        line-height: 1.25;
        text-align: center;
        white-space: normal;
    }

    .game-demo-controls {
        top: 12px !important;
        right: 12px !important;
        gap: 8px !important;
    }

    .game-demo-controls button {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
    }

    .content-section h1 {
        font-size: 28px;
        line-height: 1.15;
        word-break: break-word;
    }

    .slot-table th,
    .slot-table td {
        display: block;
        width: 100%;
    }

    .slot-table th {
        border-bottom: 0;
    }

    .promo-box {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-box .btn,
    .promo-box a,
    .promo-box button {
        width: 100%;
        min-width: 0 !important;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 575px) {
    .header-container {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .logo {
        min-width: 0;
    }

    .header-right {
        display: contents;
    }

    .header-auth {
        grid-column: 1 / 2;
        justify-self: start;
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
        min-width: 0;
    }

    .header-auth a {
        min-width: 0;
        padding: 10px 12px !important;
        font-size: 14px;
    }

    .burger-btn {
        grid-column: 2 / 3;
        justify-self: end;
    }

    .header-nav {
        display: none;
    }

    .game-demo-container {
        height: 260px !important;
    }

    .game-demo-buttons .btn,
    .game-demo-buttons a,
    .game-demo-buttons button {
        width: 100%;
        max-width: 240px;
        font-size: 14px;
    }

    .breadcrumbs {
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .breadcrumbs::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 767px) {
    .header-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 14px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .logo img {
        max-width: 180px;
        height: auto;
    }

    .header-right {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        min-width: 0;
    }

    .header-nav {
        display: none;
        width: 100%;
    }

    .header-auth {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .header-auth a {
        flex: 1 1 0;
        min-width: 0;
        margin: 0 !important;
        padding: 12px 14px !important;
        white-space: normal;
        word-break: break-word;
        line-height: 1.2;
        text-align: center;
    }

    .burger-btn {
        display: inline-flex !important;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .game-demo-container {
        height: 320px !important;
    }

    .game-demo-buttons {
        position: absolute !important;
        inset: 0;
        z-index: 3 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px;
    }

    .game-demo-buttons .btn,
    .game-demo-buttons a,
    .game-demo-buttons button {
        width: 100%;
        max-width: 260px;
        min-width: 0 !important;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .header-auth {
        max-width: 280px;
    }

    .logo img {
        max-width: 160px;
    }

    .game-demo-container {
        height: 260px !important;
    }
}

.bonus-grid-section {
    /*background: #000;*/
    padding: 32px 16px;
}

.bonus-grid-container {
    max-width: 1280px;
    margin: 0 auto;
}

.bonus-grid-title {
    margin: 0 0 10px;
    color: #fff;
    text-align: center;
    font-size: clamp(28px, 4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bonus-card {
    position: relative;
    display: block;
    min-height: 240px;
    overflow: hidden;
    text-decoration: none;
    background: #111;
}

.bonus-card--large {
    min-height: 240px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow:
            0 10px 30px rgba(0, 0, 0, 0.35),
            0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.bonus-card img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.bonus-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 38%, rgba(0, 0, 0, 0.12) 100%);
    pointer-events: none;
    transition: background 0.4s ease;
}

.bonus-overlay {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2;
}

.bonus-overlay h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
}

.bonus-overlay p {
    margin: 0;
    color: #fff;
    font-size: clamp(14px, 1.2vw, 20px);
    line-height: 1.35;
    font-weight: 500;
}

.bonus-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f6b325;
    color: #111;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.bonus-card:hover img {
    transform: scale(1.08);
    filter: brightness(1.08);
}

.bonus-card:hover::after {
    background:
            linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.38) 40%, rgba(0, 0, 0, 0.06) 100%);
}

.bonus-card:hover .bonus-overlay h3,
.bonus-card:hover .bonus-overlay p {
    transform: translateY(-2px);
    transition: transform 0.35s ease;
}

@media (max-width: 991px) {
    .bonus-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bonus-card,
    .bonus-card--large,
    .bonus-card img {
        min-height: 220px;
    }
}

@media (max-width: 640px) {
    .bonus-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .bonus-grid-title {
        margin-bottom: 14px;
    }

    .bonus-card,
    .bonus-card--large,
    .bonus-card img {
        min-height: 210px;
    }

    .bonus-overlay {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    .bonus-badge {
        top: 12px;
        left: 12px;
        font-size: 12px;
        min-height: 30px;
        padding: 5px 10px;
    }
}
.pf-footer-licenses {
/*    background: #080404;*/
    padding: 34px 20px 28px;
    text-align: center;
}

.pf-footer-licenses__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.pf-footer-licenses__logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.pf-footer-licenses__logo--small {
    max-height: 72px;
}

.pf-footer-licenses__logo--cga {
    max-height: 76px;
}

.pf-footer-licenses__logo--age {
    max-height: 52px;
}

.pf-footer-licenses__logo--ssl {
    max-height: 50px;
}

.pf-footer-licenses__text {
    max-width: 860px;
    margin: 0 auto;
}

.pf-footer-licenses__text p {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
}

.pf-footer-licenses__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .pf-footer-licenses {
        padding: 28px 16px 24px;
    }

    .pf-footer-licenses__logos {
        gap: 16px;
        margin-bottom: 18px;
    }

    .pf-footer-licenses__logo--small {
        max-height: 58px;
    }

    .pf-footer-licenses__logo--cga {
        max-height: 62px;
    }

    .pf-footer-licenses__logo--age {
        max-height: 42px;
    }

    .pf-footer-licenses__logo--ssl {
        max-height: 42px;
    }

    .pf-footer-licenses__text p {
        font-size: 14px;
        line-height: 1.65;
    }
}

