/* style/slot-games.css */

/* Custom colors from prompt */
:root {
    --c54c-primary-color: #2F6BFF;
    --c54c-secondary-color: #6FA3FF;
    --c54c-button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    --c54c-card-bg: #FFFFFF;
    --c54c-background: #F4F7FB;
    --c54c-text-main: #1F2D3D;
    --c54c-text-black: #000000;
    --c54c-border: #D6E2FF;
    --c54c-glow: #A5C4FF;
}

.page-slot-games {
    font-family: 'Arial', sans-serif;
    color: var(--c54c-text-main);
    background-color: var(--c54c-background);
    line-height: 1.6;
    padding-bottom: 40px;
}

.page-slot-games__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, header offset handled by body */
    padding-bottom: 60px;
    background: linear-gradient(180deg, var(--c54c-primary-color) 0%, var(--c54c-secondary-color) 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

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

.page-slot-games__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
    max-width: 100%;
}

.page-slot-games__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: var(--c54c-button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-slot-games__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-slot-games__btn-secondary {
    background: #ffffff;
    color: var(--c54c-primary-color);
    border: 2px solid var(--c54c-primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-slot-games__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-slot-games__hero-image {
    width: 1200px;
    height: 675px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    z-index: 1;
}

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

.page-slot-games__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--c54c-text-main);
    text-align: center;
    margin-bottom: 20px;
}

.page-slot-games__subtitle {
    font-size: 1.2em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.page-slot-games__about-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.page-slot-games__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-slot-games__text-content {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.8;
}

.page-slot-games__text-content p {
    margin-bottom: 15px;
}

.page-slot-games__image-right {
    flex-shrink: 0;
    width: 600px;
    height: 400px;
    max-width: 45%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Game Types Section */
.page-slot-games__game-types {
    padding: 60px 0;
    background-color: var(--c54c-background);
}

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

.page-slot-games__type-item {
    background-color: var(--c54c-card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--c54c-border);
}

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

.page-slot-games__type-title {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--c54c-primary-color);
    margin-bottom: 15px;
}

.page-slot-games__type-image {
    width: 250px;
    height: 250px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-slot-games__type-description {
    font-size: 1em;
    color: #666666;
}

.page-slot-games__cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Why c54c Section */
.page-slot-games__why-c54c {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-slot-games__feature-item {
    background-color: var(--c54c-card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--c54c-border);
    transition: transform 0.2s ease;
}

.page-slot-games__feature-item:hover {
    transform: translateY(-3px);
}

.page-slot-games__feature-icon {
    width: 60px;
    height: 60px;
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px; /* Enforce min size for content images */
}

.page-slot-games__feature-title {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--c54c-text-main);
    margin-bottom: 10px;
}

.page-slot-games__feature-description {
    font-size: 0.95em;
    color: #666666;
}

/* Guide Section */
.page-slot-games__guide-section {
    padding: 60px 0;
    background-color: var(--c54c-background);
}

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

.page-slot-games__step-item {
    background-color: var(--c54c-card-bg);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--c54c-border);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-slot-games__step-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--c54c-primary-color);
    margin-bottom: 15px;
}

.page-slot-games__step-item p {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-slot-games__sub-heading {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--c54c-text-main);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 30px;
}

.page-slot-games__tips-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.page-slot-games__tips-list li {
    background-color: var(--c54c-card-bg);
    border-left: 5px solid var(--c54c-primary-color);
    margin-bottom: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1.1em;
    color: var(--c54c-text-main);
}

.page-slot-games__tips-list li strong {
    color: var(--c54c-primary-color);
}

/* Promotions Section */
.page-slot-games__promotions-section {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-slot-games__promo-card {
    background-color: var(--c54c-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: center;
    border: 1px solid var(--c54c-border);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.page-slot-games__promo-card:hover {
    transform: translateY(-5px);
}

.page-slot-games__promo-image {
    width: 400px;
    height: 250px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size for content images */
    min-height: 200px; /* Enforce min size for content images */
}

.page-slot-games__promo-card h3,
.page-slot-games__promo-card p,
.page-slot-games__promo-card a {
    padding: 0 25px;
}

.page-slot-games__promo-title {
    font-size: 1.4em;
    font-weight: 600;
    color: var(--c54c-primary-color);
    margin-bottom: 10px;
}