:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-login-button-bg: #C30808;
    --register-login-font-color: #FFFF00;
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --border-color: #e0e0e0;
    --background-light: #ffffff;
    --background-dark: #017439; /* Using primary color for dark sections */
}

.page-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background-light);
}

.page-casino__hero-section {
    padding-top: var(--header-offset, 120px);
}

.page-casino__section {
    padding: 60px 0;
    text-align: center;
}

.page-casino__dark-bg {
    background: var(--background-dark);
    color: var(--text-light);
}

.page-casino__light-bg {
    background: var(--background-light);
    color: var(--text-dark);
}

.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-casino__section-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
    color: inherit;
}

.page-casino__text-block {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.page-casino__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
}

.page-casino__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-casino__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-casino__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-casino__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.page-casino__main-title {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: 900;
    color: var(--register-login-font-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-casino__subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-casino__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.page-casino__cta-button,
.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-casino__btn-primary {
    background: var(--register-login-button-bg);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-login-font-color);
    box-shadow: 0 4px 10px rgba(195, 8, 8, 0.4);
}

.page-casino__btn-primary:hover {
    background: #a90707;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(195, 8, 8, 0.6);
}

.page-casino__btn-secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(1, 116, 57, 0.4);
}

.page-casino__btn-secondary:hover {
    background: #005c2d;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(1, 116, 57, 0.6);
}

.page-casino__image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.page-casino__image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__card {
    background: var(--background-light);
    color: var(--text-dark);
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-casino__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-casino__card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-casino__card-title a.page-casino__card-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__card-title a.page-casino__card-link:hover {
    color: var(--register-login-button-bg);
    text-decoration: underline;
}

.page-casino__card-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-casino__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino__promo-card {
    text-align: center;
}

.page-casino__promo-card img {
    height: 225px;
}

.page-casino__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}