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

.page-arcade__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    background-color: #000000; /* Main brand color for hero background */
    color: #FFFFFF;
    text-align: center;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.page-arcade__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

.page-arcade__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #F0F0F0;
}

.page-arcade__hero-button {
    display: inline-block;
    padding: 15px 30px;
    margin: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    text-transform: uppercase;
}

.page-arcade__hero-button--primary {
    background-color: #FCBC45; /* Login color for primary action */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-arcade__hero-button--primary:hover {
    background-color: #e0a53b;
    transform: translateY(-3px);
}

.page-arcade__hero-button--secondary {
    background-color: #FFFFFF; /* Register color for secondary action */
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-arcade__hero-button--secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
}

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

.page-arcade__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.6);
}

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

.page-arcade__about-section,
.page-arcade__game-showcase,
.page-arcade__benefits-section,
.page-arcade__gaming-tips,
.page-arcade__call-to-action {
    padding: 60px 0;
}

.page-arcade__about-section {
    background-color: #F8F8F8;
}

.page-arcade__section-title {
    font-size: 2.8em;
    color: #000000;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

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

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

.page-arcade__feature-card,
.page-arcade__game-card,
.page-arcade__benefit-item {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-arcade__feature-icon,
.page-arcade__game-thumbnail,
.page-arcade__benefit-image {
    width: 100%; /* Ensure images take full width of card */
    height: auto;
    max-width: 400px; /* Max width for content images */
    min-width: 200px; /* Min width for content images */
    min-height: 200px; /* Min height for content images */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__feature-title,
.page-arcade__game-title,
.page-arcade__benefit-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-arcade__game-title a {
    color: #000000;
    text-decoration: none;
}

.page-arcade__game-title a:hover {
    color: #FCBC45;
}

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

.page-arcade__game-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.page-arcade__game-button:hover {
    background-color: #e0a53b;
}

.page-arcade__cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

.page-arcade__cta-button {
    display: inline-block;
    padding: 18px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
}

.page-arcade__cta-button--primary {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-arcade__cta-button--primary:hover {
    background-color: #e0a53b;
    transform: translateY(-3px);
}

.page-arcade__cta-button--secondary {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-arcade__cta-button--secondary:hover {
    background-color: #333333;
    transform: translateY(-3px);
}

.page-arcade__gaming-tips {
    background-color: #F8F8F8;
}

.page-arcade__tip-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-arcade__tip-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    text-align: left;
}

.page-arcade__tip-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 10px;
}

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

.page-arcade__call-to-action {
    background-color: #000000;
    color: #FFFFFF;
    text-align: center;
    padding: 80px 20px;
}

.page-arcade__call-to-action .page-arcade__section-title {
    color: #FFFFFF;
}

.page-arcade__call-to-action .page-arcade__section-intro {
    color: #F0F0F0;
    margin-bottom: 50px;
}

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

@media (max-width: 768px) {
    .page-arcade__hero-title {
        font-size: 2.5em;
    }
    .page-arcade__hero-description {
        font-size: 1.1em;
    }
    .page-arcade__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-arcade__section-title {
        font-size: 1.8em;
    }
    .page-arcade__section-intro {
        font-size: 1em;
    }
    .page-arcade__features-grid,
    .page-arcade__game-grid,
    .page-arcade__benefits-grid {
        grid-template-columns: 1fr;
    }
    .page-arcade__feature-card,
    .page-arcade__game-card,
    .page-arcade__benefit-item {
        padding: 25px;
    }
    .page-arcade__feature-icon,
    .page-arcade__game-thumbnail,
    .page-arcade__benefit-image {
        max-width: 100%;
        height: auto;
    }
    .page-arcade__hero-section,
    .page-arcade__about-section,
    .page-arcade__game-showcase,
    .page-arcade__benefits-section,
    .page-arcade__gaming-tips,
    .page-arcade__call-to-action {
        padding: 40px 0;
    }
    /* Ensure content images do not cause horizontal scroll */
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 2em;
    }
    .page-arcade__hero-description {
        font-size: 0.95em;
    }
    .page-arcade__hero-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-arcade__section-title {
        font-size: 1.5em;
    }
    .page-arcade__cta-button {
        padding: 15px 30px;
        font-size: 1em;
    }
}