@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@400;700&display=swap'); /* A simple Korean-friendly font for readability */

body {
  font-family: 'Gothic A1', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1a1a2e; /* Dark background */
  color: #e0e0e0; /* Light text for contrast */
  background-image: url('https://www.transparenttextures.com/patterns/dark-fish-skin.png'); /* Subtle texture */
  background-attachment: fixed;
}

header {
  background-color: #0f0f1a; /* Even darker header */
  color: #ffd700; /* Gold color for header text */
  padding: 1.5rem 0;
  text-align: center;
  border-bottom: 2px solid #5a5a7a; /* A subtle border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

h1 {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

p {
  font-size: 1.1rem;
}

main {
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Slightly larger cards */
  gap: 25px; /* Increased gap */
}

.rune-card {
  background-color: #2a2a4a; /* Darker card background */
  border: 1px solid #4a4a6a; /* Darker border */
  border-radius: 10px; /* More rounded corners */
  padding: 20px; /* Increased padding */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5); /* More prominent shadow */
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s; /* Smooth transitions for hover */
}

.rune-card:hover {
  transform: translateY(-5px); /* Lift card on hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

.rune-card h2 { /* This H2 is no longer used for rune names directly */
  color: #87ceeb; /* Sky blue for rune names */
  margin-top: 15px;
  font-size: 1.8rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.rune-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #c0c0c0;
}

.rune-card .set-effect {
  font-weight: bold;
  color: #90ee90; /* Light green for set effect */
  font-size: 1.1rem;
  margin-bottom: 10px;
}

/* New styles for the rune name shape */
.rune-name-shape {
  width: 90px; /* Adjust size to make it more prominent than previous icon */
  height: 90px;
  margin: 0 auto 15px auto; /* Center it and add bottom margin */
  background-size: contain; /* Ensure the SVG background covers the div */
  background-repeat: no-repeat;
  background-position: center;
  display: flex; /* Use flexbox for centering text */
  justify-content: center;
  align-items: center;
  color: #ffffff; /* Text color inside the shape */
  font-size: 1.3rem; /* Adjust font size */
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Text shadow for readability */
}

.rune-name-shape span {
  /* No specific styling needed for span as flexbox centers it */
}

/* --- New styles for info sections --- */
.info-section {
  background-color: #2a2a4a;
  border: 1px solid #4a4a6a;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px; /* Spacing between sections */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
  text-align: left; /* Align text left for readability */
  grid-column: 1 / -1; /* Make these sections span across all columns */
}

.info-section h2 {
  color: #ffd700; /* Gold color for section titles */
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.info-section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #c0c0c0;
  margin-bottom: 15px;
}

.slots-visual {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.slots-visual span {
  background-color: #0f0f1a;
  border: 2px solid #ffd700;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #ffd700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.subproperty-list h3 {
  color: #87ceeb; /* Sky blue for subheadings */
  font-size: 1.5rem;
  margin-top: 25px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #4a4a6a;
  padding-bottom: 5px;
}

.subproperty-list ul {
  list-style: none; /* Remove default bullet points */
  padding: 0;
  margin-left: 20px;
}

.subproperty-list li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.5;
  color: #e0e0e0;
}

.subproperty-list li strong {
  color: #90ee90; /* Light green for emphasized text */
}

.grade-list ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.grade-list li {
  background-color: #1a1a2e;
  border: 1px solid #4a4a6a;
  border-radius: 5px;
  padding: 10px 15px;
  font-size: 1.1rem;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.grade-list li strong {
    font-size: 1.2rem;
    margin-right: 5px;
}

/* New styles for the all rune sets list */
.rune-names-list {
  list-style: disc; /* Use bullet points */
  padding-left: 30px; /* Indent the list */
  columns: 2; /* Display in two columns for better readability */
  -webkit-columns: 2;
  -moz-columns: 2;
  gap: 20px; /* Space between columns */
}

.rune-names-list li {
  margin-bottom: 5px;
  font-size: 1.05rem;
  color: #e0e0e0;
}
