@import url(https://fonts.googleapis.com/css?family=Raleway);
@import url(https://fonts.googleapis.com/css?family=Saira);
@import url("https://fonts.cdnfonts.com/css/helvetica-neue-9");
@font-face {
  font-family: "Druk";
  src: local("Abc"), url("../fonts/BeaufortforLOL-Bold.otf") format("truetype");
}

:root {
  --primary: #000000;
  --secondary: #d4af37;
  --accent: #ffffff;
  --blue-side: #1e88e5;
  --red-side: #e53935;
  --background: #0a0a0a;
  --card-bg: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --border-radius: 8px;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f0c05a 50%, #d4af37 100%);
  --dark-gradient: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
}

h1 {
  vertical-align: center;
  text-align: center;
}
h2 {
  vertical-align: center;
  text-align: center;
}
h3 {
  margin-top: 1em;
  vertical-align: center;
  text-align: center;
}
h1 {
  font-family: "Druk";
  font-weight: 500;
  letter-spacing: 0.03em;
  box-sizing: border-box;
}
h2 {
  font-family: "Druk";
  font-weight: 500;
  letter-spacing: 0.03em;
  box-sizing: border-box;
}
body {
  background: #202020;
  color: whitesmoke;
  margin: 0;
  background: url("/static/images/worlds2022.png") #030303 50% 0 no-repeat fixed;

  background-repeat: no-repeat;
  background-size: 100%;
}

html,
body {
  margin: 0;
  height: 100%;
}

a {
  color: white;
}

* {
  font-family: "Saira", "Helvetica Neue", "Helvetica", "Lucida Grande",
    sans-serif;
  font-weight: 300;
  box-sizing: border-box;
}


#tableScrimsList {
  width: 100% !important;
}

#tablePlayerList {
  width: 100% !important;
}
.m .matchesTable tr {
  text-align: center;
}
.matchesTable th {
  text-align: center;
}
.matchesTable td {
  text-align: center;
}

.championImg {
  width: 50px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
}
.teamIcon {
  width: 50px;
  margin-left: auto;
  margin-right: auto;
}
.teamIconDefeat {
  width: 50px;
  margin-left: auto;
  margin-right: auto;
  opacity: 50%;
}
.teamName {
  display: none;
}
div.dataTables_wrapper {
  margin-top: 2em;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
  text-align: center !important;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_processing,
.dataTables_wrapper .dataTables_paginate {
  color: rgb(255, 255, 255) !important;
  margin: 1em;
}

div.dataTables_filter input {
  color: rgb(255, 255, 255) !important;
  background-color: rgb(110 110 110 / 52%) !important;
  opacity: 90% !important;
  border: 1px solid #aaa !important;
  border-radius: 25px !important;
  padding: 10px !important;
  margin-left: 10px !important;
  margin-right: 10px !important;
}

.dataTables_wrapper .dataTables_length select {
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 5px;
  background-color: #fdfdfd21 !important;
  padding: 4px;
  color: white !important;
}

table.dataTable tbody tr.odd {
  /* background-color: rgb(107, 107, 107) !important; */
  background-color: rgba(214, 214, 214, 0.144) !important;
  backdrop-filter: blur(15px);
}

table.dataTable tbody tr.even {
  /* background-color: rgb(56, 56, 56) !important; */
  background-color: rgba(121, 121, 121, 0.38) !important;
  backdrop-filter: blur(15px);
}

table.dataTable thead th,
table.dataTable thead td {
  color: rgb(255, 255, 255) !important;
  background: rgb(0, 0, 0) !important;
}
/* Filter Button */
.button-19 {
  background: var(--gold-gradient);
  color: var(--primary);
  border: none;
  border-radius: var(--border-radius);
  padding: 15px 30px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  min-width: 120px;
}

.button-19::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.button-19:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #e5c158 0%, var(--secondary) 100%);
}

.button-19:hover::before {
  left: 100%;
}

.button-19:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

@media (max-width: 700px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: #222;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}

.blueSide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1d60b7;
  border-radius: 0.5em;
  padding: 1em;
  margin: -0.1em -0.1em -0.1em -0.1em;
}

.redSide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b71d1d;
  border-radius: 0.5em;
  padding: 1em;
  margin: -0.1em -0.1em -0.1em -0.1em;
}

/* Team Heretics Modern Scrollbar Styles */
:root {
  --primary: #000000;
  --secondary: #d4af37;
  --accent: #ffffff;
  --background: #0a0a0a;
  --card-bg: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --border-radius: 8px;
}

/* Modern Heretics Scrollbar */
#style-6::-webkit-scrollbar {
  width: 12px;
  background: transparent;
}

#style-6::-webkit-scrollbar-track {
  background: linear-gradient(180deg, var(--card-bg) 0%, rgba(26, 26, 26, 0.8) 100%);
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 175, 55, 0.05);
}

#style-6::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--secondary) 0%, rgba(212, 175, 55, 0.8) 50%, #b8941f 100%);
  border-radius: 10px;
  border: 2px solid var(--card-bg);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 0
    rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

#style-6::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e5c158 0%, var(--secondary) 50%, #a67c00 100%);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0
    rgba(0, 0, 0, 0.3);
  transform: scaleY(1.05);
}

#style-6::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #d4af37 0%, #b8941f 50%, #9d7a00 100%);
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: scaleY(0.95);
}

/* Corner styling */
#style-6::-webkit-scrollbar-corner {
  background: var(--card-bg);
  border-radius: 0 0 10px 0;
}

/* Alternative Global Scrollbar (for entire page) */
::-webkit-scrollbar {
  width: 14px;
  background: transparent;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.08);
  margin: 2px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    var(--secondary) 0%,
    rgba(212, 175, 55, 0.9) 30%,
    rgba(212, 175, 55, 0.7) 70%,
    #b8941f 100%
  );
  border-radius: 12px;
  border: 3px solid rgba(10, 10, 10, 0.8);
  box-shadow:
    0 2px 10px rgba(212, 175, 55, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    inset 1px 0 0 rgba(255, 255, 255, 0.1),
    inset -1px 0 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f0d060 0%, var(--secondary) 30%, rgba(212, 175, 55, 0.8) 70%, #a67c00 100%);
  box-shadow:
    0 4px 15px rgba(212, 175, 55, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.35),
    inset 1px 0 0 rgba(255, 255, 255, 0.15),
    inset -1px 0 0 rgba(0, 0, 0, 0.15);
  transform: scaleX(1.1);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #d4af37 0%, #b8941f 30%, rgba(184, 148, 31, 0.8) 70%, #9d7a00 100%);
  box-shadow: 0 1px 8px rgba(212, 175, 55, 0.5), inset 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 1px 0
    rgba(255, 255, 255, 0.1);
  transform: scaleX(0.9);
}

::-webkit-scrollbar-corner {
  background: linear-gradient(135deg, var(--card-bg) 0%, rgba(26, 26, 26, 0.8) 100%);
  border-radius: 0 0 12px 0;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Scrollbar for specific containers */
.heretics-scrollbar::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.heretics-scrollbar::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.6);
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.heretics-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, var(--secondary) 0%, rgba(212, 175, 55, 0.8) 50%, var(--secondary) 100%);
  border-radius: 8px;
  border: 1px solid rgba(10, 10, 10, 0.5);
  box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.heretics-scrollbar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #e5c158 0%, var(--secondary) 50%, #e5c158 100%);
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Thin scrollbar variant */
.heretics-scrollbar-thin::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.heretics-scrollbar-thin::-webkit-scrollbar-track {
  background: rgba(26, 26, 26, 0.4);
  border-radius: 6px;
}

.heretics-scrollbar-thin::-webkit-scrollbar-thumb {
  background: var(--secondary);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(212, 175, 55, 0.3);
  transition: all 0.2s ease;
}

.heretics-scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background: #e5c158;
  box-shadow: 0 2px 5px rgba(212, 175, 55, 0.4);
}

/* Firefox scrollbar support */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) var(--card-bg);
}

.heretics-scrollbar {
  scrollbar-width: auto;
  scrollbar-color: var(--secondary) rgba(26, 26, 26, 0.6);
}

.heretics-scrollbar-thin {
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) rgba(26, 26, 26, 0.4);
}

/* Animated scrollbar with pattern */
.heretics-scrollbar-animated::-webkit-scrollbar-thumb {
  background: linear-gradient(
      45deg,
      var(--secondary) 25%,
      transparent 25%,
      transparent 50%,
      var(--secondary) 50%,
      var(--secondary) 75%,
      transparent 75%,
      transparent
    ), linear-gradient(180deg, var(--secondary) 0%, rgba(212, 175, 55, 0.8) 100%);
  background-size: 8px 8px, 100% 100%;
  animation: scrollbar-pattern 2s linear infinite;
}

@keyframes scrollbar-pattern {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 8px 8px, 0 0;
  }
}

/* Usage classes for easy application */
.scrollbar-heretics {
  scrollbar-width: auto;
  scrollbar-color: var(--secondary) var(--card-bg);
}

.scrollbar-heretics::-webkit-scrollbar {
  width: 12px;
}

.scrollbar-heretics::-webkit-scrollbar-track {
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.scrollbar-heretics::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--secondary) 0%, #b8941f 100%);
  border-radius: 10px;
  border: 2px solid var(--card-bg);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.scrollbar-heretics::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #e5c158 0%, var(--secondary) 100%);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}


/* Grid Filter */
.gridFilter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: end;
}

.gridFilter > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gridFilter label {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gridFilter input,
.gridFilter select {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
  color: var(--text-primary);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius);
  padding: 12px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.gridFilter input:hover,
.gridFilter select:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}

.gridFilter input:focus,
.gridFilter select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.gridFilter select option {
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 8px;
}


.roster-button{
    justify-self: center;
}


/* Team Heretics Colors */
:root {
  --primary: #000000;
  --secondary: #d4af37;
  --accent: #ffffff;
  --blue-side: #1e88e5;
  --red-side: #e53935;
  --background: #0a0a0a;
  --card-bg: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --border-radius: 8px;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f0c05a 50%, #d4af37 100%);
  --dark-gradient: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
}

/* DataTable Wrapper - Contenedor principal */
.dataTables_wrapper {
  background: var(--dark-gradient);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23222222' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  border-radius: var(--border-radius);
  padding: 25px;
  margin: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
}

.dataTables_wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), rgba(212, 175, 55, 0.5));
  z-index: 1;
}

.dataTables_wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(212, 175, 55, 0.5);
}

/* Top Controls Container */
.dataTables_wrapper .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Length Control (Show entries) */
.dataTables_length {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dataTables_length label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dataTables_length select {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
  color: var(--text-primary);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.dataTables_length select:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}

.dataTables_length select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.dataTables_length select option {
  background: var(--card-bg);
  color: var(--text-primary);
  padding: 8px;
}

/* Filter Control (Search) */
.dataTables_filter {
  display: flex;
  align-items: center;
}

.dataTables_filter label {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dataTables_filter input[type="search"] {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
  color: var(--text-primary);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius);
  padding: 10px 15px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  min-width: 200px;
}

.dataTables_filter input[type="search"]:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
  transform: translateY(-1px);
}

.dataTables_filter input[type="search"]:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.dataTables_filter input[type="search"]::placeholder {
  color: var(--text-secondary);
  opacity: 0.7;
}

/* Main Table Styling */
.matchesTable {
  width: 100% !important;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin: 20px 0;
}

/* Table Header */
.matchesTable thead {
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.matchesTable thead th {
  padding: 15px 12px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.4);
}

.matchesTable thead th:first-child {
  border-top-left-radius: var(--border-radius);
}

.matchesTable thead th:last-child {
  border-top-right-radius: var(--border-radius);
}

.matchesTable thead th:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #e5c158;
}

/* Sorting Indicators */
.matchesTable thead th.sorting::after,
.matchesTable thead th.sorting_asc::after,
.matchesTable thead th.sorting_desc::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}

.matchesTable thead th.sorting::after {
  border-bottom: 4px solid rgba(212, 175, 55, 0.5);
}

.matchesTable thead th.sorting_asc::after {
  border-bottom: 4px solid var(--secondary);
}

.matchesTable thead th.sorting_desc::after {
  border-top: 4px solid var(--secondary);
}

/* Table Body */
.matchesTable tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.matchesTable tbody tr:nth-child(odd) {
  background: rgba(0, 0, 0, 0.1);
}

.matchesTable tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.matchesTable tbody tr:hover {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
  transform: translateX(5px);
  box-shadow: inset 4px 0 0 var(--secondary);
}

.matchesTable tbody td {
  padding: 12px;
  text-align: center;
  vertical-align: middle;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Champion Images */
.championImg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.championImg:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  border-color: #e5c158;
}

/* Links */
.matchesTable a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.matchesTable a:hover {
  color: var(--secondary);
}

/* Bottom Controls Container */
.dataTables_wrapper .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Info Text */
.dataTables_info {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Pagination */
.dataTables_paginate {
  display: flex;
  align-items: center;
  gap: 5px;
}

.paginate_button {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 2px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
  color: var(--text-primary) !important;
  text-decoration: none;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.paginate_button:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
  border-color: var(--secondary);
  color: var(--secondary) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(212, 175, 55, 0.2);
}

.paginate_button.current {
  background: var(--gold-gradient) !important;
  color: var(--primary) !important;
  border-color: var(--secondary);
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  font-weight: 700;
}

.paginate_button.current:hover {
  background: linear-gradient(135deg, #e5c158 0%, var(--secondary) 100%) !important;
  color: var(--primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.paginate_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.paginate_button.previous,
.paginate_button.next {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ellipsis {
  color: var(--text-secondary);
  padding: 8px 4px;
  font-weight: 600;
}

/* Clear Fix */
.clear {
  clear: both;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .dataTables_wrapper {
    margin: 15px;
    padding: 20px;
  }

  .matchesTable {
    font-size: 0.85rem;
  }

  .matchesTable thead th,
  .matchesTable tbody td {
    padding: 10px 8px;
  }

  .championImg {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 768px) {
  .dataTables_wrapper {
    margin: 10px;
    padding: 15px;
  }

  .dataTables_wrapper .top,
  .dataTables_wrapper .bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .dataTables_filter input[type="search"] {
    min-width: 150px;
  }

  .matchesTable {
    font-size: 0.8rem;
  }

  .matchesTable thead th,
  .matchesTable tbody td {
    padding: 8px 6px;
  }

  .championImg {
    width: 30px;
    height: 30px;
  }

  .paginate_button {
    padding: 6px 8px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .dataTables_wrapper {
    margin: 5px;
    padding: 10px;
  }

  .matchesTable thead th:nth-child(n + 6),
  .matchesTable tbody td:nth-child(n + 6) {
    display: none;
  }

  .matchesTable thead th,
  .matchesTable tbody td {
    padding: 6px 4px;
    font-size: 0.75rem;
  }

  .championImg {
    width: 25px;
    height: 25px;
  }

  .paginate_button {
    padding: 4px 6px;
    font-size: 0.75rem;
    margin: 0 1px;
  }

  .dataTables_info {
    font-size: 0.8rem;
  }
}

/* Loading Animation */
@keyframes tableLoad {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dataTables_wrapper {
  animation: tableLoad 0.6s ease-out;
}

.matchesTable tbody tr {
  animation: tableLoad 0.4s ease-out;
}

.matchesTable tbody tr:nth-child(1) {
  animation-delay: 0.1s;
}
.matchesTable tbody tr:nth-child(2) {
  animation-delay: 0.15s;
}
.matchesTable tbody tr:nth-child(3) {
  animation-delay: 0.2s;
}
.matchesTable tbody tr:nth-child(4) {
  animation-delay: 0.25s;
}
.matchesTable tbody tr:nth-child(5) {
  animation-delay: 0.3s;
}
.matchesTable tbody tr:nth-child(6) {
  animation-delay: 0.35s;
}
.matchesTable tbody tr:nth-child(7) {
  animation-delay: 0.4s;
}
.matchesTable tbody tr:nth-child(8) {
  animation-delay: 0.45s;
}
.matchesTable tbody tr:nth-child(9) {
  animation-delay: 0.5s;
}
.matchesTable tbody tr:nth-child(10) {
  animation-delay: 0.55s;
}

/* Enhanced Visual Effects */
.matchesTable tbody tr:hover .championImg {
  transform: scale(1.2) rotate(5deg);
}

/* Win Rate Highlighting */
.matchesTable tbody td:nth-child(9) {
  font-weight: 700;
  color: var(--secondary);
}

/* Negative Values (like negative gold diff) */
.matchesTable tbody td {
  color: var(--text-primary);
}

/* High Values Highlighting */
.matchesTable tbody td:nth-child(4),
.matchesTable tbody td:nth-child(5),
.matchesTable tbody td:nth-child(6) {
  font-weight: 600;
}

/* Scrollbar for responsive tables */
.dataTables_wrapper {
  overflow-x: auto;
}

.dataTables_wrapper::-webkit-scrollbar {
  height: 8px;
}

.dataTables_wrapper::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.dataTables_wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--secondary) 0%, rgba(212, 175, 55, 0.8) 100%);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.dataTables_wrapper::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, #e5c158 0%, var(--secondary) 100%);
}


.teamIconList{
  width: 24px;
}