* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Georgia', serif;
  background: linear-gradient(to bottom, #1a1a1a 0%, #000000 100%);
  color: #e0e0e0;
  line-height: 1.7;
}

/* Header */
.header {
  background: linear-gradient(135deg, #000000 0%, #2c2c2c 100%);
  color: white;
  text-align: center;
  padding: 60px 20px 40px;
  border-bottom: 2px solid #3a3a3a;
  box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

.header h1 {
  font-size: 2.4em;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.header .subtitle {
  font-style: italic;
  opacity: 0.9;
}

/* Layout */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
}

.content-card {
  background: #2c2c2c;
  border-radius: 12px;
  padding: 40px;
  margin-top: 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  border: 1px solid #3a3a3a;
}

/* Memorial text */
.content-text {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #d0d0d0;
}

.content-text p {
  margin-bottom: 20px;
}

/* Forms */
.forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

form {
  background: #1e1e1e;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #3a3a3a;
}

form h2 {
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

label {
  display: block;
  margin-top: 15px;
}

input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  background: #111;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 6px;
}

button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background: #000;
  color: white;
  border: 1px solid #444;
  border-radius: 6px;
  cursor: pointer;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: #888888;
  font-style: italic;
  margin-top: 60px;
  border-top: 1px solid #3a3a3a;
}

@media (max-width: 768px) {
  .forms { grid-template-columns: 1fr; }
  .header h1 { font-size: 1.8em; }
}

/* Leaderboard specific */
.leaderboard-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leaderboard-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #3a3a3a;
  font-size: 1.1em;
  color: #e0e0e0;
  background: rgba(40,40,40,0.5);
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
  transition: transform 0.2s, background 0.2s;
}

.leaderboard-list li:hover {
  transform: scale(1.02);
  background: rgba(50,50,50,0.7);
}

.leaderboard-list .rank {
  font-weight: 600;
  color: #ffdd55;
  width: 50px;
}

.leaderboard-list .name {
  flex-grow: 1;
  text-align: left;
  padding-left: 10px;
}

.leaderboard-list .time {
  font-style: italic;
  opacity: 0.9;
  width: 80px;
  text-align: right;
}

.leaderboard-list .route {
  font-size: 0.9em;
  opacity: 0.8;
  margin-right: 10px;
  white-space: nowrap;
}

