* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: -0.011em;
    font-feature-settings: "cv01", "cv03", "cv04", "cv09";
    line-height: normal;
}
:root{
  --color-accent: #edc97f;      /* твой золотистый */
  --color-text: #ffffff;
  --color-bg: #0D1813;
  --color-border: #ffffff0a;
  --color-link: #22c55e;
}

a:-webkit-any-link:active {
    color: #edc97f !important;
}
body {
    height: 100%;
    overflow-x: hidden;
    background: linear-gradient(180deg, #0a1612 0%, #0d1a15 50%, #0a1410 100%);
    -ms-touch-action: pan-x pan-y;
    touch-action: pan-x pan-y;
    color: #fff;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(14, 33, 22, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 40;
    backdrop-filter: blur(15px);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.menu-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
    font-size: 25px;
}

.menu-btn:hover {
    background-color: #16a34a;
}

.logo img {
    height: 60px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background-color: #ffffff29;
    color: #fff;
}

.btn-login:hover {
    background-color: #15803d;
}

.btn-register {
    background-color: #22c55e;
    color: #fff;
}

.btn-register:hover {
    background-color: #16a34a;
}

/* Header Icons Navigation */
.header-top-icons {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 20px;
}


.header-top-icons::-webkit-scrollbar {
    display: none;
}

.header-top-icons .head-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400 !important;
    transition: color .2s ease, transform .2s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.header-top-icons .head-item .head-ico {
    display: block;
    stroke: currentColor;
    width: 24px;
    height: 24px;
}

.header-top-icons .head-item:hover {
    color: #edc97f;
    transform: translateY(-1px);
}

.header-top-icons .head-item:active {
    color: #edc97f;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #0D1813;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s;
    overflow-y: auto;
    padding: 1rem;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.sidebar-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-support {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.support-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #16a34a;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.support-btn:hover {
    background-color: #15803d;
}

.sidebar-menu {
    list-style: none;
    padding-left: 0;
}

.sidebar-menu li {
    margin-bottom: 0.25rem;
}

.sidebar-menu .nav-item,
.sidebar-social .nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s;
}

.sidebar-menu .nav-item:hover,
.sidebar-social .nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-icon svg {
    width: 24px;
    height: 24px;
}

.sidebar-social {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-social .nav-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 45;
    display: none;
}

.overlay.active {
    display: block;
}

/* Main Content */
main {
    padding-top: 14rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* Providers Section */
.providers {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
}

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

.provider-card {
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    background-color: #1f2937;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Promo Section */
.promo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.promo-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.promo-header a {
    color: #22c55e;
    text-decoration: none;
    transition: color 0.3s;
}

.promo-header a:hover {
    color: #16a34a;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.promo-card {
    background-color: #1f2937;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.promo-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.promo-content {
    padding: 1rem;
}

.promo-date {
    color: #22c55e;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.promo-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.promo-desc {
    font-size: 0.875rem;
    color: #9ca3af;
}



/* Media Queries */
@media (max-width: 768px) {
    header {
        padding-bottom: 0;
    }

    .header-top {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }

    .menu-btn {
        order: 1;
        padding: 0.5rem;
    }

    .logo {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .logo img {
        height: 60px;
        margin-right: 30px;
    }

    .header-actions {
        order: 3;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .header-top-icons {
        order: 4;
        width: 100%;
        padding: 12px 1rem;
        gap: 20px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow: hidden;
        scrollbar-width: auto;
    }

    .header-top-icons .head-item {
        flex-direction: column;
        font-size: 12px;
        min-width: auto;
    }

    main {
        padding-top: 15rem;
    }

    .cookie-notice {
        max-width: none;
        right: 1rem;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .header-top-icons .head-item {
        flex-direction: row;
    }
}

 .promo-banner {
            width: 100%;
            max-width: 1200px;
            background: url(img/banner-unreg-bg.jpg) no-repeat center/cover;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            display: grid;
            grid-template-columns: 1fr auto 300px;
            position: relative;
            gap: 20px;
        }


        .promo-content {
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 20px;
            position: relative;
            z-index: 1;
        }

        .promo-label {
            color: #e0e0e0;
            font-size: 16px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .promo-title {
            color: #ffffff;
            font-size: 56px;
            font-weight: 800;
            line-height: 1.1;
            text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .promo-subtitle {
            color: #ffffff;
            font-size: 28px;
            font-weight: 600;
            margin-top: -10px;
        }

        .promo-btn {
            display: inline-block;
            padding: 18px 50px;
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
            color: #ffffff;
            font-size: 18px;
            font-weight: 700;
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.3s ease;
            box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
            border: none;
            cursor: pointer;
            width: fit-content;
        }

        .promo-btn:hover {
            background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(34, 197, 94, 0.5);
        }

        .promo-image {
            display: flex;
            align-items: flex-end;
            justify-content: center;
            position: relative;
            z-index: 1;
        }

        .character-img {
            max-width: 280px;
            height: auto;
            filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
        }

        .stats-panel {
            background: rgba(13, 24, 19, 0.95);
            border-color: #ffffff0a;
            backdrop-filter: blur(10px);
            padding: 40px 30px;
            display: flex;
            flex-direction: column;
            gap: 30px;
            position: relative;
            z-index: 1;
        }

        .stat-item {
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }

        .stat-icon {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            flex-shrink: 0;
        }

        .stat-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .stat-label {
            color: #9ca3af;
            font-size: 13px;
            font-weight: 500;
        }

        .stat-value {
            color: #ffffff;
            font-size: 20px;
            font-weight: 700;
        }

        /* Адаптивность */
        @media (max-width: 1024px) {
            .promo-banner {
                grid-template-columns: 1fr auto;
            }

            .stats-panel {
                width: 280px;
            }

            .promo-content {
                padding: 40px;
            }

            .promo-title {
                font-size: 48px;
            }
        }

        @media (max-width: 768px) {
            .promo-banner {
                grid-template-columns: 1fr;
                grid-template-rows: auto auto auto;
            }

            .promo-content {
                padding: 30px;
                text-align: center;
                align-items: center;
            }

            .promo-title {
                font-size: 40px;
            }

            .promo-subtitle {
                font-size: 24px;
            }

            .promo-image {
                order: -1;
                /* padding: 20px 20px 0; */
            }

            .character-img {
                max-width: 200px;
            }

            .stats-panel {
                width: 100%;
                padding: 30px;
                gap: 20px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 10px;
            }

            .promo-content {
                padding: 20px;
            }

            .promo-title {
                font-size: 32px;
            }

            .promo-subtitle {
                font-size: 20px;
            }

            .promo-btn {
                padding: 15px 40px;
                font-size: 16px;
                width: 100%;
            }

            .stats-panel {
                padding: 20px;
            }

            .stat-icon {
                width: 30px;
                height: 30px;
                font-size: 18px;
            }

            .stat-value {
                font-size: 18px;
            }
        }
.games-section {
      background: #ffffff0a;
    position: relative;
    padding: 24px 24px;
    z-index: 1;
    border-radius: 16px;
    border: 1px solid #ffffff0a;
            margin-top: 40px;
        }

        /* Header */
        .games-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 30px;
        }

        .games-icon span img {
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
        }

        .games-title {
            font-size: 28px;
            font-weight: 700;
            color: #fff;
        }

        .games-count {
            color: #10b981;
            font-size: 16px;
            font-weight: 500;
            text-decoration: none;
            transition: color 0.3s;
        }

        .games-count:hover {
            color: #22c55e;
        }

        .games-provider {
            color: #9ca3af;
            font-size: 14px;
            margin-left: auto;
            text-decoration: none;
            transition: color 0.3s;
        }

        .games-provider:hover {
            color: #fff;
        }

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

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

        .category-btn {
            padding: 12px 24px;
            background: rgba(16, 185, 129, 0.1);
            border: 1px solid rgba(16, 185, 129, 0.2);
            color: #10b981;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            text-decoration: none;
            white-space: nowrap;
            transition: all 0.3s;
        }

        .category-btn:hover,
        .category-btn.active {
            background: rgba(16, 185, 129, 0.2);
            border-color: #10b981;
            color: #22c55e;
        }

        /* Sub Navigation */
        .games-subnav {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }

        .subnav-link {
            color: #9ca3af;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            transition: color 0.3s;
            white-space: nowrap;
        }

        .subnav-link:hover {
            color: #fff;
        }

        /* Games Grid */
        .games-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
            gap: 20px;
        }

        .game-card {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            background: #1a2e23;
        }

        .game-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
        }

        .game-card img {
            width: 100%;
            height: 160px;
            object-fit: cover;
            display: block;
        }

        .game-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #ef4444;
            color: #fff;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
        }

        .game-jackpot {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
            color: #fbbf24;
            padding: 6px 12px;
            border-radius: 6px;
            font-size: 11px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .game-overlay {
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            opacity: 0;
            transition: opacity 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
        }

        .game-card:hover .game-overlay {
            opacity: 1;
        }

        .play-button {
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transform: scale(0);
            transition: transform 0.3s ease;
            box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5);
        }

        .game-card:hover .play-button {
            transform: scale(1);
        }

        .play-icon {
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 12px 0 12px 20px;
            border-color: transparent transparent transparent #ffffff;
            margin-left: 4px;
        }

        .game-actions {
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            display: flex;
            justify-content: space-between;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .game-card:hover .game-actions {
            opacity: 1;
        }

        .action-btn {
            width: 36px;
            height: 36px;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(10px);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 18px;
            transition: background 0.3s;
        }

        .action-btn:hover {
            background: rgba(16, 185, 129, 0.9);
        }

        .game-info {
            display: none;
        }

        .game-name {
            color: #fff;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 4px;
        }

        .game-provider {
            color: #9ca3af;
            font-size: 12px;
        }

        /* Responsive */
        @media (max-width: 1200px) {
            .games-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .games-header {
                flex-wrap: wrap;
            }

            .games-provider {
                margin-left: 0;
                width: 100%;
            }

            .games-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 15px;
            }

            .game-card img {
                height: 140px;
            }

            .category-btn {
                padding: 6px 10px;
                font-size: 10px;
            }
        }

        @media (max-width: 480px) {
            .games-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .games-categories {
                gap: 6px;
            }

            .game-card img {
                height: 120px;
            }

            .games-title {
                font-size: 24px;
            }
        }
        .play-button {
    /* существующие стили */
    text-decoration: none;
}

.how-to-play-section {
    background: linear-gradient(180deg, #0f2e21 0%, #1a3d2e 100%);
    padding: 60px 20px;
	 margin-top: 40px;
	     padding: 24px 24px;
    z-index: 1;
    border-radius: 16px;
}

.how-to-play-container {
    max-width: 1480px;
    margin: 0 auto;
}
.how-to-play-container h1 {
	margin-bottom: 20px;
	font-size: 40px;
}
.how-to-play-container p {
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
}
.how-to-play-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 45px;
    padding-left: 10px;
}

.how-to-play-emoji {
    font-size: 36px;
    line-height: 1;
}

.how-to-play-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
}

.how-to-play-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.play-step-card {
    background: linear-gradient(145deg, rgba(26, 61, 46, 0.8) 0%, rgba(15, 46, 33, 0.9) 100%);
    border-radius: 20px;
    padding: 30px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.play-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-step-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 52px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
}

.play-step-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.15);
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
}

.play-icon-container {
    width: 180px;
    height: 180px;
    margin: 20px 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-icon-bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.play-icon-container img {
	width: 100%;
	object-fit: contain;
}
.play-icon-1 {
    background: linear-gradient(135deg, #6b5dd8 0%, #9d4edd 100%);
    box-shadow: 0 15px 35px rgba(107, 93, 216, 0.35);
}

.play-icon-1::before {
    content: '✓';
    font-size: 90px;
    color: #4ade80;
    font-weight: 700;
}

.play-icon-2 {
    background: linear-gradient(135deg, #2d5a3f 0%, #1e3a2a 100%);
    box-shadow: 0 15px 35px rgba(45, 90, 63, 0.4);
}

.play-icon-2::before {
    content: '🪙';
    font-size: 80px;
}

.play-icon-3 {
    background: linear-gradient(135deg, #3a2d28 0%, #2a1f1b 100%);
    box-shadow: 0 15px 35px rgba(58, 45, 40, 0.4);
}

.play-icon-3::before {
    content: '🍓';
    font-size: 80px;
}

.play-icon-4 {
    background: linear-gradient(135deg, #2d3d52 0%, #1e2836 100%);
    box-shadow: 0 15px 35px rgba(45, 61, 82, 0.4);
}

.play-icon-4::before {
    content: '🏆';
    font-size: 80px;
}

.play-icon-5 {
    background: linear-gradient(135deg, #2d524a 0%, #1e3630 100%);
    box-shadow: 0 15px 35px rgba(45, 82, 74, 0.4);
}

.play-icon-5::before {
    content: '⏱️';
    font-size: 80px;
}

.play-step-title {
    font-size: 16px;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.4;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-step-card:nth-child(1) .play-step-title {
    color: #ffffff;
    font-weight: 600;
}

.play-step-card:not(:nth-child(1)) .play-step-title {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.play-step-button {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.play-step-button a {
	color: #fff;;
}
.play-step-card:nth-child(1) .play-step-button {
    background: #4ade80;
    color: #0d1f18;
}

.play-step-card:nth-child(1) .play-step-button:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 222, 128, 0.4);
}

.play-step-card:not(:nth-child(1)) .play-step-button {
    background: rgba(74, 222, 128, 0.15);
    color: rgba(255, 255, 255, 0.3);
}

.play-step-card:not(:nth-child(1)) .play-step-button:hover {
    background: rgba(74, 222, 128, 0.25);
}

/* Планшеты */
@media (max-width: 1200px) {
    .how-to-play-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .how-to-play-title {
        font-size: 32px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .how-to-play-section {
        padding: 40px 15px;
    }

    .how-to-play-header {
        margin-bottom: 30px;
    }

    .how-to-play-emoji {
        font-size: 32px;
    }

    .how-to-play-title {
        font-size: 24px;
    }

    .how-to-play-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .play-step-card {
        padding: 25px 20px;
    }

    .play-icon-container {
        width: 140px;
        height: 140px;
        margin: 15px 0 25px;
    }

    .play-icon-bg::before {
        font-size: 60px !important;
    }

    .play-step-number {
        font-size: 42px;
        top: 15px;
        right: 18px;
    }

    .play-step-arrow {
        display: none;
    }

    .play-step-title {
        font-size: 15px;
        min-height: auto;
        margin-bottom: 18px;
    }

    .play-step-button {
        padding: 13px 20px;
        font-size: 14px;
    }
}

/* Маленькие экраны */
@media (max-width: 480px) {
    .how-to-play-title {
        font-size: 20px;
    }

    .play-icon-container {
        width: 120px;
        height: 120px;
    }

    .play-icon-bg::before {
        font-size: 50px !important;
    }
}




.head-item.active {
    color: var(--color-accent);
    position: relative;
}



.head-item.active .head-ico use {
    fill: var(--color-accent);
}

/* TOP NAV: активный */
.header-top-icons .head-item.active{
  color: var(--color-accent);
  position: relative;
}

/* чтобы и иконка подсвечивалась */
.header-top-icons .head-item.active .head-ico use{
  fill: var(--color-accent);
}

/* SIDEBAR: активный */
.sidebar-menu .nav-item.active{
  background: rgba(255,255,255,0.08);
  outline: 1px solid rgba(255,255,255,0.12);
  color: var(--color-accent);
}
/* =========================
   RIOBET CONTENT STYLE
   Scope: .how-to-play-section
   ========================= */

.how-to-play-section{
  /* палитра/тема под скрин */
  --rb-bg: #0b1714;
  --rb-panel: rgba(255,255,255,.04);
  --rb-panel2: rgba(255,255,255,.06);
  --rb-border: rgba(255,255,255,.10);
  --rb-text: rgba(255,255,255,.88);
  --rb-muted: rgba(255,255,255,.65);
  --rb-title: rgba(255,255,255,.96);

  --rb-accent: #20e36b;        /* фирм. зелёный */
  --rb-accent2:#0fbf55;
  --rb-gold: #c7b07a;          /* “логотипный” золотой */
  --rb-radius: 18px;
  --rb-shadow: 0 18px 55px rgba(0,0,0,.45);
  --rb-shadow2: 0 10px 28px rgba(0,0,0,.35);

  color: var(--rb-text);
}

.how-to-play-container{
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 18px 64px;
}

/* внешний “glass”-блок (у тебя внутри есть лишний section/div — просто стилизуем по факту) */
.how-to-play-container > section{
  background: linear-gradient(180deg, rgba(13,28,23,.72), rgba(10,20,17,.72));
  border: 1px solid rgba(32,227,107,.10);
  border-radius: 22px;
  box-shadow: var(--rb-shadow);
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

/* мягкое свечение сверху как у Riobet */
.how-to-play-container > section::before{
  content:"";
  position:absolute;
  inset: -2px;
  background:
    radial-gradient(900px 220px at 20% 0%, rgba(32,227,107,.18), transparent 60%),
    radial-gradient(700px 220px at 80% 0%, rgba(199,176,122,.12), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  pointer-events:none;
  opacity: .9;
}

/* =========================
   Typography
   ========================= */
.how-to-play-section h1{
  margin: 8px 0 14px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.12;
  font-size: clamp(26px, 3vw, 44px);
  color: var(--rb-title);
  text-align: left;
  position: relative;
  padding-bottom: 10px;
}

.how-to-play-section h1::after{
  content:"";
  display:block;
  width: 140px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--rb-accent), rgba(32,227,107,.25));
  box-shadow: 0 0 0 4px rgba(32,227,107,.08);
}

.how-to-play-section h2{
  margin: 24px 0 10px;
  font-weight: 900;
  line-height: 1.2;
  font-size: clamp(18px, 1.7vw, 26px);
  color: var(--rb-title);
  text-align: left;
  padding-left: 14px;
  position: relative;
}

.how-to-play-section h2::before{
  content:"";
  position:absolute;
  left:0;
  top:.18em;
  bottom:.18em;
  width:4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--rb-accent), rgba(32,227,107,.22));
  box-shadow: 0 0 0 4px rgba(32,227,107,.10);
}

/* h3 аккуратным “бейджем” */
.how-to-play-section h3{
  margin: 16px 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--rb-border);
  background: rgba(255,255,255,.03);
  color: var(--rb-title);
  font-weight: 900;
  text-align: left;
}

.how-to-play-section p{
  margin: 0 0 14px;
  line-height: 1.85;
  color: var(--rb-text);
  max-width: 92ch;
}

.how-to-play-section strong{
  color: rgba(255,255,255,.96);
  font-weight: 900;
}

/* =========================
   Images
   ========================= */
.how-to-play-section figure{
  margin: 14px 0 20px;
}

.how-to-play-section img{
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--rb-shadow2);
}

/* =========================
   Buttons (твои wp-block-buttons + btn-register)
   ========================= */
.how-to-play-section .wp-block-buttons{
  justify-content: flex-start !important; /* убираем центр */
}

.how-to-play-section .wp-block-button__link,
.how-to-play-section a.btn-size-big{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 12px 18px;
  border-radius: 14px;

  background: linear-gradient(135deg, var(--rb-accent), var(--rb-accent2));
  color: #062012 !important;

  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;

  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 24px rgba(32,227,107,.20);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.how-to-play-section .wp-block-button__link:hover,
.how-to-play-section a.btn-size-big:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(32,227,107,.26);
  filter: brightness(1.05);
}

/* =========================
   Lists (UL/OL)
   ========================= */
.how-to-play-section ul,
.how-to-play-section ol{
  margin: 12px 0 18px;
  padding: 0;
  max-width: 96ch;
  display: grid;
  gap: 10px;
}

/* UL — зелёные маркеры */
.how-to-play-section ul li{
  list-style: none;
  position: relative;

  padding: 12px 14px 12px 44px;
  border-radius: 16px;
  border: 1px solid var(--rb-border);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
}

.how-to-play-section ul li::before{
  content:"";
  position:absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--rb-accent);
  box-shadow: 0 0 0 4px rgba(32,227,107,.16);
}

/* OL — нумерация “пилюлями” */
.how-to-play-section ol{ counter-reset: rb; }
.how-to-play-section ol li{
  list-style: none;
  counter-increment: rb;

  position: relative;
  padding: 12px 14px 12px 52px;
  border-radius: 16px;
  border: 1px solid var(--rb-border);
  background: rgba(255,255,255,.03);
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
}

.how-to-play-section ol li::before{
  content: counter(rb);
  position: absolute;
  left: 14px;
  top: 12px;

  width: 26px;
  height: 26px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  font-weight: 900;
  font-size: 12px;
  color: #062012;

  background: linear-gradient(135deg, var(--rb-accent), #7dd3fc);
  box-shadow: 0 0 0 4px rgba(32,227,107,.12);
}
/*sssstiiillllleeee*/
/* =========================
   Table (у тебя table class="wp-block-list")
   ========================= */
.how-to-play-section table{
  width: 100%;
  margin: 14px 0 24px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;

  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--rb-shadow2);
}

.how-to-play-section table th{
  text-align: left;
  padding: 14px 14px;
  color: rgba(255,255,255,.95);
  font-weight: 900;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(135deg, rgba(32,227,107,.18), rgba(199,176,122,.12));
}

.how-to-play-section table td{
  padding: 14px 14px;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.how-to-play-section table tbody tr:nth-child(odd) td{
  background: rgba(255,255,255,.02);
}

.how-to-play-section table tbody tr:hover td{
  background: rgba(32,227,107,.08);
}

.how-to-play-section table tr:last-child td{
  border-bottom: 0;
}

/* mobile table scroll */
@media (max-width: 860px){
  .how-to-play-container{ padding: 18px 12px 54px; }
  .how-to-play-container > section{ padding: 18px 14px; }

  .how-to-play-section table{
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .how-to-play-section table th,
  .how-to-play-section table td{
    min-width: 180px;
  }
}
/* ===== Subtle gold shimmer (Riobet) ===== */

/* 1) чуть золотистее по умолчанию */
.how-to-play-section h1,
.how-to-play-section h2,
.how-to-play-section h3{
  color: rgba(255, 245, 220, .92);
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}

/* 2) перелив (очень мягкий) */
@media (prefers-reduced-motion: no-preference) {
  .how-to-play-section h1,
  .how-to-play-section h2{
    background-image:
      linear-gradient(90deg,
        rgba(255,255,255,.88) 0%,
        rgba(199,176,122,.95) 18%,
        rgba(255,255,255,.88) 36%,
        rgba(199,176,122,.95) 54%,
        rgba(255,255,255,.88) 72%,
        rgba(199,176,122,.90) 90%,
        rgba(255,255,255,.88) 100%);
    background-size: 220% 100%;
    background-position: 0% 50%;

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    animation: rbGoldShine 7s ease-in-out infinite;
  }

  @keyframes rbGoldShine{
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
}

/* 3) если пользователь просит меньше анимаций — без перелива */
@media (prefers-reduced-motion: reduce) {
  .how-to-play-section h1,
  .how-to-play-section h2{
    animation: none !important;
    background: none !important;
    color: rgba(255, 245, 220, .92) !important;
  }
}

/* 4) чуть золотистый акцент на strong (без анимации) */
.how-to-play-section strong{
  color: rgba(199,176,122,.95);
}
/* ===== Dim white (but readable) ===== */
.how-to-play-section{
  --rb-text: rgba(255,255,255,.84);
  --rb-muted: rgba(255,255,255,.62);
  --rb-title: rgba(255,255,255,.92);
}

/* основной текст */
.how-to-play-section p,
.how-to-play-section li,
.how-to-play-section td{
  color: var(--rb-text) !important;
}


