/* style/promo.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-promo {
    color: var(--text-main-color); /* Default text color for dark body background */
    background-color: var(--background-color);
}

.page-promo__section {
    padding: 60px 0;
    position: relative;
}

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

.page-promo__section-title {
    font-size: 2.8em;
    font-weight: 700;
    color: var(--text-main-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-promo__sub-title {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--text-main-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-promo__section-description {
    font-size: 1.1em;
    color: rgba(255, 246, 214, 0.8);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-promo__text-block p {
    font-size: 1em;
    line-height: 1.7;
    margin-bottom: 1em;
    color: rgba(255, 246, 214, 0.8);
}

.page-promo__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
    color: rgba(255, 246, 214, 0.8);
}

.page-promo__list-item {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-promo__list-item strong {
    color: var(--text-main-color);
}

.page-promo__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
}

.page-promo__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promo__btn-primary,
.page-promo__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    cursor: pointer;
    font-size: 1.05em;
}

.page-promo__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main-color);
    border: none;
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.3);
}

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

.page-promo__btn-secondary {
    background: transparent;
    color: var(--text-main-color);
    border: 2px solid var(--primary-color);
}

.page-promo__btn-secondary:hover {
    background: rgba(242, 193, 78, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(242, 193, 78, 0.2);
}

/* Hero Section */
.page-promo__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-promo__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.page-promo__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    display: block;
}

.page-promo__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    padding: 100px 20px 0;
    margin-top: 0; /* Ensures content is below video, not overlaid */
}

.page-promo__main-title {
    font-size: clamp(2.5em, 5vw, 4.5em);
    font-weight: 900;
    color: var(--text-main-color);
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

.page-promo__hero-description {
    font-size: 1.2em;
    color: rgba(255, 246, 214, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

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

/* Content Layouts */
.page-promo__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-promo__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-promo__text-block {
    flex: 1;
    min-width: 300px;
}

.page-promo__image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-promo__image-wrapper--full {
    margin-top: 40px;
}

.page-promo__image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

/* Promotions Section */
.page-promo__dark-section {
    background-color: var(--card-bg);
}

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

.page-promo__promo-card {
    text-align: center;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-promo__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promo__card-title {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--text-main-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-promo__card-text {
    font-size: 0.95em;
    color: rgba(255, 246, 214, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-promo__promo-card .page-promo__btn-primary {
    margin-top: auto;
    width: auto;
}

/* Other Games Section */
.page-promo__game-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-promo__category-card {
    padding: 15px 20px;
    width: 150px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.page-promo__category-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-main-color);
}

.page-promo__category-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5));
}

.page-promo__category-name {
    font-size: 1em;
    font-weight: 600;
}

/* FAQ Section */
.page-promo__faq-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-promo__faq-item {
    overflow: hidden;
    cursor: pointer;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

.page-promo__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main-color);
    transition: background-color 0.3s ease;
}

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

.page-promo__faq-q-text {
    margin: 0;
    flex-grow: 1;
}

.page-promo__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-promo__faq-item.active .page-promo__faq-toggle {
    transform: rotate(45deg);
}

.page-promo__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: rgba(255, 246, 214, 0.7);
}

.page-promo__faq-item.active .page-promo__faq-answer {
    max-height: 1000px !important; /* Sufficiently large */
    padding: 15px 25px 25px;
}

.page-promo__faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* Final CTA Section */
.page-promo__cta-final {
    text-align: center;
    padding: 80px 0;
}

.page-promo__cta-final .page-promo__cta-buttons {
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-promo__section-title {
        font-size: 2.2em;
    }
    .page-promo__sub-title {
        font-size: 1.5em;
    }
    .page-promo__hero-content {
        padding: 80px 20px 0;
    }
    .page-promo__main-title {
        font-size: clamp(2em, 7vw, 3.5em);
    }
    .page-promo__hero-description {
        font-size: 1.1em;
    }
    .page-promo__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-promo__content-wrapper--reverse {
        flex-direction: column;
    }
    .page-promo__image-wrapper {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-promo__promo-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-promo__section {
        padding: 40px 0;
    }
    .page-promo__container {
        padding: 0 15px !important;
    }
    .page-promo__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-promo__section-description {
        font-size: 1em;
        margin-bottom: 25px;
    }
    .page-promo__text-block p,
    .page-promo__list-item {
        font-size: 0.95em;
    }
    .page-promo__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-promo__hero-content {
        padding: 60px 15px 0;
    }
    .page-promo__main-title {
        font-size: clamp(1.8em, 8vw, 2.8em);
    }
    .page-promo__hero-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-promo__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .page-promo__btn-primary,
    .page-promo__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promo img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-promo__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-promo__video-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    .page-promo__section,
    .page-promo__card,
    .page-promo__container,
    .page-promo__promo-cards,
    .page-promo__game-categories,
    .page-promo__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-promo__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-promo__faq-answer {
        padding: 0 20px;
    }
    .page-promo__faq-item.active .page-promo__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-promo__section-title {
        font-size: 1.6em;
    }
    .page-promo__sub-title {
        font-size: 1.3em;
    }
    .page-promo__hero-description {
        font-size: 0.9em;
    }
    .page-promo__card-title {
        font-size: 1.3em;
    }
    .page-promo__card-text {
        font-size: 0.85em;
    }
}