.page-arcade {
    color: #333333; /* Dark text for light body background */
}

.page-arcade__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    overflow: hidden;
    background-color: #0A2E36; /* Primary color background for hero overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-arcade__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-arcade__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay to allow text to stand out */
}

.page-arcade__hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
    color: #ffffff; /* Light text for dark hero background */
    background: rgba(10, 46, 54, 0.7); /* Semi-transparent primary color overlay */
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-arcade__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold accent for title */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-arcade__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 200px;
    text-align: center;
}

.page-arcade__button--primary {
    background-color: #FFD700; /* Gold accent */
    color: #0A2E36; /* Dark text for gold button */
    border: 2px solid #FFD700;
}

.page-arcade__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-arcade__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text for secondary button */
    border: 2px solid #FFD700;
}

.page-arcade__button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
}

.page-arcade__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    min-width: 150px;
}

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

.page-arcade__introduction-section, .page-arcade__game-showcase, .page-arcade__benefits-section, .page-arcade__getting-started-section, .page-arcade__strategy-guide, .page-arcade__cta-section {
    padding: 60px 0;
    text-align: center;
}

.page-arcade__introduction-section {
    background-color: #f4f4f4;
}

.page-arcade__game-showcase {
    background-color: #e9e9e9;
}

.page-arcade__benefits-section {
    background-color: #f4f4f4;
}

.page-arcade__getting-started-section {
    background-color: #e9e9e9;
}

.page-arcade__strategy-guide {
    background-color: #f4f4f4;
}

.page-arcade__cta-section {
    background-color: #0A2E36; /* Primary color background */
    color: #ffffff; /* Light text for dark background */
}

.page-arcade__section-title {
    font-size: 2.8em;
    margin-bottom: 30px;
    color: #0A2E36; /* Primary color for section titles */
    position: relative;
    padding-bottom: 15px;
}

.page-arcade__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold accent line */
    border-radius: 2px;
}

.page-arcade__cta-section .page-arcade__section-title {
    color: #FFD700; /* Gold for CTA section title */
}

.page-arcade__section-text {
    font-size: 1.1em;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-arcade__cta-section .page-arcade__section-text {
    color: #e0e0e0;
}

.page-arcade__section-text--final {
    margin-top: 50px;
    font-weight: bold;
}

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

.page-arcade__game-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-arcade__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-arcade__game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.page-arcade__game-card-title {
    font-size: 1.8em;
    color: #0A2E36;
    padding: 20px 20px 10px 20px;
}

.page-arcade__game-card-description {
    font-size: 1em;
    line-height: 1.6;
    color: #666666;
    padding: 0 20px 20px 20px;
    flex-grow: 1;
}

.page-arcade__game-card .page-arcade__button {
    margin: 0 20px 20px 20px;
    align-self: flex-start;
}

.page-arcade__benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-arcade__benefit-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.page-arcade__benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-arcade__benefit-heading {
    font-size: 1.6em;
    color: #0A2E36;
    margin-bottom: 15px;
}

.page-arcade__benefit-description {
    font-size: 1em;
    line-height: 1.6;
    color: #666666;
}

.page-arcade__benefit-item .page-arcade__button {
    margin-top: 20px;
    align-self: flex-start;
}

.page-arcade__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-arcade__step-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    counter-increment: step-counter;
    height: 100%;
}

.page-arcade__step-item::before {
    content: counter(step-counter);
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #FFD700;
    color: #0A2E36;
    font-size: 1.8em;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-arcade__step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-arcade__step-heading {
    font-size: 1.6em;
    color: #0A2E36;
    margin-bottom: 15px;
    padding-top: 20px;
}

.page-arcade__step-description {
    font-size: 1em;
    line-height: 1.6;
    color: #666666;
}

.page-arcade__step-item .page-arcade__button {
    margin-top: 20px;
    align-self: flex-start;
}

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

.page-arcade__strategy-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.page-arcade__strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.page-arcade__strategy-heading {
    font-size: 1.6em;
    color: #0A2E36;
    margin-bottom: 15px;
}

.page-arcade__strategy-description {
    font-size: 1em;
    line-height: 1.6;
    color: #666666;
}

.page-arcade__strategy-card .page-arcade__button {
    margin-top: 20px;
    align-self: flex-start;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-arcade__hero-title {
        font-size: 2.8em;
    }
    .page-arcade__section-title {
        font-size: 2.4em;
    }
}

@media (max-width: 768px) {
    .page-arcade__hero-section {
        min-height: 500px;
    }
    .page-arcade__hero-title {
        font-size: 2.2em;
    }
    .page-arcade__hero-description {
        font-size: 1em;
    }
    .page-arcade__button {
        padding: 12px 25px;
        font-size: 1em;
        min-width: unset;
    }
    .page-arcade__section-title {
        font-size: 2em;
    }
    .page-arcade__section-text {
        font-size: 0.95em;
    }
    .page-arcade__game-grid, .page-arcade__benefit-list, .page-arcade__steps-list, .page-arcade__strategy-grid {
        grid-template-columns: 1fr;
    }
    .page-arcade__game-image, .page-arcade__benefit-item, .page-arcade__step-item, .page-arcade__strategy-card {
        height: auto;
    }
    .page-arcade__game-card, .page-arcade__benefit-item, .page-arcade__step-item, .page-arcade__strategy-card {
        text-align: center;
    }
    .page-arcade__game-card .page-arcade__button, .page-arcade__benefit-item .page-arcade__button, .page-arcade__step-item .page-arcade__button, .page-arcade__strategy-card .page-arcade__button {
        align-self: center;
    }
    .page-arcade__step-item::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .page-arcade__step-heading {
        padding-top: 40px;
    }

    /* Ensure all images within .page-arcade do not overflow */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }

    .page-arcade__hero-container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 1.8em;
    }
    .page-arcade__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-arcade__section-title {
        font-size: 1.6em;
    }
    .page-arcade__game-card-title, .page-arcade__benefit-heading, .page-arcade__step-heading, .page-arcade__strategy-heading {
        font-size: 1.4em;
    }
    .page-arcade__button {
        width: 100%;
        box-sizing: border-box;
    }
    .page-arcade__cta-buttons {
        flex-direction: column;
    }
}