.page-arcade {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-arcade__hero-section {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding-bottom: 60px; /* Adjusted padding as image is now within content */
}

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.page-arcade__hero-container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    padding: 40px 20px;
}

.page-arcade__hero-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
}

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

.page-arcade__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

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

.page-arcade__button--primary {
    background-color: #FFD700; /* Gold accent */
    color: #1A1A1A; /* Dark text */
}

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

.page-arcade__button--secondary {
    background-color: #1A1A1A; /* Dark background */
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-arcade__button--secondary:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

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

.page-arcade__section-title {
    font-size: 2.5em;
    color: #1A1A1A; /* Dark text */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

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

.page-arcade__about-section,
.page-arcade__games-showcase,
.page-arcade__how-to-start,
.page-arcade__mobile-experience,
.page-arcade__bonuses,
.page-arcade__security-section,
.page-arcade__faq,
.page-arcade__cta-section {
    padding: 60px 0;
}

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

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

.page-arcade__feature-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-arcade__feature-title {
    font-size: 1.5em;
    color: #1A1A1A;
    margin-bottom: 15px;
}

.page-arcade__feature-text {
    font-size: 1em;
    color: #666666;
}

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

.page-arcade__game-card,
.page-arcade__bonus-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__game-card:hover,
.page-arcade__bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-arcade__game-card-image,
.page-arcade__bonus-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
}

.page-arcade__game-card-title,
.page-arcade__bonus-card-title {
    font-size: 1.4em;
    color: #1A1A1A;
    margin: 20px 15px 10px 15px;
}

.page-arcade__game-card-text,
.page-arcade__bonus-card-text {
    font-size: 0.95em;
    color: #666666;
    padding: 0 15px 20px 15px;
}

.page-arcade__game-card .page-arcade__button,
.page-arcade__bonus-card .page-arcade__button {
    margin-bottom: 20px;
}

.page-arcade__how-to-start {
    background-color: #f0f0f0;
}

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

.page-arcade__step-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-arcade__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-arcade__step-title {
    font-size: 1.6em;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.page-arcade__step-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
}

.page-arcade__mobile-experience {
    background-color: #ffffff;
}

.page-arcade__mobile-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.page-arcade__mobile-content {
    flex: 1;
    min-width: 300px;
}

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

.page-arcade__mobile-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-arcade__security-section {
    background-color: #1A1A1A; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-arcade__security-section .page-arcade__section-title {
    color: #FFD700;
}

.page-arcade__security-section .page-arcade__section-title::after {
    background-color: #FFD700;
}

.page-arcade__security-section .page-arcade__section-description {
    color: #f0f0f0;
}

.page-arcade__security-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap-reverse; /* Image on right, content on left */
}

.page-arcade__security-content {
    flex: 1;
    min-width: 300px;
}

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

.page-arcade__security-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-arcade__security-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-arcade__security-list li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
    background-size: 20px;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #f0f0f0;
}

.page-arcade__faq {
    background-color: #f9f9f9;
}

.page-arcade__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.page-arcade__faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-arcade__faq-question {
    font-size: 1.3em;
    color: #1A1A1A;
    margin-bottom: 10px;
}

.page-arcade__faq-answer {
    font-size: 1em;
    color: #555555;
}

.page-arcade__cta-section {
    background-color: #FFD700; /* Gold background */
    padding: 80px 0;
    text-align: center;
    color: #1A1A1A; /* Dark text */
}

.page-arcade__cta-content .page-arcade__section-title {
    color: #1A1A1A;
}

.page-arcade__cta-content .page-arcade__section-title::after {
    background-color: #1A1A1A;
}

.page-arcade__cta-content .page-arcade__section-description {
    color: #333333;
}

.page-arcade__cta-section .page-arcade__button--primary {
    background-color: #1A1A1A;
    color: #FFD700;
    border: 2px solid #1A1A1A;
}

.page-arcade__cta-section .page-arcade__button--primary:hover {
    background-color: #333333;
    color: #FFD700;
}

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

    .page-arcade__section-title {
        font-size: 2em;
    }

    .page-arcade__mobile-flex,
    .page-arcade__security-flex {
        flex-direction: column;
        text-align: center;
    }
    .page-arcade__mobile-content, .page-arcade__security-content {
        order: 2;
    }
    .page-arcade__mobile-image-wrapper, .page-arcade__security-image-wrapper {
        order: 1;
    }
}

@media (max-width: 768px) {
    .page-arcade {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
    }

    .page-arcade__hero-title {
        font-size: 2em;
    }

    .page-arcade__hero-description {
        font-size: 1em;
    }

    .page-arcade__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-arcade__button {
        padding: 12px 25px;
        font-size: 1em;
        width: 100%;
        max-width: 280px;
    }

    .page-arcade__section-title {
        font-size: 1.8em;
    }

    .page-arcade__section-description {
        font-size: 0.95em;
    }

    .page-arcade__features-grid,
    .page-arcade__game-cards-grid,
    .page-arcade__bonus-cards-grid,
    .page-arcade__steps-grid {
        grid-template-columns: 1fr;
    }

    .page-arcade__mobile-image,
    .page-arcade__security-image {
        max-width: 100%; /* Ensure images don't overflow */
        height: auto;
    }
    .page-arcade img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-arcade__hero-title {
        font-size: 1.8em;
    }

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

    .page-arcade__section-title {
        font-size: 1.5em;
    }

    .page-arcade__feature-title,
    .page-arcade__game-card-title,
    .page-arcade__bonus-card-title,
    .page-arcade__step-title,
    .page-arcade__faq-question {
        font-size: 1.2em;
    }
}