/* style/casino.css */

/* General page styles */
.page-casino {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: var(--secondary-color); /* #FFFFFF */
}

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

.page-casino__section-title {
    font-size: 32px;
    color: var(--primary-color); /* #017439 */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-casino__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-casino__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    overflow: hidden; /* Prevent image overflow */
}

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

.page-casino__light-bg {
    background-color: var(--secondary-color); /* #FFFFFF */
    color: #333333;
}

.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;
    position: relative;
    z-index: 1;
}

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

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

.page-casino__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-casino__description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-casino__btn-register {
    background: #C30808; /* Custom color for register */
    color: #FFFF00; /* Custom font color for register */
    border: 2px solid transparent;
}

.page-casino__btn-register:hover {
    background: #A60707; /* Darken on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-login {
    background: #C30808; /* Custom color for login */
    color: #FFFF00; /* Custom font color for login */
    border: 2px solid transparent;
}

.page-casino__btn-login:hover {
    background: #A60707; /* Darken on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General button styles for other sections */
.page-casino__btn-primary {
    background: var(--primary-color); /* #017439 */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-casino__btn-primary:hover {
    background: #016331;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-secondary {
    background: #ffffff;
    color: var(--primary-color); /* #017439 */
    border: 2px solid var(--primary-color);
}

.page-casino__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-casino__btn-register-small,
.page-casino__btn-login-small,
.page-casino__btn-primary-small,
.page-casino__btn-secondary-small {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-casino__btn-register-small {
    background: #C30808;
    color: #FFFF00;
}
.page-casino__btn-register-small:hover { background: #A60707; }

.page-casino__btn-login-small {
    background: #C30808;
    color: #FFFF00;
}
.page-casino__btn-login-small:hover { background: #A60707; }

.page-casino__btn-primary-small {
    background: var(--primary-color);
    color: #ffffff;
}
.page-casino__btn-primary-small:hover { background: #016331; }

.page-casino__btn-secondary-small {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.page-casino__btn-secondary-small:hover { background: var(--primary-color); color: #ffffff; }

/* Image Grid */
.page-casino__image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-casino__image-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

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

.page-casino__game-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

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

.page-casino__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-casino__card-title {
    font-size: 22px;
    color: var(--primary-color);
    margin: 20px 20px 10px;
    font-weight: bold;
}

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

.page-casino__card-title a:hover {
    color: #333333;
}

.page-casino__card-text {
    font-size: 15px;
    color: #555555;
    padding: 0 20px;
    flex-grow: 1; /* Make text block fill available space */
}

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

.page-casino__promo-card {
    background: var(--primary-color); /* Dark background for promo cards */
    color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

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

.page-casino__promo-card .page-casino__card-image {
    height: 250px; /* Adjust height for promo images */
}

.page-casino__promo-card .page-casino__card-title {
    color: #ffffff;
}

.page-casino__promo-card .page-casino__card-title a {
    color: #ffffff;
}

.page-casino__promo-card .page-casino__card-title a:hover {
    color: #FFFF00; /* Custom color for hover */
}

.page-casino__promo-card .page-casino__card-text {
    color: #f0f0f0;
}

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

.page-casino__feature-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-casino__feature-icon {
    width: 200px; /* Enforce min display size as per rules */
    height: 200px; /* Enforce min display size as per rules */
    margin-bottom: 20px;
    object-fit: contain;
    margin-left: auto; /* Center them */
    margin-right: auto;
    display: block; /* Make them block to apply margin auto */
}

.page-casino__feature-title {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-casino__feature-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-casino__feature-title a:hover {
    color: #333333;
}

.page-casino__feature-text {
    font-size: 15px;
    color: #555555;
}

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

.page-casino__step-card {
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-casino__step-card .page-casino__card-title {
    color: #ffffff;
    margin-top: 0;
}

.page-casino__step-card .page-casino__card-text {
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-casino__step-card .page-casino__card-text a {
    color: #FFFF00;
    text-decoration: underline;
}

.page-casino__step-card .page-casino__card-text a:hover {
    color: #ffffff;
}

/* Support Section */
.page-casino__support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}