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

.page-game-lobby-game-rules-explained .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-game-lobby-game-rules-explained .hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-lobby-game-rules-explained .hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-lobby-game-rules-explained .hero-section p {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.page-game-lobby-game-rules-explained .btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-game-lobby-game-rules-explained .btn-primary {
    background-color: #ffc107; /* Auxiliary color */
    color: #000; /* Dark text for contrast */
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.4);
}

.page-game-lobby-game-rules-explained .btn-primary:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.6);
}

.page-game-lobby-game-rules-explained .btn-secondary {
    background-color: #007bff; /* Main color */
    color: #fff;
    border: 1px solid #007bff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.page-game-lobby-game-rules-explained .btn-secondary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.5);
}

.page-game-lobby-game-rules-explained section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-lobby-game-rules-explained section:nth-of-type(odd) {
    background-color: #f1f7fe; /* Lighter shade of main color */
}

.page-game-lobby-game-rules-explained h2 {
    font-size: 2.5em;
    color: #007bff; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-lobby-game-rules-explained h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #ffc107; /* Auxiliary color */
    border-radius: 2px;
}

.page-game-lobby-game-rules-explained h3 {
    font-size: 1.8em;
    color: #343a40;
    margin-bottom: 25px;
    font-weight: 600;
}

.page-game-lobby-game-rules-explained .content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.page-game-lobby-game-rules-explained .content-wrapper.reverse {
    flex-direction: row-reverse;
}

.page-game-lobby-game-rules-explained .content-wrapper .text-content {
    flex: 1;
}

.page-game-lobby-game-rules-explained .content-wrapper .image-content {
    flex: 1;
    text-align: center;
}

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

.page-game-lobby-game-rules-explained ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-game-lobby-game-rules-explained ul li {
    background-color: #e9f5ff; /* Light blue */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid #007bff;
    border-radius: 5px;
    font-size: 1.05em;
    color: #212529;
}

.page-game-lobby-game-rules-explained .category-item {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.page-game-lobby-game-rules-explained .category-item h3 {
    color: #007bff;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
}

.page-game-lobby-game-rules-explained .faq-section {
    background-color: #e9f5ff;
}

.page-game-lobby-game-rules-explained .faq-item {
    background-color: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #ffc107;
}

.page-game-lobby-game-rules-explained .faq-item h3 {
    color: #007bff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
    cursor: pointer;
}

.page-game-lobby-game-rules-explained .faq-item p {
    color: #555;
    margin-bottom: 0;
}

.page-game-lobby-game-rules-explained .cta-download-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(45deg, #007bff, #ffc107);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-game-lobby-game-rules-explained .cta-download-section h2 {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-game-lobby-game-rules-explained .cta-download-section h2::after {
    background-color: #fff;
}

.page-game-lobby-game-rules-explained .cta-download-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-lobby-game-rules-explained .cta-download-section img {
    max-width: 300px;
    margin-top: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-lobby-game-rules-explained .hero-section h1 {
        font-size: 2.8em;
    }
    .page-game-lobby-game-rules-explained h2 {
        font-size: 2em;
    }
    .page-game-lobby-game-rules-explained h3 {
        font-size: 1.6em;
    }
    .page-game-lobby-game-rules-explained .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-game-lobby-game-rules-explained .content-wrapper.reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-game-lobby-game-rules-explained .hero-section {
        padding: 80px 0;
    }
    .page-game-lobby-game-rules-explained .hero-section h1 {
        font-size: 2.2em;
    }
    .page-game-lobby-game-rules-explained .hero-section p {
        font-size: 1em;
    }
    .page-game-lobby-game-rules-explained section {
        padding: 40px 0;
    }
    .page-game-lobby-game-rules-explained h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-game-lobby-game-rules-explained h3 {
        font-size: 1.4em;
    }
    .page-game-lobby-game-rules-explained .btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-game-lobby-game-rules-explained .category-item {
        padding: 30px 20px;
    }
    .page-game-lobby-game-rules-explained .cta-download-section {
        padding: 60px 0;
    }
    .page-game-lobby-game-rules-explained .cta-download-section img {
        max-width: 200px;
    }
}