* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background: #0f172a;
  color: #e5e7eb;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #020617;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e293b;
}

header h1 {
  font-size: 1.25rem;
  font-weight: 600;
}

nav a {
  margin-left: 24px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
}

nav a:hover {
  color: #ffffff;
}

section {
  padding: 32px 48px;
  min-height: 20vh;
  scroll-padding: 50px 0 0 50px;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, #020617, #0f172a);
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.hero p {
  max-width: 700px;
  font-size: 1.125rem;
  color: #cbd5f5;
}

.hero a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
}

.settings p {
  color: #cbd5f5;
}

.settings label {
  padding-top: 10px;
  color: #cbd5f5;
}

.settings {
  display: flex;
  flex-direction: column;
}

.elo {
  padding-left: 48;
}

.elo p {
  color: #cbd5f5;
}

.candlestick-wrapper {
  width: 100%;
  height: 80vh;
  padding-top: 20px;
}

.candlestick-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
}

.map {
  padding-left: 48px;
}

.map p {
  color: #cbd5f5;
}

.map-wrapper {
  width: 100%;
  height: 80vh;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  /*pointer-events: none; /* allow page scrolling */
}

.map-wrapper.active iframe {
  pointer-events: auto; /* enable interaction after click */
}

.bestworst {
  background: #020617;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 48px;
}

.info {
  background: #020617;
  display: grid;
  grid-template-rows: auto auto;
  grid-template-columns: auto auto auto;
  /* grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
  gap: 32px;
}

.bestworst p {
  color: #94a3b8;
  line-height: 1.6;
}

.card {
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.card p {
  color: #94a3b8;
  line-height: 1.6;
}

.card li {
  display: flex;
  flex-direction: row;
  vertical-align: center;
  padding: 5px 0;
  justify-content: center;
  /* color: #cbd5f5; */
  color: #94a3b8;
  font-size: auto;
}

.card h4 {
  display: flex;
  flex-direction: row;
  vertical-align: center;
  padding: 15px 0px 5px 0px;
  justify-content: center;
}

.card img {
  height: 15px;
  padding-left: 2px;
}

footer {
  padding: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: #94a3b8;
  background: #020617;
  border-top: 1px solid #1e293b;
}

select {
  width: 11%;
}

a.anchor {
  display: block;
  position: relative;
  top: -64px;
  visibility: hidden;
}

.stats {
  background: #020617;
}

.stats p {
  color: #94a3b8;
  line-height: 1.6;
}

table {
  width: 100%;
}

th {
  font-size: 17px;
}

td {
  font-size: 14px;
}

tr:nth-child(even) {
  background-color: #282c3b;
}
