/* style/game-guides-bankroll-management.css */

:root {
    --page-primary-color: #007bff;
    --page-secondary-color: #ffc107;
    --page-text-color-dark: #333;
    --page-text-color-light: #fff;
    --page-background-light: #f8f9fa;
    --page-background-dark: #343a40;
    --page-card-background: #ffffff;
    --page-border-color: #e0e0e0;
}

.page-game-guides-bankroll-management {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-text-color-dark);
    background-color: var(--page-background-light);
}

.page-game-guides-bankroll-management__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-game-guides-bankroll-management__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: var(--page-text-color-light); /* Ensures good contrast */
}

.page-game-guides-bankroll-management__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--page-text-color-light); /* Ensures good contrast */
}

.page-game-guides-bankroll-management__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1em;
}

.page-game-guides-bankroll-management__btn--primary {
    background-color: var(--page-secondary-color);
    color: var(--page-text-color-dark); /* Ensures good contrast */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.page-game-guides-bankroll-management__btn--primary:hover {
    background-color: #e6a700; /* Darker shade of secondary for hover */
    transform: translateY(-2px);
}

.page-game-guides-bankroll-management__btn--secondary {
    background-color: transparent;
    color: var(--page-primary-color);
    border: 2px solid var(--page-primary-color);
    margin-left: 15px;
}

.page-game-guides-bankroll-management__btn--secondary:hover {
    background-color: var(--page-primary-color);
    color: var(--page-text-color-light);
    transform: translateY(-2px);
}

.page-game-guides-bankroll-management__btn--large {
    padding: 15px 35px;
    font-size: 1.1em;
}

.page-game-guides-bankroll-management__section {
    padding: 60px 0;
}

.page-game-guides-bankroll-management__section:nth-of-type(even) {
    background-color: #f0f4f7;
}

.page-game-guides-bankroll-management__section-title {
    font-size: 2.2em;
    color: var(--page-primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-game-guides-bankroll-management__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-guides-bankroll-management__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .page-game-guides-bankroll-management__content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-game-guides-bankroll-management__content-grid--reverse {
        grid-template-columns: 1fr 1fr;
        direction: rtl; /* For visual reordering */
    }
    .page-game-guides-bankroll-management__content-grid--reverse .page-game-guides-bankroll-management__text-content {
        direction: ltr;
    }
    .page-game-guides-bankroll-management__content-grid--reverse .page-game-guides-bankroll-management__image-wrapper {
        direction: ltr;
    }
}

.page-game-guides-bankroll-management__image-wrapper {
    text-align: center;
}

.page-game-guides-bankroll-management__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-game-guides-bankroll-management__text-content p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #495057;
}

.page-game-guides-bankroll-management__grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .page-game-guides-bankroll-management__grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-game-guides-bankroll-management__grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-game-guides-bankroll-management__grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .page-game-guides-bankroll-management__grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.page-game-guides-bankroll-management__card {
    background-color: var(--page-card-background);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--page-primary-color);
}

.page-game-guides-bankroll-management__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-game-guides-bankroll-management__card-title {
    font-size: 1.5em;
    color: var(--page-primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-guides-bankroll-management__card--risk {
    border-top-color: var(--page-secondary-color);
}

.page-game-guides-bankroll-management__list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-game-guides-bankroll-management__list li {
    background-color: var(--page-card-background);
    border-left: 5px solid var(--page-primary-color);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    font-size: 1.05em;
    color: #495057;
}

.page-game-guides-bankroll-management__list li strong {
    color: var(--page-primary-color);
}

.page-game-guides-bankroll-management__cta-group {
    text-align: center;
    margin-top: 50px;
}

.page-game-guides-bankroll-management__cta-group .page-game-guides-bankroll-management__btn {
    margin: 10px;
}

.page-game-guides-bankroll-management__section--conclusion {
    background-color: var(--page-primary-color);
    color: var(--page-text-color-light);
    text-align: center;
    padding: 80px 0;
}

.page-game-guides-bankroll-management__section--conclusion .page-game-guides-bankroll-management__section-title,
.page-game-guides-bankroll-management__section--conclusion p {
    color: var(--page-text-color-light); /* Ensures good contrast */
}

.page-game-guides-bankroll-management__section--conclusion .page-game-guides-bankroll-management__section-title {
    margin-bottom: 25px;
}

.page-game-guides-bankroll-management__section--conclusion p {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-game-guides-bankroll-management__image-wrapper--small {
    max-width: 400px;
    margin: 30px auto;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .page-game-guides-bankroll-management__hero-title {
        font-size: 2em;
    }
    .page-game-guides-bankroll-management__hero-subtitle {
        font-size: 1.1em;
    }
    .page-game-guides-bankroll-management__section-title {
        font-size: 1.8em;
    }
    .page-game-guides-bankroll-management__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-game-guides-bankroll-management__btn--secondary {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-game-guides-bankroll-management__cta-group .page-game-guides-bankroll-management__btn {
        display: block;
        width: 80%;
        margin: 15px auto;
    }
}

@media (max-width: 480px) {
    .page-game-guides-bankroll-management__hero {
        padding: 60px 0;
    }
    .page-game-guides-bankroll-management__section {
        padding: 40px 0;
    }
    .page-game-guides-bankroll-management__hero-title {
        font-size: 1.8em;
    }
    .page-game-guides-bankroll-management__hero-subtitle {
        font-size: 1em;
    }
    .page-game-guides-bankroll-management__btn {
        width: 90%;
        display: block;
        margin: 10px auto;
    }
    .page-game-guides-bankroll-management__btn--secondary {
        margin-left: auto;
        margin-right: auto;
    }
    .page-game-guides-bankroll-management__card,
    .page-game-guides-bankroll-management__list li {
        padding: 20px;
    }
    .page-game-guides-bankroll-management__card-title {
        font-size: 1.3em;
    }
}