* {
    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: #fe284a;
    --color-text: #ffffff;
    --color-bg: #0D1813;
    --color-border: #ffffff0a;
    --color-link: #fe284a;
}

h1,
h2,
h3 {
    margin-bottom: 0;
}

a:-webkit-any-link:active {
    color: #edc97f !important;
}

body {
    height: 100%;
    overflow-x: hidden;
    background: #212132;
    -ms-touch-action: pan-x pan-y;
    touch-action: pan-x pan-y;
    color: #fff;
}

.form_search {
    max-width: 300px;
}

@media (max-width: 1024px) {
    .game-catalog_header {
        flex-direction: row;
        max-width: 100%;
        padding: 0;
    }
}

@media(max-width:768px) {
    .form_search {
        max-width: 100%;
    }

    .game-catalog_header {
        flex-direction: column;
        max-width: 425px;
        padding: 0;
    }
}

/* Header */
header {
    max-height: 100% !important;
    min-height: 0px !important;
    display: block;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(37, 37, 54, .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: #fe284a;
}

.logo img {
    height: 40px;
}

.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: #fe284a;
}

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

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

/* 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: #fe284a;
    transform: translateY(-1px);
}

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

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: rgba(37, 37, 54, .95);
    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: #fe284a;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

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

.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: 9rem;
    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: #37201f;
    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: #fe284a;
    text-decoration: none;
    transition: color 0.3s;
}

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

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

.promo-card {
    background-color: #37231f;
    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: #fe284a;
    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: 30px;
        margin-right: 20px;
    }

    .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 {
        display: none;
        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: 10rem;
        padding-left: 0;
        padding-right: 0;
    }

    .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-vavada.png) no-repeat left/cover;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: auto 300px;
    position: relative;
    gap: 20px;
}


.promo-content {
    max-width: 100%;
    width: 100%;
    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, #fe284a 0%, #d62000 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(239, 40, 0, 0.4);
    border: none;
    cursor: pointer;
    width: fit-content;
}

.promo-btn:hover {
    background: linear-gradient(135deg, #fe284a 0%, #c11701 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(239, 32, 0, 0.4);
}

.promo-image {
    max-width: 75%;
    width: 100%;
    height: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.promo-image img {
    object-fit: contain;
    width: 100%;
    height: auto;
}

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

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

.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 {
        margin: 0 auto;
        order: -1;
        padding: 20px 0 0;
        /* 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: #fe284a;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.games-count:hover {
    color: #fe284a;
}

.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(185, 38, 16, 0.1);
    border: 1px solid rgba(185, 38, 16, 0.2);
    color: #fe284a;
    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(185, 41, 16, 0.2);
    border-color: #fe284a;
    color: #fe284a;
}

/* 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(185, 36, 16, 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, #fe284a 0%, #d62b00 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(197, 67, 34, 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(185, 16, 16, 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: #ffffff0a;
    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(61, 28, 26, 0.101) 0%, rgba(46, 17, 15, 0.307) 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, #d86b5d 0%, #9d4edd 100%);
    box-shadow: 0 15px 35px rgba(216, 103, 93, 0.35);
}

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

.play-icon-2 {
    background: linear-gradient(135deg, #5a2f2d 0%, #3a201e 100%);
    box-shadow: 0 15px 35px rgba(90, 49, 45, 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, #522f2d 0%, #361f1e 100%);
    box-shadow: 0 15px 35px rgba(82, 49, 45, 0.4);
}

.play-icon-4::before {
    content: 'ðŸ†';
    font-size: 80px;
}

.play-icon-5 {
    background: linear-gradient(135deg, #52302d 0%, #361e1e 100%);
    box-shadow: 0 15px 35px rgba(82, 46, 45, 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: #fe284a;
    color: #0d1f18 !important;
}

.play-step-card:nth-child(1) .play-step-button a{
    color: #0d1f18 !important;
}
.play-step-card:nth-child(1) .play-step-button:hover {
    background: #fe284a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(222, 84, 74, 0.4);
}

.play-step-card:not(:nth-child(1)) .play-step-button {
    background: rgba(239, 32, 0, 0.3);
    color: rgba(255, 255, 255, 0.3);
}

.play-step-card:not(:nth-child(1)) .play-step-button:hover {
    background: rgba(239, 32, 0, 0.5);
}


@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);
}

.popup {
    z-index: 1000;
    width: 470px;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #252528;
    color: #fff;
    border-radius: 20px;
    padding: 20px 25px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

@media (max-width: 768px) {
    .popup {
        width: 95%;
        padding: 6px;
        gap: 10px;
        border-radius: 10px;
    }
}

.popup_block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .popup_block {
        display: flex;
        justify-content: space-around;
    }
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.476);
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 6px;
}

@media (max-width: 768px) {
    .popup-close {
        font-size: 16px;
        right: 6px;
        top: 3px;
    }
}

.block_txt {
    width: 40%;
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.block_txt span {
    font-size: 35px;
    color: #ffffff;
    font-weight: 700;
}

@media (max-width: 768px) {
    .block_txt span {
        font-size: 24px;
    }
}

.block_txt p {
    color: #fff;
    font-size: 18px;
}

@media (max-width: 768px) {
    .block_txt p {
        font-size: 14px;
    }
}

.block_btn {
    border-radius: 6px;
    background-color: #fe284a;
}

.block_btn a {
    color: #fff;

    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
}

@media (max-width: 768px) {
    .block_btn a {
        font-size: 14px;
    }
}


.shine-button {
    position: relative;
    overflow: hidden;
}

.shine-button:after {
    content: '';
    top: 0;
    transform: translateX(100%);
    width: 100%;
    height: 220px;
    position: absolute;
    z-index: 1;
    animation: slide 2s infinite;

    /*
  CSS Gradient - complete browser support from http://www.colorzilla.com/gradient-editor/
  */
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 0.8)), color-stop(99%, rgba(128, 186, 232, 0)), color-stop(100%, rgba(125, 185, 232, 0)));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%);
    /* IE10+ */
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(128, 186, 232, 0) 99%, rgba(125, 185, 232, 0) 100%);
    /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#007db9e8', GradientType=1);
    /* IE6-9 */
}

/* shine animation */

@keyframes slide {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

ul {
    list-style-position: inside;
}

.wrapper {
    /*background: radial-gradient(#272727, #1b1b1b);*/
    display: grid;
    grid-template-areas: 'overlap';
    place-content: center;
    text-transform: uppercase;
    height: auto;
}

.wrapper>div {
    background-clip: text;
    -webkit-background-clip: text;
    color: #363833;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: clamp(3em, 6vw, 4rem);
    grid-area: overlap;
    letter-spacing: 1px;
    -webkit-text-stroke: 4px transparent;
    text-align: center;
}

div.bg {
    background-image: repeating-linear-gradient(105deg,
            var(--gold) 0%,
            var(--dark-shadow) 5%,
            var(--gold) 12%);
    color: transparent;
    filter: drop-shadow(5px 15px 15px black);
    transform: scaleY(1.05);
    transform-origin: top;
}

div.fg {
    background-image: repeating-linear-gradient(5deg,
            var(--gold) 0%,
            var(--light-shadow) 23%,
            var(--gold) 31%);
    color: #1e2127;
    transform: scale(1);
}

.nav {

    display: flex;
    align-items: center;
    position: relative;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    color: rgb(255, 255, 255);
    cursor: pointer;
    background: none;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
}

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

.nav-list li a {
    color: rgb(255, 255, 255);
    font-weight: 500;
    padding: 8px 12px;
    transition: background 0.3s;
    border-radius: 4px;
}

.header-logo img {
    height: 40px;
    width: 100%;
    object-fit: contain;
    padding-top: 10px;
}

footer {
    background: url(/staticvavada.net/assets/img/noise.842fbbbae5bd6f37b0268590b6f121ec.png) repeat, #0a0a14;
    flex-direction: column;
    width: 100%;
}

footer .container {
    margin-top: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;

}


.games-section {
    margin: 30px 0;
    width: 100%;
}


.game-catalog_list {
    box-sizing: border-box;
    display: flex;
    width: 100%;
    align-content: flex-start;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    justify-content: flex-start;
    max-width: 1200px;
    gap: 15px;
}

@media (min-width: 0px) {
    .game-catalog_list-item {
        width: calc(50% - 7.5px);
        height: 180px;
    }
}

@media (min-width: 480px) {
    .game-catalog_list-item {
        width: calc(33.333% - 10px);
        height: 160px;
    }
}

@media (min-width: 768px) {
    .game-catalog_list-item {
        width: calc(20% - 12px);
        height: 180px;
    }
}

@media (min-width: 1024px) {
    .game-catalog_list-item {
        width: calc(20% - 12px);
        height: 200px;
    }
}


@media (min-width: 1200px) {
    .game-catalog_list-item {
        width: calc(20% - 12px);
        height: 220px;
    }
}


.game-catalog_list-item {
    box-sizing: border-box;
    position: relative;
    margin: 0;
    flex-shrink: 0;
}

.game-catalog_list-item .gamecard {
    position: relative;
    width: 100%;
    height: 100%;
}

.gamecard {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: transform .2s ease;
    width: 100%;
    overflow: hidden;
}

.gamecard_window {
    border: 1px solid #393a51;
    border-bottom: none;
    flex: 1;
    position: relative;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    overflow: hidden;
}


.gamecard .gamecard_flags {
    position: absolute;
    top: 0;
    left: 10px;
    z-index: 2;
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}


.gamecard_links {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    padding: 10px;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all .2s ease;
    z-index: 3;
    gap: 8px;
}


.gamecard a {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.btn_approve_small {
    align-items: center;
    background-color: #62c23c;
    border: none;
    border-radius: 18px;
    box-shadow: 0 2px 0 0 #3c7028;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: flex;
    font-size: 10px;
    font-weight: 700;
    height: 26px;
    justify-content: center;
    letter-spacing: 0.3px;
    line-height: 1;
    outline: none;
    padding: 0 18px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn_approve_small:hover {
    background-color: #6bc940;
    box-shadow: 0 2px 0 0 #3c7028, 0 0 6px rgba(98, 194, 60, 0.4);
}

.gamecard_demo {
    background-color: #313047;
    border-radius: 18px;
    box-sizing: border-box;
    font-size: 9px;
    font-weight: 600;
    height: 22px;
    padding: 0 16px;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.gamecard_title {
    background-color: #161626;
    border: 1px solid #393a51;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    border-top: none;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 500;
    height: 40px;
    overflow: hidden;
    padding: 0 6px;
    text-align: center;
    color: #fff;
    line-height: 1.2;
    flex-shrink: 0;
}

@media (min-width: 769px) {
    .gamecard:hover .gamecard_links {
        opacity: 1;
        pointer-events: auto;
    }
}

.gamecard_img {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.game_flag_favorite,
.game_flag_pre,
.game_flag_supernew {
    display: inline-block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .6));
    width: 30px;
    height: auto;
}

.game_flag_pre {
    width: 24px;
}

/* =========================================================
   Arkada: типографика и базовые элементы в .how-to-play-section
   (ничего не ломает снаружи — всё строго по селектору секции)
   ========================================================= */
.how-to-play-section {
    background: #ffffff0a;
    /* как в проекте */
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: clamp(20px, 3vw, 32px);
}

/* Вертикальный ритм */
.how-to-play-section .how-to-play-container>*+* {
    margin-top: clamp(12px, 2.2vw, 18px);
}

/* Заголовки */
.how-to-play-section h1 {
    font-size: clamp(26px, 4.2vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.how-to-play-section h2 {
    font-size: clamp(18px, 3vw, 26px);
    line-height: 1.25;
    color: #fff;
    margin-top: clamp(20px, 3vw, 28px);
    position: relative;

}


/* Текст */
.how-to-play-section p {
    color: #e9e9f3;
    font-size: clamp(15px, 2.2vw, 16px);
    line-height: 1.7;
    max-width: 70ch;
}

/* Списки */
.how-to-play-section ul,
.how-to-play-section ol {
    display: grid;
    gap: 8px;
    padding-left: 0;
    margin-left: 0;
    list-style-position: inside;
}

.how-to-play-section li {
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 8px 12px 8px 34px;
    position: relative;
    color: #f0eef8;
}

.how-to-play-section ul li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(254, 40, 74, .22);
}

.how-to-play-section ol {
    counter-reset: section-ol;
}

.how-to-play-section ol>li {
    counter-increment: section-ol;
}

.how-to-play-section ol>li::before {
    content: counter(section-ol) ".";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: var(--color-accent);
}

/* Ссылки */
.how-to-play-section a {
    color: var(--color-link);
    text-decoration: none;
    border-bottom: 1px dashed rgba(254, 40, 74, .55);
}

.how-to-play-section a:hover {
    border-bottom-color: transparent;
}

/* Разделитель */
.how-to-play-section hr {
    height: 1px;
    border: 0;
    margin: 14px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
}

/* Картинки (если появятся) */
.how-to-play-section img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    border: 1px solid var(--color-border);
}

/* Цитаты (на всякий) */
.how-to-play-section blockquote {
    margin: 8px 0;
    padding: 12px 14px;
    border-left: 4px solid var(--color-accent);
    background: rgba(255, 255, 255, .05);
    border-radius: 8px;
    color: #f5f4ff;
}

/* Детали/FAQ без JS */
.how-to-play-section details {
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 10px 12px;
}

.how-to-play-section summary {
    cursor: pointer;
    font-weight: 600;
    color: #fff;
}

/* Таблицы внутри секции — без обёрток, со скроллом при необходимости */
.how-to-play-section table {
    display: block;
    /* позволяет горизонтальный скролл */
    inline-size: 100%;
    overflow-x: auto;
    /* скролл только если ширины не хватает */
    -webkit-overflow-scrolling: touch;
    /* инерция на мобилках */
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    padding-bottom: 4px;
    /* место под скроллбар */
    /* лёгкий хинт про скролл вправо */
    mask-image: linear-gradient(to right, black 85%, transparent);
}

.how-to-play-section table:hover,
.how-to-play-section table:focus-within {
    mask-image: none;
}

/* Сохраняем «табличное» поведение */
.how-to-play-section thead,
.how-to-play-section tbody,
.how-to-play-section tr {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.how-to-play-section th,
.how-to-play-section td {
    padding: 12px 14px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid var(--color-border);
    color: #f0eef8;
}

.how-to-play-section thead th {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    border-bottom: 1px solid rgba(255, 255, 255, .18);
}

/* Зебра + hover */
.how-to-play-section tbody tr:nth-child(odd) {
    background: rgba(255, 255, 255, .03);
}

.how-to-play-section tbody tr:hover {
    background: rgba(255, 255, 255, .06);
}

/* Скругления углов (визуально) */
.how-to-play-section thead tr:first-child th:first-child {
    border-top-left-radius: 12px;
}

.how-to-play-section thead tr:first-child th:last-child {
    border-top-right-radius: 12px;
}

.how-to-play-section tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.how-to-play-section tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

/* Кастомный горизонтальный скроллбар таблиц */
.how-to-play-section table::-webkit-scrollbar {
    height: 6px;
}

.how-to-play-section table::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .35);
    border-radius: 3px;
}

.how-to-play-section table::-webkit-scrollbar-track {
    background: transparent;
}

.how-to-play-section table {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .35) transparent;
}

/* Мобильные уточнения */
@media (max-width: 768px) {
    .how-to-play-section h1 {
        font-size: clamp(24px, 7vw, 32px);
    }


    .how-to-play-section th,
    .how-to-play-section td {
        white-space: nowrap;
    }

    /* чтобы появился горизонтальный скролл при узких экранах */
    .how-to-play-section ul,
    .how-to-play-section ol {
        gap: 6px;
    }
}