.page-casino {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #ffffff; /* Explicitly set for consistency */
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    box-sizing: border-box;
}

.page-casino__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-casino__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF; /* Adjusted for contrast on dark overlay */
}

.page-casino__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* General Section Styling */
.page-casino__section {
    padding: 80px 0;
    text-align: center;
}

.page-casino__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

.page-casino__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-casino__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
}

.page-casino__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
    color: inherit; /* Inherit color from parent section */
}

/* Buttons */
.page-casino__btn-primary,
.page-casino__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box; /* For responsiveness */
    white-space: normal; /* For responsiveness */
    word-wrap: break-word; /* For responsiveness */
}

.page-casino__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFFFF; /* Adjusted for contrast */
    border: 2px solid #C30808;
}

.page-casino__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-casino__btn-secondary {
    background-color: transparent;
    color: #FFFFFF; /* Adjusted for contrast on dark overlay */
    border: 2px solid #FFFFFF;
}

.page-casino__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #C30808; /* Adjusted for contrast */
}

.page-casino__video-cta {
    margin-top: 40px;
}

.page-casino__btn--center {
    margin: 40px auto 0 auto;
    display: block;
    width: fit-content;
}

/* Video Section */
.page-casino__video-section {
    position: relative;
    padding-top: calc(var(--header-offset, 120px) + 80px); /* Adjust for header and section padding */
    padding-bottom: 80px;
    background-color: #017439; /* Dark background */
}

.page-casino__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 0 auto;
    max-width: 1000px; /* Max width for video */
    width: 100%;
    box-sizing: border-box;
}

.page-casino__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    max-width: 100%; /* Ensure video does not overflow */
    height: auto; /* Maintain aspect ratio */
    display: block;
}

/* Grid Layouts */
.page-casino__grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.page-casino__grid--2-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-casino__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-casino__grid--4-cols {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards */
.page-casino__card {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-casino__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439;
}

.page-casino__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Make text grow to push link to bottom */
}

.page-casino__card-link {
    display: inline-block;
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-casino__card-link:hover {
    text-decoration: underline;
}

/* Content Blocks (for guide section) */
.page-casino__content-block {
    text-align: left;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    border-radius: 10px;
    color: #ffffff;
}

.page-casino__content-block-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #FFFFFF; /* Adjusted for contrast on dark background */
}

.page-casino__text {
    font-size: 1em;
    margin-bottom: 15px;
}

.page-casino__text--center {
    text-align: center;
}

/* Strategy Section */
.page-casino__strategy-section .page-casino__grid {
    align-items: center;
    text-align: left;
}

.page-casino__image-wrapper {
    text-align: center;
}

.page-casino__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__content-list {
    padding: 20px;
}

.page-casino__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-casino__list-item {
    margin-bottom: 25px;
    padding-left: 20px;
    position: relative;
}

.page-casino__list-item::before {
    content: '✅'; /* Custom bullet point */
    position: absolute;
    left: 0;
    top: 0;
    color: #017439;
}

.page-casino__list-title {
    font-size: 1.3em;
    margin-bottom: 5px;
    color: #017439;
}

.page-casino__list-text {
    font-size: 0.95em;
    color: #555555;
}

/* Providers Section */
.page-casino__provider-logos {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* More flexible for logos */
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.page-casino__provider-logo {
    width: 200px; /* Explicit width to meet min size */
    height: 200px; /* Explicit height to meet min size */
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7); /* Subtle effect on logos */
    transition: filter 0.3s ease;
    display: block;
}

.page-casino__provider-logo:hover {
    filter: grayscale(0%) opacity(1);
}