/* Modern CSS with Inter font and improved design */
:root {
    --primary-color-start: #5D50FE;
    --primary-color-end: #805AD5;
    --primary-gradient: linear-gradient(135deg, var(--primary-color-start) 0%, var(--primary-color-end) 100%);
    --accent-color-red: #ff3860; /* For watch buttons */
    --accent-color-red-dark: #ff1744; /* For watch buttons hover */
    --accent-gradient-red: linear-gradient(135deg, var(--accent-color-red) 0%, var(--accent-color-red-dark) 100%);
}

* {
    box-sizing: border-box;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
}

body, html {
  /* Remove accidental margin/padding */
  margin: 0;
  padding: 0;
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Modern Navigation */
.modern-navbar {
    background: rgba(15, 15, 35, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0;
}

.modern-navbar .container {
    max-width: 1200px;
}

.brand-logo .logo-container i {
    color: var(--primary-color-start) !important; /* New brand color */
}

.logo-container {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.modern-nav-item {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.modern-nav-item:hover {
    color: var(--primary-color-start) !important; /* New brand color */
    background: transparent !important;
}

/* Remove Bulma’s gray box on desktop active nav items */
.modern-nav-item.is-active {
    background-color: transparent !important;
    color: var(--primary-color-start) !important; /* make active link colored */
  }
  
  /* Style the mobile menu’s active link */
  .navbar-menu .navbar-item.is-active {
    background-color: rgba(255, 255, 255, 0.05) !important; /* light tint */
    color: var(--primary-color-start) !important;           /* brand color */
  }
  
  /* If you also use .active instead of .is-active */
  .navbar-menu .navbar-item.active {
    background: rgba(255,255,255,0.05) !important;
    color: var(--primary-color-start) !important;
  }

.modern-nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient); /* New brand color */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.modern-nav-item.is-active::after, /* Ensure active also shows underline */
.modern-nav-item:hover::after {
    width: 80%;
}


.modern-button {
    background: var(--primary-gradient) !important; /* New brand color */
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(93, 80, 254, 0.3); /* Shadow from new color */
}

.modern-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 80, 254, 0.4) !important; /* Shadow from new color */
}

/* Burger menu */
.navbar-burger {
    color: white !important;
}

.navbar-burger:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Mobile Navbar Menu */
.navbar-menu {
    background-color: rgba(15, 15, 35, 0.98); 
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    padding: 0.5rem 0;
}

@media screen and (max-width: 1023px) {
    .navbar-menu.is-active {
        display: block;
        position: absolute;
        width: 100%;
        left: 0;
        top: 100%; 
    }
    .navbar-menu .navbar-item {
        color: rgba(255, 255, 255, 0.8) !important; 
        padding: 0.75rem 1.5rem;
    }
    .navbar-menu .navbar-item:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
        color: var(--primary-color-start) !important; /* New brand color */
    }
    .navbar-menu .buttons .button {
        width: calc(100% - 2rem);
        margin: 0.5rem 1rem;
    }
}

.team-logo-img {
    width: 24px;
    height: 24px;
}

/* Modern Hero */
.modern-hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.modern-hero .has-text-danger { /* Change general hero red text to new primary */
    color: var(--primary-color-start) !important;
}

/* Sports Navigation */
.sports-nav {
    max-width: 100%;
    overflow-x: auto;
    padding: 0.5rem 0;

    scrollbar-width: thin;
    scrollbar-color: #7156e5 #0d1117;
}

.sports-nav::-webkit-scrollbar {
    width: 4px;            /* vertical thickness */
    height: 4px;           /* horizontal thickness */
    background: #0d1117;   /* track background */
}

/* track */
.sports-nav::-webkit-scrollbar-track {
    background: #0d1117;
}

/* thumb (applies to both) */
.sports-nav::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: linear-gradient(
        135deg,
        #5b42cc 0%,
        #7156e5 100%
    );
}

.sports-tabs {
    display: flex;
    gap: 0.5rem;
    min-width: max-content;
    padding: 0 1rem;
}

.sport-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    cursor: pointer;
    min-width: max-content;
}

.sport-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(93, 80, 254, 0.5); /* New brand color */
    color: white;
    transform: translateY(-2px);
}

.sport-tab.active {
    background: var(--primary-gradient); /* New brand color */
    border-color: var(--primary-color-start); /* New brand color */
    color: white;
    box-shadow: 0 4px 15px rgba(93, 80, 254, 0.3); /* New brand color */
}

.sport-tab i {
    font-size: 1.1rem;
}

/* Modern Section */
.modern-section {
    background: transparent;
    padding: 3rem 0;
}

.modern-section .container {
    max-width: 1200px;
}
.modern-section .has-text-danger { /* General red text in sections */
    color: var(--primary-color-start) !important;
}

/* Modern Sidebar */
.modern-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}



/* Content List */
.content-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    max-height: 700px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 1rem;

    scrollbar-width: thin;
    scrollbar-color: #7156e5 #0d1117;
}

/* WebKit (Chrome, Safari, Edge) */
.content-list::-webkit-scrollbar {
    width: 4px;               /* tweak thickness as needed */
    background: #0d1117;      /* track */
}

.content-list::-webkit-scrollbar-track {
background: #0d1117;      /* same as container bg */
}

.content-list::-webkit-scrollbar-thumb {
border-radius: 2px;
background: linear-gradient(
    135deg,
    #5b42cc 0%,
    #7156e5 100%
);
}

.content-list::-webkit-scrollbar-thumb:hover {
/* you can optionally make it a bit brighter on hover */
background: linear-gradient(
    135deg,
    #60a5fa 0%,
    #1e40af 100%
);
}

#nav-back {
    padding: 0.5rem 1rem;
  }
  
  /* Back Button itself */
  #nav-back .button {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  
  /* Back Button Hover */
  #nav-back .button:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
  }
  
  /* Back Button Icon */
  #nav-back .button i {
    color: var(--primary-color-start);
    font-size: 0.9rem;
  }

/* —— Accordion Container Heading —— */
.content-list > .country-group:first-of-type::before {
    content: "Countries";
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
  }
  
  /* —— Country Header (card style) —— */
  .country-header {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease, transform 0.2s ease;
  }
  .country-header:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
  }
  
  /* chevron icon */
  .country-header i.fas {
    font-size: 0.9rem;
    color: var(--primary-color-start);
    transition: transform 0.3s ease;
  }
  /* rotate when expanded */
  .country-header.expanded i.fas {
    transform: rotate(180deg);
  }
  
  /* —— Category Buttons (nested items) —— */
  .category-list {
    margin-top: 0.5rem;
    margin-left: 1rem;
  }
  .category-list .button {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: left;
    width: 100%;
    transition: background 0.3s ease, border-color 0.3s ease;
  }
  .category-list .button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color-start);
    color: white;
  }
  
  /* smooth show/hide */
  .category-list {
    overflow: hidden;
    transition: max-height 0.35s ease, margin 0.35s ease;
  }
  .country-header + .category-list[style*="display: none"] {
    max-height: 0;
    margin: 0;
  }
  .country-header + .category-list[style*="display: block"] {
    max-height: 500px; /* big enough to show all categories */
    margin-bottom: 0.75rem;
  }

.content-date-header {
    margin: 1rem 0 0.5rem;
}

/* Breadcrumb container */
#sidebar-breadcrumb {
  padding: 0.75rem 1rem 0.5rem;
  margin-bottom: 0.5rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}

/* Sacale down the > separators */
#sidebar-breadcrumb .breadcrumb-separator {
  font-size: 0.9rem;
  margin: 0 0.5rem;
  color: rgba(255,255,255,0.6);
}

/* Links in the breadcrumb */
#sidebar-breadcrumb a {
  color: var(--primary-color-start);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
#sidebar-breadcrumb a:hover {
  color: var(--primary-color-end);
}

/* Active (last) crumb */
#sidebar-breadcrumb li.is-active a {
  color: #fff;
  font-weight: 600;
  cursor: default;
}

.date-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color-start); /* New brand color */
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-separator {
    margin: 1.5rem 0 1rem;
}

.separator-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color-start); /* New brand color */
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.content-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(93, 80, 254, 0.3); /* New brand color */
    transform: translateY(-2px);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.content-title {
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.content-time {
    color: var(--primary-color-start); /* New brand color */
    font-weight: 500;
    font-size: 0.9rem;
}

.content-teams {
    display: flex;
    flex-direction: column;
    /* gap: 0.5rem; */
    margin-bottom: 1rem;
}

.team-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.team-logo {
    font-size: 1.25rem;
}

.team-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
}

/* WATCH BUTTONS - KEEPING RED */
.watch-live-btn {
    background: var(--accent-gradient-red) !important; /* Keep red */
    border: none;
    border-radius: 8px;
    color: white !important;
    padding: 0.5rem 1rem; 
    font-size: 0.85rem; 
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: auto; 
    min-width: 100px; 
}
.channel-item .watch-live-btn {
    padding: 0.4rem 0.8rem; 
    font-size: 0.75rem; 
    min-width: 80px;
}
.watch-live-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 56, 96, 0.4) !important; /* Keep red shadow */
}
.watch-live-btn i {
    font-size: 0.8rem;
}


/* Channel Item */
.channel-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.channel-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(93, 80, 254, 0.3); /* New brand color */
    transform: translateY(-2px);
}

/* Whole card is one horizontal flex row */
.channel-item {
    display: flex;
    align-items: center;
    justify-content: space-between; /* pill + watch stay fixed on RHS */
    gap: .75rem;                    /* uniform spacing */
  }
  
  /* Left group: logo + title */
  .channel-info {
    display: flex;
    align-items: center;
    flex: 1 1 auto;                 /* gets all remaining space */
    gap: .75rem;
    overflow: hidden;               /* so ellipsis behaves */
  }
  
  /* Logo never shrinks */
  .channel-logo { flex: 0 0 auto; }
  
  /* Title shrinks and ellipses */
  .channel-name {
    flex: 1 1 auto;
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
  }
  
  /* Country pill: fixed width, never wraps */
  .channel-country {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0 .55rem;
    font-size: .75rem;
    font-weight: 500;
    color: rgba(255,255,255,.75);
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
  }
  
  /* WATCH button already styled — ensure it doesn't shrink */
  .watch-live-btn { flex: 0 0 auto; }

/* Main Content - Subscription Prompt in index.html */
.main-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(20px);
    text-align: center;
}

.subscription-prompt {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.prompt-icon {
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer; 
    transition: background-color 0.3s ease;
}
.prompt-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.prompt-icon i {
    font-size: 1.5rem; 
    color: rgba(255, 255, 255, 0.8);
}

.prompt-title {
    font-size: 2rem; 
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem; 
    line-height: 1.2;
}

.prompt-subtitle {
    font-size: 1rem; 
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem; 
    line-height: 1.4;
    max-width: 500px; 
}

/* Pricing Grid for subscription prompt */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); 
    gap: 1rem; 
    margin-top: 1rem; 
    width: 100%;
    max-width: 800px; 
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem; 
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(93, 80, 254, 0.3); /* New brand color */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: var(--primary-color-start); /* New brand color */
    background: rgba(93, 80, 254, 0.1); /* New brand color */
}

.featured-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient); /* New brand color */
    color: white;
    padding: 0.4rem 0.8rem; 
    border-radius: 0 0 8px 8px;
    font-size: 0.7rem; 
    font-weight: 600;
}

.card-header {
    text-align: center;
    margin-bottom: 1rem; 
}

.plan-name {
    font-size: 1rem; 
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem; 
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem; 
    margin-bottom: 0.25rem; 
}

.currency {
    font-size: 1rem; 
    color: var(--primary-color-start); /* New brand color */
    font-weight: 600;
}

.amount {
    font-size: 2rem; 
    font-weight: 700;
    color: var(--primary-color-start); /* New brand color */
}

.plan-original {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem; 
}

.upgrade-btn {
    background: var(--primary-gradient); /* New brand color */
    border: none;
    border-radius: 10px; 
    color: white;
    padding: 0.75rem 1rem; 
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem; 
    margin-top: auto; 
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 80, 254, 0.4); /* New brand color */
}

/* Auth Pages */
.modern-auth-bg {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.auth-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.modern-label {
    color: white !important;
    font-weight: 500 !important;
    margin-bottom: 0.5rem !important;
}

.modern-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    color: white !important;
    padding: 0.875rem 1rem !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}
.control.has-icons-left .input.modern-input { /* Padding fix for icons */
    padding-left: 2.75em !important; 
}


.modern-input:focus {
    border-color: var(--primary-color-start) !important; /* New brand color */
    box-shadow: 0 0 0 3px rgba(93, 80, 254, 0.1) !important; /* New brand color */
    background: rgba(255, 255, 255, 0.08) !important;
}

.modern-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Verification Widget */
.verification-widget {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin: 1rem 0;
}

.verification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.verification-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
}

.verification-text {
    color: white;
    font-weight: 500;
}

.verification-provider {
    text-align: right;
}

.provider-name {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.9rem;
}

.provider-links {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.provider-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.provider-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Modern Checkbox */
.modern-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
}

.modern-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color-start); /* New brand color */
    border-color: var(--primary-color-start); /* New brand color */
}

.modern-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Submit Button */
.modern-submit-btn {
    background: var(--primary-gradient) !important; /* New brand color */
    border: none !important;
    border-radius: 12px !important;
    color: white !important;
    padding: 1rem 1.5rem !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.modern-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(93, 80, 254, 0.4) !important; /* New brand color */
}

/* Auth Links */
.auth-links {
    text-align: center;
    margin: 1.5rem 0;
}

.forgot-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link:hover {
    color: var(--primary-color-start); /* New brand color */
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    color: rgba(255, 255, 255, 0.7);
}

.signup-link {
    color: var(--primary-color-start); /* New brand color */
    text-decoration: none;
    font-weight: 500;
}

.signup-link:hover {
    color: var(--primary-color-end); /* New brand color */
}

/* Pricing Page Styles */
.modern-title {
    font-weight: 700;
    line-height: 1.2;
}

.modern-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card-modern:hover {
    transform: translateY(-8px);
    border-color: rgba(93, 80, 254, 0.3); /* New brand color */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pricing-card-modern.featured {
    border-color: var(--primary-color-start); /* New brand color */
    background: rgba(93, 80, 254, 0.08); /* New brand color */
    transform: scale(1.05);
}

.pricing-card-modern.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.featured-label {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gradient); /* New brand color */
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plan-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.plan-pricing {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.plan-currency {
    font-size: 1.5rem;
    color: var(--primary-color-start); /* New brand color */
    font-weight: 600;
}

.plan-amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color-start); /* New brand color */
}

.plan-period {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.plan-features {
    margin-bottom: 2rem;
    flex-grow: 1; 
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
}

.feature-icon {
    color: #10b981;
    font-size: 1rem;
    flex-shrink: 0;
}

.plan-button {
    background: var(--primary-gradient); /* New brand color */
    border: none;
    border-radius: 12px;
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin-top: auto; 
}

.plan-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 80, 254, 0.4); /* New brand color */
}

.featured-button { /* Keep green for featured button on pricing page if desired, or change to primary */
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}
.featured-button:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}


/* Connections Info Box and Buttons */
.connections-info-box {
    background-color: rgba(255, 229, 100, 0.1); 
    border: 1px solid rgba(255, 229, 100, 0.5); 
    border-radius: 12px;
    padding: 1.5rem;
    margin: 0 auto;
    margin-bottom: 2rem;
    max-width: 800px;
    color: #ffe564; 
    font-size: 0.95rem;
    line-height: 1.5;
}
.connections-info-box strong {
    color: white;
}

.connections-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.connection-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.connection-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.connection-btn.is-active {
    background: var(--primary-gradient); /* New brand color */
    border-color: var(--primary-color-start); /* New brand color */
    color: white;
    box-shadow: 0 4px 15px rgba(93, 80, 254, 0.3); /* New brand color */
}


/* Sports Section */
.sports-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.sport-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.sport-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

.sport-icon.soccer {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.sport-icon.boxing {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); /* Kept red for boxing icon */
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.sport-icon.ufc {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.sport-icon.nba {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.sport-icon.nhl {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.sport-icon.mlb {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); /* Kept pink for MLB icon */
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.3);
}

.sport-icon.tennis {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.3);
}

.sport-icon.football {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.sport-icon:hover {
    transform: translateY(-5px) scale(1.05);
}

.sport-name {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
}

/* How-To Page Styles */
.how-to-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.how-to-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.how-to-card:hover {
    transform: translateY(-5px);
    border-color: rgba(93, 80, 254, 0.3); /* New brand color */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.how-to-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.download-app-btn {
    background: var(--primary-gradient); /* New brand color */
    border: none;
    border-radius: 10px;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex; 
    align-items: center;
    gap: 0.5rem;
}

.download-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 80, 254, 0.4); /* New brand color */
}

/* FAQ & Why Us Page Styles */
.content-page-hero {
    /* padding: 1rem 0 !important; */
    text-align: center;
    justify-content: center;
    align-items: center;
}
.content-page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.content-page-subtitle {
    padding-top: 2rem;
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    max-width: 700px;
    /* margin: 0 auto 2rem auto; */
}

.faq-item, .why-us-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden; 
}
.faq-question, .why-us-header {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.faq-question:hover, .why-us-header:hover {
    background-color: rgba(255,255,255,0.03);
}
.faq-answer, .why-us-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}
.faq-item.active .faq-answer,
.why-us-item.active .why-us-content {
    max-height: 500px; 
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}
.faq-icon, .why-us-icon {
    transition: transform 0.3s ease;
    color: var(--primary-color-start); /* New brand color for icons */
}
.faq-item.active .faq-icon,
.why-us-item.active .why-us-icon {
    transform: rotate(45deg);
}
.why-us-header i:first-child { /* Icon before text in why-us */
    color: var(--primary-color-start) !important; /* New brand color */
}


/* Modern Footer */
.modern-footer {
    background: rgba(15, 15, 35, 0.95) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 !important;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-brand brand-logo {
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color-start); /* New brand color */
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Modern Modal */
.modal {
    padding: 1rem;
}
.modern-modal .modal-card {
    background: rgba(26, 26, 46, 0.95);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.modern-modal .modal-card-head {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-modal .modal-card-title {
    color: white;
    font-weight: 600;
}

.modern-modal .modal-card-body {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
}
.modern-modal .modal-card-body a {
    color: var(--primary-color-start);
}
.modern-modal strong {
    color: white;
}

.modern-modal .modal-card-foot {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.modern-modal .modal-card-foot .button.is-danger { /* Change modal close button */
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
}


/* Watch Page Specific Styles */
.watch-page-top-bar {
    background-color: var(--primary-color-start);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    text-align: center;
}
.watch-page-top-bar a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

.watch-page-main {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
}
.watch-page-player-column {
    flex: 3; /* Takes more space */
}
.watch-page-schedule-column {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    max-height: 80vh; /* Limit height and make scrollable */
    display: flex;
    flex-direction: column;
}
.watch-page-channel-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.video-player-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.video-player-placeholder i {
    font-size: 4rem;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
}
.stream-quality-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stream-quality-buttons .button {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: white;
}
.stream-quality-buttons .button:hover {
    background: rgba(255,255,255,0.15);
}
.setup-guides-watch h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.setup-guides-watch ul {
    list-style: disc;
    padding-left: 20px;
}
.setup-guides-watch ul li a {
    color: var(--primary-color-start);
    text-decoration: underline;
}
.schedule-tabs {
    display: flex;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.schedule-tab-btn {
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px; /* Align with parent border */
}
.schedule-tab-btn.is-active {
    color: var(--primary-color-start);
    border-bottom-color: var(--primary-color-start);
}
.schedule-list {
    overflow-y: auto;
    flex-grow: 1;
}
.schedule-date-group {
    margin-bottom: 1rem;
}
.schedule-date-header {
    background-color: var(--primary-color-start);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
.schedule-program {
    padding: 0.5rem 0.25rem;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.schedule-program:last-child {
    border-bottom: none;
}
.program-time {
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-right: 0.5rem;
}
.program-title {
    color: rgba(255,255,255,0.7);
}

/* Responsive Styles for Watch Page */
@media screen and (max-width: 900px) {
    .watch-page-main {
        flex-direction: column;
    }
    .watch-page-schedule-column {
        max-height: 50vh; /* Adjust height for column layout */
    }
}


/* Responsive Styles */
@media screen and (max-width: 1023px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .prompt-title {
        font-size: 1.75rem; 
    }
    
    .prompt-subtitle {
        font-size: 0.9rem; 
    }
    
    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    }
    
    .pricing-container {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    }
    .content-page-title {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 768px) {
    .sports-tabs {
        padding: 0 0.5rem;
    }
    
    .sport-tab {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .modern-section {
        padding: 2rem 0;
    }
    
    .modern-sidebar {
        margin-bottom: 2rem;
    }
    
    .main-content {
        padding: 1.5rem;
    }
    
    .prompt-title {
        font-size: 1.5rem; 
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-card-modern.featured {
        transform: none;
    }
    
    .pricing-card-modern.featured:hover {
        transform: translateY(-8px);
    }
    
    .sports-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .auth-container {
        padding: 1.5rem;
    }
    .content-page-title {
        font-size: 1.8rem;
    }
    .content-page-subtitle {
        font-size: 1rem;
    }
    .faq-question, .why-us-header {
        font-size: 1.1rem;
        padding: 1.25rem;
    }
    .how-to-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .sport-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .sport-tab i {
        font-size: 1rem;
    }
    
    .prompt-title {
        font-size: 1.3rem; 
    }
    
    .prompt-subtitle {
        font-size: 0.85rem; 
    }
    
    .auth-title {
        font-size: 2rem;
    }
    
    .auth-subtitle {
        font-size: 0.9rem;
    }
    .content-page-title {
        font-size: 1.6rem;
    }
}

/* —— Accordion slim-down —— */
.country-header {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
  }
  .country-header i.fas {
    font-size: 0.8rem !important;
  }
  .category-list .button {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.9rem !important;
    border-radius: 8px !important;
    margin-bottom: 0.3rem !important;
  }
  
  /* —— Channel cards refinement —— */
  .channel-item {
    padding: 0.75rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.5rem !important;
  }
  .channel-info .channel-name {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
  }
  .watch-live-btn {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.8rem !important;
    min-width: 70px !important;
  }
  