@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');

body {
  /*background: radial-gradient(circle, #b8ffff 0%, #0e2536 30%, #0e2536 100%);*/
  /*min-height: 100vh;*/
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', Arial, sans-serif;
  box-sizing: border-box;
  width: 100vw;
}


.logo{
  position:absolute;
  left:50px;
  top:30px;
  width:60px
}

*, *:before, *:after {
  box-sizing: inherit;
}

.ranking-container {
  background: #102534;
  /*border-radius: 48px;*/
  /*box-shadow: 0 0 60px 10px #00f0ff88;*/
  padding: 48px 32px 48px 32px;
  /*max-width: 900px;*/
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  position:relative;
}

.ranking-title {
  color: #fff;
  font-size: 2.5rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 0 16px #00f0ff, 0 0 32px #00f0ff;
  margin-bottom: 32px;
  margin-top: 0;
}

.ranking-table {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 64px;
}

.ranking-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}

.ranking-row {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-style: italic;
  color: #19e6ff;
  font-weight: 700;
  padding: 4px 0;
  border-bottom: 1px solid #19e6ff44;
  transition: background 0.4s, color 0.4s, box-shadow 0.4s;
  width: 100%;
}

.ranking-row:last-child {
  border-bottom: none;
}

.ranking-position {
  min-width: 60px;
  width: 60px;
  color: #19e6ff;
  text-shadow: 0 0 8px #00f0ff;
  text-align: right;
  flex-shrink: 0;
}

.ranking-name {
    color: #fff;
    text-shadow: 0 0 8px #00f0ff44;
    margin-left: 16px;
    min-width: 100px;
    max-width: 300px;
    flex: 1 1 auto;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.4s;
    width: fit-content;
}

.ranking-row.glow {
  background: #19e6ff22;
  box-shadow: 0 0 16px 2px #00f0ff88;
  color: #fff;
}

.ranking-column-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #ffffff;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 8px #ffffff;
}

.ranking-header-empty {
  flex: 1;
}

.ranking-header-text {
  min-width: 90px;
  text-align: center;
  margin: 0;
  font-size: 1.1rem;
  color: #ffffff;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 8px #ffffff;
}

.ranking-score {
  width: fit-content;
  min-width: 60px;
  text-align: right;
  flex-shrink: 0;
  margin-left: auto;
  color:white
}

.ranking-score img {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  filter: drop-shadow(0 0 4px #00f0ff88);
}

.ranking-score-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 90px;
}

.ranking-score-label {
  font-size: 0.8rem;
  color: #fff;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 8px #00f0ff44;
  margin-bottom: 0px;
  margin-right: 2px;
  margin-top: 0px;
  text-align: right;
}

.ranking-mobile-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .ranking-table {
    flex-direction: column;
    gap: 0;
  }
  .ranking-container {
    padding: 24px 16px;
    min-height: 100vh;
    width: 100vw;
    border-radius: 0;
  }
  .ranking-title {
    font-size: 1.4rem;
  }
  .ranking-row {
    font-size: 0.95rem;
    width: 100%;
  }
  .ranking-header-text {
    margin-left: 0;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #ffffff;
  }
  .ranking-name {
    min-width: 60px;
    max-width: 100px;
    flex: 1 1 auto;
  }
  .ranking-score {
    width: 60px;
    min-width: 40px;
    margin-left: auto;
  }
  .ranking-score img {
    width: 16px;
    height: 16px;
  }
  .ranking-score-group {
    align-items: center;
    min-width: unset;
  }
  .ranking-score-label {
    text-align: center;
    margin-bottom: 0px;
    margin-right: 0;
    margin-top: 0px;
    width: 100%;
  }
  .ranking-column-header {
    display: none;
  }
} 