/* ==========================================================================
   SPORTS BETTING TIPS
   ========================================================================== */

.betting-tips {
    padding: 16px;
}

.betting-tips .box-title {
    margin-bottom: 16px;
}

/* Group Wrapper (per competition) */
.tips-group {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.tips-group:last-of-type {
    margin-bottom: 24px;
}

/* Competition Header Row */
.tips-group__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.15s ease;
}

.tips-group__header:hover {
    background-color: var(--color-bg-light);
}

.tips-group__icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: var(--color-bg-white);
}

.tips-group__icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-primary-blue);
}

.tips-group__title {
    flex-grow: 1;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary-blue);
}

.tips-group__chevron {
    width: 22px;
    height: 22px;
    stroke: var(--color-primary-blue);
    flex-shrink: 0;
}

/* Match List */
.match-list {
    display: flex;
    flex-direction: column;
}

.match-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.15s ease;
}

.match-row:last-child {
    border-bottom: none;
}

.match-row:hover {
    background-color: var(--color-bg-light);
}

/* Date Column */
.match-row__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text-body);
    width: 48px;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.4;
}

/* Teams Column */
.match-row__teams {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.match-row__team {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.team-logo--placeholder {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
}

.team-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary-blue);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-row__chevron {
    width: 22px;
    height: 22px;
    stroke: #b5bcc6;
    flex-shrink: 0;
}

/* ==========================================================================
   MEMBER AREA CTA BANNER
   ========================================================================== */
.tips-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background-color: var(--color-primary-blue);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    text-decoration: none;
    flex-wrap: wrap;
}

.tips-cta-banner__left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-grow: 1;
    min-width: 200px;
}

.tips-cta-banner__icon {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tips-cta-banner__icon svg {
    width: 18px;
    height: 18px;
    stroke: #ffffff;
}


.tips-group__icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 50%;
}

.tips-cta-banner__dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: #e53935;
    border: 2px solid var(--color-primary-blue);
}

.tips-cta-banner__text {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.tips-cta-banner__text strong {
    color: var(--color-accent-yellow);
    font-weight: 800;
}

.tips-cta-banner__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--color-accent-yellow);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 24px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.tips-cta-banner:hover .tips-cta-banner__btn {
    background-color: #e08e00;
}

.tips-cta-banner__btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

/* Responsive */
@media (max-width: 480px) {
    .tips-cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .tips-cta-banner__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   MOBILE OPTIMIZATION (Match Rows)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Allow the flex items to wrap to a new line */
    .match-row {
        flex-wrap: wrap;
        padding: 16px; /* Slightly more padding so it breathes well on mobile */
    }

    /* 2. Force the date to be 100% wide, sitting on top and centered */
    .match-row__date {
        width: 100%;
        flex-direction: row; /* Puts the Date and Time side-by-side */
        justify-content: center;
        gap: 6px;
        margin-bottom: 12px; /* Adds space between the centered date and the teams */
        font-size: 13px; 
    }

    .tips-cta-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px; /* Adds a bit more breathing room top and bottom */
        gap: 20px;
    }

    /* Stacks the gift icon directly on top of the text */
    .tips-cta-banner__left {
        flex-direction: column; 
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }

    /* Makes the button full width and centers the text inside it */
    .tips-cta-banner__btn {
        width: 100%;
        justify-content: center;
        padding: 14px 18px; /* Makes the button slightly taller for mobile tapping */
        font-size: 15px;
    }

   
}