/* style/8k8-originals.css */
/* This CSS is scoped to .page-8k8-originals. */

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

.page-8k8-originals {
    font-family: 'Arial', sans-serif;
    color: var(--8k8-text-main); /* Light text for dark body background */
    background-color: var(--8k8-background);
}

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

.page-8k8-originals__section-title {
    font-size: clamp(2em, 5vw, 2.8em);
    color: var(--8k8-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-8k8-originals__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-8k8-originals__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-8k8-originals__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-8k8-originals__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.page-8k8-originals__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    box-sizing: border-box;
}

.page-8k8-originals__hero-title {
    font-size: clamp(2.5em, 6vw, 4em);
    color: var(--8k8-secondary-color);
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-8k8-originals__hero-description {
    font-size: clamp(1.1em, 2.5vw, 1.4em);
    color: var(--8k8-text-main);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

/* Buttons */
.page-8k8-originals__btn-primary,
.page-8k8-originals__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-8k8-originals__btn-primary {
    background: var(--8k8-btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-8k8-originals__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-8k8-originals__btn-secondary {
    background: transparent;
    color: var(--8k8-secondary-color);
    border: 2px solid var(--8k8-secondary-color);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

.page-8k8-originals__btn-secondary:hover {
    background: var(--8k8-secondary-color);
    color: var(--8k8-background);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.4);
}

/* About Section */
.page-8k8-originals__about-section {
    padding: 60px 0;
    background-color: var(--8k8-card-bg);
}

/* Features Section */
.page-8k8-originals__features-section {
    padding: 60px 0;
}

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

.page-8k8-originals__feature-card {
    background-color: var(--8k8-card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--8k8-border-color);
    transition: transform 0.3s ease;
}

.page-8k8-originals__feature-card:hover {
    transform: translateY(-5px);
}

.page-8k8-originals__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-8k8-originals__feature-title {
    font-size: 1.5em;
    color: var(--8k8-primary-color);
    margin-bottom: 15px;
}

.page-8k8-originals__feature-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--8k8-text-main);
}

/* Game Categories Section */
.page-8k8-originals__game-categories-section {
    padding: 60px 0;
    background-color: var(--8k8-card-bg);
}

.page-8k8-originals__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.page-8k8-originals__category-card {
    background-color: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: var(--8k8-text-main);
    transition: all 0.3s ease;
    border: 1px solid var(--8k8-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-8k8-originals__category-card:hover {
    background-color: var(--8k8-primary-color);
    color: var(--8k8-background);
    transform: translateY(-3px);
}

.page-8k8-originals__category-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-bottom: 10px;
}

.page-8k8-originals__category-name {
    font-size: 1.1em;
    font-weight: bold;
}

/* Promotions Section */
.page-8k8-originals__promotions-section {
    padding: 60px 0;
}

.page-8k8-originals__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-8k8-originals__promo-card {
    background-color: var(--8k8-card-bg);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--8k8-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-8k8-originals__promo-title {
    font-size: 1.4em;
    color: var(--8k8-secondary-color);
    margin-bottom: 15px;
}

.page-8k8-originals__promo-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--8k8-text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* How to Play Section */
.page-8k8-originals__how-to-play-section {
    padding: 60px 0;
    background-color: var(--8k8-card-bg);
}

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

.page-8k8-originals__step-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--8k8-border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-8k8-originals__step-number {
    font-size: 2.5em;
    color: var(--8k8-primary-color);
    font-weight: bold;
    margin-bottom: 15px;
    background-color: rgba(242, 193, 78, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-8k8-originals__step-title {
    font-size: 1.5em;
    color: var(--8k8-secondary-color);
    margin-bottom: 15px;
}

.page-8k8-originals__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--8k8-text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Mobile Section */
.page-8k8-originals__mobile-section {
    padding: 60px 0;
}

.page-8k8-originals__mobile-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-8k8-originals__mobile-text {
    flex: 1;
    min-width: 300px;
}

.page-8k8-originals__mobile-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-8k8-originals__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Responsible Gaming Section */
.page-8k8-originals__responsible-gaming-section {
    padding: 60px 0;
    background-color: var(--8k8-card-bg);
    text-align: center;
}

.page-8k8-originals__responsible-gaming-section .page-8k8-originals__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Partners Section */
.page-8k8-originals__partners-section {
    padding: 60px 0;
}

.page-8k8-originals__partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(167px, 1fr));
    gap: 20px;
    margin-top: 40px;
    justify-items: center;
}

.page-8k8-originals__partner-item {
    background-color: var(--8k8-card-bg);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 127px; /* Fixed height for game images */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--8k8-border-color);
    transition: transform 0.3s ease;
}

.page-8k8-originals__partner-item:hover {
    transform: translateY(-3px);
}

.page-8k8-originals__partner-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: 167px;
    height: 127px;
}

/* FAQ Section */
.page-8k8-originals__faq-section {
    padding: 60px 0;
    background-color: var(--8k8-card-bg);
}

.page-8k8-originals__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-8k8-originals__faq-item {
    background-color: #1a1a1a;
    border: 1px solid var(--8k8-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-8k8-originals__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #1a1a1a;
    color: var(--8k8-secondary-color);
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-8k8-originals__faq-question:hover {
    background-color: #222222;
}

.page-8k8-originals__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: inherit;
}

.page-8k8-originals__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-8k8-originals__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--8k8-text-main);
    font-size: 1em;
    line-height: 1.6;
}

.page-8k8-originals__faq-item.active .page-8k8-originals__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 20px;
    padding-top: 0;
}

.page-8k8-originals__faq-answer p {
    margin-bottom: 0;
}

/* CTA Section */
.page-8k8-originals__cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-8k8-originals__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-8k8-originals__hero-section {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .page-8k8-originals__hero-section {
        min-height: 450px;
        padding-bottom: 40px;
    }

    .page-8k8-originals__hero-title {
        font-size: clamp(2em, 8vw, 3em);
    }

    .page-8k8-originals__hero-description {
        font-size: clamp(1em, 3vw, 1.2em);
    }

    .page-8k8-originals__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-8k8-originals__btn-primary,
    .page-8k8-originals__btn-secondary {
        padding: 12px 25px;
        font-size: 0.9em;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-8k8-originals__hero-buttons,
    .page-8k8-originals__cta-buttons {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
    }

    .page-8k8-originals__section-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
    }

    .page-8k8-originals__text-block {
        font-size: 1em;
    }

    .page-8k8-originals__features-section,
    .page-8k8-originals__game-categories-section,
    .page-8k8-originals__promotions-section,
    .page-8k8-originals__how-to-play-section,
    .page-8k8-originals__mobile-section,
    .page-8k8-originals__responsible-gaming-section,
    .page-8k8-originals__partners-section,
    .page-8k8-originals__faq-section,
    .page-8k8-originals__cta-section {
        padding: 40px 0;
    }

    .page-8k8-originals__feature-grid,
    .page-8k8-originals__categories-grid,
    .page-8k8-originals__promo-grid,
    .page-8k8-originals__steps-grid,
    .page-8k8-originals__partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-8k8-originals__mobile-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .page-8k8-originals img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-8k8-originals__section,
    .page-8k8-originals__card,
    .page-8k8-originals__container,
    .page-8k8-originals__hero-section,
    .page-8k8-originals__about-section,
    .page-8k8-originals__features-section,
    .page-8k8-originals__game-categories-section,
    .page-8k8-originals__promotions-section,
    .page-8k8-originals__how-to-play-section,
    .page-8k8-originals__mobile-section,
    .page-8k8-originals__responsible-gaming-section,
    .page-8k8-originals__partners-section,
    .page-8k8-originals__faq-section,
    .page-8k8-originals__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Specific override for game category icons to keep them small */
    .page-8k8-originals__category-icon {
        width: 30px !important;
        height: 30px !important;
    }

    /* Specific override for media partner logos to keep them small but within bounds */
    .page-8k8-originals__partner-logo {
        width: 167px !important;
        height: 127px !important;
    }
}