<style>
  /* ===== original base styles (kept) ===== */
  .highlight-text {
      font-size: 1.5em;
      line-height: 1.6;
      max-width: 800px;
      margin: 20px auto;
      text-align: center;
      font-weight: 500;
  }

    body {
      font: 400 15px 'Source Sans Pro', sans-serif;
      color: #000000 !important;
      background-color: #ffffff !important;
    }

  h1, h2, h3, h4, h5, h6, a, p {
      font-family: 'Source Sans Pro', sans-serif;
      color: #000000;
  }

  .navbar {
      margin-bottom: 0;
      background-color: #33b5e5;
      border: 0;
      font-size: 12px;
      letter-spacing: 4px;
      border-radius: 0;
      font-family: 'Montserrat', sans-serif;
  }
  .navbar li a, .navbar-brand { color: #fff !important; font-weight: 600; }
  .navbar-nav { margin-top: 16px; }
  .navbar-nav li a:hover, .navbar-nav li.active a {
      color: #33b5e5 !important;
      background-color: #fff !important;
  }

  .footer {
      position: fixed;
      left: 0;
      bottom: 0;
      width: 100%;
      background-color: #33b5e5;
      color: white;
      text-align: center;
      z-index: 100;
  }

  .panel {
      margin: auto;
      border: 2px solid #33b5e5;
      transition: box-shadow 0.5s;
  }
  .panel:hover { box-shadow: 5px 0px 40px rgba(0, 0, 0, .2); }
  .panel-heading { background-color: #33b5e5 !important; color: #fff !important; padding: 25px; }
  .panel-heading2 { background-color: #ED4C06 !important; color: #fff !important; padding: 25px; }
  .panel-footer { background-color: #fff !important; }

  .alert {
      z-index: 99; top: 30px; right: 18px; position: fixed; min-width: 30%;
      animation: slide 0.5s forwards;
  }
  @keyframes slide { 100% { top: 30px; } }

  .modal-dialog {
      width: 98vw; max-width: 1400px; margin: 30px auto;
      transition: transform 0.3s ease-out, opacity 0.3s ease;
      transform: scale(0.95); opacity: 0;
  }
  .modal.fade.in .modal-dialog { transform: scale(1); opacity: 1; }
  .modal-content {
      border-radius: 6px; box-shadow: 0 5px 15px rgba(0,0,0,.5);
      background-color: #fff; color: #000;
  }
  .modal-body { padding: 20px; display: flex; justify-content: center; box-sizing: border-box; overflow-x: auto; }
  iframe { width: 100%; max-width: 100%; border: none; }

  .container { max-width: 100%; box-sizing: border-box; }

  .standing-row {
      display: block; padding: 0.6rem 1rem; margin-bottom: 8px; border-radius: .25rem;
      transition: background-color .2s ease; width: 100%; max-width: 300px; text-align: center;
  }
  .standing-row:hover { background-color: #f1f3f5; }
  
  .standings-wrapper {
  max-width: 600px;
  }


  @media (max-width: 768px) {
      .col-sm-4 { text-align: center; margin: 25px 0; }
      .btn-lg { width: 100%; margin-bottom: 35px; color: #FF6F00; }
      #standings { width: 95% !important; }
  }
  @media (max-width: 480px) { .logo { font-size: 150px; } }

  /* ===== fixes & enhancements ===== */

  /* Keep content clear of fixed navbar/footer */
  body { padding-top: 70px; padding-bottom: 60px; }
  @media (max-width: 768px) { body { padding-top: 64px; } }

  /* H1 & banner spacing (reduce big gap on mobile/desktop) */
  .text-center h1 { margin-top: 20px; }
  #home { margin-top: 20px; }
  @media (min-width: 992px) {
    .text-center h1 { margin-top: 40px; }
    #home { margin-top: 24px; }
  }
  @media (max-width: 768px) {
    .text-center h1 { margin-top: 15px; }
    #home { margin-top: 16px; }
  }

  /* NAVBAR: consistent height + alignment */
  .navbar-brand {
    height: 60px; padding: 10px 15px; line-height: 40px;
  }
  .navbar-brand img {
    height: 40px !important; width: auto !important;
    display: inline-block !important; vertical-align: middle;
  }
  .navbar-toggle { margin-top: 12px; margin-bottom: 12px; }
  .navbar li a { padding-top: 18px; padding-bottom: 18px; }

  /* HARD CAP the PWA icon everywhere (desktop + mobile) */
  img[src*="/public/images/icon-192.png"],
  img[src*="icon-192.png"] {
    max-width: 48px !important;
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
  }

  /* Mobile-only refinements */
  @media (max-width: 768px) {
    body { font-size: 1.05rem; line-height: 1.55; }
    .navbar { letter-spacing: 2px; }
    .navbar-brand { height: 56px; padding: 8px 12px; line-height: 40px; }
    .navbar-toggle { margin-top: 10px; margin-bottom: 10px; }
    .navbar li a { padding-top: 14px; padding-bottom: 14px; font-size: 0.95rem; }
    h1 { font-size: 1.8rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.3rem; }
    .highlight-text { font-size: 1.2rem; padding: 0 12px; }
    .panel-heading, .panel-heading2 { padding: 18px; font-size: 1.1rem; }
    .standing-row { max-width: 100%; font-size: 1rem; padding: 0.8rem 1rem; }
    img, table, pre, code, iframe { max-width: 100%; height: auto; }
    table { display: block; overflow-x: auto; }
  }

  /* Desktop tighten (optional) */
  @media (min-width: 992px) {
    .navbar-brand { height: 56px; padding: 8px 15px; line-height: 40px; }
    .navbar li a { padding-top: 16px; padding-bottom: 16px; }
  }
  
  
  
</style>