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

/* style/arcade.css */

/* --- Base Styles --- */
.page-arcade {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* #FFF6D6 */
    background-color: var(--background-color); /* #0A0A0A */
}

/* Fixed header spacing - relying on shared.css for body padding-top */
.page-arcade__hero-section {
    padding-top: 40px; /* Small top padding for visual spacing within the section */
    padding-bottom: 60px;
    position: relative;
    background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Added a background for visual interest */
}

.page-arcade__section {
    padding: 60px 0;
}

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

.page-arcade__section-title {
    font-size: 2.8em;
    color: var(--text-main); /* #FFF6D6 */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-arcade__section-intro {
    font-size: 1.1em;
    color: var(--text-main); /* #FFF6D6 */
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-arcade__sub-title,
.page-arcade__card-title,
.page-arcade__category-title {
    font-size: 1.8em;
    color: var(--text-main); /* #FFF6D6 */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-arcade__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    color: var(--text-main); /* #FFF6D6 */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__hero-description {
    font-size: 1.2em;
    color: var(--text-main); /* #FFF6D6 */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

/* --- Hero Section --- */
.page-arcade__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-arcade__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    display: block; /* Ensure it behaves as a block element */
}

.page-arcade__hero-text-container {
    text-align: center;
    width: 100%; /* Ensure it takes full width */
}

.page-arcade__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* --- Buttons --- */
.page-arcade__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-arcade__btn-primary {
    background: var(--button-gradient); /* Custom button color */
    color: #111111; /* Dark text for light button */
    border: 2px solid transparent;
}

.page-arcade__btn-primary:hover {
    background: linear-gradient(180deg, #EAD05C 0%, #C99015 100%);
    box-shadow: 0 0 15px var(--glow); /* #FFD36B */
}

.page-arcade__btn-secondary {
    background: transparent;
    color: var(--text-main); /* #FFF6D6 */
    border: 2px solid var(--border-color); /* #3A2A12 */
}

.page-arcade__btn-secondary:hover {
    background: var(--border-color); /* #3A2A12 */
    color: var(--text-main); /* #FFF6D6 */
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.3);
}

/* --- Content Grid Layouts --- */
.page-arcade__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-arcade__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-arcade__content-block {
    flex: 1;
}

.page-arcade__content-block img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.page-arcade__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-arcade__list-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main); /* #FFF6D6 */
}

.page-arcade__list-item::before {
    content: '✅';
    font-size: 1.2em;
    margin-right: 5px;
}

/* --- Dark Section --- */
.page-arcade__dark-section {
    background-color: var(--card-bg); /* #111111 */
    color: var(--text-main); /* #FFF6D6 */
}

/* --- Feature Cards --- */
.page-arcade__features-grid,
.page-arcade__steps-grid,
.page-arcade__categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-arcade__card {
    background-color: var(--card-bg); /* #111111 */
    border: 1px solid var(--border-color); /* #3A2A12 */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main); /* #FFF6D6 */
}

.page-arcade__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__card-text {
    color: var(--text-main); /* #FFF6D6 */
}

.page-arcade__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color); /* #F2C14E */
    color: #111111;
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-arcade__category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-arcade__category-icon {
    width: 30px; /* Allowed exception for category icons */
    height: 30px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

.page-arcade__category-description {
    font-size: 0.95em;
    color: var(--text-main); /* #FFF6D6 */
}

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

.page-arcade__faq-item {
    background-color: var(--card-bg); /* #111111 */
    border: 1px solid var(--border-color); /* #3A2A12 */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-arcade__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-main); /* #FFF6D6 */
    font-weight: bold;
}

.page-arcade__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.page-arcade__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-main); /* #FFF6D6 */
}

.page-arcade__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color); /* #F2C14E */
}

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

.page-arcade__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: var(--text-main); /* #FFF6D6 */
}

.page-arcade__faq-item.active .page-arcade__faq-answer {
    max-height: 1000px !important; /* Important for JS functionality */
    padding: 15px 25px;
}

.page-arcade__faq-answer p {
    margin-bottom: 0;
    padding-bottom: 15px;
    font-size: 1em;
}

.page-arcade__faq-more-btn {
    margin-top: 40px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-arcade__section-title {
        font-size: 2.2em;
    }
    .page-arcade__sub-title,
    .page-arcade__card-title,
    .page-arcade__category-title {
        font-size: 1.5em;
    }
    .page-arcade__hero-title {
        font-size: clamp(2em, 5vw, 3em);
    }
    .page-arcade__hero-description {
        font-size: 1.1em;
    }
    .page-arcade__content-grid {
        flex-direction: column;
        gap: 30px;
    }
    .page-arcade__content-grid--reverse {
        flex-direction: column;
    }
    .page-arcade__features-grid,
    .page-arcade__steps-grid,
    .page-arcade__categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-arcade {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-arcade__section {
        padding: 40px 0;
    }
    .page-arcade__container {
        padding: 0 15px;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-arcade__hero-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}