html {
      overflow-x: hidden;
    }
    body {
      font-family: 'Orbitron', sans-serif;
      background-color: #0a0a0a;
      color: white;
      overflow-x: hidden;
    }
    h1, h2, h3 {
      font-family: 'Bebas Neue', sans-serif;
    }
    @keyframes fade-in {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .animate-fade-in {
      animation: fade-in 1s ease-out;
    }

    /* Hover Effects */
    .group:hover .group-hover\:block {
      display: block;
    }

    .tick {
      color: #00ff99;
      font-size: 1.5rem;
      font-weight: bold;
      animation: pulseTick 1.2s ease-in-out infinite alternate;
    }
    @keyframes pulseTick {
      0% { transform: scale(1); text-shadow: 0 0 5px #00ff99; }
      100% { transform: scale(1.2); text-shadow: 0 0 12px #00ff99, 0 0 20px #00ff99; }
    }
    .rest-day {
      background-color: rgba(255, 255, 255, 0.05);
      font-style: italic;
      color: #facc15;
      animation: fadeRest 3s ease-in-out infinite alternate;
    }
    @keyframes fadeRest {
      0% { opacity: 0.8; }
      100% { opacity: 1; }
    }
    .divider {
      height: 1px;
      background: linear-gradient(to right, transparent, #555, transparent);
      margin: 3rem 0;
    }
    .event-card {
      background-color: rgba(255, 255, 255, 0.05);
      border-radius: 1rem;
      padding: 1.5rem;
      border: 1px solid rgba(255, 255, 255, 0.1);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .event-card:hover {
      transform: scale(1.03);
      box-shadow: 0 0 18px rgba(127, 94, 255, 0.4);
    }
    .coming-soon {
      color: #f87171;
      animation: glowSoon 1.5s ease-in-out infinite alternate;
    }
    @keyframes glowSoon {
      0% { text-shadow: 0 0 4px #f87171; }
      100% { text-shadow: 0 0 10px #f87171, 0 0 20px #f87171; }
    }
    .group:hover .group-hover\:block {
      display: block;
    }

/* Fighter details*/
 body {
        font-family: Arial, sans-serif;
        background-color: #111;
        color: #fff;
        margin: 0;
        padding: 0;
    }
    /* Fighter Profile Section */
    .fighter-profile {
        display: flex;
        flex-wrap: wrap;
        background-color: #1c1c1c;
        padding: 20px;
        max-width: 1000px;
        margin: auto;
        
    }
    .fighter-image {
        flex: 1;
        min-width: 250px;
    }
    .fighter-image img {
        width: 100%;
        border: 3px solid #333;
    }
    .fighter-details {
        flex: 2;
        padding: 20px;
        
    }
    .fighter-details h1 {
        font-size: 2.5rem;
        margin: 0;
    }
    .id {
        color: #fcfcfc;
        font-size: 1.2rem;
        margin-bottom: 15px;
        
    }
    
    .info div {
        min-width: 120px;
    }
    @media (max-width: 768px) {
  /* Make fighter details align left on mobile like laptop */
  .fighter-details {
    text-align: left !important;
    align-items: flex-start !important;
  }

    .info {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .stats {
    align-items: flex-start !important;
  }
}
    .stats-box {
        background-color: #222;
        padding: 10px 20px;
        border-radius: 5px;
    }
    .stats-box h2 {
        margin: 0;
        font-size: 2rem;
    }
    .green { color: #00ff00; }
    .red { color: #ff0000; }
    .sub-stats {
        font-size: 0.9rem;
        margin-top: 10px;
    }
    .highlight {
        color: orange;
        font-weight: bold;
    }
    .rank {
       size: 100px;
       text-decoration-color: yellow;
    }

    /* Fight History Table */
    .fight-history {
        max-width: 1000px;
        margin: 30px auto;
        background-color: #1c1c1c;
        border-collapse: collapse;
        width: 100%;
    }
    .fight-history thead {
        background-color: #111;
        border-bottom: 3px solid red;
    }
    .fight-history th {
        text-align: left;
        padding: 10px;
        font-size: 1rem;
    }
    .fight-history td {
        padding: 10px;
        border-top: 1px solid #333;
        vertical-align: top;
    }
    .loss {
        background-color: red;
        color: white;
        font-weight: bold;
        padding: 4px 8px;
        border-radius: 3px;
    }
    .win {
        background-color: green;
        color: white;
        font-weight: bold;
        padding: 4px 8px;
        border-radius: 3px;
    }
    .event-name {
        color: orange;
        font-weight: bold;
    }
    .method {
        font-weight: bold;
    }
    
    /* Highlight searched fighter */
    .searched-fighter {
      box-shadow: 0 0 20px 5px #ffff00 !important;
      border: 2px solid #ffff00 !important;
      animation: highlightPulse 2s ease-in-out infinite;
    }
    
    @keyframes highlightPulse {
      0%, 100% { box-shadow: 0 0 20px 5px #ffff00; }
      50% { box-shadow: 0 0 30px 10px #ffff00; }
    }
    
/*     RESPONSIVE UPDATES   */
/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* Fighter profile stack */
  .fighter-profile {
    flex-direction: column;
    padding: 10px;
  }

  .fighter-details {
    padding: 10px;
    
  }

  .fighter-details h1 {
    font-size: 1.8rem;
  }

  .stats {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  /* Table responsiveness */
  .fight-history {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .fight-history th, 
  .fight-history td {
    font-size: 0.85rem;
    padding: 8px;
  }

  /* Heading size adjustment */
  header h1 {
    font-size: 2.5rem;
    padding: 5px;
  }

  /* Navbar adjustments */
  nav img {
    height: 40px;
  }

  /* Footer adjustments */
  .footer {
    padding: 10px;
    font-size: 0.85rem;
  }
}


  /* Logo */
  .logo {
    font-size: 20px;
    font-weight: bold;
  }

  

  
  /* Additional styles for mobile stats layout */
    .stats {
      display: flex;
      flex-direction: row !important; /* Force horizontal layout on mobile */
      gap: 1rem;
    }
    
    .stats-box {
      flex: 1; /* Equal width for both boxes */
      min-width: 0; /* Allow boxes to shrink */
    }
    
    /* On very small screens, reduce padding and font sizes */
    @media (max-width: 480px) {
      .stats-box {
        padding: 0.5rem;
      }
      .stats-box h2 {
        font-size: 1.5rem;
      }
      .sub-stats {
        font-size: 0.8rem;
      }
    }
      /* Mobile menu improvements */
#mobileMenu {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Mobile menu overlay adjustments */
.mobile-menu-overlay {
  position: fixed;
  top: 60px; /* Push below navbar */
  left: 0;
  width: 100%;
  max-height: 80vh; /* Instead of full screen */
  background: rgba(0, 0, 0, 0.7); /* Transparent look */
  z-index: 9999;
  overflow-y: auto;
  padding: 20px 0;
  border-radius: 0 0 12px 12px; /* Rounded bottom for nicer look */
}

   