/* style/arcade.css */

/* Base styles for the arcade page */
.page-arcade {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Main text color on dark background */
    background-color: #0A0A0A; /* Overall background from custom colors */
    line-height: 1.6;
}

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

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

.page-arcade__section-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Using clamp for H2 */
    color: #F2C14E; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-arcade__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-arcade__btn-primary,
.page-arcade__btn-secondary,
.page-arcade__btn-tertiary,
.page-arcade__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
}

.page-arcade__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text on bright button */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-arcade__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-arcade__btn-secondary {
    background: transparent;
    color: #F2C14E; /* Primary color for text */
    border: 2px solid #F2C14E; /* Primary color for border */
}

.page-arcade__btn-secondary:hover {
    background: #F2C14E;
    color: #111111; /* Dark text on primary hover */
}

.page-arcade__btn-tertiary {
    background-color: #3A2A12; /* Border color for background */
    color: #FFF6D6; /* Main text color */
    border: 1px solid #FFD36B; /* Glow color for border */
    padding: 8px 18px;
    font-size: 0.9em;
}

.page-arcade__btn-tertiary:hover {
    background-color: #FFD36B; /* Glow color for hover background */
    color: #111111; /* Dark text on glow hover */
}

.page-arcade__btn-link {
    background: none;
    border: none;
    color: #FFD36B; /* Glow color for links */
    text-decoration: underline;
    padding: 0;
    font-size: 1em;
}

.page-arcade__btn-link:hover {
    color: #F2C14E; /* Primary color for link hover */
}

/* Hero Section */
.page-arcade__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px; /* Small top padding, more bottom padding */
    overflow: hidden;
}

.page-arcade__hero-image-wrapper {
    position: relative;
    width: 100%;
    max-height: 700px; /* Limit height of image wrapper */
    overflow: hidden;
}

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

.page-arcade__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 40px 20px;
    position: relative; /* Ensure content is above any background elements if needed */
    z-index: 2; /* Ensure text is above image if any layering issue */
}

.page-arcade__hero-title {
    font-size: clamp(2.5em, 5vw, 3.8em); /* Adjusted H1 size */
    color: #FFF6D6; /* Main text color */
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

.page-arcade__hero-description {
    font-size: 1.3em;
    color: #FFD36B; /* Glow color for description */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__hero-cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 20px;
}

/* About Section */
.page-arcade__about-section .page-arcade__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6;
}

/* Games Showcase */
.page-arcade__games-showcase .page-arcade__text-block {
    color: #FFF6D6;
}

.page-arcade__category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-arcade__category-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    flex: 1 1 280px; /* Allow items to grow/shrink */
    max-width: 350px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.3);
}

.page-arcade__category-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px #FFD36B); /* Add a subtle glow to icons */
}

.page-arcade__category-title {
    font-size: 1.4em;
    color: #F2C14E;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-arcade__category-description {
    font-size: 0.95em;
    color: #FFF6D6;
}

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

.page-arcade__game-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-arcade__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.3);
}

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

.page-arcade__game-card-title {
    font-size: 1.3em;
    color: #F2C14E;
    margin: 15px 10px 5px;
    font-weight: bold;
}

.page-arcade__game-card-description {
    font-size: 0.9em;
    color: #FFF6D6;
    padding: 0 15px 15px;
    flex-grow: 1; /* Allows description to take up available space */
}

.page-arcade__game-card .page-arcade__btn-tertiary {
    margin: 0 15px 20px;
    width: calc(100% - 30px); /* Adjust width to fit padding */
}

/* Bonuses Section */
.page-arcade__bonuses-section .page-arcade__text-block {
    color: #FFF6D6;
}

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

.page-arcade__card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-arcade__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.3);
}

.page-arcade__card-title {
    font-size: 1.5em;
    color: #F2C14E;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-arcade__card-description {
    font-size: 1em;
    color: #FFF6D6;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Seamless Experience */
.page-arcade__seamless-experience .page-arcade__text-block {
    color: #FFF6D6;
}

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

.page-arcade__feature-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-arcade__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.3);
}

.page-arcade__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-arcade__feature-title {
    font-size: 1.4em;
    color: #F2C14E;
    margin: 15px 10px 5px;
    font-weight: bold;
}

.page-arcade__feature-description {
    font-size: 0.95em;
    color: #FFF6D6;
    padding: 0 15px 20px;
}

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

/* How to Start */
.page-arcade__how-to-start .page-arcade__text-block {
    color: #FFF6D6;
}

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