/* General Reset */
body {
  margin: 0;
  font-family: "Ysabeau Office", serif;
  background: linear-gradient(to bottom right, #FF7F50, #2F4F4F);
  color: white;
}

header {
  background: rgba(255, 127, 80, 0.8);
  text-align: center;
  padding: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  height: 60px;
  margin-bottom: 10px;
}

header h1 {
  font-size: 2.5rem;
  margin: 0;
  color: white;
}

main {
  padding: 20px;
}

.tournament-info h2, .table-section h2 {
  text-align: center;
  color: #FFD700;
  text-shadow: 2px 2px 4px #000;
}

.tournament-info ul {
  list-style: square;
  padding-left: 40px;
  line-height: 1.8;
  font-size: 1.2rem;
}

.table-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1rem;
}

.table-section table thead {
  background: rgba(255, 127, 80, 0.9);
}

.table-section table th, .table-section table td {
  border: 1px solid white;
  padding: 10px;
  text-align: center;
  color: white;
}

.table-section table tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.2);
}

.table-section table tr:nth-child(odd) {
  background: rgba(255, 127, 80, 0.2);
}

/* Make table responsive */
.table-section {
  overflow-x: auto;
}

footer {
  text-align: center;
  padding: 20px;
  background: rgba(255, 127, 80, 0.9);
  position: sticky;
  bottom: 0;
}

footer .social-links a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid white;
  border-radius: 5px;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
}

footer .social-links a:hover {
  background: white;
  color: rgba(255, 127, 80, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
      font-size: 2rem;
  }

  .table-section table th, .table-section table td {
      font-size: 0.8rem;
  }

  footer .social-links a {
      font-size: 1rem;
  }

  .tournament-info ul {
      font-size: 1rem;
  }
}

/* Cool Animation */
header h1 {
  animation: slideIn 1.5s ease;
}

@keyframes slideIn {
  from {
      transform: translateY(-100%);
      opacity: 0;
  }
  to {
      transform: translateY(0);
      opacity: 1;
  }
}
