/* style/live.css */

/* Base styles for the Live Casino page */
.page-live {
    color: #333333; /* Dark text for light background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-live__section-padding {
    padding: 60px 0;
}

.page-live__section-title {
    font-size: 2.8em;
    color: #000000; /* Main color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-live__section-title--light {
    color: #FFFFFF;
}

.page-live__section-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-live__section-text--light {
    color: #E0E0E0;
}

.page-live__section-dark {
    background-color: #000000; /* Main color for dark sections */
    color: #FFFFFF;
}

/* Hero Section */
.page-live__hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    color: #FFFFFF;
    text-align: center;
}

.page-live__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-live__hero-container {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%; /* Prevent horizontal overflow */
}

.page-live__hero-content {
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.page-live__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 1.2;
}

.page-live__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #F0F0F0;
}

.page-live__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.page-live__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
}

.page-live__button--primary {
    background-color: #FCBC45; /* Login color */
    color: #000000; /* Dark text for bright button */
}

.page-live__button--primary:hover {
    background-color: #E0A73B;
    transform: translateY(-2px);
}

.page-live__button--secondary {
    background-color: #FFFFFF; /* Register color */
    color: #000000; /* Dark text for bright button */
    border: 2px solid #FCBC45;
}

.page-live__button--secondary:hover {
    background-color: #F0F0F0;
    border-color: #E0A73B;
    transform: translateY(-2px);
}

.page-live__button--card {
    background-color: #FCBC45;
    color: #000000;
    padding: 10px 20px;
    font-size: 1em;
}

.page-live__button--card:hover {
    background-color: #E0A73B;
}

.page-live__button--inline {
    background-color: #FCBC45;
    color: #000000;
    padding: 8px 15px;
    font-size: 0.9em;
    margin-top: 15px;
}

.page-live__button--inline:hover {
    background-color: #E0A73B;
}

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

.page-live__game-card {
    background-color: #1A1A1A; /* Darker background for cards in dark section */
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-live__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-live__card-title {
    font-size: 1.8em;
    color: #FFFFFF;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-live__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-live__card-title a:hover {
    color: #FCBC45;
}

.page-live__card-description {
    color: #E0E0E0;
    font-size: 0.95em;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-live__feature-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-live__feature-image {
    width: 100%; /* Ensure images scale */
    height: 250px; /* Adjust height as needed */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-live__feature-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
}

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

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

.page-live__step-item {
    background-color: #1A1A1A;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-live__step-title {
    font-size: 2em;
    color: #FCBC45;
    margin-bottom: 15px;
}

.page-live__step-description {
    color: #E0E0E0;
    font-size: 1em;
    margin-bottom: 20px;
}

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

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

.page-live__detail-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 10px;
}

.page-live__detail-title a {
    color: inherit;
    text-decoration: none;
}

.page-live__detail-title a:hover {
    color: #FCBC45;
}

.page-live__detail-description {
    color: #555555;
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* CTA Section */
.page-live__cta-section {
    text-align: center;
    padding: 80px 0;
}

.page-live__cta-content {
    background: rgba(255, 255, 255, 0.1); /* Subtle background for contrast */
    border-radius: 10px;
    padding: 40px;
}

.page-live__cta-title {
    font-size: 3em;
    color: #FFFFFF;
    margin-bottom: 20px;
    font-weight: bold;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-live__hero-title {
        font-size: 3em;
    }
    .page-live__hero-description {
        font-size: 1.2em;
    }
    .page-live__section-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-live {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    }
    .page-live__hero-section {
        min-height: 400px;
    }
    .page-live__hero-title {
        font-size: 2.2em;
    }
    .page-live__hero-description {
        font-size: 1em;
    }
    .page-live__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-live__button {
        width: 100%;
        max-width: 280px;
    }
    .page-live__section-padding {
        padding: 40px 0;
    }
    .page-live__section-title {
        font-size: 2em;
    }
    .page-live__section-text {
        font-size: 1em;
    }
    .page-live__card-title, .page-live__feature-title, .page-live__step-title, .page-live__detail-title {
        font-size: 1.5em;
    }
    .page-live__cta-title {
        font-size: 2.5em;
    }
    .page-live__cta-description {
        font-size: 1.1em;
    }
    /* Mobile image scaling */
    .page-live img {
        max-width: 100%;
        height: auto;
    }
    .page-live__game-card, .page-live__feature-item, .page-live__step-item, .page-live__detail-card {
        padding: 20px;
    }
    .page-live__card-image, .page-live__feature-image {
        height: auto; /* Allow height to adjust for mobile */
        min-height: 200px; /* Ensure minimum size */
    }
}

@media (max-width: 480px) {
    .page-live__hero-title {
        font-size: 1.8em;
    }
    .page-live__hero-description {
        font-size: 0.9em;
    }
    .page-live__hero-content {
        padding: 20px;
    }
    .page-live__section-title {
        font-size: 1.8em;
    }
    .page-live__cta-title {
        font-size: 2em;
    }
    .page-live__cta-description {
        font-size: 1em;
    }
    .page-live__game-cards, .page-live__features-grid, .page-live__steps-list, .page-live__detail-cards {
        gap: 20px;
    }
    .page-live__container {
        padding: 0 15px;
    }
}