/* ============================================
   LEANEDGESPORTS — Stay Lean. Stay Ahead.
   Brand Stylesheet v1.0
   ============================================ */

/* --- BRAND COLOUR PALETTE --- */
:root {
  --navy:            #1A2A5E;
  --dark-navy:       #111D42;
  --darkest-navy:    #0D1830;
  --logo-navy:       #02214c;
  --red:             #C41230;
  --logo-red:        #c4122d;
  --mid-blue:        #2E75B6;
  --white:           #FFFFFF;
  --grey-font:       #d1d2d9;
  --grey-muted:      #6f6a88;
  --text-muted:      rgba(255, 255, 255, 0.55);
  --card-bg:         rgba(7, 17, 31, 0.85);
  --card-border:     rgba(255, 255, 255, 0.08);
}

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- BASE --- */
html {
  scrollbar-gutter: stable;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--darkest-navy);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* --- BACKGROUND ATMOSPHERE --- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at top left,    rgba(196, 18,  48,  0.08) 0%, transparent 40%),
    radial-gradient(ellipse at bottom right, rgba(26,  42,  94,  0.6)  0%, transparent 50%),
    radial-gradient(ellipse at center,      rgba(17,  29,  66,  0.4)  0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
}

.background-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(196, 18, 48, 0.06) 0%, transparent 35%),
    radial-gradient(circle at 85% 30%, rgba(46, 117, 182, 0.08) 0%, transparent 35%);
  z-index: -1;
  pointer-events: none;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  width: 100%;
  padding: 20px 60px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: transparent;
  backdrop-filter: blur(0px);
  border-bottom: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  pointer-events: none;
}

.navbar .logo,
.navbar nav {
  pointer-events: auto;
}

.logo img {
  width: 150px;
  display: block;
  border: none;
}

.logo a {
  display: block;
  line-height: 0;
}

nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: nowrap;
}

nav a {
  color: var(--grey-font);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

nav a:hover {
  color: var(--white);
}

nav a.active {
  color: var(--white);
}

nav a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-bg-wrap {
  position: relative;
  width: 100%;
  background-image:
  linear-gradient(to right, rgba(13, 24, 48, 0.7) 0%, rgba(13, 24, 48, 0.1) 100%),
    url('./images/basketball-hero.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero {
  position: relative;
  width: 100%;
  padding: 140px 60px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 1000px;
  text-align: left;
  position: relative;
  z-index: 1;
}

/* --- SEASON TAG BADGE --- */
.tag {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(196, 18, 48, 0.12);
  color: #ff6b6b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  border: 1px solid rgba(196, 18, 48, 0.35);
}

/* --- HERO HEADLINE --- */
.hero h1 {
  font-family: 'Oswald Bold Italic', sans-serif;
  font-size: 72px;
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 28px;
  color: var(--white);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--red) 0%, #ff4d6d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- HERO SUBTITLE --- */
.hero > .hero-content > p {
  margin: 0 auto 50px;
  max-width: 1000px;
  font-size: 20px;
  line-height: 1.0;
  color: var(--text-white);
  text-align: left;
  font-weight: 300;
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  width: 300px;
  padding: 18px 28px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.card:hover {
  transform: translateY(-8px);
}

/* Card top accent border */
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}

.card.red::before {
  background: var(--red);
}

.card.blue::before {
  background: var(--mid-blue);
}

.card.navy::before {
  background: var(--navy);
}

/* Card glow effects using brand colours */
.card.red {
  box-shadow: 0 0 30px rgba(196, 18, 48, 0.2);
  border-color: rgba(196, 18, 48, 0.25);
}

.card.blue {
  box-shadow: 0 0 30px rgba(46, 117, 182, 0.2);
  border-color: rgba(46, 117, 182, 0.25);
}

.card.navy {
  box-shadow: 0 0 30px rgba(26, 42, 94, 0.4);
  border-color: rgba(26, 42, 94, 0.6);
}

.card.red:hover {
  box-shadow: 0 20px 50px rgba(196, 18, 48, 0.3);
}

.card.blue:hover {
  box-shadow: 0 20px 50px rgba(46, 117, 182, 0.3);
}

.card.navy:hover {
  box-shadow: 0 20px 50px rgba(26, 42, 94, 0.5);
}

/* Card icon */
.icon {
  margin-bottom: 16px;
  display: block;
}
.icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.icon i {
  display: block;
  width: 30px;
  height: 30px;
  font-size: 26px;
  line-height: 30px;
  color: var(--white);
}

/* Card heading */
.card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
  color: var(--white);
}

/* Card description */
.card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Card link */
.card a {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: opacity 0.2s ease;
}

.card.red a    { color: var(--red); }
.card.blue a   { color: var(--mid-blue); }
.card.navy a   { color: var(--grey-font); }

.card a:hover {
  opacity: 0.8;
}

/* ============================================
   BOTTOM FEATURES STRIP
   ============================================ */

.features {
  max-width: 1180px;
  margin: 36px auto 36px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 40px;
  background: rgba(17, 29, 66, 0.5);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.feature {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature > span {
  font-size: 28px;
  flex-shrink: 0;
}

.feature h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.feature p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.feature img {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1);
}

/* --- NBA DRAFT PROMO STRIP (homepage, below hero) --- */
.draft-promo {
  max-width: 950px;
  margin: 24px auto 60px;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  backdrop-filter: blur(16px);
}

.draft-promo-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(196,18,48,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--white);
}

.draft-promo-text { flex: 1; }

.draft-promo-text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.draft-promo-text p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 560px;
}

.draft-promo-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}

.draft-promo-btn:hover { background: #a80f28; }

@media (max-width: 768px) {
  .draft-promo {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    margin-left: 20px;
    margin-right: 20px;
  }

  .features {
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* ============================================
   FLOATING STAT CARDS
   ============================================ */

.floating-card {
  position: absolute;
  width: 200px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(13, 24, 48, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.floating-card h5 {
  color: var(--grey-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

/* Circular efficiency badge */
.circle {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 8px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

/* Large stat number */
.big-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

/* Sub label */
.floating-card .sub {
  font-size: 11px;
  color: var(--grey-muted);
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

/* Floating card SVG graphs */
.floating-card svg {
  width: 100%;
  opacity: 0.9;
}

/* Positioning */
.left-card {
  left: 60px;
  top: 50%;
  transform: translateY(-50%) perspective(800px) rotateY(24deg);
}

.top-right {
  right: 60px;
  top: 30%;
  transform: perspective(800px) rotateY(-24deg);
}

.bottom-right {
  right: 60px;
  top: 62%;
  transform: perspective(800px) rotateY(-24deg);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  width: 100%;
  background: var(--darkest-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer p {
  font-size: 12px;
  color: var(--grey-muted);
}

.footer-nav {
  display: flex;
  gap: 24px;
}

.footer-nav a {
  font-size: 12px;
  color: var(--grey-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--white);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */

@media (max-width: 1200px) {
  .floating-card {
    display: none;
  }

  .hero h1 {
    font-size: 72px;
  }

  .navbar {
    padding: 18px 32px;
  }

  .hero {
    padding: 50px 32px 70px;
  }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
    padding: 20px 24px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero {
    padding: 40px 20px 60px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 56px;
    letter-spacing: -1px;
  }

  .hero > .hero-content > p {
    font-size: 17px;
  }

  .card {
    width: 100%;
    max-width: 400px;
  }

  .features {
    gap: 24px;
    padding: 24px 20px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 44px;
  }

  nav {
    gap: 12px;
  }

  nav a {
    font-size: 13px;
  }
}

/* ============================================
   ABOUT PAGE
   ============================================ */

   *{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family: 'Oswald Bold Italic',sans-serif;
    background:#021537;
    color:white;
}

/* PAGE BACKGROUND */

.about-page{
    min-height:100vh;
    padding:80px 20px;
    position:relative;
    overflow:hidden;

    background:
    radial-gradient(circle at top left,
    #0c327f,
    #021537 0%);
}

/* WATERMARK LOGO */

.about-page::before{
    content:'';

    position:absolute;

    width:800px;
    height:800px;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);

    background:url(./images/LeanEdgeSports\ Logo-Clear.png);

    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;

    opacity:1;

    filter:
        grayscale(0%)
        brightness(25%);

    z-index:1;
}

/* GLASS CONTAINER */

.about-container{
    position:relative;
    z-index:2;

    max-width:1400px;
    margin:auto;

    padding:60px;

    border-radius:24px;

    background:rgba(5,15,45,.35);

    backdrop-filter:blur(0px);

    border:1px solid rgba(255,255,255,.12);

    box-shadow:
    0 20px 60px rgba(0,0,0,.4);
}

/*  HEADING */

h1{
    font-size:3rem;
    font-weight:800;

    margin-bottom:50px;

    color:white;
}

/* SECTIONS */

.section{
    margin-bottom:50px;
}

.section h2{
    position:relative;

    font-size:1rem;
    font-weight:700;

    margin-bottom:25px;

    text-transform:uppercase;
}

.section h2::after{
    display: none;
}

/* First-word underline on about page h2s */
.section h2 .uw {
    text-decoration: underline;
    text-decoration-color: #e11d48;
    text-decoration-thickness: 4px;
    text-underline-offset: 7px;
}


.section p{
    color:#d4d9e7;

    line-height:1.9;

    font-size:1.05rem;

    margin-bottom:20px;
}

/* FEATURE GRID */

.feature-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(220px,1fr));

    gap:20px;
}

.feature-card{
    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.08);

    padding:25px;

    border-radius:15px;

    transition:.3s ease;
}

.feature-card:hover{
    transform:translateY(-5px);

    border-color:#2563eb;

    background:rgba(37,99,235,.08);
}

.feature-card h3{
    color:white;

    margin-bottom:10px;

    font-size:1.2rem;
}

.feature-card p{
    margin:0;
}

/* MOBILE */

@media(max-width:768px){

    h1{
        font-size:2.5rem;
    }

    .about-container{
        padding:30px;
    }

    .section h2{
        font-size:1.5rem;
    }

    .about-page::before{
        width:700px;
        height:700px;
    }
}

main {
  flex: 1;
}

.about-page {
  padding-top: 200px;
}

.about-container h1 {
  font-family: Tahoma, sans-serif;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 40px;
  line-height: 1;
}

.about-container h2 {
  font-family: Tahoma, sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ============================================
   PLAYER STATS PAGE
   ============================================ */

.playerstats h1 {
  margin-top: 200px;
  margin-left: 30px;
  color: white;
  font-family: 'Tahoma', sans-serif;
}

/* ============================================
   TEAM STATS PAGE
   ============================================ */

.teamstats h1 {
  margin-top: 200px;
  margin-left: 30px;
  color: white;
  font-family: 'Tahoma', sans-serif;  
}

/* ============================================
   COMPARISON TOOL PAGE
   ============================================ */

.comptool h1 {
  margin-top: 200px;
  margin-left: 30px;
  color: white;
  font-family: 'Tahoma', sans-serif;
}

/* ============================================
   NBA DRAFT 2026 PAGE
   ============================================ */

.nbadraft2026 h1 {
  margin-top: 200px;
  margin-left: 30px;
  color: white;
  font-family: 'Tahoma', sans-serif;
}

/* ============================================
   SCHEDULE PAGE
   ============================================ */

.schedule h1 {
  margin-top: 200px;
  margin-left: 30px;
  color: white;
  font-family: 'Tahoma', sans-serif;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact h1 {
  margin-top: 200px;
  margin-left: 30px;
  color: white;
  font-family: 'Tahoma', sans-serif;
}







/* ============================================
   ABOUT PAGE — Feature card icons and links
============================================ */
a.feature-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s;
}

a.feature-card:hover {
  transform: translateY(-3px);
}

.feature-card-icon {
  margin-bottom: 12px;
}

.feature-card-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.feature-card-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  font-family: 'Barlow', sans-serif;
}

/* --- BREADCRUMB TRAIL (used across player, team, draft, favourites pages) --- */
.breadcrumb-trail {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
}

/* Pages that nest the breadcrumb inside a centered .page-hero (draft pages,
   favourites.html) need it centered too, to clear the floating logo — see
   the earlier fix for why left-aligned breadcrumbs collide with it there. */
.page-hero .breadcrumb-trail {
  justify-content: center;
}

.breadcrumb-trail a {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.breadcrumb-trail a:hover { opacity: 0.7; }

.breadcrumb-trail .breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumb-trail .breadcrumb-current {
  color: var(--white);
  font-weight: 700;
}

/* ============================================
   GLOBAL SEARCH — nav icon and search panel,
   available on every page.
   ============================================ */

.global-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.global-search-btn {
  background: none;
  border: none;
  color: var(--white);
  opacity: 0.8;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  transition: opacity 0.2s;
}

.global-search-btn:hover { opacity: 1; }

.global-search-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: 340px;
  max-height: 440px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--dark-navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  z-index: 200;
}

.gs-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
}

.gs-input-wrap input {
  flex: 1;
  background: none;
  border: none;
  color: var(--white);
  font-size: 14px;
  font-family: 'Barlow', sans-serif;
}

.gs-input-wrap input:focus { outline: none; }
.gs-input-wrap input::placeholder { color: var(--text-muted); }

.gs-results {
  overflow-y: auto;
  padding: 8px 8px 12px;
}

.gs-empty {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 24px 10px;
}

.gs-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  padding: 10px 8px 6px;
}

.gs-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.gs-result:hover { background: rgba(255,255,255,0.06); }

.gs-result-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gs-result-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .global-search-panel { width: 280px; right: -40px; }
}

/* ============================================
   FAVOURITES — nav icon, dropdown panel, and
   the star toggle buttons used on detail/list
   pages across the site.
   ============================================ */

.nav-fav-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-fav-btn {
  position: relative;
  background: none;
  border: none;
  color: var(--white);
  opacity: 0.8;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
  transition: opacity 0.2s;
}

.nav-fav-btn:hover { opacity: 1; }

.nav-fav-btn.has-favs {
  color: #f5c518;
}

.nav-fav-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: 320px;
  max-height: 420px;
  overflow-y: auto;
  background: var(--dark-navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  z-index: 200;
}

.nav-fav-panel-empty {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 20px 10px;
  line-height: 1.6;
}

.nav-fav-section-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin: 14px 0 8px;
}

.nav-fav-section-title:first-child { margin-top: 0; }

.nav-fav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-fav-item:last-child { border-bottom: none; }

.nav-fav-item a {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-fav-item a:hover { color: var(--mid-blue); }

.nav-fav-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 2px 4px;
  flex-shrink: 0;
  transition: color 0.15s;
}

.nav-fav-remove:hover { color: var(--red); }

.nav-fav-viewall {
  display: block;
  text-align: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--mid-blue);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.nav-fav-viewall:hover { color: var(--white); }

/* --- STAR TOGGLE BUTTON (detail pages + list cards) --- */
.fav-star-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 4px;
  transition: color 0.15s, transform 0.15s;
}

.fav-star-btn:hover { color: #f5c518; transform: scale(1.15); }

.fav-star-btn.fav-star-active {
  color: #f5c518;
}

@media (max-width: 768px) {
  .nav-fav-panel { width: 280px; right: -20px; }
}

