body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #202226;
  }
  
  header {
    background: #333;
    color: white;
  }
  
  .top-nav {
    font-size: .75rem;
    line-height: 0;
    margin: 1;
    padding: 10px;
    text-align: right;
    background: #222;
  }
  
  .top-nav a {
    color: white;
    margin-left: 15px;
    text-decoration: none;
  }
  
  nav ul {
    position: relative;
    font-size: .75rem;
    display: flex;
    list-style: none;
    justify-content: center;
    padding: 10px 0;
    margin: 0;
    background: #333;
  }
  
  nav li a {
    color: white;
    padding: 10px 10px;
    text-decoration: none;
  }
  
  .hero {
    position: relative;
    width: 100%;
    height: 100%; /* Full viewport height */
    overflow: hidden;
  }
  
  .hero img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures image covers the section without distortion */
	display: block;
  }
  
  .hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 1rem;
  }
  
  /* === Hero Banner Fade Effect === */
  #hero-banner {
    opacity: 1;
    transition: opacity 1s ease-in-out;
  }
  
  #hero-banner.fade-in {
    opacity: 1;
  }
  
  .rotating-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
  }
  
  #banner-controls {
    text-align: center;
    margin: 0.5rem auto 1rem;
  }

  #banner-controls button {
    background-color: #FF6E00;
    border: none;
    color: #000;
    font-weight: bold;
    padding: 0.4rem 1rem;
    margin: 0 0.3rem; 
    border-radius: 4px;
    cursor: pointer;
  }
  
  #banner-dots {
  text-align: center;
  margin-top: 0.5rem;
  }

  .banner-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #888;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
  }

  .banner-dot.active {
    background-color: #FF6E00;
  }


  
  /*
  <!-- ===================================================================================================   -->
  <!-- ========  This will automatically rotate images using the 2Gxx.jpg to 2Gxx.jpg ==================   -->
  <!-- ===================================================================================================   -->
  */
  .media-gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 1rem;
    padding: .5rem;
    box-sizing: border-box;
    background-color: #202226; /*  Color for main tiles  */
  }
  
  #media-gallery {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    padding: .5rem;
    box-sizing: border-box;
    background-color: #202226; /*  Color for main tiles  */
  }
  
  /*
  <!-- ===================================================================================================   -->
  <!-- ========  This will automatically adds the Name Placard centered for each player ==================   -->
  <!-- ===================================================================================================   -->
  */
  .media-placeholder {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  .media-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease; /* Smooth scaling */
    border-radius: 8px;
  }
  
  .media-placeholder:hover img {
    transform: scale(1.5); /* Zoom in slightly */
    cursor: pointer;
  }
  
  .media-label {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    text-align: center;
    white-space: nowrap;
    opacity: 1;                   /* 🔴 Hidden by default */
    transition: opacity 0.3s ease; /* 🔁 Smooth fade-in */
  }
  
  /* 👆 Label fades in only when hovering over the tile */
  .media-placeholder:hover .media-label {
    opacity: 1;
  }
  
  .media-overlay-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* translucent dark background */
    color: white;
    font-size: clamp(0.9rem, 2vw, 1.5rem);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 0;
    z-index: 2;
    pointer-events: none;
	box-sizing: border-box;      /* Prevent padding from affecting width */

}

  
  
  /*
  <!-- ===================================================================================================   -->
  <!-- ===================================================================================================   -->
  <!-- ===================================================================================================   -->
  */
  .footer-title {
    /*  font-family: 'Montserrat', sans-serif; */
    background: #333;
    color: white;
    text-align: center;
    font-size: .75rem;         /* ✅ Adjust size */
    color: white;            /* ✅ Change color */
    line-height: 0.2;        /* 🔧 Line spacing inside the h1 block */
    margin-top: 0rem;           /* ✅ Remove space above */
    margin-bottom: 0rem;     /* ✅ Slight space below */
  }
  
  .footer-subtext {
    /*  font-family: 'Roboto', sans-serif; */
    background: #333;
    color: white;
    text-align: center;
    font-size: .75rem;         /* ✅ Different size */
    color: white;            /* ✅ Different color */
    line-height: 0.2;          /* 🔧 More spacing between lines */
    margin-top: 0rem;        /* ✅ Tiny space above */
    margin-bottom: 0rem;     /* ✅ Remove space below */
  }
  
  .features {
    padding: 30px;
    background: #eaeaea;
  }
  
  .features ul {
    list-style-type: square;
    columns: 2;
    padding: 0 40px;
  }
  
  .form-section {
    background: white;
    padding: 40px;
  }
  
  .form-section form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .form-section textarea {
    grid-column: 1 / 3;
    height: 100px;
  }
  
  .form-section button {
    grid-column: 1 / 3;
    padding: 10px 20px;
    background: orange;
    border: none;
    color: white;
    font-weight: bold;
  }
  
  footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
  }
  
  .athletes-intro {
    background: #fff;
    margin-left: 0rem; /* ✅ Adds space from the left edge */
    padding: 2rem 1rem;
    padding-top: 2rem;      /* ✅ Remove top padding */
    padding-bottom: 1rem;   /* ✅ Remove bottom padding */
    font-size: 0.95rem;
    
  }
  
  .athlete-title {
    /*  font-family: 'Montserrat', sans-serif; */
    font-size: 3rem;         /* ✅ Adjust size */
    font-family: 'Arial', serif;  /* ✅ Change font */
    color: orange;            /* ✅ Change color */
    line-height: 0.2;         /* 🔧 Line spacing inside the h1 block */
    margin-top: 0;            /* ✅ Remove space above */
    margin-bottom: 1rem;      /* ✅ Slight space below */
  }
  
  .athlete-subtext {
    /*  font-family: 'Roboto', sans-serif; */
    font-size: 1rem;         /* ✅ Different size */
    font-family: 'Arial', sans-serif; /* ✅ Different font */
    color: black;            /* ✅ Different color */
    line-height: 1.8;        /* 🔧 More spacing between lines */
    max-width: 600px;        /* Optional: limit width for readability */
    margin-top: 0rem;        /* ✅ Tiny space above */
    margin-bottom: 0rem;     /* ✅ Remove space below */
  }
  
  
  /*
  <!-- ===================================================================================================   -->
  <!-- ========  Slideshow Fade Effect for Rotating Athlete Spotlight Image ==============================   -->
  <!-- ===================================================================================================   -->
  */
  #slideshow {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }
  
  #slideshow.fade-in {
    opacity: 1;
  }
  
  .media-gallery.centered {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .media-placeholder.full-width {
    width: 100%;
  }
  
  
  /*
  <!-- ===================================================================================================   -->
  <!-- ========  media-gallery Filter Function ===========================================================   -->
  <!-- ===================================================================================================   -->
  */
  
  .gallery-controls {
    display: flex;
    justify-content: center;          /* Center controls horizontally */
    align-items: center;
    flex-wrap: wrap;                  /* Wrap on smaller screens */
    gap: 1.5rem;                      /* Space between controls */
    padding: 1rem 0;
    background-color: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
  
  }
  
  .control-group {
    display: flex;
    align-items: center;              /* Label and select side by side */
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: #2a2a2a;
    border-radius: 6px;
  }
  
  .control-group label {
    color: #ccc;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
  }
  
  .control-group select {
    padding: 3px 6px;
    font-size: 0.65rem;
    background: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s, background-color 0.3s;
  }
  
  /* Hover effect: subtle highlight */
  .control-group select:hover {
    border-color: orange;
  }
  
  /* Focus effect: when user is using keyboard or clicked in */
  .control-group select:focus {
    outline: none;
    border-color: #ffa500;
    background: #444;
  }
  
  .control-group input[type="text"] {
    padding: 3px 6px;
    font-size: 0.65rem;
    background: #333;
    color: white;
    border: 1px solid #555;
    border-radius: 4px;
    transition: border-color 0.3s, background-color 0.3s;
  }
  
  /* Hover & Focus match select */
  .control-group input[type="text"]:hover {
    border-color: orange;
  }
  
  .control-group input[type="text"]:focus {
    outline: none;
    border-color: #ffa500;
    background: #444;
  }
  
  
  
  
  
  /*
  <!-- ===================================================================================================   -->
  <!-- ========  Player Profile Layout for container01–container05 =======================================   -->
  <!-- ===================================================================================================   -->
  */
  
  .profile-layout {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
    box-sizing: border-box;
  }
  
  .left-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 15%;
  }
  
  /* === Full-Bleed Image with Zoom on Hover for container01 === */
  .container01 {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    margin: 0;
    background-color: #f9f9f9;
    height: 100%;
  }
  
  .container01 img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* fills the container, cropping if necessary */
    object-position: center;
    transition: transform 0.4s ease-in-out;
    border-radius: 0;          /* remove if you want square corners */
  }
  
  .container01 img:hover {
    transform: scale(1.05);    /* subtle zoom effect */
  }
  
  
  
  
  .container02,
  .container03 {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    
  }
  
  /* === Dynamic Name Styling for container04 === */
  .container04 {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: fantasy;
    font-size: clamp(1rem, 6vw, 5rem);  /* Auto-size based on container width */
    color: #f5501d;                 /* You can customize this */
    background-color: #333;   /* Optional background */
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 1rem 0.5rem;        /* Adjust padding here */
    line-height: 1;
    overflow-wrap: break-word;
    height: 100%;
    letter-spacing: 0em; /* spacing between letters */
    word-spacing: 0.4em;    /* spacing between words */
    text-transform: none; /* ✅ Makes text all caps for regular case use "none" */
    
    
  }
  
  .container05 {
    flex: 1;
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 1rem;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    flex-grow: 1;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    border: 3px dashed red; /* temporary visual aid */
  
  }
  
  .container05 video,
  .container05 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    max-width: 100%;
    max-height: 100%;
  }
  
  .container05 video {
    transform: scale(1);
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border: 2px solid lime; /* to verify scaling */
    
  }
  
  .container05 img {
    display: block;
  }

.registration-form {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #111;
  border: 2px solid orange;
  border-radius: 8px;
}

.registration-form label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
  color: orange;
}

.registration-form input,
.registration-form select {
  width: 100%;
  padding: 0.5rem;
  margin-top: 0.25rem;
  border: 1px solid #444;
  border-radius: 4px;
  font-size: 1rem;
  background: #222;
  color: white;
}

.registration-form input[type="submit"] {
  background-color: orange;
  color: black;
  border: none;
  margin-top: 1.5rem;
  cursor: pointer;
  font-weight: bold;
}

.registration-form input[type="submit"]:hover {
  background-color: #ff9500;
}

.registration-title {
  text-align: center;
  margin-top: 2rem;
  color: orange;
}


 /* Mobile hero banner */
  @media (max-width: 768px) {
  .hero {
    background-image: url('images/banner/hero-mobile.jpg');
    height: auto; /* Shorter height for phones if you want */
  }
} 
  
  /* === Responsive Design === */
  @media (max-width: 768px) {
    .profile-layout {
      flex-direction: column;
      height: auto;
      width: 100%;
      display: flex;
      justify-content: space-between;
    }
  
    .left-stack,
    .container04,
    .container05 {
      width: 100%;
      height: auto;
    }
  
    .container01,
    .container02,
    .container03 {
      height: auto;
    }
  }  
  
  @media (max-width: 768px) {
    .gallery-controls {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      padding: 1rem;
    }
  
    .control-group {
      width: 100%;
      display: flex;
      justify-content: space-between;
      gap: 0.5rem;
    }
  
    .control-group label,
    .control-group select,
    .control-group input[type="text"] {
      flex: 1;
      min-width: 100px;
    }
  
    .control-group input[type="text"] {
      max-width: 200px;
    }
   }
    
  @media (max-width: 768px) {
    .container04 {
      writing-mode: horizontal-tb !important;
      transform: none !important;
      text-align: center !important;
      align-items: center;
      justify-content: center;
      font-size: clamp(1.2rem, 6vw, 3rem);  /* Dynamic font scaling on mobile */
      padding: 1.5rem;
    }
  }	
/* ============================================================
Make index.html media-gallery responsive on mobile devices
============================================================ */

  @media (max-width: 768px) {
    .media-gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
      gap: 1rem;
      padding: 1rem;
     }

  .media-gallery .media-placeholder {
    width: 100%;
    max-width: 100%;
    border-radius: 6px;
    overflow: hidden;
    }

  .media-gallery .media-placeholder img {
    width: 100%;
    height: auto;
    object-fit: cover;
   }
  }

  @media (max-width: 768px) {
  .media-overlay-text {
    font-size: clamp(0.8rem, 3vw, 1.2rem);
    padding: 0.4rem 0.8;
   }
   
     .athletes-intro {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .athletes-intro h1.athlete-title {
    font-size: 1.4rem;
    text-align: center;
  }

  .athletes-intro .athlete-subtext {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }

  .features {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }

  .features li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
  }

  .store-grid {
    grid-template-columns: 1fr !important;
    padding: 0 1rem;
  }

  .store-item {
    padding: 1rem;
  }

  .rotating-banner {
    height: 200px;
  }

  #banner-dots {
    margin-top: 0.5rem;
  }
   
  }	

  
  
     
    
    
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  