/* style/game-types-card-games-rules.css */
.page-game-types-card-games-rules {
    font-family: 'Arial', sans-serif;
    color: #e5dfca; /* Light text on dark background */
    background-color: #1A2035;
    line-height: 1.6;
}

.page-game-types-card-games-rules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-game-types-card-games-rules__section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-game-types-card-games-rules__section:nth-of-type(even) {
    background-color: #2a334a;
}

.page-game-types-card-games-rules__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-game-types-card-games-rules__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-types-card-games-rules__section-intro {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 50px;
    color: #ccc;
}

.page-game-types-card-games-rules__hero {
    background: linear-gradient(135deg, #1A2035 0%, #2a334a 100%);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.page-game-types-card-games-rules__hero-content {
    max-width: 600px;
    z-index: 1;
}

.page-game-types-card-games-rules__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-game-types-card-games-rules__hero-description {
    font-size: 1.2em;
    color: #e5dfca;
    margin-bottom: 30px;
}

.page-game-types-card-games-rules__hero-image-wrapper {
    flex-shrink: 0;
    max-width: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-game-types-card-games-rules__hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.page-game-types-card-games-rules__cta-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2035;
    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-types-card-games-rules__cta-button:hover {
    background-color: #e5bf00;
    transform: translateY(-3px);
}

.page-game-types-card-games-rules__cta-button--secondary {
    background-color: #1A2035;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-game-types-card-games-rules__cta-button--secondary:hover {
    background-color: #FFD700;
    color: #1A2035;
    border-color: #FFD700;
}

.page-game-types-card-games-rules__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
}

.page-game-types-card-games-rules__center-cta {
    text-align: center;
    margin-top: 50px;
}

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

.page-game-types-card-games-rules__feature-item {
    background-color: #2a334a;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.page-game-types-card-games-rules__feature-item:hover {
    transform: translateY(-5px);
}

.page-game-types-card-games-rules__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-game-types-card-games-rules__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-game-types-card-games-rules__feature-item p {
    color: #ccc;
}

.page-game-types-card-games-rules__game-card {
    display: flex;
    background-color: #2a334a;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    flex-wrap: wrap;
}

.page-game-types-card-games-rules__game-card:nth-child(even) {
    flex-direction: row-reverse;
}

.page-game-types-card-games-rules__game-card-image-wrapper {
    flex: 1;
    min-width: 300px;
    background-color: #1A2035;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-game-types-card-games-rules__game-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-game-types-card-games-rules__game-card-content {
    flex: 2;
    padding: 40px;
    min-width: 300px;
}

.page-game-types-card-games-rules__game-card-title {
    font-size: 2em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-game-types-card-games-rules__game-card-content h4 {
    font-size: 1.3em;
    color: #FFD700;
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-game-types-card-games-rules__game-card-content p {
    margin-bottom: 15px;
    color: #ccc;
}

.page-game-types-card-games-rules__game-card-content ul,
.page-game-types-card-games-rules__game-card-content ol {
    margin-left: 25px;
    margin-bottom: 15px;
    color: #ccc;
}

.page-game-types-card-games-rules__game-card-content ul li,
.page-game-types-card-games-rules__game-card-content ol li {
    margin-bottom: 8px;
}

.page-game-types-card-games-rules__game-card-content .page-game-types-card-games-rules__cta-button {
    margin-top: 20px;
}

.page-game-types-card-games-rules__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-game-types-card-games-rules__strategy-item {
    background-color: #2a334a;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-game-types-card-games-rules__strategy-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-game-types-card-games-rules__strategy-item p {
    color: #ccc;
}

.page-game-types-card-games-rules__registration {
    background-color: #1A2035;
    padding: 80px 0;
}

.page-game-types-card-games-rules__registration-content {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.page-game-types-card-games-rules__registration-text {
    flex: 1;
    min-width: 300px;
}

.page-game-types-card-games-rules__registration-text p {
    margin-bottom: 15px;
    color: #ccc;
}

.page-game-types-card-games-rules__registration-text ol {
    margin-left: 25px;
    margin-bottom: 25px;
    color: #ccc;
}

.page-game-types-card-games-rules__registration-text ol li {
    margin-bottom: 10px;
}

.page-game-types-card-games-rules__registration-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-game-types-card-games-rules__registration-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-game-types-card-games-rules__registration-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-game-types-card-games-rules__faq-items {
    max-width: 900px;
    margin: 0 auto;
}

.page-game-types-card-games-rules__faq-item {
    background-color: #2a334a;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-game-types-card-games-rules__faq-question {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-game-types-card-games-rules__faq-answer {
    color: #ccc;
}

.page-game-types-card-games-rules__call-to-action {
    background: linear-gradient(90deg, #1A2035, #FFD700);
    color: #1A2035;
    padding: 80px 0;
    text-align: center;
}

.page-game-types-card-games-rules__call-to-action .page-game-types-card-games-rules__section-title {
    color: #1A2035;
}

.page-game-types-card-games-rules__call-to-action .page-game-types-card-games-rules__section-title::after {
    background-color: #1A2035;
}

.page-game-types-card-games-rules__call-to-action .page-game-types-card-games-rules__description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #1A2035;
}

.page-game-types-card-games-rules__call-to-action .page-game-types-card-games-rules__cta-button {
    background-color: #1A2035;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-game-types-card-games-rules__call-to-action .page-game-types-card-games-rules__cta-button:hover {
    background-color: #FFD700;
    color: #1A2035;
    border-color: #1A2035;
}

.page-game-types-card-games-rules__center-text {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-game-types-card-games-rules__hero {
        flex-direction: column;
        padding: 80px 20px;
    }

    .page-game-types-card-games-rules__hero-title {
        font-size: 2.8em;
    }

    .page-game-types-card-games-rules__hero-image-wrapper {
        max-width: 80%;
    }

    .page-game-types-card-games-rules__game-card {
        flex-direction: column;
    }

    .page-game-types-card-games-rules__game-card:nth-child(even) {
        flex-direction: column;
    }

    .page-game-types-card-games-rules__game-card-content {
        padding: 30px;
    }

    .page-game-types-card-games-rules__registration-content {
        flex-direction: column;
    }

    .page-game-types-card-games-rules__registration-image-wrapper {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-game-types-card-games-rules__section-title {
        font-size: 2em;
    }

    .page-game-types-card-games-rules__hero-title {
        font-size: 2.2em;
    }

    .page-game-types-card-games-rules__hero-description {
        font-size: 1em;
    }

    .page-game-types-card-games-rules__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-game-types-card-games-rules__cta-button--secondary {
        margin-left: 0;
        margin-top: 15px;
    }

    .page-game-types-card-games-rules__registration-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-game-types-card-games-rules__registration-buttons .page-game-types-card-games-rules__cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-game-types-card-games-rules__hero-title {
        font-size: 1.8em;
    }

    .page-game-types-card-games-rules__section-title {
        font-size: 1.8em;
    }

    .page-game-types-card-games-rules__game-card-title {
        font-size: 1.6em;
    }

    .page-game-types-card-games-rules__feature-title {
        font-size: 1.3em;
    }

    .page-game-types-card-games-rules__game-card-content {
        padding: 20px;
    }

    .page-game-types-card-games-rules__registration-buttons {
        gap: 10px;
    }
}