        :root {
            --primary: #800020;
            --dark: #1a1a1a;
            --light: #ffffff;
            --gray: #f4f4f4;
            --text: #333333;
            --accent: #ffd700;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: 'Inter', sans-serif; background-color: var(--light); color: var(--text); line-height: 1.6; }

        header {
            background: var(--dark);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        }

        .header-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo { 
            color: white; 
            text-decoration: none; 
            font-weight: 800; 
            text-transform: uppercase; 
            display: flex; 
            align-items: center; 
            gap: 10px;
            font-size: 1.2rem;
        }

        .main-nav { display: none; }

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

        .header-icons {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .icon-item {
            background: #2a2a2a;
            border-radius: 12px;
            padding: 8px 14px;
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.95rem;
            font-weight: 700;
            color: white;
            text-decoration: none;
            transition: 0.3s;
            cursor: pointer;
        }

        .icon-item:hover {
            background: #3a3a3a;
            transform: translateY(-2px);
        }

        .icon-coin, .icon-gift {
            font-size: 1.3rem;
        }

        .icon-gift-wrapper {
            position: relative;
        }

        .gift-indicator {
            position: absolute;
            top: -4px;
            right: -4px;
            width: 10px;
            height: 10px;
            background: #00ff00;
            border-radius: 50%;
            animation: pulse 1.5s ease-in-out infinite;
            box-shadow: 0 0 8px #00ff00;
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.3;
                transform: scale(0.8);
            }
        }

        .icon-text {
            font-size: 0.9rem;
            letter-spacing: 0.5px;
        }

        @media (max-width: 768px) {
            .header-icons {
                gap: 6px;
            }
            
            .icon-item {
                padding: 6px 10px;
                font-size: 0.85rem;
            }
            
            .icon-coin, .icon-gift {
                font-size: 1.1rem;
            }
            
            .icon-text {
                font-size: 0.8rem;
            }
        }

        .burger-btn {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            width: 28px;
            height: 20px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 1001;
        }

        .burger-btn span {
            width: 28px;
            height: 3px;
            background: white;
            border-radius: 10px;
            transition: 0.3s;
        }

        .burger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
        .burger-btn.active span:nth-child(2) { opacity: 0; }
        .burger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

        .mobile-menu {
            position: fixed;
            top: 60px;
            left: 0;
            width: 100%;
            background: var(--dark);
            height: 0;
            overflow: hidden;
            transition: 0.3s ease;
            display: flex;
            flex-direction: column;
            z-index: 999;
        }

        .mobile-menu.open { height: 260px; border-top: 1px solid #333; padding: 10px 20px; }

        .mobile-menu a {
            color: white;
            text-decoration: none;
            padding: 15px 0;
            border-bottom: 1px solid #222;
            font-weight: 600;
        }

        @media (min-width: 1024px) {
            .main-nav { display: flex; gap: 20px; }
            .main-nav a { 
                color: #fff; 
                text-decoration: none; 
                font-size: 0.95rem; 
                font-weight: 600; 
                transition: 0.3s; 
            }
            .main-nav a:hover { color: #f34141; }
            .burger-btn { display: none; }
        }

        .hero { 
            padding: 40px 20px 50px; 
            background: #2a2a2a;
            text-align: left;
        }
        
        .hero-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .hero h1 { 
            font-size: 2.5rem;
            color: #fff;
            margin-bottom: 25px;
            line-height: 1.2;
            font-weight: 800;
        }
        
        .hero p { 
            max-width: 100%;
            color: #bbb;
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 30px;
            text-align: justify;
        }
        
        .hero-meta {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 10px;
        }
        
        .author-box {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 8px;
            background: #444;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        
        .author-info {
            display: flex;
            flex-direction: column;
        }
        
        .author-label {
            font-size: 0.85rem;
            color: #888;
        }
        
        .author-name {
            font-size: 0.95rem;
            color: #fff;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .verified-badge {
            width: 16px;
            height: 16px;
            fill: #00c853;
        }
        
        .info-box {
            display: flex;
            align-items: center;
            gap: 12px;
            background: rgba(255,255,255,0.05);
            padding: 12px 15px;
            border-radius: 8px;
        }
        
        .info-box svg {
            width: 24px;
            height: 24px;
            fill: #fff;
        }
        
        .info-content {
            display: flex;
            flex-direction: column;
        }
        
        .info-label {
            font-size: 0.85rem;
            color: #888;
        }
        
        .info-value {
            font-size: 0.95rem;
            color: #fff;
            font-weight: 600;
        }
        
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 1.8rem;
            }
                        
            .hero-meta {
                grid-template-columns: 1fr;
            }
        }

        .listing { padding: 20px; max-width: 1200px; margin: 0 auto; }
        
        .listing h2 {
            margin-top: 0;
            margin-bottom: 30px;
            border-left: 5px solid #dc2626b3;
            padding-left: 15px;
            font-size: 1.6rem;
        }

        .casino-card {
            background: white;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.15);
            align-items: stretch;
            position: relative;
            z-index: 10;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .casino-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 70px rgba(0,0,0,0.2);
        }

        .casino-number {
            position: absolute;
            top: 15px;
            left: 15px;
            width: 32px;
            height: 32px;
            background: #4a5568;
            color: white;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 0.95rem;
        }

        .brand-section { 
            display: flex; 
            flex-direction: row;
            align-items: center;
            gap: 15px;
            padding-top: 0;
        }

        .logo-box {
            width: 120px;
            height: 90px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            overflow: hidden;
            padding: 2px;
            flex-shrink: 0;
        }

        .logo-box img { 
            width: 100%; 
            height: 100%; 
            object-fit: contain;
        }

        .casino-info {
            display: flex;
            flex-direction: column;
            gap: 8px;
            flex: 1;
            min-width: 0;
        }

        .casino-info h3 { 
            font-size: 1.2rem; 
            color: var(--dark); 
            margin: 0;
            font-weight: 700;
            width: 100% !important;
        }

        .casino-name {
            font-size: 1.2rem; 
            color: var(--dark); 
            margin: 0;
            font-weight: 700;
            width: 100% !important;
        }

        .rating { 
            display: flex;
            align-items: center;
            gap: 8px;
            width: 100% !important;
        }

        .rating-stars {
            color: #ffd700;
            font-size: 1.1rem;
            letter-spacing: 2px;
        }

        .rating-number {
            color: #333;
            font-weight: 600;
            font-size: 0.95rem;
        }

        .bonus-section {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .bonus-label {
            font-size: 0.9rem;
            color: #666;
            font-weight: 600;
        }

        .bonus-text {
            font-size: 1.3rem;
            color: var(--dark);
            font-weight: 700;
            line-height: 1.3;
        }

        .casino-features {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .feature-row {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.95rem;
        }

        .feature-row svg {
            width: 16px;
            height: 16px;
            fill: #10b981;
            flex-shrink: 0;
            min-width: 16px;
        }

        .feature-row span {
            color: #333;
        }

        .cta-section {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .btn-casino {
            background: #dc2626;
            color: white;
            padding: 14px 35px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 700;
            font-size: 1rem;
            transition: 0.3s;
            white-space: nowrap;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
        }

        .btn-casino:hover {
            background: #b91c1c;
            transform: translateY(-2px);
        }

        /* DESKTOP стилі */
        @media (min-width: 1025px) {
            .casino-card {
                flex-direction: row;
                align-items: center;
                gap: 25px;
            }
            
            .brand-section {
                width: auto;
                padding-top: 25px;
            }
            
            .logo-box {
                width: 200px;
                height: 150px;
            }
            
            .bonus-section {
                flex: 1;
            }
            
            .btn-casino {
                width: auto;
            }
        }

        .content-section { padding: 20px 20px 20px 20px; max-width: 1100px; margin: 0 auto; }
        .content-section h2 { margin-top: 25px; margin-bottom: 25px; border-left: 5px solid #dc2626b3; padding-left: 15px; font-size: 1.6rem; }
        .content-section h2:first-of-type { margin-top: 0; }
        .content-section p { margin-bottom: 15px; line-height: 1.7; text-align: justify; }
        
        .hero p { 
            font-size: 1.05rem; 
            line-height: 1.8; 
            color: #ddd; 
            margin-bottom: 15px;
            text-align: justify;
        }
        
        /* Схований текст */
        .hidden-text {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-out;
        }
        
        .hidden-text.show {
            max-height: 500px;
            transition: max-height 0.5s ease-in;
        }
        
        /* Кнопка "Читати більше" */
        .read-more-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.2);
            color: #fff;
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            margin-bottom: 10px;
        }
        
        .read-more-btn:hover {
            background: rgba(255,255,255,0.15);
            border-color: rgba(255,255,255,0.3);
            transform: translateY(-2px);
        }
        
        .read-more-btn svg {
            fill: #fff;
            transition: transform 0.3s;
        }
        
        .read-more-btn.active svg {
            transform: rotate(180deg);
        }
        
        .content-section h3 { margin-top: 20px; margin-bottom: 15px; border-left: 4px solid #1a1a1a; padding-left: 12px; font-size: 1.3rem; font-weight: 700; }
        .content-section h4 { margin-top: 20px; margin-bottom: 12px; font-size: 1.1rem; font-weight: 700; }

        /* Стилі для зображень */
        .image-block {
            text-align: center;
            margin: 30px 0;
        }

        .image-block img {
            max-width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .image-block a {
            display: inline-block;
        }

        .image-block img:hover {
            transform: scale(1.02);
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        }

        .image-caption {
            margin-top: 10px;
            font-size: 0.9rem;
            color: #666;
            font-style: italic;
            text-align: center;
        }

        .feature-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 30px 0; }
        @media (min-width: 768px) { .feature-grid { grid-template-columns: 1fr 1fr; } }

        .feature-item {
            background: #ffffff;
            border: 1px solid #eee;
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }

        .feature-header { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
        .feature-header svg { width: 28px; height: 28px; fill: var(--primary); flex-shrink: 0; }
        .feature-item h3 { font-size: 1.15rem; color: var(--dark); margin: 0; font-weight: 700; }

        .table-wrapper { overflow-x: auto; margin: 25px 0; }
        table { width: 100%; border-collapse: collapse; min-width: 600px; }
        th { background: #dc2626b3; color: white; padding: 15px; text-align: left; }
        td { padding: 15px; border-bottom: 1px solid #ddd; text-align: justify; }

        .pros-cons { display: grid; grid-template-columns: 1fr; gap: 20px; }
        @media (min-width: 768px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
        .pc-box { padding: 25px; border-radius: 12px; }
        .pros { background: #e8f5e9; }
        .cons { background: #ffebee; }

        .faq-item { background: var(--gray); margin-bottom: 15px; padding: 20px; border-radius: 10px; }
        .faq-q { font-weight: 800; margin-bottom: 10px; color: var(--dark); }

        footer { background: var(--dark); color: white; padding: 50px 20px; text-align: center; }
        
        /* Кнопка вгору */
        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: #6b7280;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            transition: all 0.3s;
            z-index: 999;
        }
        
        .scroll-to-top:hover {
            background: #4b5563;
            transform: translateY(-5px);
            box-shadow: 0 6px 20px rgba(0,0,0,0.4);
        }
        
        .scroll-to-top.show {
            display: flex;
        }
        
        .scroll-to-top svg {
            fill: white;
        }
        .footer-nav { 
            display: flex; 
            flex-wrap: wrap; 
            justify-content: center; 
            gap: 15px; 
            margin-bottom: 30px; 
            padding-bottom: 20px; 
            border-bottom: 1px solid #444;
        }
        .footer-nav a { color: #aaa; text-decoration: none; font-size: 0.85rem; font-weight: 600; }
        .footer-nav a:hover { color: var(--primary); }
        
        /* Regulators / Licenses section */
        .footer-regulators {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin: 30px 0;
            padding: 20px 0;
            border-top: 1px solid #333;
            border-bottom: 1px solid #333;
        }
        
        .footer-regulators img {
            height: 40px;
            width: auto;
            opacity: 0.7;
            transition: opacity 0.3s, transform 0.3s;
            filter: grayscale(100%);
        }
        
        .footer-regulators a:hover img,
        .footer-regulators img:hover {
            opacity: 1;
            transform: translateY(-2px);
            filter: grayscale(0%);
        }
        
        @media (max-width: 768px) {
            .footer-regulators {
                gap: 15px;
            }
            
            .footer-regulators img {
                height: 32px;
            }
        }
        
        .footer-links { margin-top: 20px; }
        .footer-links a { color: #777; text-decoration: none; margin: 0 10px; font-size: 0.8rem; }


/* ── Floating TOC ──────────────────────────────────────────── */
.ftoc {
    position: fixed !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    display: none;
    align-items: stretch;
    font-family: 'Inter', sans-serif;
}

.ftoc.show {
    display: flex !important;
}

/* Arrow trigger button */
.ftoc__toggle {
    background: rgba(220, 38, 38, 0.55);
    border: none;
    border-radius: 0 6px 6px 0;
    width: 28px;
    height: 44px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    transition: background .2s;
    backdrop-filter: blur(4px);
}

.ftoc__toggle:hover {
    background: rgba(220, 38, 38, 0.85);
}

.ftoc__arrow {
    fill: none;
    stroke: #fff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s;
}

.ftoc--open .ftoc__arrow { transform: rotate(180deg); }

/* Panel */
.ftoc__panel {
    background: #1a1a1a;
    width: 0;
    overflow: hidden;
    transition: width .3s ease;
    display: flex;
    flex-direction: column;
    order: -1;
}

.ftoc--open .ftoc__panel { width: 260px; }

.ftoc__title {
    color: #888;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 16px 16px 8px;
    margin: 0;
    white-space: nowrap;
}

.ftoc__list {
    list-style: none;
    padding: 0 0 16px 0;
    margin: 0;
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #333 transparent;
}

.ftoc__list li a {
    display: block;
    color: #ccc;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 500;
    line-height: 1.4;
    padding: 6px 16px;
    border-left: 2px solid transparent;
    transition: color .2s, border-color .2s, background .2s;
    white-space: normal;
}

.ftoc__list li a:hover {
    color: #fff;
    border-left-color: #dc2626;
    background: rgba(220,38,38,.08);
}

.ftoc__list li a.ftoc--active {
    color: #fff;
    border-left-color: #dc2626;
    font-weight: 700;
}

@media (max-width: 768px) {
    .ftoc--open .ftoc__panel { width: 220px; }
    .ftoc__list li a { font-size: .78rem; }
}

/* ── Footer external authority links ───────────────────────────────────── */
.footer-regulators-ext {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin: 20px 0 10px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-regulators-ext a {
    color: #666;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    transition: color .2s;
}

.footer-regulators-ext a:hover {
    color: #aaa;
}
