/* style/sports-betting-rules.css */

/* Variables */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-dark: #222222;
    --text-light: #f0f0f0;
    --background-light: #ffffff;
    --background-dark: #071a3d;
    --border-color: #e0e0e0;
}

.page-sports-betting-rules {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-light);
}

.page-sports-betting-rules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-sports-betting-rules__hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a7a 100%);
    color: var(--text-light);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-sports-betting-rules__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: var(--secondary-color);
    opacity: 0.1;
    border-radius: 50%;
    animation: pulse 4s infinite ease-in-out;
}

.page-sports-betting-rules__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: var(--secondary-color);
    opacity: 0.15;
    border-radius: 50%;
    animation: pulse 4s infinite reverse ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.1; }
}

.page-sports-betting-rules__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-sports-betting-rules__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports-betting-rules__hero-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    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;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-sports-betting-rules__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

.page-sports-betting-rules__introduction,
.page-sports-betting-rules__general-rules,
.page-sports-betting-rules__sport-specific-rules,
.page-sports-betting-rules__common-terms,
.page-sports-betting-rules__faq,
.page-sports-betting-rules__conclusion {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-sports-betting-rules__introduction p,
.page-sports-betting-rules__general-rules p,
.page-sports-betting-rules__common-terms p,
.page-sports-betting-rules__conclusion p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-sports-betting-rules__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-sports-betting-rules__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-sports-betting-rules__sub-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

.page-sports-betting-rules__general-rules ul,
.page-sports-betting-rules__rule-card ul {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
}

.page-sports-betting-rules__general-rules li,
.page-sports-betting-rules__rule-card li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-sports-betting-rules__image-wrapper {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-sports-betting-rules__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-sports-betting-rules__call-to-action {
    background-color: #f7f7f7;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-sports-betting-rules__call-to-action p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-weight: 500;
}

.page-sports-betting-rules__button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-sports-betting-rules__button:hover {
    background-color: #071a3d;
    transform: translateY(-2px);
}

.page-sports-betting-rules__button--secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-sports-betting-rules__button--secondary:hover {
    background-color: #e6c200;
    color: var(--primary-color);
}

.page-sports-betting-rules__sport-specific-rules {
    background-color: #fcfcfc;
}

.page-sports-betting-rules__rule-card {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports-betting-rules__rule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-sports-betting-rules__card-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.page-sports-betting-rules__card-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-sports-betting-rules__card-button {
    display: block;
    width: fit-content;
    margin: 25px auto 0;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-sports-betting-rules__card-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-sports-betting-rules__more-info {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 10px;
}

.page-sports-betting-rules__more-info p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.page-sports-betting-rules__common-terms dt {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 10px;
}

.page-sports-betting-rules__common-terms dd {
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-sports-betting-rules__faq-item {
    background-color: #f7f7f7;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 25px;
    transition: box-shadow 0.3s ease;
}

.page-sports-betting-rules__faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-sports-betting-rules__faq-question {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-sports-betting-rules__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-sports-betting-rules__faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-sports-betting-rules__faq-answer {
    font-size: 1.1em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
    padding-top: 0;
}

.page-sports-betting-rules__faq-answer.active {
    max-height: 200px; /* Adjust as needed */
    padding-top: 15px;
}

.page-sports-betting-rules__conclusion {
    text-align: center;
    padding-bottom: 80px;
    border-bottom: none;
}

.page-sports-betting-rules__action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-sports-betting-rules__button--large {
    padding: 15px 35px;
    font-size: 1.2em;
    border-radius: 50px;
}

.page-sports-betting-rules__image-wrapper--bottom {
    margin-top: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-sports-betting-rules__hero-title {
        font-size: 2.5em;
    }

    .page-sports-betting-rules__hero-subtitle {
        font-size: 1.2em;
    }

    .page-sports-betting-rules__section-title {
        font-size: 2em;
    }

    .page-sports-betting-rules__sub-title {
        font-size: 1.5em;
    }

    .page-sports-betting-rules__rule-card {
        padding: 20px;
    }

    .page-sports-betting-rules__faq-question {
        font-size: 1.2em;
    }

    .page-sports-betting-rules__action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .page-sports-betting-rules__button--large {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .page-sports-betting-rules__hero-title {
        font-size: 2em;
    }

    .page-sports-betting-rules__hero-subtitle {
        font-size: 1em;
    }

    .page-sports-betting-rules__section-title {
        font-size: 1.8em;
    }

    .page-sports-betting-rules__sub-title {
        font-size: 1.3em;
    }

    .page-sports-betting-rules__general-rules ul,
    .page-sports-betting-rules__rule-card ul {
        margin-left: 20px;
    }

    .page-sports-betting-rules__hero-button,
    .page-sports-betting-rules__button,
    .page-sports-betting-rules__button--large {
        padding: 12px 20px;
        font-size: 1em;
    }
}