/* style/game-demos-live-table.css */

.page-game-demos-live-table {
    font-family: 'Arial', sans-serif;
    color: #e5dfca; /* Light text for dark background */
    background-color: #1A2035; /* Primary dark background */
    line-height: 1.6;
}

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

.page-game-demos-live-table__hero-section {
    background: linear-gradient(135deg, #1A2035 0%, #3a425c 100%);
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 2px solid #FFD700;
}

.page-game-demos-live-table__main-title {
    font-size: 3.2em;
    color: #FFD700; /* Auxiliary color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-demos-live-table__subtitle {
    font-size: 1.2em;
    color: #e5dfca;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-game-demos-live-table__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Auxiliary color for CTA */
    color: #1A2035; /* Dark text for light button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-game-demos-live-table__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-game-demos-live-table__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
}

.page-game-demos-live-table__content-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-game-demos-live-table__content-section:last-of-type {
    border-bottom: none;
}

.page-game-demos-live-table__description {
    font-size: 1.1em;
    color: #e5dfca;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
}

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

.page-game-demos-live-table__feature-item {
    background-color: #2a324b; /* Slightly lighter dark background */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-game-demos-live-table__feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-game-demos-live-table__feature-image {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.page-game-demos-live-table__feature-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-game-demos-live-table__feature-item p {
    color: #e5dfca;
    font-size: 1em;
}

.page-game-demos-live-table__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-game-demos-live-table__game-item {
    background-color: #2a324b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-game-demos-live-table__game-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-game-demos-live-table__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-game-demos-live-table__game-item h3,
.page-game-demos-live-table__game-item p,
.page-game-demos-live-table__game-item .page-game-demos-live-table__game-cta {
    padding: 0 25px;
}

.page-game-demos-live-table__game-title {
    font-size: 1.8em;
    color: #FFD700;
    margin: 25px 0 15px;
}

.page-game-demos-live-table__game-item p {
    color: #e5dfca;
    font-size: 0.95em;
    margin-bottom: 25px;
}

.page-game-demos-live-table__game-cta {
    display: block;
    background-color: #FFD700;
    color: #1A2035;
    padding: 12px 25px;
    border-radius: 0 0 12px 12px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push CTA to bottom */
}

.page-game-demos-live-table__game-cta:hover {
    background-color: #e6c200;
}

.page-game-demos-live-table__guide-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-game-demos-live-table__guide-list li {
    background-color: #2a324b;
    border-left: 5px solid #FFD700;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-game-demos-live-table__guide-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-game-demos-live-table__guide-list p {
    color: #e5dfca;
    font-size: 1em;
    text-align: left;
}

.page-game-demos-live-table__guide-cta {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2035;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.page-game-demos-live-table__guide-cta:hover {
    background-color: #e6c200;
}

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

.page-game-demos-live-table__promo-item {
    background-color: #2a324b;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-game-demos-live-table__promo-image {
    width: 100%;
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.page-game-demos-live-table__promo-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-game-demos-live-table__promo-item p {
    color: #e5dfca;
    font-size: 1em;
}

.page-game-demos-live-table__tips-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-game-demos-live-table__tips-list li {
    background-color: #2a324b;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-left: 4px solid #FFD700;
    color: #e5dfca;
    font-size: 1.1em;
}

.page-game-demos-live-table__tips-list li strong {
    color: #FFD700;
}

.page-game-demos-live-table__faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.page-game-demos-live-table__faq-item {
    background-color: #2a324b;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-game-demos-live-table__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    padding: 20px 25px;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-game-demos-live-table__faq-question:hover {
    background-color: #3b4562;
}

.page-game-demos-live-table__faq-question::after {
    content: '+';
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-game-demos-live-table__faq-item.active .page-game-demos-live-table__faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-game-demos-live-table__faq-answer {
    padding: 0 25px 20px;
    color: #e5dfca;
    font-size: 1em;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-game-demos-live-table__faq-item.active .page-game-demos-live-table__faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 0 25px 20px;
}

.page-game-demos-live-table__cta-final-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(45deg, #1A2035, #3b4562);
}

.page-game-demos-live-table__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-game-demos-live-table__main-title {
        font-size: 2.5em;
    }

    .page-game-demos-live-table__section-title {
        font-size: 2em;
    }

    .page-game-demos-live-table__feature-item,
    .page-game-demos-live-table__game-item,
    .page-game-demos-live-table__promo-item {
        padding: 20px;
    }

    .page-game-demos-live-table__feature-title,
    .page-game-demos-live-table__game-title,
    .page-game-demos-live-table__promo-title {
        font-size: 1.4em;
    }

    .page-game-demos-live-table__game-image {
        height: 150px;
    }

    .page-game-demos-live-table__faq-question {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-game-demos-live-table__hero-section {
        padding: 60px 0 40px;
    }

    .page-game-demos-live-table__main-title {
        font-size: 2em;
    }

    .page-game-demos-live-table__subtitle {
        font-size: 1em;
    }

    .page-game-demos-live-table__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-game-demos-live-table__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 40px;
    }

    .page-game-demos-live-table__description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-game-demos-live-table__feature-item,
    .page-game-demos-live-table__game-item,
    .page-game-demos-live-table__promo-item {
        padding: 15px;
    }

    .page-game-demos-live-table__feature-image {
        max-width: 120px;
    }

    .page-game-demos-live-table__game-image {
        height: 120px;
    }

    .page-game-demos-live-table__guide-list li {
        padding: 20px;
    }

    .page-game-demos-live-table__guide-title {
        font-size: 1.3em;
    }

    .page-game-demos-live-table__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-game-demos-live-table__faq-answer {
        padding: 0 20px 15px;
    }

    .page-game-demos-live-table__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}