/* style/newbie-guide-game-rules.css */

:root {
    --page-newbie-guide-game-rules-primary: #007bff;
    --page-newbie-guide-game-rules-secondary: #ffc107;
    --page-newbie-guide-game-rules-dark: #001f4d;
    --page-newbie-guide-game-rules-light: #f8f9fa;
    --page-newbie-guide-game-rules-text-dark: #212529;
    --page-newbie-guide-game-rules-text-light: #ffffff;
    --page-newbie-guide-game-rules-bg-dark: #001f4d;
    --page-newbie-guide-game-rules-bg-light: #ffffff;
}

.page-newbie-guide-game-rules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-newbie-guide-game-rules__hero {
    background: linear-gradient(135deg, var(--page-newbie-guide-game-rules-primary), #0056b3);
    color: var(--page-newbie-guide-game-rules-text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-newbie-guide-game-rules__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,pattern,geometric,blue_gold]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-newbie-guide-game-rules__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    color: var(--page-newbie-guide-game-rules-text-light);
}

.page-newbie-guide-game-rules__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    color: var(--page-newbie-guide-game-rules-light);
}

.page-newbie-guide-game-rules__section {
    padding: 60px 0;
    background-color: var(--page-newbie-guide-game-rules-bg-light);
    color: var(--page-newbie-guide-game-rules-text-dark);
}

.page-newbie-guide-game-rules__section--dark {
    background-color: var(--page-newbie-guide-game-rules-bg-dark);
    color: var(--page-newbie-guide-game-rules-text-light);
}

.page-newbie-guide-game-rules__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--page-newbie-guide-game-rules-primary);
}

.page-newbie-guide-game-rules__section--dark .page-newbie-guide-game-rules__section-title {
    color: var(--page-newbie-guide-game-rules-secondary);
}

.page-newbie-guide-game-rules__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-newbie-guide-game-rules__grid-item {
    background-color: var(--page-newbie-guide-game-rules-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-newbie-guide-game-rules__section--dark .page-newbie-guide-game-rules__grid-item {
    background-color: #012b5f;
    color: var(--page-newbie-guide-game-rules-text-light);
}

.page-newbie-guide-game-rules__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-newbie-guide-game-rules__grid-item h3 {
    font-size: 1.5em;
    margin-top: 15px;
    margin-bottom: 10px;
    color: var(--page-newbie-guide-game-rules-primary);
}

.page-newbie-guide-game-rules__section--dark .page-newbie-guide-game-rules__grid-item h3 {
    color: var(--page-newbie-guide-game-rules-secondary);
}

.page-newbie-guide-game-rules__icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-newbie-guide-game-rules__game-article {
    background-color: var(--page-newbie-guide-game-rules-light);
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    color: var(--page-newbie-guide-game-rules-text-dark);
}

.page-newbie-guide-game-rules__section--dark .page-newbie-guide-game-rules__game-article {
    background-color: #012b5f;
    color: var(--page-newbie-guide-game-rules-text-light);
}

.page-newbie-guide-game-rules__game-title {
    font-size: 2em;
    margin-bottom: 25px;
    color: var(--page-newbie-guide-game-rules-primary);
    border-bottom: 3px solid var(--page-newbie-guide-game-rules-secondary);
    padding-bottom: 10px;
    display: inline-block;
}

.page-newbie-guide-game-rules__section--dark .page-newbie-guide-game-rules__game-title {
    color: var(--page-newbie-guide-game-rules-secondary);
    border-color: var(--page-newbie-guide-game-rules-primary);
}

.page-newbie-guide-game-rules__game-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-newbie-guide-game-rules__game-article h4 {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--page-newbie-guide-game-rules-primary);
}

.page-newbie-guide-game-rules__section--dark .page-newbie-guide-game-rules__game-article h4 {
    color: var(--page-newbie-guide-game-rules-secondary);
}

.page-newbie-guide-game-rules__game-article ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-newbie-guide-game-rules__game-article ul ul {
    list-style-type: circle;
    margin-top: 10px;
}

.page-newbie-guide-game-rules__game-article p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.page-newbie-guide-game-rules__text-content {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.page-newbie-guide-game-rules__text-content + ul {
    list-style-type: decimal;
    margin-left: 25px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.page-newbie-guide-game-rules__cta-button {
    display: inline-block;
    background-color: var(--page-newbie-guide-game-rules-secondary);
    color: var(--page-newbie-guide-game-rules-dark);
    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;
    margin-top: 20px;
    border: 2px solid var(--page-newbie-guide-game-rules-secondary);
}

.page-newbie-guide-game-rules__cta-button:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
    border-color: #e0a800;
}

.page-newbie-guide-game-rules__cta-button--small {
    padding: 10px 25px;
    font-size: 1em;
    margin-top: 15px;
}

.page-newbie-guide-game-rules__cta-button--large {
    padding: 20px 40px;
    font-size: 1.3em;
}

.page-newbie-guide-game-rules__call-to-action {
    background: linear-gradient(90deg, var(--page-newbie-guide-game-rules-primary), #0056b3);
    color: var(--page-newbie-guide-game-rules-text-light);
    padding: 80px 0;
    text-align: center;
}

.page-newbie-guide-game-rules__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--page-newbie-guide-game-rules-secondary);
}

.page-newbie-guide-game-rules__cta-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--page-newbie-guide-game-rules-light);
}

.page-newbie-guide-game-rules__cta-link {
    display: block;
    color: var(--page-newbie-guide-game-rules-light);
    margin-top: 20px;
    font-size: 1.1em;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-newbie-guide-game-rules__cta-link:hover {
    color: var(--page-newbie-guide-game-rules-secondary);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-newbie-guide-game-rules__hero-title {
        font-size: 2.8em;
    }
    .page-newbie-guide-game-rules__hero-subtitle {
        font-size: 1.2em;
    }
    .page-newbie-guide-game-rules__section-title {
        font-size: 2em;
    }
    .page-newbie-guide-game-rules__game-title {
        font-size: 1.8em;
    }
    .page-newbie-guide-game-rules__cta-title {
        font-size: 2.5em;
    }
    .page-newbie-guide-game-rules__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-newbie-guide-game-rules__hero {
        padding: 80px 0;
    }
    .page-newbie-guide-game-rules__hero-title {
        font-size: 2.2em;
    }
    .page-newbie-guide-game-rules__hero-subtitle {
        font-size: 1em;
    }
    .page-newbie-guide-game-rules__section {
        padding: 40px 0;
    }
    .page-newbie-guide-game-rules__section-title {
        font-size: 1.8em;
    }
    .page-newbie-guide-game-rules__game-article {
        padding: 25px;
    }
    .page-newbie-guide-game-rules__game-title {
        font-size: 1.5em;
    }
    .page-newbie-guide-game-rules__grid-item {
        padding: 20px;
    }
    .page-newbie-guide-game-rules__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-newbie-guide-game-rules__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-newbie-guide-game-rules__cta-title {
        font-size: 2em;
    }
    .page-newbie-guide-game-rules__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-newbie-guide-game-rules__hero-title {
        font-size: 1.8em;
    }
    .page-newbie-guide-game-rules__hero-subtitle {
        font-size: 0.9em;
    }
    .page-newbie-guide-game-rules__section-title {
        font-size: 1.5em;
    }
    .page-newbie-guide-game-rules__game-title {
        font-size: 1.3em;
    }
    .page-newbie-guide-game-rules__game-article h4 {
        font-size: 1.1em;
    }
    .page-newbie-guide-game-rules__cta-title {
        font-size: 1.8em;
    }
}