.predictions .middle-section .date-bar .button-container button{
	top: 3px;
}

.custom-box{
	border-radius:10px;
}
.custom-box p:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.no-match p:last-child{
    padding: 8px 10px 10px 10px;
    border-radius: 10px;
}

/* New League Prediction Box Styles */
.league-prediction-box-new {
    margin-bottom: 20px;
    /* border: 1px solid #e0e0e0; */
    border-radius: 8px;
    overflow: hidden;
}

.league-prediction-header {
    background-color: #d0e3ff;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
}

.league-match-title-blue {
    color: #000000;
    font-size: 16px;
    margin: 0 0 8px 0;
}
.league-match-title-link {
    color: inherit;
    text-decoration: none;
    display: block;
    font-weight: 600;
    text-align: left;
}

.league-match-title-link:hover {
    color: #004499;
    text-decoration: none;
}

.league-match-details-light-blue {
    color: #000000;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}


.league-match-title-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.league-match-title-link:hover {
    color: #004499;
    text-decoration: none;
}

.league-teams-single-line {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
}

.league-logos-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 60px;
    justify-content: flex-start;
}

.league-logo-separator {
    color: #666;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
}

.league-arrow {
    color: #0066cc;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    min-width: 20px;
    text-align: left;
}

.league-names-group {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    justify-content: flex-start;
}

.league-team-name {
    font-size: 16px;
    font-weight: 600;
}

.league-team-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    vertical-align: middle;
}

.league-team-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    vertical-align: middle;
}

.league-vs {
    margin: 0 12px;
    font-weight: normal;
    color: #000000;
    /* vertical-align: middle; */
    display: inline-block;
}


.league-match-time, .league-match-venue {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
}

.league-match-time i, .league-match-venue i {
    font-size: 12px;
    opacity: 0.8;
}

.league-betting-tips-section {
    background-color: white;
    padding: 15px 20px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.league-betting-tip-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.league-betting-tip-inline:last-child {
    border-bottom: none;
}

.league-tip-text {
    font-weight: 600;
    color: #000000;
    flex: 1;
    font-size: 16px;
}

.league-odds-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.league-odds-inline .active {
    margin-left: 10px;
    padding: 4px 8px;
    font-size: 14px;
    background-color: #0069ff;
    border-radius: 4px;
    color: #ffffff;
}

/* Mobile responsive - 2 line layout */
@media (max-width: 767px) {
    .league-match-title-blue {
        text-align: left;
    }
    
    .league-match-details-light-blue {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .league-betting-tip-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .league-tip-text {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .league-odds-inline {
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    
    .league-odds-inline .active {
        margin-left: 0;
    }
    /* .league-match-time, 
    .league-match-venue{
        justify-content: center;
    } */
}


.league-bookie-logo {
    height: 20px;
    width: auto;
}

.league-bookie-name {
    font-size: 12px;
    color: #666;
}

.league-odds-value {
    font-weight: bold;
    color: #000000;
    font-size: 16px;
}

.league-no-tips-message {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.league-no-tips-message p {
    margin: 0;
    font-size: 14px;
}

.epl-prediction-box .notips{
    padding: 20px;
}



@media (max-width: 991px) and (min-width: 767px) {
    .league-match-title-blue{
        font-size: 14px;
    }
}

/* Mobile layout - from 991px and below */
@media (max-width: 991px) {
    .league-match-title-blue {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
        position: relative;
    }
    
    .league-match-title-link {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        text-align: left;
        flex-grow: 1;
    }
    
    .league-teams-single-line {
        display: flex;
        flex-direction: row;
        gap: 15px;
        justify-content: flex-start;
        flex-grow: 1;
        align-items: flex-start;
    }
    
    .league-logos-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
        justify-content: flex-start;
        align-items: center;
        min-width: 60px;
    }
    
    .league-logo-separator {
        display: none;
    }
    
    .league-arrow {
        display: none;
    }
    
    .league-names-group {
        display: flex;
        flex-direction: column;
        gap: 16px;
        justify-content: flex-start;
        flex-grow: 1;
        align-items: flex-start;
    }
    
    .league-team-names-row {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }
    
    .league-team-name {
        font-size: 16px;
        font-weight: 600;
    }
    
    .league-vs {
        margin: 0;
        font-size: 16px;
        font-weight: bold;
    }
    
    .league-match-details-light-blue {
        margin-top: 0;
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }
    .league-match-time{
        justify-content: flex-start;
    }
}

/* League Excerpt Section Styles */
.league-excerpt-section {
    background-color: #ffffff;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.league-excerpt-content {
    color: #000;
    font-size: 16px;
    line-height: 1.6;
}

.league-excerpt-content p {
    margin: 0 0 10px 0;
}

.league-excerpt-content p:last-child {
    margin-bottom: 0;
}

.league-excerpt-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.league-excerpt-content li {
    margin: 5px 0;
    list-style-type: disc;
}

.league-excerpt-content ol {
    margin: 10px 0;
    padding-left: 20px;
}

.league-excerpt-content ol li {
    list-style-type: decimal;
}

.league-excerpt-content strong {
    font-weight: 600;
    color: #0066cc;
}

.league-excerpt-content em {
    font-style: italic;
    color: #000;
}

/* League Match Arrow Button Styles */
.league-match-arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.league-match-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    /* border: 2px solid #e0e0e0; */
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.league-match-arrow-btn:hover {
    background-color: #0066cc;
    border-color: #0066cc;
    color: white;
    text-decoration: none;
    transform: translateX(2px);
    /* box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3); */
}

.league-match-arrow-btn i {
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.league-match-arrow-btn:hover i {
    color: white;
}

/* Mobile responsive for arrow button */
@media (max-width: 767px) {
    .league-match-arrow-btn {
        width: 35px;
        height: 35px;
    }
    
    .league-match-arrow-btn i {
        font-size: 12px;
    }
}
/* Prediction Match Tips - Section Date Header */
.prediction-match.tips .with-details-wrapper .section-date-header {
    width: 100%;
    text-align: left;
    /* margin-bottom: 15px; */
    padding: 0px 0px 10px 20px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #d3e9ff;
}

.prediction-match.tips .with-details-wrapper .section-date-text {
    font-weight: 400;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

/* Prediction Match Tips - Three Line Layout Styles - Specific to newtips_template.php only */
.prediction-match.tips .with-details-wrapper .tip-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
}

.prediction-match.tips .with-details-wrapper .match-date-full {
    width: 100%;
    text-align: left;
    margin-bottom: 12px;
}

.prediction-match.tips .with-details-wrapper .match-date-full .date-text {
    font-weight: bold;
    font-size: 16px;
    color: #000;
    margin: 0;
    padding: 0;
}

.prediction-match.tips .with-details-wrapper .match-teams {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 2px;
    gap: 10px;
}

.prediction-match.tips .with-details-wrapper .match-teams .icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.prediction-match.tips .with-details-wrapper .match-teams .icons ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.prediction-match.tips .with-details-wrapper .match-teams .icons li {
    margin: 0;
}

.prediction-match.tips .with-details-wrapper .match-teams .icons img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.prediction-match.tips .with-details-wrapper .match-teams .team-info {
    flex: 1;
    margin: 0;
    text-align: left;
}

.prediction-match.tips .with-details-wrapper .match-teams .team-info h2 {
    margin: 0 0 3px 0;
    font-size: 16px;
    font-weight: bold;
    text-align: left;
}

.prediction-match.tips .with-details-wrapper .match-teams .team-info h2 a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
}

.prediction-match.tips .with-details-wrapper .match-teams .team-info h2 a:hover {
    color: #0066cc;
}

.prediction-match.tips .with-details-wrapper .match-teams .team-info p {
    margin: 0;
    font-size: 14px;
    text-align: left;
}

.prediction-match.tips .with-details-wrapper .match-teams .team-info p a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.prediction-match.tips .with-details-wrapper .match-teams .arrow {
    margin-left: auto;
    flex-shrink: 0;
}

.prediction-match.tips .with-details-wrapper .match-teams .arrow img {
    width: 20px;
    height: 20px;
}

.prediction-match.tips .with-details-wrapper .match-league {
    width: 100%;
    text-align: left;
    margin-top: 0;
}

.middle-section .prediction-match.tips .with-details-wrapper .match-league .league-name {
    font-size: 14px !important;
    color: #666 !important;
    margin: 0;
    font-weight: 500 !important;
    text-align: left !important;
}

/* Mobile responsive adjustments - only for prediction-match tips */
@media (max-width: 767px) {
    .prediction-match.tips .with-details-wrapper .match-teams {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .prediction-match.tips .with-details-wrapper .match-teams .team-info {
        margin: 0;
        width: 100%;
    }
    
    .prediction-match.tips .with-details-wrapper .match-teams .arrow {
        margin-left: 0;
        align-self: flex-end;
    }
}

.with-details .tip-box div{
    padding: 0px 0px 0px 0px !important;
}

.with-details .tip-box{
    padding: 10px 0px 10px 20px !important;
}

.with-details-wrapper{
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

@media (max-width: 767px) {
.prediction-match.tips .with-details .match-teams{
    flex-direction: row;
}

.prediction-match.tips .with-details .match-league .league-name{
    font-size: 14px;
}
}
@media (max-width: 575px) {
.with-details-wrapper .tip-box .team-info h2 {
        margin-bottom: 8px !important;
        margin-top: 2px !important;
}
}

.predictions .middle-section .prediction-match.tips .with-details-wrapper .bet-box{
   padding: 0px 20px 10px !important;
}

.tip-details h5 {
    padding: 6px 0px 4px;
}

.predictions .middle-section .prediction-match.tips .tip-wrap.with-details-wrapper tr td{
        width: 125px ;
}
.predictions .middle-section .prediction-match.tips .tip-wrap.with-details-wrapper table tr td:last-child a{
    float: left !important;
}

.predictions .middle-section .prediction-match.tips .tip-wrap .title.tip-details{
    border-bottom: none !important;
}

.predictions .middle-section .prediction-match.tips .tip-wrap.with-details-wrapper .tip-box-wrap .tip-box p{
    font-size: 16px !important;
    font-weight: 600;
    margin-bottom: 4px;
    transition: 600ms all;
    color: #000000 !important;
}

.predictions .middle-section .prediction-match.tips .tip-wrap.with-details-wrapper .tip-box-wrap .tip-box p a{
    color: #000000;
    font-size: 16px;
}
.predictions .middle-section .prediction-match.tips .tip-wrap.with-details-wrapper .tip-box-wrap .tip-box p:last-child a{
    color: #0069FF;
    font-size: 16px;
}

.predictions .middle-section .prediction-match.tips .tip-wrap .title.tip-details li h3{
    margin-bottom: 0;
    font-weight: 600;
    font-size: 17px;
    margin-top: 7px;
}

.predictions .middle-section .prediction-match.tips .tip-wrap.with-details-wrapper .bet-box table tr td{
        padding: 5px 1px !important;
}


/* Keep signup button visible for with-details-wrapper */
@media (max-width: 575px) {
  .tip-wrap.with-details-wrapper .bet-box table tr td a {
        width: auto !important;
        height: auto !important;
        display: inline-block !important;
        position: relative !important;
        font-size: 12px !important;
        padding: 5px 10px !important;
  }
  .tip-wrap.with-details-wrapper .bet-box table tr td a::after {
    display: none !important;
  }
      .predictions .middle-section .prediction-match.tips .tip-wrap .title.tip-details {
                padding: 5px 20px 6px !important
      }
}

@media (max-width: 380px) {
    .with-details .tip-box{
       padding:  10px 0px 10px 10px !important;
    }
    .predictions .middle-section .prediction-match.tips .with-details-wrapper .bet-box{
        padding: 0px 10px 10px !important;
    }
    .prediction-match.tips .section-date-header{
        padding: 0px 10px 10px 10px !important
    }
    .predictions .middle-section .prediction-match.tips .tip-wrap.with-details-wrapper .bet-box table tr td{
    padding: 5px 1px !important;
    }
}

@media (max-width: 575px) {
    .middle-section .prediction-match.tips .tip-wrap .bet-box.img-btn table tr td a::after {
        display: none !important;
    }
}


.middle-section .prediction-match.tips .tip-wrap .bet-box.img-btn table tr td a{
    width: unset !important;
    height:  unset !important;
}

@media (max-width: 404px) {
    .bet-box table tr td a .betnow-img {
        max-width: 72px !important;
        height: auto !important;
    }
    .bet-box.img-btn table.bet-table tr td:first-child,
    .bet-box.img-btn table.bet-table tr th:first-child {
        width: 117px !important;
    }
    .bet-box.img-btn table tr td{
        padding: unset !important;
    }
}

/* Single League Page - Bet Now Image Button Styles */
.league-bet-now-btn {
    background-color: unset !important;
    padding: 0 !important;
    border: none !important;
}

.league-bet-now-btn::after {
    display: none !important;
    content: none !important;
}

.league-bet-now-btn .betnow-img {
    display: block !important;
    max-width: 100px !important;
    height: auto !important;
    border-radius: 4px;
}

/* Mobile responsive for single league page */
@media (max-width: 575px) {
    .league-bet-now-btn::after {
        display: none !important;
        content: none !important;
    }
    
    .league-bet-now-btn .betnow-img {
        max-width: 80px !important;
        height: auto !important;
    }
}

@media (max-width: 380px) {
    .league-bet-now-btn .betnow-img {
        max-width: 70px !important;
        height: auto !important;
    }
}

/* New Tips Template Page - Bet Now Image Button Styles */
.newtips-page .newtips-bet-now-btn {
    background-color: unset !important;
    padding: 0 !important;
    border: none !important;
    width: unset !important;
    height: unset !important;
}

.newtips-page .newtips-bet-now-btn::after {
    display: none !important;
    content: none !important;
}

/* Remove arrow from a tag in newtips page */
.newtips-page .newtips-bet-now-btn::after,
.newtips-page a.newtips-bet-now-btn::after {
    display: none !important;
    content: none !important;
}

/* Override any existing bet-box styles for newtips page */
.newtips-page .bet-box table tr td a::after,
.newtips-page .middle-section .prediction-match.tips .tip-wrap .bet-box table tr td a::after {
    display: none !important;
    content: none !important;
}

.newtips-bet-now-btn .betnow-img {
    display: block !important;
    max-width: 100px !important;
    height: auto !important;
    border-radius: 4px;
}

/* Mobile responsive for new tips page */
@media (max-width: 575px) {
    .newtips-page .newtips-bet-now-btn::after,
    .newtips-page a.newtips-bet-now-btn::after {
        display: none !important;
        content: none !important;
    }
    
    .newtips-page .newtips-bet-now-btn .betnow-img {
        max-width: 80px !important;
        height: auto !important;
    }
    
    /* Override bet-box styles on mobile for newtips page */
    .newtips-page .bet-box.img-btn table tr td a::after,
    .newtips-page .middle-section .prediction-match.tips .tip-wrap .bet-box.img-btn table tr td a::after {
        display: none !important;
        content: none !important;
    }
        .bet-box.img-btn table tr td a{
            width: unset !important ;
        }
    }

.middle-section .prediction-match.tips .tip-wrap.newtips-page.cta-img .bet-box table tr td a{
    background-color: transparent !important;
}

@media (max-width: 380px) {
    .newtips-page .newtips-bet-now-btn .betnow-img {
        max-width: 70px !important;
        height: auto !important;
    }
}

.img-btn .bet-table a{
    background-color: transparent !important;
}
.img-btn .bet-table a::after{
    display: none !important;
}



/* stikcy ad  */
/* ===== DYNAMIC STICKY ADS STYLES ===== */

.dynamic-sticky-ads-container.static{
       position: relative;
       top: 0px ;
}

.dynamic-sticky-ads-container {
    position: sticky;
    top: 20px;
    z-index: 1;
    margin: 25px 0px;
    /* background-color: #f5f5f5; */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    max-height: 180px;
}



@media (max-width: 1199px) {
    .dynamic-sticky-ads-container {
        top: 20px;
    }
}

@media (max-width: 991px) {
    .dynamic-sticky-ads-container {
        top: 20px;
    }
}

@media (max-width: 767px) {
    .dynamic-sticky-ads-container {
        top: 10px;
    }
}

@media (max-width: 575px) {
    .dynamic-sticky-ads-container {
        margin: 25px 0;
    }
}

.sticky-ads-wrapper {
    display: flex;
    gap: 10px;
    /* padding: 15px; */
    max-height: 180px;
    overflow: hidden;
}

.sticky-ad-item {
    flex: 1;
    min-width: 0;
    max-width: 50%;
    max-height: 150px;
    overflow: hidden;
}

/* Full width for single ads (odd numbers) */
.sticky-ad-item.full-width {
    max-width: 100%;
    flex: 1 1 100%;
}

/* ===== CUSTOM LAYOUT STYLES ===== */
.sticky-ad-custom {
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    height: 100%;
    max-height: 150px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sticky-ad-custom .ad-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    flex-direction: column;
}

.sticky-ad-custom .ad-logo {
    flex-shrink: 0;
}

.sticky-ad-custom .ad-logo img {
    max-width: 100px;
    max-height: 30px;
    object-fit: contain;
    border-radius: 4px;
}

.sticky-ad-custom .ad-description {
    flex: 1;
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 60px;
    font-weight: 600;
    text-align: center;
}

.sticky-ad-custom .ad-cta {
    flex-shrink: 0;
}

.sticky-ad-custom .cta-button {
    display: inline-block;
    padding: 6px 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    white-space: nowrap;
    max-height: 34px;
}

.sticky-ad-custom .cta-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ===== IMAGE LAYOUT STYLES ===== */
.sticky-ad-image {
    height: 100%;
    max-height: 150px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sticky-ad-image a {
    display: block;
    height: 100%;
}

.sticky-ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .sticky-ads-wrapper {
        flex-direction: row; /* Keep horizontal on mobile */
        gap: 8px;
        /* padding: 10px; */
        max-height: 180px;
    }
    
    .sticky-ad-item {
        max-width: 50%; /* Keep 50% width on mobile */
        flex: 1;
    }

    .sticky-ad-item.full-width {
        max-width: 100%; /* Full width on mobile too */
        flex: 1 1 100%;
    }
    
    .sticky-ad-custom {
        padding: 8px;
        max-height: 160px;
    }
    
    .sticky-ad-custom .ad-content {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    
    .sticky-ad-custom .ad-logo img {
        max-width: 80px;
        max-height: 25px;
    }
    
    .sticky-ad-custom .ad-description {
        font-size: 18px;
        line-height: 1.2;
        -webkit-line-clamp: 2;
        max-height: 24px;
    }
    
    .sticky-ad-custom .cta-button {
        padding: 5px 16px;
        font-size: 18px;
        max-height: 30px;
    }
    
    .sticky-ad-image {
        max-height: 160px;
    }
}

@media (max-width: 480px) {
    .sticky-ads-wrapper {
        gap: 6px;
        /* padding: 8px; */
    }
    
    .sticky-ad-custom {
        padding: 6px;
        max-height: 150px;
    }
    
    .sticky-ad-custom .ad-logo img {
        max-width: 60px;
        max-height: 20px;
    }
    
    .sticky-ad-custom .ad-description {
        font-size: 18px;
        line-height: 1.1;
        max-height: 43px;
    }
    
    .sticky-ad-custom .cta-button {
        padding: 7px 18px;
        font-size: 16px;
        max-height: 40px;
    }
    
    .sticky-ad-image {
        max-height: 150px;
    }
}


/* ===== SMOOTH SLIDE TRANSITIONS ===== */
.sticky-ad-item {
    transition: opacity 0.6s ease, transform 0.6s ease;
    opacity: 1;
    transform: translateY(0);
}

.sticky-ad-item.slide-in {
    opacity: 1;
    transform: translateY(0);
    animation: smoothSlideIn 0.8s ease-out;
}

.sticky-ad-item.slide-out {
    opacity: 0;
    transform: translateY(-8px);
    animation: smoothSlideOut 0.6s ease-in;
}

@keyframes smoothSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-15px) translateY(3px) scale(0.98);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-3px) translateY(1px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes smoothSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
    50% {
        opacity: 0.4;
        transform: translateX(3px) translateY(-1px) scale(0.99);
    }
    100% {
        opacity: 0;
        transform: translateX(15px) translateY(-3px) scale(0.98);
    }
}

/* Container transition for smooth rotation */
.sticky-ads-wrapper {
    transition: all 0.6s ease;
    position: relative;
}

/* ===== HOVER EFFECTS ===== */
.sticky-ad-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.sticky-ad-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.sticky-ad-image:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* ===== BUTTON ANIMATIONS ===== */
.sticky-ad-custom .cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.sticky-ad-custom .cta-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.sticky-ad-custom .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.sticky-ad-custom .cta-button:hover::before {
    left: 100%;
}
/* ===== LOADING STATE ===== */
.dynamic-sticky-ads-container.loading .sticky-ads-wrapper {
    opacity: 0.5;
}

.dynamic-sticky-ads-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0069FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.predictions-single .prediction-tab{
    display: none;
}

.single-prediction header.fixed-nav{
    position: relative !important;
}


/* Footer Revamp ------------------------------------------------------------ */
.site-footer {
    background-color: #ffffff;
    color: #0f172a; 
}

.site-footer a {
    color: inherit;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #60a5fa;
    text-decoration: none;
}

.site-footer .footer-primary {
    padding: 30px 0;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.site-footer .footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.site-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 180px;
}

.site-footer .footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.site-footer .footer-heading {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin: 0;
}

.site-footer .footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer .footer-links li {
    margin: 0;
}

.site-footer .footer-links a {
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.site-footer .footer-placeholder {
    margin: 0;
    font-size: 14px;
    color: rgba(243, 244, 246, 0.65);
}

.site-footer .footer-awareness-text {
    font-size: 16px;
    line-height: 1.6;
    color: #0f172a; 
}

.site-footer .footer-awareness-text p {
    margin: 0 0 10px;
}

.site-footer .footer-awareness-text p:last-child {
    margin-bottom: 0;
}

.site-footer .footer-timezone {
    margin: 0;
    font-size: 14px;
    color: rgba(243, 244, 246, 0.85);
}

.site-footer .footer-timezone-label {
    font-weight: 600;
    margin-right: 6px;
}

.site-footer .copy {
    background-color: #0b1220;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .copy p {
    color: rgba(243, 244, 246, 0.7);
    margin: 0;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .site-footer .footer-grid {
        gap: 32px;
    }
}

@media (max-width: 991px) {
    .site-footer .footer-primary {
        padding: 50px 0;
    }

    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 575px) {
    .site-footer .footer-primary {
        padding: 40px 0;
    }

    .site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer .footer-col {
        gap: 20px;
    }
}