/* style/casino.css */

/* General Page Styling */
.page-casino {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--secondary-color); /* Matches body background from shared.css */
}

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

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

.page-casino__section-title {
    font-size: 36px;
    color: #26A9E0; /* Brand primary color */
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-casino__text-block {
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

/* 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 content is below fixed header */
    background: linear-gradient(135deg, #e0f2f7, #ffffff); /* Light gradient background */
}

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

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

.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%;
    max-width: 900px;
}

.page-casino__main-title {
    font-size: 48px;
    color: #26A9E0;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-casino__description {
    font-size: 20px;
    color: #555555;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-casino__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    max-width: 100%; /* Ensure button adapts to width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-casino__cta-button--primary {
    background: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    box-shadow: 0 5px 15px rgba(38, 169, 224, 0.4);
}

.page-casino__cta-button--primary:hover {
    background: #1e87c0;
    border-color: #1e87c0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(38, 169, 224, 0.6);
}

.page-casino__cta-button--secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-casino__cta-button--secondary:hover {
    background: #f0f8ff;
    color: #1e87c0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-casino__cta-buttons--center {
    margin-top: 40px;
}

/* Introduction Section */
.page-casino__introduction .page-casino__section-title {
    color: #26A9E0;
}

/* Game Types Section */
.page-casino__game-types {
    background-color: #f8f8f8;
}

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

.page-casino__game-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-casino__game-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-casino__card-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino__card-title a:hover {
    color: #1e87c0;
    text-decoration: underline;
}

.page-casino__card-description {
    font-size: 16px;
    color: #666666;
    padding: 0 20px 20px;
    flex-grow: 1; /* Ensure description takes available space */
}

/* Benefits Section */
.page-casino__benefits {
    background-color: #26A9E0; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-casino__benefits .page-casino__section-title {
    color: #ffffff;
}

.page-casino__benefits .page-casino__text-block {
    color: #e0f2f7;
}

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

.page-casino__benefit-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
}

.page-casino__benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.page-casino__benefit-item img {
    
    
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(1.1); /* Slightly brighten icons for dark background */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-casino__benefit-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-casino__benefit-item p {
    font-size: 16px;
    color: #e0f2f7;
}

/* Download Guide Section */
.page-casino__download-guide {
    background-color: #ffffff;
}

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

.page-casino__guide-step {
    background: #fdfdfd;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-casino__guide-step:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-casino__guide-step img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
}

.page-casino__step-title {
    font-size: 22px;
    font-weight: bold;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-casino__guide-step p {
    font-size: 16px;
    color: #555555;
}

.page-casino__guide-step p a {
    color: #26A9E0;
    text-decoration: none;
}

.page-casino__guide-step p a:hover {
    text-decoration: underline;
}

/* Promotions Section */
.page-casino__promotions {
    background-color: #f0f8ff; /* Light blue background */
}

.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: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-casino__promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Security & Support Section */
.page-casino__security-support {
    background-color: #26A9E0; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-casino__security-support .page-casino__section-title {
    color: #ffffff;
}

.page-casino__security-support .page-casino__text-block {
    color: #e0f2f7;
}

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