/* style/game-rules.css */
.page-game-rules {
    font-family: 'Arial', sans-serif;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #121212; /* Body background from shared.css */
}

/* Hero Banner Section */
.page-game-rules__hero-banner {
    position: relative;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    gap: 40px;
    padding-top: 0; /* Assuming shared.css sets padding-top on body */
}

.page-game-rules__hero-content {
    max-width: 600px;
    text-align: left;
    z-index: 1;
}

.page-game-rules__main-title {
    font-size: 42px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-game-rules__description {
    font-size: 18px;
    line-height: 1.6;
    color: #f0f0f0;
    margin-bottom: 30px;
}

.page-game-rules__hero-image-wrapper {
    flex-shrink: 0;
    width: 600px;
    height: 338px; /* Maintain 16:9 aspect ratio for 1200x675 image */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-game-rules__hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* General Section Styling */
.page-game-rules__section {
    padding: 60px 20px;
    background-color: #121212;
    color: #ffffff;
}

.page-game-rules__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-game-rules__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
}

.page-game-rules__section-title--cta {
    color: #FFD700;
}

.page-game-rules__text-block {
    font-size: 16px;
    line-height: 1.7;
    color: #cccccc;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

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

.page-game-rules__card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-game-rules__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-game-rules__card-title {
    font-size: 22px;
    font-weight: 600;
    color: #1E90FF;
    margin-bottom: 15px;
}

.page-game-rules__card p {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Game Categories Section */
.page-game-rules__game-rule-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-rules__game-rule-title {
    font-size: 28px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: left;
}

.page-game-rules__rule-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.page-game-rules__rule-content img {
    width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-game-rules__rule-list {
    list-style: disc inside;
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
    padding-left: 20px;
}

.page-game-rules__rule-list li {
    margin-bottom: 10px;
}

.page-game-rules__rule-list li strong {
    color: #1E90FF;
}

.page-game-rules__rule-list li a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-rules__rule-list li a:hover {
    text-decoration: underline;
    color: #ffd700c0;
}

/* Fair Play Section */
.page-game-rules__fair-play {
    background-color: #0d0d0d;
}

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

.page-game-rules__feature-item {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-game-rules__feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-game-rules__feature-item img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    margin: 0 auto 15px auto;
    display: block;
}

.page-game-rules__feature-item h3 {
    font-size: 20px;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-game-rules__feature-item p {
    font-size: 15px;
    color: #e0e0e0;
    line-height: 1.6;
}

/* Responsible Gaming Section */
.page-game-rules__responsible-gaming {
    background-color: #1a1a1a;
}

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

.page-game-rules__tip-item {
    background-color: rgba(30, 144, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(30, 144, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-rules__tip-item h3 {
    font-size: 20px;
    color: #1E90FF;
    margin-bottom: 10px;
}

.page-game-rules__tip-item p {
    font-size: 15px;
    color: #e0e0e0;
    line-height: 1.6;
}

/* FAQ Section */
.page-game-rules__faq-section {
    background-color: #121212;
}

.page-game-rules__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-game-rules__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}