/* ZuviStats Styles - Clean Grey Modern Theme */

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
  color: #e0e0e0;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  min-height: 100vh;
}

#app {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

#logo {
  width: 80px;
  height: 80px;
  margin-right: 20px;
}

header h1 {
  color: #ffffff;
  font-size: 3.5em;
  margin: 0;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  background: linear-gradient(45deg, #ffffff, #cccccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-grow: 1;
  text-align: center;
}

header p {
  font-size: 1.4em;
  color: #cccccc;
  font-weight: 300;
  margin-left: 20px;
}

#input-section {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

#steam-url-input {
  flex: 1;
  max-width: 500px;
  padding: 18px;
  font-size: 18px;
  border: 2px solid #666666;
  border-radius: 10px 0 0 10px;
  background-color: #3a3a3a;
  color: #e0e0e0;
  outline: none;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#steam-url-input:focus {
  border-color: #999999;
  box-shadow: 0 0 20px rgba(153, 153, 153, 0.5);
}

#lookup-btn {
  padding: 18px 25px;
  font-size: 18px;
  background: linear-gradient(45deg, #666666, #999999);
  color: white;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#lookup-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

#player-info {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
}

#player-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

#player-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-right: 25px;
  border: 4px solid #666666;
  box-shadow: 0 0 20px rgba(102, 102, 102, 0.5);
}

#player-details h2 {
  margin: 0;
  color: #ffffff;
  font-size: 2.2em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

#player-summary {
  margin: 8px 0 0 0;
  color: #b0b0b0;
  font-size: 1.2em;
}

#rank-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.rank-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
  border: 1px solid rgba(102, 102, 102, 0.2);
}

.rank-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: #666666;
}

.rank-card h3 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.6em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.rank-card p {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.5;
}

.rank-card a {
  color: #cccccc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  padding: 8px 16px;
  border-radius: 5px;
  background: rgba(102, 102, 102, 0.1);
}

.rank-card a:hover {
  color: #ffffff;
  background: rgba(102, 102, 102, 0.2);
}

#error-section {
  text-align: center;
  background: rgba(255, 0, 0, 0.2);
  border: 2px solid #ff4444;
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
  box-shadow: 0 4px 20px rgba(255, 68, 68, 0.3);
}

#error-message {
  color: #ff6666;
  font-size: 1.3em;
  font-weight: bold;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  header h1 {
    font-size: 2.8em;
    margin-top: 10px;
  }
  #rank-cards {
    grid-template-columns: 1fr;
  }
  #input-section {
    flex-direction: column;
  }
  #steam-url-input {
    border-radius: 10px;
    margin-bottom: 15px;
  }
  #lookup-btn {
    border-radius: 10px;
  }
}
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.rank-card a:hover {
  background-color: #555;
}

#error-section {
  text-align: center;
  color: #ff6b6b;
  font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #rank-cards {
    flex-direction: column;
    align-items: center;
  }

  #player-header {
    flex-direction: column;
    text-align: center;
  }

  #player-avatar {
    margin-bottom: 15px;
  }
}

/* Stats Layout */
.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-row:last-child {
  border-bottom: none;
}

.label {
  font-weight: bold;
  color: #b0b0b0;
}

.value {
  font-weight: bold;
  color: #e0e0e0;
}

.value.positive {
  color: #28a745;
}

.value.negative {
  color: #dc3545;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9em;
}

.stats-table td {
  padding: 2px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-table td:first-child {
  font-weight: bold;
  color: #b0b0b0;
  width: 60%;
  font-size: 0.8em;
}

.stats-table td:last-child {
  text-align: right;
  font-weight: bold;
  color: #e0e0e0;
  font-size: 0.8em;
}

.stats-table tr:last-child td {
  border-bottom: none;
}

#error-section {
  text-align: center;
  background: rgba(255, 0, 0, 0.2);
  border: 2px solid #ff4444;
  border-radius: 15px;
  padding: 25px;
  margin-top: 30px;
  box-shadow: 0 4px 20px rgba(255, 68, 68, 0.3);
}

#error-message {
  color: #ff6666;
  font-size: 1.3em;
  font-weight: bold;
}

.hidden {
  display: none;
}

#risk-section {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(15px);
  text-align: center;
}

#risk-section h3 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.8em;
}
