/* style/casino-live.css */

/* Base styles for the page content wrapper */
.page-casino-live {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Sections padding and max-width */
.page-casino-live__section {
    padding: 60px 20px;
    position: relative;
    z-index: 1; /* Ensure content is above any potential background effects */
}

.page-casino-live__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for content */
    box-sizing: border-box;
}

/* Hero Section */
.page-casino-live__hero-section {
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a; /* Slightly lighter than body background for subtle contrast */
}

.page-casino-live__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-casino-live__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-casino-live__hero-title {
    font-size: 3.2em;
    color: #FFFFFF;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-casino-live__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino-live__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on small screens */
}

/* Headings */
.page-casino-live__heading {
    font-size: 2.5em;
    color: #26A9E0; /* Brand primary color for headings */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-casino-live__heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-casino-live__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: justify;
}

/* Backgrounds for sections */
.page-casino-live__dark-bg {
    background-color: #1a1a1a; /* Dark background, slightly different from body */
    color: #ffffff;
}

.page-casino-live__light-bg {
    background-color: #2a2a2a; /* Lighter dark background for contrast between sections */
    color: #ffffff;
}

/* Buttons */
.page-casino-live__btn-primary,
.page-casino-live__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-casino-live__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-casino-live__btn-primary:hover {
    background-color: #1e87b3;
    border-color: #1e87b3;
}

.page-casino-live__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-casino-live__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

.page-casino-live__cta-buttons--center {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Images in content */
.page-casino-live__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-casino-live__feature-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-casino-live__feature-card:hover {
    transform: translateY(-5px);
}

.page-casino-live__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-casino-live__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

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

.page-casino-live__game-card {
    background-color: rgba(0, 0, 0, 0.3); /* Darker background for game cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-casino-live__game-card:hover {
    transform: translateY(-5px);
}

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

.page-casino-live__game-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin: 15px 15px 10px;
}

.page-casino-live__game-link {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-casino-live__game-description {
    font-size: 0.95em;
    color: #cccccc;
    padding: 0 15px 20px;
}

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

.page-casino-live__provider-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino-live__provider-card:hover .page-casino-live__provider-logo {
    filter: grayscale(0%) brightness(1); /* Colorize on hover */
}

.page-casino-live__provider-name {
    font-size: 1.2em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-casino-live__provider-description {
    font-size: 0.9em;
    color: #cccccc;
}

/* Promotions Section */
.page-casino-live__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-casino-live__promotion-item {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-casino-live__promotion-item:hover {
    transform: translateY(-5px);
}

.page-casino-live__promotion-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-casino-live__promotion-link {
    color: #26A9E0;
    text-decoration: none;
}

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

.page-casino-live__promotion-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* How to Play Section */
.page-casino-live__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-casino-live__step-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino-live__step-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.page-casino-live__step-title::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    background-color: #26A9E0;
    color: #FFFFFF;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.page-casino-live__steps-list {
    counter-reset: step-counter;
}

.page-casino-live__step-description {
    font-size: 1em;
    color: #f0f0f0;
    padding-left: 50px; /* Align with title text */
}

/* Security Section */
.page-casino-live__security-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-casino-live__security-item {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-casino-live__security-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-casino-live__security-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Video Section */
.page-casino-live__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px auto;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-casino-live__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
}

/* FAQ Section */
.page-casino-live__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino-live__faq-item {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-casino-live__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}