/* style/live.css */
/* Page-specific styles for the Live Casino page */

/* --- Base Styles & Layout --- */
.page-live {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color, #FFF6D6); /* Default text color for dark background */
    background-color: var(--background-color, #0A0A0A); /* Main page background */
}

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

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

.page-live__dark-bg {
    background-color: var(--background-color, #0A0A0A);
    color: var(--text-main-color, #FFF6D6);
}

.page-live__dark-section {
    background-color: var(--card-bg-color, #111111); /* Using card BG for dark section */
    color: var(--text-main-color, #FFF6D6);
}

.page-live__light-bg {
    background-color: #f8f8f8; /* A light background for contrast sections */
    color: #333333; /* Dark text for light background */
}

/* Ensure contrast for text on light background */
.page-live__light-bg .page-live__section-title,
.page-live__light-bg .page-live__section-description,
.page-live__light-bg .page-live__card-title,
.page-live__light-bg .page-live__card-text,
.page-live__light-bg .page-live__item-title,
.page-live__light-bg .page-live__item-text,
.page-live__light-bg .page-live__list-item {
    color: #333333;
}

/* Text contrast fix for elements that might be on varying backgrounds */
.page-live__text-contrast-fix {
    color: var(--text-main-color, #FFF6D6);
}

/* --- Hero Section --- */
.page-live__hero-section {
    background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors for hero background */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column; /* Ensure image is above content */
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevent content overflow */
}

.page-live__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure image wrapper does not overflow */
    margin-bottom: 30px;
}

.page-live__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit hero image height */
}

.page-live__hero-content-wrapper {
    width: 100%;
    text-align: center;
}

.page-live__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--text-main-color, #FFF6D6);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-live__hero-description {
    font-size: 1.2rem;
    color: #f0f0f0;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* --- General Titles & Descriptions --- */
.page-live__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main-color, #FFF6D6);
    margin-bottom: 20px;
}

.page-live__light-bg .page-live__section-title {
    color: #333333;
}

.page-live__section-description {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-live__light-bg .page-live__section-description {
    color: #555555;
}

/* --- Buttons --- */
.page-live__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container fills width for responsive buttons */
    max-width: 100%;
    box-sizing: border-box;
}

.page-live__center-cta {
    margin-top: 50px;
}

.page-live__btn-primary,
.page-live__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* Responsive button width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
}

.page-live__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for light button */
    border: 2px solid transparent;
}

.page-live__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-live__btn-secondary {
    background: transparent;
    color: var(--text-main-color, #FFF6D6);
    border: 2px solid var(--border-color, #3A2A12);
}

.page-live__btn-secondary:hover {
    background: var(--border-color, #3A2A12);
    color: #FFF6D6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 42, 18, 0.4);
}

.page-live__btn-large {
    min-width: 220px;
}

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

.page-live__feature-card {
    background-color: var(--card-bg-color, #111111);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure cards are same height */
    box-sizing: border-box;
    border: 1px solid var(--border-color, #3A2A12);
}

.page-live__feature-image {
    width: 100%;
    max-width: 200px; /* Smaller max-width for feature images */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-live__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main-color, #FFF6D6);
    margin-bottom: 10px;
}

.page-live__card-text {
    font-size: 1rem;
    color: #c0c0c0;
    flex-grow: 1; /* Allow text to grow and push button down */
}

/* --- Game Categories --- */
.page-live__game-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.page-live__game-card {
    background-color: var(--card-bg-color, #111111);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color, #3A2A12);
    height: 100%;
    box-sizing: border-box;
}

.page-live__game-icon {
    width: 30px; /* Allowed small icon size */
    height: 30px; /* Allowed small icon size */
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5)); /* Subtle glow for icons */
}

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

.page-live__experience-item {
    background-color: var(--card-bg-color, #111111);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, #3A2A12);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-live__experience-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-live__item-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-main-color, #FFF6D6);
    margin-bottom: 10px;
}

.page-live__item-text {
    font-size: 1rem;
    color: #c0c0c0;
}

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

.page-live__promo-card {
    background-color: var(--card-bg-color, #111111);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, #3A2A12);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-live__promo-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* --- Security List --- */
.page-live__security-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.page-live__list-item {
    background-color: var(--card-bg-color, #111111);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-main-color, #FFF6D6);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color, #3A2A12);
}