html {
  background-color: #0f172a;
  position: relative;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/theislebg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

small {
  color: #94a3b8;
}

footer {
  color: #919191;
  background: #1e293b;
  text-align: center;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

nav {
  background-color: #1e293b;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2); 
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

article {
  max-width: 960px;
  margin: 60px auto 0;
  padding-bottom: 80px;
}

h1 {
  color: #60a5fa;
  padding: 1rem;
}

.kofi-widget {
  display: block;
  margin: 2rem auto 0;
  text-align: center;
}

.epicwolf {
  display: block;
  margin: 2rem auto 0;
  text-align: center;
}

.discord-widget {
  display: block;
  margin: 2rem auto;
}

.grab-kill {
  color: rgba(255, 100, 100, 0.7);
  font-size: 0.9rem;
}

.grab-success {
  color: rgba(255, 165, 0, 0.7);
  font-size: 0.9rem;
}

.grab-fail {
  color: rgba(100, 255, 100, 0.7);
  font-size: 0.9rem;
}

.important {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  padding-top: 3rem;
  background-color: #1e293b;
  border-radius: 12px; 
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}

.important h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.important p {
  color: #f1f5f9;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.important strong {
  color: #60a5fa;
  font-weight: bold;
}

.important a {
  color: #60a5fa;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.important a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    rgba(45, 212, 191, 0.3) 0%,    rgba(45, 212, 191, 0.3) 25%,
    rgba(56, 189, 248, 0.3) 25%,   rgba(56, 189, 248, 0.3) 50%,
    rgba(59, 130, 246, 0.3) 50%,   rgba(59, 130, 246, 0.3) 75%,
    rgba(99, 102, 241, 0.3) 75%,   rgba(99, 102, 241, 0.3) 87%,
    rgba(168, 85, 247, 0.3) 87%,   rgba(168, 85, 247, 0.3) 100%
  );
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
}

.slider::-moz-range-track {
  width: 100%;
  height: 15px;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    rgba(45, 212, 191, 0.3) 0%,    rgba(45, 212, 191, 0.3) 25%,
    rgba(56, 189, 248, 0.3) 25%,   rgba(56, 189, 248, 0.3) 50%,
    rgba(59, 130, 246, 0.3) 50%,   rgba(59, 130, 246, 0.3) 75%,
    rgba(99, 102, 241, 0.3) 75%,   rgba(99, 102, 241, 0.3) 87.5%,
    rgba(168, 85, 247, 0.3) 87.5%, rgba(168, 85, 247, 0.3) 100%
  );
}

.statsContainer {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  padding: 1rem;
}

.statsColumn {
  flex: 1;
  padding: 1rem;
  background-color: #1e293b;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.statsColumn h3 {
  color: #60a5fa;
  margin-bottom: 1rem;
  text-align: center;
}

h3 {
  color: #60a5fa;
  margin-bottom: 1rem;
  text-align: center;
}

h4 {
  color: #60a5fa;
  margin-bottom: 0.9rem;
  text-align: center;
}

.statsColumn p {
  color: #f1f5f9;
  margin: 0.5rem 0;
}

.arrow {
  margin-left: 0.5rem;
  font-weight: bold;
  opacity: 0;
  transition: opacity 1s ease-out;
}

.arrow.up {
  color: #10b981;
  opacity: 1;
}

.arrow.down {
  color: #ef4444;
  opacity: 1;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background-color: #1e293b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

caption {
  color: #60a5fa;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  caption-side: top;
  font-weight: bold;
}

thead {
  background-color: #0f172a;
}

th, td {
  padding: 0.85rem;
  text-align: center;
  color: #f1f5f9;
  border: 1px solid #334155;
}

th[scope="row"] {
  background-color: #0f172a;
  text-align: left;
  font-weight: bold;
}

th[scope="col"] {
  font-weight: bold;
}

tbody {
  border-bottom: 3px solid #334155;
}

tbody:last-child {
  border-bottom: none;
}

nav ul li {
  padding: 0 25px;
  margin: 0 5px;
  font-size: 1em;
  line-height: 4.3em;
}

nav ul li.kofi-button {
  line-height: normal;
  padding: 10px 25px;
}

nav ul a {
  color: #f1f5f9;
  padding: 8px 0;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav ul a:hover,
.active a {
  color: #60a5fa;
  border-bottom: 2px solid #3b82f6;
}

nav ul li.dropdown > a:hover {
  border-bottom: 2px solid #3b82f6;
}

#logo {
  height: 50px;
  margin: auto 0 auto 20px;
  flex-direction: column;
  justify-content: center;
  background: url("images/badwoof.png") no-repeat;
  background-size: 50px 50px;
}

#logo > * {
  margin: 0 0 0 50px;
}

#logo h1 {
  font-weight: normal;
  font-size: 1.5em;
  line-height: 1.2em;
  color: white;
}

#logo h1 span {
  font-weight: bold;
  text-transform: uppercase;
  color: #60a5fa; 
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1e293b;
  min-width: 160px;
  max-width: 200px;
  max-height: auto;
  overflow-y: auto;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  z-index: 1;
  list-style-type: none;
  padding: 0;
  margin: 0;
  border-radius: 0 0 8px 8px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 0;
  margin: 0;
  line-height: normal;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 16px;
  color: #f1f5f9;
  text-decoration: none;
  text-transform: none;
  transition: background-color 0.2s ease;
}

.dropdown-menu li a:hover {
  background-color: #3b82f6;
  color: white;
  border-bottom: none;
}

.dropdown-menu::-webkit-scrollbar {
  width: 8px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: #1e293b;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}