/* style/arcade.css */

/* Root variables for colors */
:root {
    --winslot-primary-color: #F2C14E;
    --winslot-secondary-color: #FFD36B;
    --winslot-card-bg: #111111;
    --winslot-bg: #0A0A0A;
    --winslot-text-main: #FFF6D6;
    --winslot-border: #3A2A12;
    --winslot-glow: #FFD36B;
    --header-offset: 122px; /* Default, will be overridden by shared.css */
}

.page-arcade {
    background-color: var(--winslot-bg);
    color: var(--winslot-text-main); /* Ensure light text on dark background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* General Section Styling */
.page-arcade__section-title {
    font-size: clamp(2rem, 4vw, 3.5rem); /* Responsive H2 font size */
    color: var(--winslot-secondary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-arcade__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: rgba(255, 246, 214, 0.8); /* Slightly muted text for description */
}

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

/* Card Styling */
.page-arcade__card {
    background-color: var(--winslot-card-bg);
    border: 1px solid var(--winslot-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Button Styling */
.page-arcade__btn-primary,
.page-arcade__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
}

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

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

.page-arcade__btn-secondary {
    background-color: transparent;
    color: var(--winslot-secondary-color);
    border: 2px solid var(--winslot-secondary-color);
}

.page-arcade__btn-secondary:hover {
    background-color: var(--winslot-secondary-color);
    color: var(--winslot-bg);
    transform: translateY(-2px);
}

.page-arcade__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Hero Section */
.page-arcade__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
}

.page-arcade__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for aesthetic */
    overflow: hidden;
    position: relative;
    margin-bottom: 40px; /* Space between image and content */
}

.page-arcade__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-arcade__main-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive H1 font size */
    color: var(--winslot-text-main);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-arcade__hero-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 40px;
    color: rgba(255, 246, 214, 0.9);
}

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

/* About Section */
.page-arcade__about-section {
    padding: 80px 0;
    background-color: var(--winslot-bg);
}

/* Games Showcase Section */
.page-arcade__games-showcase {
    padding: 80px 0;
    background-color: var(--winslot-bg);
}

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

.page-arcade__category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
}

.page-arcade__category-icon {
    width: 30px; /* Allowed small icon size */
    height: 30px; /* Allowed small icon size */
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px var(--winslot-secondary-color)); /* Glow effect, not color change */
}