/* style1.css – uppdaterad för bättre balans och lugn design */

body {
  background-color: #0f172a;
  color: #e2e8f0;
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  text-align: center;
  padding: 30px 10px;
}

nav {
  text-align: center;
  margin-bottom: 20px;
}

nav a {
  color: #60a5fa;
  margin: 0 8px;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.intro {
  max-width: 850px;
  margin: auto;
  padding: 0 20px;
  text-align: center;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 12px;
  box-shadow: inset 0 0 30px rgba(16, 185, 129, 0.2);
  margin: 40px auto;
  max-width: 1024px;
  padding: 40px;
}

#highscorePanel {
  width: 220px;
  background: #1e293b;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.2);
  color: #e2e8f0;
  text-align: center;
}

#highscorePanel h4 {
  margin-bottom: 12px;
  color: #93c5fd;
}

#highscoreList {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

#highscoreList li {
  padding: 6px 0;
  border-bottom: 1px solid #334155;
  font-size: 15px;
}

#fimbulWrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 480px;
  background: #1e293b;
  border-radius: 16px;
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.25);
  padding: 25px 30px;
}

#fimbulWrapper h3 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #e2e8f0;
}

.controls {
  margin-bottom: 20px;
}

button, select {
  margin: 4px;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  background: #334155;
  color: #f8fafc;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.3s ease;
}

button:hover, select:hover {
  background: #475569;
}

canvas {
  background: #0f172a;
  border: 2px solid #334155;
  border-radius: 12px;
  display: block;
  margin: auto;
}

#status {
  margin-top: 15px;
  font-size: 16px;
  color: #facc15;
}

.content {
  max-width: 900px;
  margin: auto;
  text-align: center;
  padding: 40px 20px;
}

.contact {
  background: #1e293b;
  padding: 25px;
  color: #f8fafc;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.6);
}

footer {
  background: #0f172a;
  color: #94a3b8;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 14px;
}

a {
  color: #38bdf8;
  transition: color 0.3s ease;
}

a:hover {
  color: #7dd3fc;
}

