/* =============================================================
   RADCLIFFE TOWN SC - REFINED CORE STYLES
   ============================================================= */

:root {
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --rt-red: #e63946; /* Ensure fallback if main variable is missing */
    --rt-navy: #0b1522;
}

/* 1. HERO & BRANDING SECTION */
.hero-brand-clean {
    position: relative;
    height: 65vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a2a3d 0%, #0b1522 100%);
    text-align: center;
    border-bottom: 4px solid var(--rt-red);
}

.hero-brand-clean::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.hero-watermark {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 45vh;
    opacity: 0.03;
    filter: grayscale(100%);
    pointer-events: none;
    z-index: 1;
}

.hero-text-block { position: relative; z-index: 10; }

.main-brand-title {
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 950;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #fff;
    margin: 10px 0;
}

.main-brand-title .highlight {
    color: var(--rt-red);
    display: block;
    text-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

.est-badge {
    background: var(--rt-red);
    color: white;
    padding: 6px 12px;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border-radius: 2px;
}

.brand-tagline {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

/* 2. CORE BUTTONS */
.btn-deluxe-brand, .btn-deluxe-outline {
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    transition: 0.3s;
    margin: 5px;
}

.btn-deluxe-brand { background: var(--rt-red); color: #fff; }
.btn-deluxe-brand:hover { filter: brightness(1.2); }

.btn-deluxe-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
}
.btn-deluxe-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* 3. MOTTO STRIP (LOOPING) */
.motto-strip {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: var(--rt-red);
    padding: 15px 0;
    z-index: 30;
    overflow: hidden;
}

.motto-content {
    display: flex;
    width: max-content;
    white-space: nowrap;
    animation: mottoScroll 45s linear infinite;
}

.motto-content span {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 4px;
    color: #fff;
    text-transform: uppercase;
    padding-right: 60px;
}

/* 4. MATCH CENTRE HUB & TABS */
.match-centre-deluxe { padding: 80px 0; background: #0b1522; }

.glow-text {
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(230, 57, 70, 0.5);
    margin-bottom: 30px;
    text-align: center;
}

.tab-controls { display: flex; justify-content: center; gap: 10px; margin-bottom: 50px; flex-wrap: wrap; }

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--rt-red);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}

.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }

/* 5. NEXT UP SLIDER */
.next-up-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 25px;
    padding: 10px 0 50px;
    scrollbar-width: none;
}
.next-up-slider::-webkit-scrollbar { display: none; }

.match-slide-card {
    flex: 0 0 480px;
    scroll-snap-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.match-slide-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--rt-red);
    transform: translateY(-5px);
}

.match-top-strip {
    background: rgba(230, 57, 70, 0.1);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--rt-red);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.match-battle { display: flex; align-items: center; justify-content: space-between; padding: 40px 20px; }

.team-unit { width: 35%; display: flex; flex-direction: column; align-items: center; gap: 10px; }

.team-logo { width: 85px; height: 85px; object-fit: contain; filter: drop-shadow(0 8px 15px rgba(0,0,0,0.4)); }

.t-name {
    font-size: 0.95rem; font-weight: 850; text-transform: uppercase; color: #fff;
    text-align: center; line-height: 1.2; min-height: 2.4em;
}

.vs-glow-box {
    background: var(--rt-red);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 950;
    font-size: 0.75rem;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.5);
}

/* 6. LATEST RESULTS GRID */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.result-card-wow {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--rt-red);
    border-radius: 12px;
    padding: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.result-card-wow:hover { background: rgba(255, 255, 255, 0.06); transform: translateX(5px); }

.result-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.result-meta span { font-size: 0.8rem; font-weight: 700; color: rgba(255, 255, 255, 0.5); text-transform: uppercase; }

.result-type-header { display: flex; justify-content: center; margin-top: -10px; margin-bottom: 15px; }

.result-main { display: flex; align-items: center; justify-content: space-between; gap: 15px; }

.res-team { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }

.res-logo { width: 50px; height: 50px; object-fit: contain; margin-bottom: 8px; }

.res-name { font-size: 0.85rem; font-weight: 800; color: #fff; text-transform: uppercase; line-height: 1.2; }

.res-score {
    display: flex; align-items: center; background: #000;
    padding: 10px 15px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 10px rgba(220, 38, 38, 0.2);
}

.score-num { font-size: 1.5rem; font-weight: 900; color: #fff; text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
.score-divider { margin: 0 10px; color: var(--rt-red); font-weight: 900; }

.result-footer { margin-top: 15px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.05); text-align: center; }
.report-link { font-size: 0.75rem; color: var(--rt-red); text-transform: uppercase; font-weight: 700; text-decoration: none; transition: 0.3s; }
.report-link:hover { color: #fff; }

/* 7. LEAGUE SNAPSHOT & TABLES */
.league-tables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.league-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
}

.league-name-heading {
    font-size: 1.1rem; font-weight: 800; color: var(--rt-red);
    text-transform: uppercase; margin-bottom: 20px; padding-bottom: 10px;
    border-bottom: 2px solid rgba(220, 38, 38, 0.2);
}

.snapshot-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; color: #eee; }
.snapshot-table th { font-size: 0.7rem; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); padding: 10px 5px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.snapshot-table td { padding: 12px 5px; border-bottom: 1px solid rgba(255, 255, 255, 0.03); text-align: center; }
.snapshot-table .text-left { text-align: left !important; padding-left: 10px; }

.highlight-row { background: rgba(220, 38, 38, 0.15) !important; color: #fff; }
.highlight-row td { font-weight: 700; border-bottom-color: rgba(220, 38, 38, 0.3); }

.table-footer-link { margin-top: 15px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.05); text-align: right; }
.view-full-league { font-size: 0.7rem; color: rgba(255, 255, 255, 0.5); text-decoration: none; text-transform: uppercase; font-weight: 700; }
.view-full-league:hover { color: var(--rt-red); }

/* 8. STATUS BADGES & TAGS */
.outcome-badge {
    width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
    border-radius: 4px; font-size: 0.75rem; font-weight: 900; color: #fff;
}
.outcome-badge.win { background-color: #22c55e !important; }
.outcome-badge.loss { background-color: #ef4444 !important; }
.outcome-badge.draw { background-color: #eab308 !important; }

.match-type-tag, .type-label {
    font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
    padding: 2px 10px; border-radius: 20px; letter-spacing: 1px;
    background: rgba(220, 38, 38, 0.1); color: var(--rt-red);
    border: 1px solid rgba(220, 38, 38, 0.3);
}

/* Specific Badge Styling using the HTML values */
.type-label:empty::before, .match-type-tag:empty::before { content: 'League'; }

/* 9. ANIMATIONS & MEDIA FIXES */
@keyframes mottoScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .main-brand-title { font-size: 2.8rem; }
    .glow-text { font-size: 2.2rem; }
    .hero-brand-actions { display: flex; flex-direction: column; padding: 0 30px; }
    .btn-deluxe-brand, .btn-deluxe-outline { width: 100%; margin: 5px 0; }
    .match-slide-card { flex: 0 0 88%; margin-left: 5%; }
    .results-grid, .league-tables-grid { grid-template-columns: 1fr; }
    .team-logo { width: 60px; height: 60px; }
}

/* --- TEAM FIXTURES TAB STYLING --- */
.team-fixtures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.team-schedule-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.team-schedule-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(220, 38, 38, 0.3);
}

.team-schedule-title {
    font-size: 0.95rem;
    color: var(--rt-red);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 15px;
    border-left: 3px solid var(--rt-red);
    padding-left: 12px;
    letter-spacing: 1px;
}

.mini-fixture-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-fix-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.fix-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 12px;
}

.fix-date strong { font-size: 0.85rem; color: #fff; }
.fix-date span { font-size: 0.65rem; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; }

.fix-opponent { flex: 1; display: flex; flex-direction: column; }
.fix-type { font-size: 0.6rem; text-transform: uppercase; color: var(--rt-red); font-weight: 800; margin-bottom: 2px; }
.fix-opp-name { font-size: 0.8rem; color: #eee; font-weight: 700; }

.fix-venue {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --- MATCH PREVIEW BUTTON (NEXT UP TAB) --- */
.match-footer-action {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-match-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.btn-match-link i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.btn-match-link:hover {
    background: var(--rt-red);
    border-color: var(--rt-red);
    color: #fff;
}

.btn-match-link:hover i {
    transform: translateX(5px);
}

/* --- LATEST NEWS SNAPSHOT --- */
.news-snapshot {
    padding: 80px 0;
    background: var(--rt-navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.news-grid-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.news-card-deluxe {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card-deluxe:hover {
    transform: translateY(-12px);
    border-color: var(--rt-red);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.news-img-box {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.news-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news-card-deluxe:hover .news-img-box img {
    transform: scale(1.08);
}

.news-date {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--rt-red);
    color: #fff;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.news-content-box {
    padding: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content-box h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.2;
    font-weight: 900;
}

.news-content-box p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.btn-read-more {
    margin-top: auto;
    color: var(--rt-red);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-read-more i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.btn-read-more:hover {
    color: #fff;
}

.btn-read-more:hover i {
    transform: translateX(8px);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .news-grid-main {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-img-box {
        height: 220px;
    }
    
    .news-content-box {
        padding: 25px;
    }
    
    .news-content-box h3 {
        font-size: 1.3rem;
    }
}

/* --- FEATURED CLUB SHOP --- */
.shop-featured-strip {
    padding: 80px 0;
    background: radial-gradient(circle at center, #1a2a3d 0%, #0b1522 100%);
}

.shop-featured-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 50px;
    backdrop-filter: blur(10px);
}

.shop-item-image {
    flex: 0 0 350px;
    height: 350px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.shop-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.shop-item-details { flex: 1; }

.weekly-label {
    display: inline-block;
    color: var(--rt-red);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.shop-item-details h3 {
    font-size: 2.5rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 950;
}

.shop-item-details p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 35px;
}

.shop-actions { display: flex; gap: 15px; flex-wrap: wrap; }

@media (max-width: 992px) {
    .shop-featured-card { flex-direction: column; text-align: center; padding: 30px; }
    .shop-item-image { flex: 0 0 280px; width: 100%; height: 280px; }
    .shop-actions { justify-content: center; }
    .shop-item-details h3 { font-size: 1.8rem; }
}

/* --- SPONSORS SLIDER & CTA --- */
.sponsors-scroller-section {
    padding: 80px 0;
    background: #0b1522;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.sponsors-slider-container {
    width: 100%;
    margin: 50px 0;
    position: relative;
}

.sponsors-track {
    display: flex;
    width: max-content;
    gap: 60px;
    animation: sponsorScroll 30s linear infinite; /* Smooth continuous scroll */
}

/* Pause animation on hover for accessibility */
.sponsors-track:hover { animation-play-state: paused; }

.sponsor-logo-item {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sponsor-logo-item img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%) opacity(0.6);
    transition: 0.4s ease;
}

.sponsor-logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

/* CTA Box */
.sponsor-call-to-action {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(11, 21, 34, 0) 100%);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.sponsor-call-to-action h3 {
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 900;
}

.sponsor-call-to-action p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 25px;
}

@keyframes sponsorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Halfway because we merged the array */
}

@media (max-width: 768px) {
    .sponsor-logo-item { width: 140px; }
    .sponsor-call-to-action { padding: 30px 20px; }
}

/* --- UPDATED SPONSORS SLIDER (COLOUR & GOLD GLOW) --- */
.sponsor-logo-item {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03); /* Subtle background for contrast */
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.1); /* Subtle gold border */
    transition: 0.4s ease;
    /* Golden Glow effect */
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1); 
}

.sponsor-logo-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    /* Removed grayscale, added golden drop-shadow */
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.3)); 
    transition: 0.4s ease;
}

/* Enhanced Glow on Hover */
.sponsor-logo-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.3);
}

.sponsor-logo-item:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 8px 15px rgba(255, 215, 0, 0.5));
}

/* --- FIXED SPONSORS SLIDER --- */
.sponsor-logo-item {
    width: 180px;
    height: 120px; /* Slightly taller to accommodate varied logo shapes */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px; /* Internal padding prevents edges from touching the border */
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.15);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.05);
    overflow: hidden; /* Ensures nothing spills out */
}

.sponsor-logo-item img {
    max-width: 100%; /* Constraints to container width */
    max-height: 100%; /* Constraints to container height */
    width: auto;
    height: auto;
    object-fit: contain; /* Vital: preserves logo proportions without stretching */
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.2));
    transition: 0.4s ease;
}

/* Hover State - Enhanced Glow */
.sponsor-logo-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.sponsor-logo-item:hover img {
    transform: scale(1.05); /* Gentle zoom inside the box */
    filter: drop-shadow(0 8px 15px rgba(255, 215, 0, 0.4));
}

/* --- JUMP TO TOP BUTTON --- */
.btn-jump-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--rt-red);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.btn-jump-top.visible {
    opacity: 1;
    visibility: visible;
}

.btn-jump-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.6);
}

/* --- SLIDER NAVIGATION ARROWS --- */
.slider-wrapper {
    position: relative;
    padding: 0 10px;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(230, 57, 70, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-nav-btn:hover { background: #fff; color: var(--rt-red); scale: 1.1; }
.slider-nav-btn.prev { left: -20px; }
.slider-nav-btn.next { right: -20px; }

/* Hide arrows on mobile since swiping is natural */
@media (max-width: 768px) {
    .slider-nav-btn { display: none; }
    .slider-wrapper { padding: 0; }
}

/* --- DELUXE MOBILE JUMP TO TOP --- */
@media (max-width: 768px) {
    .btn-jump-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        background: rgba(220, 38, 38, 0.8); /* Semi-transparent red */
        backdrop-filter: blur(8px); /* Premium glass effect */
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    /* --- MOBILE-FRIENDLY SLIDER ARROWS --- */
    .slider-nav-btn {
        display: flex !important; /* Force display on mobile */
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(230, 57, 70, 0.5);
        font-size: 0.8rem;
    }

    .slider-nav-btn.prev { left: 5px; }
    .slider-nav-btn.next { right: 5px; }

    /* Indicator to show more items are available */
    .next-up-slider::after {
        content: 'Scroll for more →';
        position: absolute;
        bottom: -25px;
        right: 10px;
        font-size: 0.65rem;
        color: rgba(255, 255, 255, 0.3);
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 800;
    }
}

/* --- GLOBAL DELUXE TWEAKS --- */
.slider-wrapper {
    overflow: visible; /* Prevents arrows from being clipped */
}

#nextUpSlider {
    scroll-snap-type: x mandatory; /* Makes sliding feel "native" and expensive */
    scrollbar-width: none; /* Hides ugly scrollbars on Firefox */
}

#nextUpSlider::-webkit-scrollbar {
    display: none; /* Hides ugly scrollbars on Chrome/Safari */
}

.match-slide-card {
    scroll-snap-align: center; /* Snaps cards to the middle on mobile */
}

/* --- PLAYER OF THE WEEK STAR GRID --- */
.potw-wow-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--rt-navy) 0%, #060c14 100%);
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.potw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.potw-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.potw-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--gold);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.potw-img-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 25px;
}

.potw-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--rt-red);
    padding: 5px;
    background: #fff;
}

.potw-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--gold);
    color: #000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.potw-team {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--rt-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.potw-info h3 {
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 15px;
}

.potw-reason {
    position: relative;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 10px;
}

.potw-reason i {
    color: var(--rt-red);
    opacity: 0.3;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

/* --- GOLD STAR BADGE UPGRADE --- */
.potw-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: linear-gradient(135deg, #ffd700 0%, #ffac00 100%); /* Gold Gradient */
    color: #000;
    width: 40px; /* Slightly larger for impact */
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px solid #fff;
    /* High-end gold glow */
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 4px 10px rgba(0,0,0,0.3);
    z-index: 5;
    animation: starPulse 2s infinite ease-in-out; /* Subtle pulse to draw the eye */
}

.potw-badge i {
    filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
}

/* Star Shine Animation */
@keyframes starPulse {
    0% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
    50% { transform: scale(1.1); box-shadow: 0 0 25px rgba(255, 215, 0, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 15px rgba(255, 215, 0, 0.6); }
}

/* Hover effect on the whole card to enhance the star */
.potw-card:hover .potw-badge {
    background: linear-gradient(135deg, #fff 0%, #ffd700 100%);
    transform: rotate(360deg) scale(1.2);
    transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}