/* style/live.css */

/* Custom properties for colors */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg-color: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    /* header-offset is defined in shared.css, body padding-top uses it */
}

/* Base styles for the live page content */
.page-live {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color);
    background: var(--background-color);
    box-sizing: border-box;
    padding-bottom: 40px; /* Space for footer */
}

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

.page-live__container--center-text {
    text-align: center;
}

/* Section styling */
.page-live__section {
    padding: 60px 0;
}

.page-live__section--dark {
    background: var(--background-color);
    color: var(--text-main-color);
}

.page-live__section--light {
    background: var(--card-bg-color); /* Using card bg for contrast */
    color: var(--text-main-color); /* Keeping text light on this slightly lighter dark background */
}

/* Ensure text contrast on light-ish background for readability */
.page-live__section--light .page-live__text-contrast-fix {
    color: var(--text-main-color); /* Still light text on dark-ish bg */
}

/* Headings */
.page-live__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px var(--glow-color);
}

.page-live__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 8px var(--glow-color);
}

.page-live__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-live__feature-title,
.page-live__game-title,
.page-live__promo-title,
.page-live__safety-title,
.page-live__faq-title {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: bold;
    color: var(--text-main-color);
    margin-bottom: 10px;
}

.page-live__game-title a,
.page-live__promo-title a {
    color: var(--text-main-color);
    text-decoration: none;
}

.page-live__game-title a:hover,
.page-live__promo-title a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Paragraphs and lists */
.page-live__hero-description,
.page-live__section-description,
.page-live__game-text,
.page-live__promo-text,
.page-live__safety-item p,
.page-live__faq-answer p {
    font-size: 1.1rem;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

.page-live__highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-live__text-link {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-live__text-link:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.page-live__feature-list,
.page-live__provider-list,
.page-live__bullet-list,
.page-live__numbered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

.page-live__numbered-list {
    list-style-type: decimal;
}

.page-live__feature-list li,
.page-live__provider-list li,
.page-live__bullet-list li,
.page-live__numbered-list li {
    margin-bottom: 10px;
}

.page-live__feature-list li strong {
    color: var(--primary-color);
}

/* Buttons */
.page-live__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.page-live__cta-buttons--inline {
    justify-content: flex-start;
}

.page-live__cta-buttons--center {
    justify-content: center;
}

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

.page-live__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-live__btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-live__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.page-live__btn-small {
    padding: 10px 20px;
    font-size: 1rem;
}

.page-live__btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Image styling */
.page-live img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    filter: none; /* Ensure no CSS filter is applied */
}

/* Hero Section */
.page-live__hero-section {
    background: var(--background-color);
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing for desktop */
}

.page-live__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Image above text on desktop */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-live__hero-image-container {
    width: 100%;
    margin-bottom: 40px;
}

.page-live__hero-image {
    width: 100%;
    height: 675px; /* Aspect ratio for 1200x675 display */
    object-fit: cover;
}

.page-live__hero-text-content {
    text-align: center;
    max-width: 900px;
}

/* Feature Grid */
.page-live__feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-live__feature-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-live__game-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-live__game-card .page-live__game-image {
    margin-bottom: 20px;
    height: 250px; /* Fixed height for consistency */
    width: 100%;
}

.page-live__game-card .page-live__btn-primary {
    margin-top: auto; /* Push button to bottom */
}

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

.page-live__promo-card {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-live__promo-card .page-live__promo-image {
    margin-bottom: 20px;
    height: 200px; /* Fixed height for consistency */
    width: 100%;
}

.page-live__promo-card .page-live__btn-primary {
    margin-top: auto; /* Push button to bottom */
}

/* Device Showcase */
.page-live__device-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: center;
}

.page-live__device-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-live__device-item .page-live__mobile-image {
    margin-bottom: 20px;
    max-height: 400px; /* Max height for mobile image */
    object-fit: contain;
}

/* Safety Grid */
.page-live__safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.page-live__safety-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-live__faq-list {
    margin-top: 40px;
}

.page-live__faq-item {
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-live__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: rgba(242, 193, 78, 0.05); /* Slightly lighter background for question */
    transition: background-color 0.3s ease;
}

.page-live__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1);
}

.page-live__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-toggle {
    transform: rotate(45deg); /* Plus sign to X or minus */
}

.page-live__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-live__faq-item.active .page-live__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 15px 20px;
}

.page-live__faq-answer p {
    margin-bottom: 0;
}

/* Final CTA Section */
.page-live__final-cta {
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-live__hero-image {
        height: 500px;
    }

    .page-live__feature-grid,
    .page-live__device-showcase,
    .page-live__safety-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-live__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
    }
}