/* style/daily-tips.css */

/* General page styling */
.page-daily-tips {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.page-daily-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-daily-tips__section {
    padding: 60px 0;
    text-align: left;
}

.page-daily-tips__section:nth-of-type(even) {
    background-color: #e9ecef;
}

.page-daily-tips__section-title {
    font-size: 2.5em;
    color: #0047AB;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-daily-tips__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-daily-tips__subsection-title {
    font-size: 1.8em;
    color: #0047AB;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-daily-tips__text-center {
    text-align: center;
}

.page-daily-tips__text-large {
    font-size: 1.2em;
    font-weight: bold;
    color: #0047AB;
}

.page-daily-tips__small-text {
    font-size: 0.9em;
    color: #6c757d;
    margin-top: 20px;
}

/* Hero Section */
.page-daily-tips__hero {
    background: linear-gradient(135deg, #0047AB 0%, #00287a 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-daily-tips__hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.page-daily-tips__hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 215, 0, 0.15);
    border-radius: 50%;
    z-index: 0;
}

.page-daily-tips__hero > .page-daily-tips__container {
    position: relative;
    z-index: 1;
}

.page-daily-tips__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-daily-tips__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-daily-tips__hero-cta {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-daily-tips__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-daily-tips__btn {
    display: inline-block;
    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;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.page-daily-tips__btn--primary {
    background-color: #FFD700;
    color: #0047AB;
    border: 2px solid #FFD700;
}

.page-daily-tips__btn--primary:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-daily-tips__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-daily-tips__btn--secondary:hover {
    background-color: #FFD700;
    color: #0047AB;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-daily-tips__btn--details {
    background-color: #0047AB;
    color: #FFD700;
    border: 1px solid #0047AB;
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 20px;
}

.page-daily-tips__btn--details:hover {
    background-color: #003a8a;
    border-color: #003a8a;
    transform: translateY(-2px);
}

.page-daily-tips__btn--large {
    padding: 18px 35px;
    font-size: 1.3em;
}

/* Content Sections */
.page-daily-tips__intro-content p,
.page-daily-tips__responsible-gambling p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #495057;
    line-height: 1.8;
}

.page-daily-tips__list {
    list-style: none;
    padding-left: 0;
    margin-top: 30px;
}

.page-daily-tips__list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #343a40;
}

.page-daily-tips__list li::before {
    content: '✔️';
    position: absolute;
    left: 0;
    color: #FFD700;
    font-weight: bold;
}

.page-daily-tips__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.page-daily-tips__image--left {
    float: left;
    margin-right: 30px;
    width: 40%;
    min-width: 300px;
}

.page-daily-tips__image--right {
    float: right;
    margin-left: 30px;
    width: 40%;
    min-width: 300px;
}

/* Clearfix for floated images */
.page-daily-tips__intro-content::after,
.page-daily-tips__responsible-gambling::after {
    content: "";
    display: table;
    clear: both;
}

/* Prediction Cards */
.page-daily-tips__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-daily-tips__card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-daily-tips__card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.page-daily-tips__card-image {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-daily-tips__card-title {
    font-size: 1.5em;
    color: #0047AB;
    margin-bottom: 15px;
}

.page-daily-tips__card-description {
    font-size: 1em;
    color: #555;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* FAQ Accordion */
.page-daily-tips__accordion {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-daily-tips__accordion-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-daily-tips__accordion-header {
    width: 100%;
    background-color: #0047AB;
    color: #FFD700;
    padding: 18px 25px;
    border: none;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-daily-tips__accordion-header:hover {
    background-color: #003a8a;
}

.page-daily-tips__accordion-header::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-daily-tips__accordion-header.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-daily-tips__accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    background-color: #fefefe;
    padding: 0 25px;
}

.page-daily-tips__accordion-content p {
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 0;
    color: #495057;
}

.page-daily-tips__accordion-content.active {
    max-height: 200px; /* This will be overridden by JS for dynamic height */
}

/* Bottom CTA */
.page-daily-tips__cta-bottom {
    background-color: #0047AB;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-daily-tips__cta-bottom .page-daily-tips__section-title {
    color: #FFD700;
    margin-bottom: 25px;
}

.page-daily-tips__cta-bottom .page-daily-tips__section-title::after {
    background-color: #FFD700;
}

.page-daily-tips__cta-bottom .page-daily-tips__text-large {
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-daily-tips__hero-title {
        font-size: 2.8em;
    }
    .page-daily-tips__section-title {
        font-size: 2em;
    }
    .page-daily-tips__image--left,
    .page-daily-tips__image--right {
        float: none;
        margin: 30px auto;
        width: 80%;
    }
    .page-daily-tips__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-daily-tips__hero {
        padding: 60px 0;
    }
    .page-daily-tips__hero-title {
        font-size: 2.2em;
    }
    .page-daily-tips__hero-subtitle {
        font-size: 1.1em;
    }
    .page-daily-tips__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-daily-tips__btn--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-daily-tips__section {
        padding: 40px 0;
    }
    .page-daily-tips__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-daily-tips__subsection-title {
        font-size: 1.5em;
    }
    .page-daily-tips__card-grid {
        grid-template-columns: 1fr;
    }
    .page-daily-tips__image--left,
    .page-daily-tips__image--right {
        width: 90%;
    }
}

@media (max-width: 576px) {
    .page-daily-tips__hero-title {
        font-size: 1.8em;
    }
    .page-daily-tips__hero-subtitle {
        font-size: 1em;
    }
    .page-daily-tips__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-daily-tips__btn {
        width: 100%;
        box-sizing: border-box;
    }
    .page-daily-tips__section-title {
        font-size: 1.5em;
    }
    .page-daily-tips__list li {
        font-size: 1em;
    }
    .page-daily-tips__accordion-header {
        font-size: 1em;
        padding: 15px 20px;
    }
}

/* Ensure contrast for all text elements */
.page-daily-tips h1, .page-daily-tips h2, .page-daily-tips h3, .page-daily-tips h4, .page-daily-tips h5, .page-daily-tips h6 {
    color: #0047AB; /* Dark blue on light background */
}
.page-daily-tips p, .page-daily-tips li {
    color: #333; /* Very dark gray on light background, contrast with #f8f9fa is good */
}
.page-daily-tips__hero h1, .page-daily-tips__hero p {
    color: #FFD700; /* Gold on dark blue background, excellent contrast */
}
.page-daily-tips__cta-bottom h2, .page-daily-tips__cta-bottom p {
    color: #FFD700; /* Gold on dark blue background, excellent contrast */
}
.page-daily-tips__accordion-header {
    color: #FFD700; /* Gold on dark blue background, excellent contrast */
}
.page-daily-tips__accordion-content p {
    color: #333; /* Dark gray on light background */
}
.page-daily-tips__btn--primary {
    background-color: #FFD700;
    color: #0047AB; /* Gold button, Royal Blue text, excellent contrast */
}
.page-daily-tips__btn--secondary {
    color: #FFD700; /* Gold text, transparent background with dark blue hero, excellent contrast */
    border-color: #FFD700;
}
.page-daily-tips__btn--secondary:hover {
    background-color: #FFD700;
    color: #0047AB; /* Gold background, Royal Blue text, excellent contrast */
}
.page-daily-tips__btn--details {
    background-color: #0047AB;
    color: #FFD700; /* Royal Blue button, Gold text, excellent contrast */
}
.page-daily-tips__btn--details:hover {
    background-color: #003a8a;
    color: #FFD700; /* Darker blue button, Gold text, excellent contrast */
}
.page-daily-tips__cta-bottom .page-daily-tips__btn--primary {
    background-color: #FFD700;
    color: #0047AB; /* Gold button, Royal Blue text, excellent contrast */
}