/* style/live-casino.css */

/* Global variables and resets for the page-live-casino scope */
.page-live-casino {
    --primary-color: #CC0000;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #F8F8F8;
    --background-dark: #222222;
    --accent-color-contrast: #33ffff; /* Complementary to primary for emphasis */
    --accent-color-contrast-2: #0028ff; /* Complementary to secondary for details */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

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

.page-live-casino__section:nth-of-type(even) {
    background-color: var(--background-light);
}

.page-live-casino__section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.page-live-casino__section-description {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-live-casino__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1em;
}

.page-live-casino__btn--primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-live-casino__btn--primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

.page-live-casino__btn--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-left: 15px;
}

.page-live-casino__btn--secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.page-live-casino__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-live-casino__btn--large {
    padding: 15px 35px;
    font-size: 1.2em;
}

.page-live-casino__center-content {
    text-align: center;
    margin-top: 40px;
}

/* Hero Section */
.page-live-casino__hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a80000 100%);
    color: var(--text-light);
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-live-casino__hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

.page-live-casino__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-live-casino__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-live-casino__hero-buttons .page-live-casino__btn {
    font-size: 1.1em;
    padding: 15px 30px;
}

.page-live-casino__hero-buttons .page-live-casino__btn--secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}

.page-live-casino__hero-buttons .page-live-casino__btn--secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Features Section */
.page-live-casino__features {
    background-color: var(--background-light);
}

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

.page-live-casino__feature-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-live-casino__feature-item:hover {
    transform: translateY(-10px);
}

.page-live-casino__feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.2));
}

.page-live-casino__feature-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-live-casino__feature-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* Game Showcase Section */
.page-live-casino__game-showcase {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-live-casino__game-showcase .page-live-casino__section-title {
    color: var(--secondary-color);
}

.page-live-casino__game-showcase .page-live-casino__section-description {
    color: var(--text-light);
}

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

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

.page-live-casino__game-card:hover {
    transform: translateY(-10px);
}

.page-live-casino__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-color);
}

.page-live-casino__game-card h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin: 20px 20px 10px;
    font-weight: 600;
}

.page-live-casino__game-card p {
    font-size: 0.95em;
    color: #CCCCCC;
    padding: 0 20px 20px;
    flex-grow: 1;
}

.page-live-casino__game-card .page-live-casino__btn {
    margin: 0 20px 20px;
    width: fit-content;
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-live-casino__game-card .page-live-casino__btn:hover {
    background-color: darken(var(--secondary-color), 10%);
}

/* Promotions Section */
.page-live-casino__promotions {
    background-color: var(--background-light);
}

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

.page-live-casino__promo-item {
    background-color: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-live-casino__promo-item:hover {
    transform: translateY(-10px);
}

.page-live-casino__promo-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.2));
}

.page-live-casino__promo-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-live-casino__promo-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* How to Start Section */
.page-live-casino__how-to-start {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-live-casino__how-to-start .page-live-casino__section-title,
.page-live-casino__how-to-start .page-live-casino__section-description {
    color: var(--text-light);
}

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

.page-live-casino__step-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-live-casino__step-number {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.page-live-casino__step-title {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.page-live-casino__step-text {
    font-size: 1em;
    color: #E0E0E0;
    margin-bottom: 20px;
}

.page-live-casino__step-item .page-live-casino__btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-live-casino__step-item .page-live-casino__btn:hover {
    background-color: darken(var(--secondary-color), 10%);
}

/* Mobile Experience Section */
.page-live-casino__mobile-experience {
    background-color: var(--background-light);
}

.page-live-casino__mobile-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.page-live-casino__mobile-text {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
}

.page-live-casino__mobile-subtitle {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-live-casino__mobile-text p {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-live-casino__mobile-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.page-live-casino__mobile-text ul li {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.page-live-casino__mobile-text ul li::before {
    content: '✔';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-live-casino__mobile-image {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-live-casino__faq {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-live-casino__faq .page-live-casino__section-title {
    color: var(--secondary-color);
}

.page-live-casino__accordion {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-live-casino__accordion-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.page-live-casino__accordion-header {
    background-color: #333333;
    color: var(--secondary-color);
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    padding-right: 50px;
}

.page-live-casino__accordion-header:hover {
    background-color: #444444;
}

.page-live-casino__accordion-header::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-live-casino__accordion-header.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-live-casino__accordion-content {
    background-color: #444444;
    color: #E0E0E0;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-live-casino__accordion-content p {
    padding: 15px 0;
    margin: 0;
    font-size: 1em;
}

.page-live-casino__accordion-header.active + .page-live-casino__accordion-content {
    max-height: 200px; /* Adjust based on expected content height */
    padding: 15px 25px;
}

/* Bottom CTA Section */
.page-live-casino__cta-bottom {
    background: linear-gradient(90deg, var(--secondary-color) 0%, #d4b000 100%);
    color: var(--primary-color);
    padding: 80px 0;
}

.page-live-casino__cta-title {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-live-casino__cta-description {
    font-size: 1.2em;
    color: #660000;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-live-casino__cta-bottom .page-live-casino__btn--primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.page-live-casino__cta-bottom .page-live-casino__btn--primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live-casino__hero-title {
        font-size: 3em;
    }
    .page-live-casino__hero-subtitle {
        font-size: 1.1em;
    }
    .page-live-casino__section-title {
        font-size: 2.5em;
    }
    .page-live-casino__mobile-content {
        flex-direction: column-reverse;
    }
    .page-live-casino__mobile-text,
    .page-live-casino__mobile-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-live-casino__section {
        padding: 40px 0;
    }
    .page-live-casino__hero-title {
        font-size: 2.5em;
    }
    .page-live-casino__hero-subtitle {
        font-size: 1em;
    }
    .page-live-casino__section-title {
        font-size: 2em;
    }
    .page-live-casino__hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-live-casino__hero-buttons .page-live-casino__btn {
        margin-left: 0;
    }
    .page-live-casino__feature-grid,
    .page-live-casino__game-grid,
    .page-live-casino__promo-grid,
    .page-live-casino__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-live-casino__game-card h3 {
        font-size: 1.5em;
    }
    .page-live-casino__cta-title {
        font-size: 2.2em;
    }
    .page-live-casino__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-live-casino__hero-title {
        font-size: 2em;
    }
    .page-live-casino__hero-image {
        margin-top: 20px;
    }
    .page-live-casino__section-title {
        font-size: 1.8em;
    }
    .page-live-casino__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-live-casino__cta-title {
        font-size: 1.8em;
    }
    .page-live-casino__accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
        padding-right: 45px;
    }
    .page-live-casino__accordion-header::after {
        right: 20px;
    }
    .page-live-casino__accordion-content {
        padding: 0 20px;
    }
    .page-live-casino__accordion-header.active + .page-live-casino__accordion-content {
        padding: 10px 20px;
    }
}