/* Crown Green Casino Theme Styles */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* CSS Variables */
:root {
    --primary-bg: #05221E;
    --secondary-bg: #001914;
    --card-bg: #00302A;
    --hover-bg: #004E44;
    --accent-teal: #008B7C;
    --accent-yellow: #FFCF73;
    --accent-green: #00EDA6;
    --border-color: #FFFFFF1A;
    --border-color-66: #FFFFFF66;
    --text-light: #FFFFFF;
    --text-dark: #060908;
    --text-muted: #FFFFFF99;
    --text-gray: #99A3A1;
    --button-gradient: linear-gradient(180deg, #F4E38B -24.36%, #F4DD62 23.01%, #B27F2A 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --gold: #FFCF73;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-variant-numeric: slashed-zero;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1;
    background: var(--primary-bg);
    color: var(--text-light);
    font-family: "Lato", sans-serif;
    min-height: 100vh;
}

.container {
    max-width: 1320px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--text-light);
}

h2 {
    font-size: 2rem;
    color: var(--text-light);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-light);
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Buttons */
.btn {
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    width: fit-content;
    letter-spacing: 3%;
    padding: 12px;
    transition: all .3s linear;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 50px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

.btn.btn_v1 {
    color: var(--text-dark);
    background: var(--button-gradient);
}

.btn.btn_v1:hover {
    opacity: .7;
}

.btn.btn_v2 {
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn.btn_v2:hover {
    opacity: .7;
}

.btn.btn_v3 {
    color: var(--text-light);
    background: #FFFFFF1A;
    border: 1px solid var(--border-color-66);
}

.btn.btn_v3:hover {
    color: var(--text-light);
    background: transparent;
    opacity: .5;
}

/* Legacy button classes for compatibility */
.btn-primary {
    background: var(--button-gradient);
    color: var(--text-dark);
}

.btn-primary:hover {
    opacity: .7;
    color: var(--text-dark);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    opacity: .7;
}

.btn-outline {
    color: var(--text-light);
    background: #FFFFFF1A;
    border: 1px solid var(--border-color-66);
}

.btn-outline:hover {
    color: var(--text-light);
    background: transparent;
    opacity: .5;
}

/* Header */
.header_wrap_top {
    background: var(--primary-bg);
    margin-bottom: 32px;
}

.site-header {
    background: var(--primary-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}

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

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

.header-nav {
    display: flex;
    align-items: center;
}

.header_menu ul {
    display: flex;
    padding: 8px;
    background: var(--secondary-bg);
    border-radius: 50px;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    gap: 8px;
}

.header_menu ul li a {
    padding: 12px 16px;
    display: block;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s linear;
    font-size: 14px;
    background: var(--card-bg);
    color: var(--text-muted);
    line-height: 16px;
    text-align: center;
    border-radius: 50px;
}

.header_menu ul li a:hover {
    background: var(--hover-bg);
    color: var(--text-light);
}

.header_menu ul li.current-menu-item a {
    border-bottom: 1px solid #FFBC44;
    background: var(--hover-bg);
    border-radius: 50px;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 8px;
    background: var(--secondary-bg);
    border-radius: 50px;
    align-items: center;
    justify-content: space-between;
}

.nav-menu li a {
    padding: 12px 16px;
    display: block;
    font-weight: 700;
    text-decoration: none;
    transition: all .3s linear;
    font-size: 14px;
    background: var(--card-bg);
    color: var(--text-muted);
    line-height: 16px;
    text-align: center;
    border-radius: 50px;
}

.nav-menu li a:hover {
    background: var(--hover-bg);
    color: var(--text-light);
}

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

.header_top_right>div {
    display: flex;
    gap: 8px;
    align-items: center;
}

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

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu-close {
    display: none;
}

.hero_block {
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 32px;
}

.hero_wrap {
    /* max-width: 540px; */
}

.hero_wrap_image {
    padding: 75px 35px;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 10px;
    background-position: center;
    border-radius: 25px;
}

body:not(.home) .hero_block {
    margin-top: 0;
}

.btn_big {
    padding: 16px;
}

/* Promo Blocks */
.promo-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.promo-block {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s ease;
}

.promo-block:hover::before {
    left: 100%;
}

.promo-block:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.promo-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: block;
}

.promo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.promo-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

/* Slots Section */
.slots-section {
    margin: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: left;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.slot-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.slot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.slot-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.slot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.slot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.slot-card:hover .slot-image {
    transform: scale(1.1);
}

.slot-play-btn {
    background: var(--button-gradient);
    color: var(--dark-bg);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slot-play-btn:hover {
    transform: scale(1.1);
}

.slot-info {
    padding: 1rem;
}

.slot-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.slot-provider {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Section */


.hero_title {
    font-weight: 900;
    font-size: 2.6rem;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--accent-yellow);
    margin-bottom: 16px;
}

.hero_title span {
    color: var(--text-light);
}

.hero_text {
    font-weight: 700;
    font-size: 2rem;
    line-height: 100%;
    color: var(--text-light);
    margin-bottom: 24px;
}

.btn_big {
    padding: 16px;
}

/* Card Blocks (Promo) */
.card_block_item {
    background: radial-gradient(90.38% 208.16% at 82.11% 216.38%, #FFBC44 0%, var(--primary-bg) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    position: relative;
}

.card_block_title {
    font-weight: 900;
    font-size: 20px;
    line-height: 24px;
    vertical-align: middle;
    color: var(--text-light);
    margin-bottom: 8px;
}

.card_block_text {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
    color: var(--text-light);
    margin-bottom: 20px;
}

.card_block_item>img {
    position: absolute;
    bottom: 0;
    right: 15px;
    max-width: 100px;
}

.card_block_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 16px;
}

/* Slots Section */
.card_block_list_wrap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 15px;
}

.card_block_list_item {
    position: relative;
    border-radius: 13px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.card_block_list_item:hover {
    transform: translateY(-5px);
}

.card_block_list_item img {
    display: block;
    width: 100%;
    transition: all 0.3s ease;
}

.card_block_list_item:hover img {
    transform: scale(1.05);
}

.card_block_list_item_overflow {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(228, 88, 250, 0) 46.25%, #E458FA 60.92%);
}

.card_block_list_item_wrap {
    position: absolute;
    bottom: 8px;
    width: 100%;
    z-index: 5;
}

.card_block_list_item_title {
    font-weight: 700;
    font-size: 28px;
    line-height: 100%;
    width: 100%;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0px;
}

.card_block_list_item_text {
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    color: var(--text-light);
}

.card_block_list_item_text_2 {
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 8px;
}

/* Slot Hover Overlay */
.slot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.card_block_list_item:hover .slot-overlay {
    opacity: 1;
}

.slot-play-btn {
    font-size: 18px;
    font-weight: 900;
    padding: 12px 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Promotions */
.promotions_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 16px;
}

.promotions_item {
    border-radius: 12px;
    overflow: hidden;
    padding: 24px;
    background-size: cover !important;
}

.promotions_title {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.promotions_text {
    font-weight: 900;
    max-width: 200px;
    font-size: 24px;
    line-height: 28px;
    color: var(--text-light);
    margin-bottom: 35px;
}

/* Utility Classes */
.title {
    font-weight: 900;
    font-size: 24px;
    line-height: 28px;
    vertical-align: middle;
    color: var(--text-light);
    margin-bottom: 16px;
}

.margin {
    margin: 30px 0;
}

.button_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}

.section-button-center {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero_wrap {
        display: flex;
        flex-direction: column;
        padding: 0 15px;
        max-width: 100%;
        min-height: 300px;
        justify-content: center;
    }


    .hero_text {
        order: -1;
        font-size: 16px;
        line-height: 20px;
        text-align: center;
        margin-bottom: 8px;
    }

    .hero_block {
        margin-top: 32px;
    }

    .hero_title {
        text-align: center;
        font-size: 24px;
        line-height: 28px;
        /* margin-bottom: 340px; */
    }

    .hero_wrap_image {
        padding-top: 30px;
        padding-bottom: 24px;
        border-radius: 50px;
        overflow: hidden;
    }

    .hero_wrap .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

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

    .card_block_list_wrap {
        display: flex;
        width: max-content;
    }

    .card_block_list_wrap_overflow {
        overflow: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-right: -20px;
    }

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

    .promotions_wrapper {
        display: flex;
        width: max-content;
    }

    .promotions_wrapper_overflow {
        overflow: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-right: -20px;
    }

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

    .promotions_item {
        width: 350px;
    }

    .card_block_list_item_overflow {
        height: 85%;
    }

    .hero_wrap {
        max-width: 100%;
    }

    .header_menu {
        overflow: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        display: none;
    }

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

    .header_menu ul {
        width: max-content;
    }

    .hero_wrap .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .card_block_wrap_overflow {
        overflow: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-right: -20px;
    }

    .card_block_wrap {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card_block_item {
        width: auto;
    }
}

@media (max-width: 450px) {
    .hero_title {
        /* margin-bottom: 290px; */
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header_menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100vw;
        width: 100vw;
        height: 100vh;
        background: var(--secondary-bg);
        z-index: 9999;
        transition: right 0.3s ease;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }

    .header_menu.active {
        right: 0;
        display: block;
    }

    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
        height: 100vh;
    }

    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: var(--text-light);
        cursor: pointer;
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    .header_menu ul {
        flex-direction: column;
        background: transparent;
        padding: 0;
        border-radius: 0;
        width: 100%;
    }

    .header_menu ul li {
        width: 100%;
        margin-bottom: 8px;
    }

    .header_menu ul li a {
        background: var(--card-bg);
        border-radius: 8px;
        width: 100%;
        display: block;
        text-align: left;
    }

    .header_top_right .btn.btn_v3 {
        display: none;
    }

    .header-buttons {
        gap: 4px;
    }

    .header-buttons .btn {
        padding: 8px 10px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .main-banner-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

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