/* --- VORTEX FC MASTER STYLESHEET --- */



/* ============================= */

/* 1. BASE & RESET */

/* ============================= */

body {

  line-height: 1.7;

  color: #9ca3af;

  font-weight: 300;

  background-color: #020617;

  font-size: 16px;

  margin: 0;

  overflow-x: hidden;

  font-family: "Montserrat", sans-serif;

}



h1, h2, h3, h4, h5 {

  font-family: "Montserrat", sans-serif;

  color: #ffffff;

}



/* ============================= */

/* 2. NAVBAR & SIDEBAR */

/* ============================= */

.site-navbar {

  position: fixed; /* Changed to fixed to stay at top */

  top: 0;

  width: 100%;

  z-index: 1000;

  padding: 15px 0;

  background: rgba(2, 6, 23, 0.95);

  border-bottom: 1px solid rgba(0, 123, 255, 0.2);

}



.navbar-collapse {

  position: fixed;

  top: 0;

  right: -100%; 

  width: 300px;

  height: 100vh;

  background: #020617;

  padding: 80px 20px;

  transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);

  z-index: 9999;

  display: block !important; 

  border-left: 1px solid rgba(0, 123, 255, 0.4);

}



.navbar-collapse.show {

  right: 0;

  box-shadow: -15px 0 30px rgba(0, 0, 0, 0.9);

}



.site-menu {

  list-style: none;

  padding: 0;

  margin: 0;

}



.site-menu li {

  display: block;

  margin-bottom: 25px;

}



.site-menu a {

  color: #ffffff !important;

  text-transform: uppercase;

  font-size: 18px;

  letter-spacing: 0.1em;

  font-weight: 700;

  transition: 0.3s;

  text-decoration: none;

}



.site-menu a:hover {

  color: #007bff !important;

}



#menu-close {

  position: absolute;

  top: 25px;

  right: 25px;

  color: #fff;

  font-size: 35px;

  cursor: pointer;

}



/* ============================= */

/* 3. HERO SECTION */

/* ============================= */

.hero {

  background-image: url('../images/bg_3.jpg');

  background-size: cover;

  background-position: center;

  position: relative;

  min-height: 85vh;

  display: flex;

  align-items: center;

}



.hero.overlay::before {

  content: "";

  position: absolute;

  inset: 0;

  background: rgba(2, 6, 23, 0.7);

  z-index: 1;

}



.hero h1 {

  font-size: clamp(2.5rem, 8vw, 5rem);

  font-weight: 900;

  text-transform: uppercase;

  color: #ffffff;

  text-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);

  letter-spacing: -2px;

}



/* ============================= */

/* 4. MATCH HISTORY (FIX FOR match.html) */

/* ============================= */

.match-history-section {

  background-color: #020617;

  padding: 80px 0;

}



.match-card {

  background: #0f172a !important; /* FORCES dark navy background */

  border: 1px solid rgba(0, 123, 255, 0.2) !important;

  border-radius: 15px;

  padding: 40px;

  margin-bottom: 30px;

  transition: 0.3s;

}



.match-card:hover {

  border-color: #007bff !important;

  transform: translateY(-5px);

}



.score-pill {

  background: #007bff !important;

  color: #ffffff !important;

  font-weight: 900;

  padding: 10px 35px;

  border-radius: 50px;

  font-size: 2.2rem;

  display: inline-block;

  box-shadow: 0 5px 20px rgba(0, 123, 255, 0.4);

}



/* ============================= */

/* 5. PLAYERS & CARDS */

/* ============================= */

.players-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr); 

  gap: 30px;

}



@media (max-width: 992px) {

  .players-grid { grid-template-columns: repeat(3, 1fr); }

}



@media (max-width: 768px) {

  .players-grid { grid-template-columns: repeat(2, 1fr) !important; }

}



.player-card {

  background: rgba(15, 23, 42, 0.8);

  border: 1px solid rgba(255, 255, 255, 0.05);

  border-radius: 20px;

  padding: 30px 15px;

  text-align: center;

  transition: 0.5s;

}



.player-photo {

  width: 160px;

  height: 160px;

  object-fit: cover;

  border-radius: 50%;

  border: 3px solid #007bff;

  margin: 0 auto 15px auto;

  display: block;

}



/* ============================= */

/* 6. COMPONENTS & BUTTONS */

/* ============================= */

.shop-jersey-btn {

  display: inline-block;

  padding: 12px 24px;

  background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%) !important;

  color: #ffffff !important;

  font-weight: 700;

  border-radius: 8px;

  text-transform: uppercase;

  border: none !important;

}



#music-control {

  position: fixed;

  bottom: 25px;

  right: 25px;

  z-index: 9999;

  background: #007bff;

  color: white;

  border: none;

  border-radius: 50%;

  width: 50px;

  height: 50px;

  cursor: pointer;

}

/* ============================= */

/* FINAL MOBILE & CLICK FIXES    */

/* ============================= */



/* 1. Force Hero Buttons to be clickable (Fixes the "Disabled" look) */

.hero .container {

  position: relative !important;

  z-index: 5 !important;

}



.hero-buttons a, .btn {

  position: relative !important;

  z-index: 10 !important;

  pointer-events: auto !important; /* Forces touch/click to work */

  opacity: 1 !important;

}



/* 2. Lock the Hamburger icon to the top right (No scrolling) */

#menu-toggle {

  position: fixed !important;

  top: 20px;

  right: 20px;

  z-index: 10000; /* Higher than everything else */

  background: rgba(2, 6, 23, 0.8);

  padding: 10px;

  border-radius: 5px;

}



/* 3. Fix the Match History White Box on Phone */

.match-card, .site-section {

  background-color: #020617 !important;

}



.match-card {

  background: #0f172a !important; /* Dark Navy for the box */

  border: 1px solid rgba(0, 123, 255, 0.3) !important;

  color: #ffffff !important;

}



/* 4. Fix Sidebar Red Text */

.site-menu a {

  color: #ffffff !important;

}



.site-menu a:hover {

  color: #007bff !important;

}

/* ============================= */

/* STYLISH MATCH HISTORY STYLE   */

/* ============================= */



/* The Section Container */

.match-history-section {

    background: radial-gradient(circle at top, #0f172a 0%, #020617 100%);

    padding: 100px 0;

}



/* The Card: Glassmorphism Effect */

.match-card {

    background: rgba(30, 41, 59, 0.5) !important; /* Semi-transparent navy */

    backdrop-filter: blur(10px); /* Blurs background for style */

    border: 1px solid rgba(0, 123, 255, 0.2) !important;

    border-radius: 24px !important;

    padding: 40px !important;

    margin-bottom: 40px !important;

    transition: all 0.4s ease;

    position: relative;

    overflow: hidden;

}



.match-card:hover {

    border-color: #007bff !important;

    transform: scale(1.02);

    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);

}



/* Team Names */

.team-name {

    font-size: 1.8rem;

    font-weight: 900;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #ffffff;

}



/* Stylish Score Badge */

.score-pill {

    background: linear-gradient(135deg, #007bff 0%, #00d4ff 100%) !important;

    color: white !important;

    font-family: 'Montserrat', sans-serif;

    font-weight: 900 !important;

    padding: 12px 35px !important;

    border-radius: 12px !important; /* Squircle shape is more stylish */

    font-size: 2.5rem !important;

    display: inline-block !important;

    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3) !important;

    border: 2px solid rgba(255, 255, 255, 0.1);

}



/* Match Status ([WINNER]) */

.status-label {

    font-size: 0.75rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;

    padding: 4px 12px;

    border-radius: 4px;

    display: inline-block;

    margin-bottom: 10px;

}



.win { background: rgba(40, 167, 69, 0.1); color: #28a745; border: 1px solid #28a745; }

.loss { background: rgba(220, 53, 69, 0.1); color: #dc354
