@font-face {
  font-family: 'D-DINCondensed';
  src: url('../font/D-DINCondensed.otf') format('opentype');
}

@font-face {
  font-family: 'AmericanCaptain';
  src: url('../font/American Captain Patrius 02 FRE.otf') format('opentype');
}

@font-face {
  font-family: 'MicrogrammaD';
  src: url('../font/Microgramma D Extended Bold.otf') format('opentype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 1920px;
  height: 1080px;
  overflow: hidden;
  font-family: 'D-DINCondensed', 'MicrogrammaD', 'AmericanCaptain', sans-serif;
  position: relative;
}

/* Video Background */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}

/* Main Container */
.container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  text-align: center;
  padding: 60px 0 40px 0;
}

.header h1 {
  font-family: 'AmericanCaptain', 'MicrogrammaD', 'D-DINCondensed', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  letter-spacing: 8px;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.9);
  position: relative;
}

.header h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 6px;
  background: linear-gradient(90deg, #05C7F2 0%, #05AFF2 100%);
  border-radius: 3px;
}

/* Content Area */
.content {
  flex: 1;
  display: flex;
  padding: 40px;
  gap: 40px;
}

/* Left and Right Columns */
.column {
  flex: 1;
  background: rgba(38, 38, 38, 0.95);
  border: 4px solid #05AFF2;
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(15px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.column h2 {
  display: none;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px;
  display: none;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
  margin-top: 5px;
}

thead {
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.6s ease-out;
}

tbody {
  opacity: 0;
}

tbody tr {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.4s ease-out;
}

thead th {
  background: linear-gradient(135deg, #F2F2F2 0%, #05C7F2 50%, #05AFF2 100%);
  color: #262626;
  font-family: 'D-DINCondensed', 'MicrogrammaD', sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 8px;
  text-align: center;
  border-radius: 8px;
  border: 2px solid #05AFF2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  position: relative;
}

thead th::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: linear-gradient(135deg, #F2F2F2 0%, #05C7F2 50%, #05AFF2 100%);
  border-radius: 6px;
  z-index: -1;
}

thead th:nth-child(1) { width: 8%; }
thead th:nth-child(2) { width: 40%; text-align: left; padding-left: 15px; }
thead th:nth-child(3) { width: 12%; }
thead th:nth-child(4) { width: 12%; }
thead th:nth-child(5) { width: 12%; }
thead th:nth-child(6) { width: 16%; }

tbody td {
  padding: 12px 8px;
  font-size: 20px;
  letter-spacing: 1px;
  font-family: 'D-DINCondensed', sans-serif;
  color: #F2F2F2;
  text-align: center;
  vertical-align: middle;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  border: 1px solid rgba(5, 199, 242, 0.3);
}

tbody tr:hover td {
  background: rgba(5, 199, 242, 0.4);
  color: white;
  border-color: #05C7F2;
}

.team-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #F2F2F2;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'D-DINCondensed', sans-serif;
  padding-left: 15px !important;
}

.team-cell img {
  height: 32px;
  width: 32px;
  margin-right: 12px;
  border-radius: 4px;
  border: 2px solid #05C7F2;
}

.total-points {
  font-weight: bold;
  font-size: 22px;
  color: #05C7F2;
}

.rank {
  font-weight: bold;
  font-size: 22px;
  color: #F2F2F2;
}

.wwcd-icon {
  height: 20px;
  vertical-align: middle;
  filter: invert(1);
  margin-right: 4px;
}

/* Remove loading animations completely */
.loading {
  display: none;
}

.spinner {
  display: none;
}