body {
    font-family: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
    background: linear-gradient(135deg, #f2f2f2, #e9ecef);
    margin: 0;
    padding: 0;
    color: #333;
  }
  
  /* ---------- Header Images ---------- */
  .header-images {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 40px;
    background: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  
  .header-images img {
    max-width: 120px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .middle-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .middle-section .middle-img {
    width: 180px;
    margin-bottom: 10px;
  }
  
  /* ---------- ZSO Logos Row ---------- */
  .zso-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 10px;
  }
  
  .zso-row .zso-img {
    width: 70px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  
  .zso-row .zso-img:hover {
    transform: scale(1.05);
    opacity: 1;
  }
  
  /* ---------- Table Styling ---------- */
  #tournament-list {
    max-width: 900px;
    margin: 60px auto;
    background: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  }
  
  #tournament-list table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 7px; /* smaller spacing (half) */
    font-size: 1rem;
    color: #444;
  }
  
  #tournament-list th {
    text-align: left;
    padding: 14px 12px;
    background: #f8f9fa;
    border-bottom: 2px solid #ddd;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }
  
  #tournament-list td {
    padding: 12px;
    border-bottom: 1px solid #f1f1f1;
    background: #fff;
    border-radius: 10px;
  }
  
  /* ---------- Links as Elegant Buttons ---------- */
  #tournament-list a {
    display: inline-block;
    width: 100%;
    text-align: left;        /* aligned to left */
    padding: 10px 20px;
    color: #222;
    background: linear-gradient(to right, #fafafa, #e9ecef);
    border: 1px solid #ccc;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    white-space: nowrap;
  }
  
  #tournament-list a:hover {
    background: linear-gradient(to right, #e0e0e0, #d5d5d5);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
  }
  
  /* ---------- Responsive ---------- */
  @media (max-width: 700px) {
    .header-images {
      flex-direction: column;
      align-items: center;
    }
    .header-images img {
      margin: 8px 0;
    }
    #tournament-list {
      width: 90%;
      padding: 20px;
    }
    #tournament-list a {
      text-align: center;
    }
  }

  .center-text {
    flex: 1;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
  }
  
  /* ---------- Tournament Status Badges ---------- */
.tournament-status {
  float: right;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.tournament-status.registration {
  color: orange;
  font-weight: bold;
}
.tournament-status.started {
  color: green;
  font-weight: bold;
}
.tournament-status.finished {
  color: red;
  font-weight: bold;
}
.tournament-status.upcoming {
  color: #DAA520;
  font-weight: bold;
}
