
/* CSS for page-55k */
:root {
    --page-55k-primary-bg: #1a1a2e;
    --page-55k-secondary-bg: #2e2e4a;
    --page-55k-text-color: #ffffff;
    --page-55k-accent-color: #ffd700;
    --page-55k-light-text: #cccccc;
    --page-55k-border-color: #4a4a6e;
    --page-55k-button-text: #1a1a2e;
}

.page-55k {
    font-family: 'Arial', sans-serif;
    background-color: var(--page-55k-primary-bg);
    color: var(--page-55k-text-color);
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

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

/* Hero Section */
.page-55k__hero-section {
    background-color: var(--page-55k-primary-bg);
    padding: 10px 0 80px 0; /* 10px top padding for fixed header offset */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-55k__hero-section .page-55k__container {
    position: relative;
    z-index: 2;
}

.page-55k__hero-title {
    font-size: 3.5em;
    color: var(--page-55k-accent-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-55k__hero-subtitle {
    font-size: 1.5em;
    color: var(--page-55k-light-text);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-55k__hero-button,
.page-55k__cta-button {
    display: inline-block;
    background-color: var(--page-55k-accent-color);
    color: var(--page-55k-button-text);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-55k__hero-button:hover,
.page-55k__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* General Section Styling */
.page-55k__about-section,
.page-55k__promo-section,
.page-55k__game-section,
.page-55k__cta-section,
.page-55k__faq-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-55k-border-color);
}

.page-55k__about-section:last-of-type,
.page-55k__promo-section:last-of-type,
.page-55k__game-section:last-of-type,
.page-55k__cta-section:last-of-type,
.page-55k__faq-section:last-of-type {
    border-bottom: none;
}

.page-55k__section-title {
    font-size: 2.5em;
    color: var(--page-55k-accent-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-55k__section-subtitle {
    font-size: 1.2em;
    color: var(--page-55k-light-text);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.page-55k__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-55k__content-text {
    flex: 1;
}

.page-55k__content-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-55k__content-text strong {
    color: var(--page-55k-accent-color);
}

.page-55k__content-image {
    flex: 1;
    text-align: center;
}

.page-55k__content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

/* Promo and Game Grids */
.page-55k__promo-grid,
.page-55k__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-55k__promo-card,
.page-55k__game-card {
    background-color: var(--page-55k-secondary-bg);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Important for responsive lists */
}

.page-55k__promo-card:hover,
.page-55k__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.page-55k__promo-card img,
.page-55k__game-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-55k__card-title {
    font-size: 1.8em;
    color: var(--page-55k-accent-color);
    margin-bottom: 10px;
}

.page-55k__card-description {
    font-size: 1em;
    color: var(--page-55k-light-text);
    margin-bottom: 20px;
    word-wrap: break-word; /* Ensure text wraps */
}

.page-55k__card-action {
    display: inline-block;
    color: var(--page-55k-accent-color);
    font-weight: bold;
    text-decoration: none;
    cursor: default; /* Not a link, so no pointer */
    padding: 8px 15px;
    border: 1px solid var(--page-55k-accent-color);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-55k__card-action:hover {
    background-color: var(--page-55k-accent-color);
    color: var(--page-55k-button-text);
}

/* CTA Section */
.page-55k__cta-section {
    text-align: center;
    background-color: var(--page-55k-secondary-bg);
    padding: 80px 0;
    border-radius: 15px;
    margin: 60px auto;
    max-width: 1000px;
}

.page-55k__cta-title {
    font-size: 3em;
    color: var(--page-55k-accent-color);
    margin-bottom: 20px;
}

.page-55k__cta-description {
    font-size: 1.3em;
    color: var(--page-55k-light-text);
    margin-bottom: 40px;
}

/* FAQ Section */
.page-55k__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-55k__faq-item {
    background-color: var(--page-55k-secondary-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Important for responsive lists */
}

.page-55k__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--page-55k-border-color);
    color: var(--page-55k-text-color);
    font-size: 1.2em;
    font-weight: bold;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-55k__faq-question:hover {
    background-color: #5a5a8a; /* Slightly lighter hover */
}

.page-55k__faq-question-text {
    margin: 0;
    color: var(--page-55k-text-color);
    pointer-events: none; /* Prevents text from blocking click event */
    flex-grow: 1;
}

.page-55k__faq-toggle {
    font-size: 1.5em;
    margin-left: 20px;
    color: var(--page-55k-accent-color);
    pointer-events: none; /* Prevents toggle from blocking click event */
    transition: transform 0.3s ease;
}

.page-55k__faq-item.active .page-55k__faq-toggle {
    transform: rotate(45deg); /* Change + to X (or - if preferred) */
}

.page-55k__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    color: var(--page-55k-light-text);
    opacity: 0;
}

.page-55k__faq-item.active .page-55k__faq-answer {
    max-height: 2000px !important; /* Sufficiently large */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-55k__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-55k__hero-title {
        font-size: 3em;
    }
    .page-55k__section-title {
        font-size: 2em;
    }
    .page-55k__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-55k__hero-section {
        padding-bottom: 60px;
    }
    .page-55k__hero-title {
        font-size: 2.5em;
    }
    .page-55k__hero-subtitle {
        font-size: 1.2em;
    }
    .page-55k__hero-button,
    .page-55k__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-55k__about-section,
    .page-55k__promo-section,
    .page-55k__game-section,
    .page-55k__cta-section,
    .page-55k__faq-section {
        padding: 40px 0;
    }

    .page-55k__section-title {
        font-size: 1.8em;
    }
    .page-55k__section-subtitle {
        font-size: 1em;
    }

    .page-55k__content-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-55k__promo-grid,
    .page-55k__game-grid {
        grid-template-columns: 1fr; /* Single column for cards */
        gap: 20px;
    }

    .page-55k__promo-card,
    .page-55k__game-card {
        padding: 20px;
        width: 100% !important; /* List item responsive */
        max-width: 100% !important; /* List item responsive */
        box-sizing: border-box !important; /* List item responsive */
        margin-left: 0 !important; /* List item responsive */
        margin-right: 0 !important; /* List item responsive */
    }

    .page-55k__promo-card img,
    .page-55k__game-card img,
    .page-55k__content-image img {
        max-width: 100% !important; /* Image responsive */
        height: auto !important; /* Image responsive */
        box-sizing: border-box !important; /* Image container responsive */
        width: 100% !important;
        overflow: hidden !important;
    }

    .page-55k__card-description {
        word-wrap: break-word !important; /* Text wrapping for lists */
        overflow-wrap: break-word !important; /* Text wrapping for lists */
    }

    .page-55k__cta-section {
        padding: 50px 20px;
        margin: 40px 20px;
    }

    .page-55k__cta-title {
        font-size: 2em;
    }
    .page-55k__cta-description {
        font-size: 1.1em;
    }

    .page-55k__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-55k__faq-toggle {
        font-size: 1.3em;
    }
    .page-55k__faq-answer {
        padding: 0 20px;
    }
    .page-55k__faq-item.active .page-55k__faq-answer {
        padding: 15px 20px !important;
    }
}

@media (max-width: 480px) {
    .page-55k__hero-title {
        font-size: 2em;
    }
    .page-55k__hero-subtitle {
        font-size: 1em;
    }
    .page-55k__section-title {
        font-size: 1.5em;
    }
    .page-55k__cta-title {
        font-size: 1.8em;
    }
}
  