/* style/game-lobby-game-rules-and-play-introduction.css */

/* CSS Variables for consistent theming */
:root {
    --page-game-lobby-game-rules-and-play-introduction-primary-color: #FFD700; /* Gold */
    --page-game-lobby-game-rules-and-play-introduction-secondary-color: #00BFFF; /* Deep Sky Blue */
    --page-game-lobby-game-rules-and-play-introduction-dark-text: #333333; /* Dark Gray for text on light backgrounds */
    --page-game-lobby-game-rules-and-play-introduction-light-text: #FFFFFF; /* White for text on dark backgrounds */
    --page-game-lobby-game-rules-and-play-introduction-accent-color: #ff4000; /* Complementary to secondary for emphasis */
    --page-game-lobby-game-rules-and-play-introduction-bg-dark: #1a1a1a; /* Very dark background */
    --page-game-lobby-game-rules-and-play-introduction-bg-light: #f5f5f5; /* Light background */
}

.page-game-lobby-game-rules-and-play-introduction {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-game-lobby-game-rules-and-play-introduction-dark-text);
    background-color: var(--page-game-lobby-game-rules-and-play-introduction-bg-light);
}

.page-game-lobby-game-rules-and-play-introduction__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-game-lobby-game-rules-and-play-introduction__hero {
    background: linear-gradient(135deg, var(--page-game-lobby-game-rules-and-play-introduction-primary-color) 0%, var(--page-game-lobby-game-rules-and-play-introduction-secondary-color) 100%);
    color: var(--page-game-lobby-game-rules-and-play-introduction-light-text);
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 450px;
}

.page-game-lobby-game-rules-and-play-introduction__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-game-lobby-game-rules-and-play-introduction__hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--page-game-lobby-game-rules-and-play-introduction-light-text); /* Ensure contrast */
}

.page-game-lobby-game-rules-and-play-introduction__hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--page-game-lobby-game-rules-and-play-introduction-light-text); /* Ensure contrast */
}

.page-game-lobby-game-rules-and-play-introduction__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.2;
    overflow: hidden;
}

.page-game-lobby-game-rules-and-play-introduction__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.page-game-lobby-game-rules-and-play-introduction__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-game-lobby-game-rules-and-play-introduction__btn--primary {
    background-color: var(--page-game-lobby-game-rules-and-play-introduction-primary-color);
    color: var(--page-game-lobby-game-rules-and-play-introduction-dark-text); /* Dark text on gold */
    border: 2px solid var(--page-game-lobby-game-rules-and-play-introduction-primary-color);
}

.page-game-lobby-game-rules-and-play-introduction__btn--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-game-lobby-game-rules-and-play-introduction__btn--secondary {
    background-color: transparent;
    color: var(--page-game-lobby-game-rules-and-play-introduction-secondary-color);
    border: 2px solid var(--page-game-lobby-game-rules-and-play-introduction-secondary-color);
    margin-left: 15px;
}

.page-game-lobby-game-rules-and-play-introduction__btn--secondary:hover {
    background-color: var(--page-game-lobby-game-rules-and-play-introduction-secondary-color);
    color: var(--page-game-lobby-game-rules-and-play-introduction-light-text);
    transform: translateY(-2px);
}

.page-game-lobby-game-rules-and-play-introduction__section {
    padding: 60px 0;
    background-color: var(--page-game-lobby-game-rules-and-play-introduction-bg-light);
    border-bottom: 1px solid #eee;
}

.page-game-lobby-game-rules-and-play-introduction__section:nth-of-type(even) {
    background-color: #fcfcfc;
}

.page-game-lobby-game-rules-and-play-introduction__section h2 {
    font-size: 2.5em;
    color: var(--page-game-lobby-game-rules-and-play-introduction-dark-text);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-lobby-game-rules-and-play-introduction__section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-game-lobby-game-rules-and-play-introduction-primary-color);
    border-radius: 2px;
}

.page-game-lobby-game-rules-and-play-introduction__section h3 {
    font-size: 1.8em;
    color: var(--page-game-lobby-game-rules-and-play-introduction-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid var(--page-game-lobby-game-rules-and-play-introduction-primary-color);
    padding-left: 15px;
}

.page-game-lobby-game-rules-and-play-introduction__section p,
.page-game-lobby-game-rules-and-play-introduction__section ul {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--page-game-lobby-game-rules-and-play-introduction-dark-text);
}

.page-game-lobby-game-rules-and-play-introduction__section ul {
    list-style-type: disc;
    padding-left: 25px;
}

.page-game-lobby-game-rules-and-play-introduction__section li {
    margin-bottom: 10px;
}

.page-game-lobby-game-rules-and-play-introduction__content-with-image {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-game-lobby-game-rules-and-play-introduction__content-with-image--reversed {
    flex-direction: row-reverse;
}

.page-game-lobby-game-rules-and-play-introduction__text-content {
    flex: 1;
    min-width: 300px;
}

.page-game-lobby-game-rules-and-play-introduction__image-right,
.page-game-lobby-game-rules-and-play-introduction__image-left {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    height: auto;
}

.page-game-lobby-game-rules-and-play-introduction__cta {
    background: var(--page-game-lobby-game-rules-and-play-introduction-secondary-color);
    color: var(--page-game-lobby-game-rules-and-play-introduction-light-text);
    padding: 80px 0;
    text-align: center;
}

.page-game-lobby-game-rules-and-play-introduction__cta-content {
    max-width: 800px;
}

.page-game-lobby-game-rules-and-play-introduction__cta h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--page-game-lobby-game-rules-and-play-introduction-light-text); /* Ensure contrast */
}

.page-game-lobby-game-rules-and-play-introduction__cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--page-game-lobby-game-rules-and-play-introduction-light-text); /* Ensure contrast */
}

.page-game-lobby-game-rules-and-play-introduction__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-lobby-game-rules-and-play-introduction__hero h1 {
        font-size: 2.8em;
    }
    .page-game-lobby-game-rules-and-play-introduction__hero p {
        font-size: 1.1em;
    }
    .page-game-lobby-game-rules-and-play-introduction__section h2 {
        font-size: 2em;
    }
    .page-game-lobby-game-rules-and-play-introduction__section h3 {
        font-size: 1.6em;
    }
    .page-game-lobby-game-rules-and-play-introduction__content-with-image {
        flex-direction: column;
        text-align: center;
    }
    .page-game-lobby-game-rules-and-play-introduction__content-with-image--reversed {
        flex-direction: column;
    }
    .page-game-lobby-game-rules-and-play-introduction__image-right,
    .page-game-lobby-game-rules-and-play-introduction__image-left {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-game-lobby-game-rules-and-play-introduction__hero {
        padding: 60px 0;
    }
    .page-game-lobby-game-rules-and-play-introduction__hero h1 {
        font-size: 2.2em;
    }
    .page-game-lobby-game-rules-and-play-introduction__hero p {
        font-size: 1em;
    }
    .page-game-lobby-game-rules-and-play-introduction__btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-game-lobby-game-rules-and-play-introduction__section {
        padding: 40px 0;
    }
    .page-game-lobby-game-rules-and-play-introduction__section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-lobby-game-rules-and-play-introduction__section h3 {
        font-size: 1.4em;
    }
    .page-game-lobby-game-rules-and-play-introduction__section p,
    .page-game-lobby-game-rules-and-play-introduction__section ul {
        font-size: 0.95em;
    }
    .page-game-lobby-game-rules-and-play-introduction__cta h2 {
        font-size: 2.2em;
    }
    .page-game-lobby-game-rules-and-play-introduction__cta p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-game-lobby-game-rules-and-play-introduction__hero h1 {
        font-size: 1.8em;
    }
    .page-game-lobby-game-rules-and-play-introduction__btn--secondary {
        margin-left: 0;
        margin-top: 10px;
    }
    .page-game-lobby-game-rules-and-play-introduction__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-game-lobby-game-rules-and-play-introduction__btn {
        width: 100%;
    }
}