/* style/game-lobby-game-rules-detailed.css */

/* Base styles for the page content */
.page-game-lobby-game-rules-detailed {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text on dark background */
    background-color: #0A1931; /* Primary dark blue background */
    line-height: 1.6;
}

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

.page-game-lobby-game-rules-detailed__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-game-lobby-game-rules-detailed__hero-section {
    background: linear-gradient(135deg, #0A1931 0%, #1A3059 100%); /* Dark blue gradient */
    color: #FFFFFF;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.page-game-lobby-game-rules-detailed__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-lobby-game-rules-detailed__subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #D0D0D0;
}

.page-game-lobby-game-rules-detailed__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-lobby-game-rules-detailed__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-game-lobby-game-rules-detailed__description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #B0B0B0;
}

.page-game-lobby-game-rules-detailed .highlight {
    color: #FFD700;
}

.page-game-lobby-game-rules-detailed__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-game-lobby-game-rules-detailed__btn--primary {
    background-color: #FFD700; /* Gold for primary CTA */
    color: #0A1931;
}

.page-game-lobby-game-rules-detailed__btn--primary:hover {
    background-color: #E6C200; /* Darker gold on hover */
    transform: translateY(-3px);
}

.page-game-lobby-game-rules-detailed__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 20px;
}

.page-game-lobby-game-rules-detailed__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A1931;
    transform: translateY(-3px);
}

.page-game-lobby-game-rules-detailed__btn--small {
    padding: 10px 20px;
    font-size: 0.9em;
    margin-top: 20px;
}

/* Intro Section */
.page-game-lobby-game-rules-detailed__intro-section {
    background-color: #0F203D; /* Slightly lighter dark blue */
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-game-lobby-game-rules-detailed__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.page-game-lobby-game-rules-detailed__image-content {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-game-lobby-game-rules-detailed__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-game-lobby-game-rules-detailed__text-content p {
    margin-bottom: 20px;
    color: #D0D0D0;
}

/* Game Categories */
.page-game-lobby-game-rules-detailed__game-categories {
    background-color: #0A1931;
}

.page-game-lobby-game-rules-detailed__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-game-lobby-game-rules-detailed__category-card {
    background-color: #1A3059; /* Darker blue for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid #FFD70033; /* Subtle gold border */
}

.page-game-lobby-game-rules-detailed__category-card:hover {
    transform: translateY(-5px);
    background-color: #2A4069;
}

.page-game-lobby-game-rules-detailed__card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD70088); /* Gold glow for icons */
}

.page-game-lobby-game-rules-detailed__card-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-game-lobby-game-rules-detailed__category-card p {
    color: #C0C0C0;
    font-size: 0.95em;
}

/* Detailed Rules */
.page-game-lobby-game-rules-detailed__detailed-rules {
    background-color: #0F203D;
}

.page-game-lobby-game-rules-detailed__game-article {
    background-color: #1A3059;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #FFD70033;
}

.page-game-lobby-game-rules-detailed__article-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 25px;
    text-align: center;
}

.page-game-lobby-game-rules-detailed__article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-game-lobby-game-rules-detailed__article-subtitle {
    font-size: 1.4em;
    color: #FFD700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-game-lobby-game-rules-detailed__list,
.page-game-lobby-game-rules-detailed__ordered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #D0D0D0;
}

.page-game-lobby-game-rules-detailed__ordered-list {
    list-style-type: decimal;
}

.page-game-lobby-game-rules-detailed__list li,
.page-game-lobby-game-rules-detailed__ordered-list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-game-lobby-game-rules-detailed__game-article p {
    margin-bottom: 15px;
    color: #E0E0E0;
}

/* Platform Rules */
.page-game-lobby-game-rules-detailed__platform-rules {
    background-color: #0A1931;
}

.page-game-lobby-game-rules-detailed__rule-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-game-lobby-game-rules-detailed__rule-card {
    background-color: #1A3059;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #FFD70033;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-game-lobby-game-rules-detailed__rule-card .page-game-lobby-game-rules-detailed__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: left;
    color: #FFD700;
}

.page-game-lobby-game-rules-detailed__rule-card p {
    color: #C0C0C0;
    font-size: 0.95em;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Tips Section */
.page-game-lobby-game-rules-detailed__tips-section {
    background-color: #0F203D;
}

.page-game-lobby-game-rules-detailed__image--left {
    order: -1; /* Puts image on the left for desktop */
    margin-right: 40px;
    flex: 0 0 40%; /* Fixed width for image on desktop */
    max-width: 40%;
}

.page-game-lobby-game-rules-detailed__tips-section .page-game-lobby-game-rules-detailed__text-content {
    flex: 1;
    min-width: 300px; /* Ensure text content is not too narrow */
}

.page-game-lobby-game-rules-detailed__tips-section .page-game-lobby-game-rules-detailed__list {
    list-style-type: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #D0D0D0;
}

.page-game-lobby-game-rules-detailed__tips-section .page-game-lobby-game-rules-detailed__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* CTA Section */
.page-game-lobby-game-rules-detailed__cta-section {
    background: linear-gradient(90deg, #0A1931, #2A4069);
    text-align: center;
    padding: 80px 20px;
}

.page-game-lobby-game-rules-detailed__cta-content {
    max-width: 900px;
}

.page-game-lobby-game-rules-detailed__cta-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-lobby-game-rules-detailed__main-title {
        font-size: 2.8em;
    }
    .page-game-lobby-game-rules-detailed__section-title {
        font-size: 2em;
    }
    .page-game-lobby-game-rules-detailed__article-title {
        font-size: 1.8em;
    }
    .page-game-lobby-game-rules-detailed__content-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .page-game-lobby-game-rules-detailed__image-content,
    .page-game-lobby-game-rules-detailed__text-content {
        flex: none;
        width: 100%;
    }
    .page-game-lobby-game-rules-detailed__image--left {
        order: unset;
        margin-right: 0;
        margin-bottom: 30px;
        max-width: 80%;
        width: 100%;
    }
    .page-game-lobby-game-rules-detailed__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-game-lobby-game-rules-detailed__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .page-game-lobby-game-rules-detailed__main-title {
        font-size: 2.2em;
    }
    .page-game-lobby-game-rules-detailed__subtitle {
        font-size: 1.1em;
    }
    .page-game-lobby-game-rules-detailed__section-title {
        font-size: 1.8em;
    }
    .page-game-lobby-game-rules-detailed__hero-section,
    .page-game-lobby-game-rules-detailed__section {
        padding: 50px 0;
    }
    .page-game-lobby-game-rules-detailed__category-card,
    .page-game-lobby-game-rules-detailed__rule-card {
        padding: 25px;
    }
    .page-game-lobby-game-rules-detailed__game-article {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page-game-lobby-game-rules-detailed__main-title {
        font-size: 1.8em;
    }
    .page-game-lobby-game-rules-detailed__subtitle {
        font-size: 1em;
    }
    .page-game-lobby-game-rules-detailed__section-title {
        font-size: 1.5em;
    }
    .page-game-lobby-game-rules-detailed__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-game-lobby-game-rules-detailed__cta-buttons {
        gap: 15px;
    }
    .page-game-lobby-game-rules-detailed__list,
    .page-game-lobby-game-rules-detailed__ordered-list {
        margin-left: 20px;
    }
    .page-game-lobby-game-rules-detailed__list li,
    .page-game-lobby-game-rules-detailed__ordered-list li {
        font-size: 0.95em;
    }
}