/* style/slot-games.css */

/* Variables based on custom color palette */
:root {
    --page-bg-color: #0D0E12;
    --card-bg-color: #17191F;
    --text-main-color: #FFF3E6;
    --button-gradient-start: #FFA53A;
    --button-gradient-end: #D96800;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange-color: #D96800;
}

.page-slot-games {
    background-color: var(--page-bg-color); /* Assumes body background from shared.css is dark */
    color: var(--text-main-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.page-slot-games__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* body handles padding-top from header, this is for visual spacing */
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-slot-games__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-slot-games__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability, not changing color */
    border-radius: 8px;
}

.page-slot-games__hero-content {
    position: relative; /* Not absolute to avoid overlaying image */
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    margin-top: -150px; /* Adjust to slightly overlap the bottom of the image for visual flow */
    background: rgba(13, 14, 18, 0.8); /* Semi-transparent background for text readability */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    z-index: 1;
}

.page-slot-games__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 font size */
    color: var(--text-main-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255,165,58,0.5);
}

.page-slot-games__description {
    font-size: 1.1em;
    color: var(--text-main-color);
    margin-bottom: 30px;
}

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

.page-slot-games__btn-primary,
.page-slot-games__btn-secondary {
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure buttons don't overflow */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-slot-games__btn-primary {
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: var(--text-main-color);
    border: 2px solid var(--deep-orange-color);
    box-shadow: 0 4px 15px rgba(255,140,26,0.4);
}

.page-slot-games__btn-primary:hover {
    background: linear-gradient(180deg, var(--button-gradient-end) 0%, var(--button-gradient-start) 100%);
    box-shadow: 0 6px 20px rgba(255,140,26,0.6);
    transform: translateY(-2px);
}

.page-slot-games__btn-secondary {
    background: transparent;
    color: var(--button-gradient-start);
    border: 2px solid var(--button-gradient-start);
    box-shadow: 0 4px 10px rgba(255,165,58,0.2);
}

.page-slot-games__btn-secondary:hover {
    background: var(--button-gradient-start);
    color: var(--page-bg-color);
    box-shadow: 0 6px 15px rgba(255,165,58,0.4);
    transform: translateY(-2px);
}

/* General Section Styles */
.page-slot-games__section {
    padding: 60px 0;
}

.page-slot-games__heading {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--button-gradient-start);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255,165,58,0.3);
}

.page-slot-games__text {
    font-size: 1.1em;
    color: var(--text-main-color);
    margin-bottom: 20px;
    text-align: justify;
}

.page-slot-games__dark-bg {
    background-color: var(--page-bg-color);
    color: var(--text-main-color);
}

/* Criteria Section */
.page-slot-games__criteria .page-slot-games__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.page-slot-games__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255,140,26,0.2);
}

.page-slot-games__card-title {
    font-size: 1.4em;
    color: var(--button-gradient-start);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-slot-games__card-text {
    font-size: 1em;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

.page-slot-games__card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Top Games Section */
.page-slot-games__game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.page-slot-games__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255,140,26,0.2);
}

.page-slot-games__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-slot-games__game-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-slot-games__game-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-slot-games__game-title a {
    color: var(--button-gradient-start);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-slot-games__game-title a:hover {
    color: var(--glow-color);
    text-decoration: underline;
}

.page-slot-games__game-description {
    font-size: 0.95em;
    color: var(--text-main-color);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-slot-games__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
    align-self: flex-start; /* Align button to start */
}

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

/* Guide List Section */
.page-slot-games__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-slot-games__guide-item {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.page-slot-games__guide-title {
    font-size: 1.3em;
    color: var(--button-gradient-start);
    margin-bottom: 10px;
    font-weight: bold;
}