/* style/game-lobby-table-games-rules-strategy.css */
.page-game-lobby-table-games-rules-strategy {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

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

.page-game-lobby-table-games-rules-strategy__hero {
    background: linear-gradient(135deg, #CC0000 0%, #FFD700 100%); /* Primary and secondary brand colors */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-game-lobby-table-games-rules-strategy__hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.page-game-lobby-table-games-rules-strategy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    overflow: hidden;
}

.page-game-lobby-table-games-rules-strategy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.page-game-lobby-table-games-rules-strategy__title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-lobby-table-games-rules-strategy__subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #fff;
}

.page-game-lobby-table-games-rules-strategy__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Secondary brand color */
    color: #CC0000; /* Primary brand color for contrast */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-lobby-table-games-rules-strategy__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-game-lobby-table-games-rules-strategy__section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-lobby-table-games-rules-strategy__intro {
    background-color: #fcfcfc;
}

.page-game-lobby-table-games-rules-strategy__section-title {
    font-size: 2.5em;
    color: #CC0000; /* Primary brand color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.page-game-lobby-table-games-rules-strategy__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Secondary brand color */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-game-lobby-table-games-rules-strategy__intro p {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: #555;
}

.page-game-lobby-table-games-rules-strategy__game-item {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 60px;
    padding: 30px;
    border-radius: 10px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-lobby-table-games-rules-strategy__game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-game-lobby-table-games-rules-strategy__game-item:nth-child(even) {
    flex-direction: row-reverse;
}

.page-game-lobby-table-games-rules-strategy__game-image {
    width: 40%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.page-game-lobby-table-games-rules-strategy__game-content {
    flex-grow: 1;
}

.page-game-lobby-table-games-rules-strategy__game-title {
    font-size: 2em;
    color: #CC0000; /* Primary brand color */
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700; /* Secondary brand color */
    padding-bottom: 10px;
}

.page-game-lobby-table-games-rules-strategy__game-subtitle {
    font-size: 1.3em;
    color: #666;
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-game-lobby-table-games-rules-strategy__game-content p {
    margin-bottom: 15px;
    color: #444;
}

.page-game-lobby-table-games-rules-strategy__game-content ul,
.page-game-lobby-table-games-rules-strategy__game-content ol {
    margin-left: 25px;
    margin-bottom: 15px;
    color: #444;
}

.page-game-lobby-table-games-rules-strategy__game-content ul li,
.page-game-lobby-table-games-rules-strategy__game-content ol li {
    margin-bottom: 8px;
}

.page-game-lobby-table-games-rules-strategy__text-link {
    color: #CC0000; /* Primary brand color */
    text-decoration: none;
    font-weight: bold;
}

.page-game-lobby-table-games-rules-strategy__text-link:hover {
    text-decoration: underline;
    color: #a30000;
}

.page-game-lobby-table-games-rules-strategy__cta-bottom {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-game-lobby-table-games-rules-strategy__cta-bottom .page-game-lobby-table-games-rules-strategy__section-title {
    color: #FFD700; /* Secondary brand color */
}

.page-game-lobby-table-games-rules-strategy__cta-bottom .page-game-lobby-table-games-rules-strategy__section-title::after {
    background-color: #CC0000; /* Primary brand color */
}

.page-game-lobby-table-games-rules-strategy__cta-content p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #ccc;
}

.page-game-lobby-table-games-rules-strategy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-game-lobby-table-games-rules-strategy__main-cta-button,
.page-game-lobby-table-games-rules-strategy__secondary-cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-lobby-table-games-rules-strategy__main-cta-button {
    background-color: #FFD700; /* Secondary brand color */
    color: #CC0000; /* Primary brand color for contrast */
    border: 2px solid #FFD700;
}

.page-game-lobby-table-games-rules-strategy__main-cta-button:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

.page-game-lobby-table-games-rules-strategy__secondary-cta-button {
    background-color: transparent;
    color: #FFD700; /* Secondary brand color */
    border: 2px solid #FFD700;
}

.page-game-lobby-table-games-rules-strategy__secondary-cta-button:hover {
    background-color: #FFD700;
    color: #CC0000; /* Primary brand color */
    transform: translateY(-3px);
}

.page-game-lobby-table-games-rules-strategy .highlight {
    color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-lobby-table-games-rules-strategy__title {
        font-size: 2.8em;
    }

    .page-game-lobby-table-games-rules-strategy__subtitle {
        font-size: 1.3em;
    }

    .page-game-lobby-table-games-rules-strategy__section-title {
        font-size: 2em;
    }

    .page-game-lobby-table-games-rules-strategy__game-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-game-lobby-table-games-rules-strategy__game-item:nth-child(even) {
        flex-direction: column;
    }

    .page-game-lobby-table-games-rules-strategy__game-image {
        width: 80%;
        max-width: 500px;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-game-lobby-table-games-rules-strategy__title {
        font-size: 2.2em;
    }

    .page-game-lobby-table-games-rules-strategy__subtitle {
        font-size: 1.1em;
    }

    .page-game-lobby-table-games-rules-strategy__section {
        padding: 40px 0;
    }

    .page-game-lobby-table-games-rules-strategy__section-title {
        font-size: 1.8em;
    }

    .page-game-lobby-table-games-rules-strategy__game-title {
        font-size: 1.6em;
    }

    .page-game-lobby-table-games-rules-strategy__cta-button,
    .page-game-lobby-table-games-rules-strategy__main-cta-button,
    .page-game-lobby-table-games-rules-strategy__secondary-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-game-lobby-table-games-rules-strategy__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-game-lobby-table-games-rules-strategy__title {
        font-size: 1.8em;
    }

    .page-game-lobby-table-games-rules-strategy__subtitle {
        font-size: 1em;
    }

    .page-game-lobby-table-games-rules-strategy__section-title {
        font-size: 1.5em;
    }

    .page-game-lobby-table-games-rules-strategy__game-image {
        width: 100%;
    }

    .page-game-lobby-table-games-rules-strategy__game-item {
        padding: 20px;
    }
}