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

html {
  scroll-behavior: smooth;
}

body {
  background: #100d20;
  color: #f8f2e8;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  line-height: 1.8;
}

.header {
  height: 75px;
  padding: 0 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(215, 183, 119, 0.2);
  background: #100d20;
}

.logo {
  color: #d9bd83;
  font-size: 22px;
  letter-spacing: 3px;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: #ddd3c4;
  text-decoration: none;
  font-size: 13px;
}

nav a:hover {
  color: #e5c58a;
}

.hero {
  min-height: 650px;
  padding: 100px 20px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(100, 75, 145, 0.25), transparent 55%),
    linear-gradient(180deg, #171128, #100d20);
}

.moon {
  color: #e4c78e;
  font-size: 65px;
  margin-bottom: 15px;
  text-shadow: 0 0 35px rgba(228, 199, 142, 0.6);
}

.eyebrow {
  color: #d4b477;
  font-size: 11px;
  letter-spacing: 5px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.7;
  letter-spacing: 5px;
  font-weight: normal;
  margin-bottom: 20px;
}

.description {
  color: #c4b9ce;
  font-size: 14px;
  margin-bottom: 35px;
}

.start-button {
  display: inline-block;
  padding: 13px 40px;
  border: 1px solid #d9bd83;
  border-radius: 40px;
  color: #f3dfb6;
  text-decoration: none;
  letter-spacing: 2px;
  transition: 0.3s;
}

.start-button:hover {
  background: #d9bd83;
  color: #171128;
  box-shadow: 0 0 25px rgba(217, 189, 131, 0.25);
}

.free-note {
  margin-top: 15px;
  color: #93889f;
  font-size: 11px;
}

.fortune-section {
  padding: 100px 20px;
  text-align: center;
  background: #151126;
}

.fortune-section h2,
.about-section h2 {
  font-size: 27px;
  font-weight: normal;
  letter-spacing: 3px;
  margin-bottom: 45px;
}

.fortune-cards {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fortune-card {
  min-height: 190px;
  padding: 25px 10px;
  border: 1px solid rgba(217, 189, 131, 0.3);
  border-radius: 12px;
  background: linear-gradient(145deg, #211a35, #171226);
  color: #f8f2e8;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
}

.fortune-card:hover {
  transform: translateY(-6px);
  border-color: #d9bd83;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.fortune-card span {
  display: block;
  color: #d9bd83;
  font-size: 38px;
  margin-bottom: 10px;
}

.fortune-card strong {
  display: block;
  font-size: 17px;
}

.fortune-card small {
  display: block;
  color: #a89ab9;
  letter-spacing: 3px;
  margin-top: 5px;
}

#selection-message {
  margin-top: 30px;
  color: #c9b991;
  font-size: 14px;
}

.about-section {
  padding: 100px 20px;
  text-align: center;
  max-width: 850px;
  margin: auto;
}

.about-section p:last-child {
  color: #bdb2c8;
  font-size: 14px;
}

footer {
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid rgba(215, 183, 119, 0.2);
  color: #8f849b;
  font-size: 12px;
}

@media (max-width: 650px) {
  .header {
    height: auto;
    min-height: 70px;
    padding: 15px 5%;
    flex-wrap: wrap;
    gap: 10px;
  }

  nav {
    gap: 15px;
  }

  nav a {
    font-size: 11px;
  }

  .hero {
    min-height: 570px;
  }

  .fortune-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .fortune-card {
    min-height: 155px;
  }

  .fortune-section h2,
  .about-section h2 {
    font-size: 22px;
  }
}



.result-card {
  max-width: 520px;
  margin: 25px auto 0;
  padding: 35px 25px;
  border: 1px solid #d9bd83;
  border-radius: 16px;
  background: linear-gradient(145deg, #251b3b, #120e21);
}

.tarot-symbol {
  margin: 20px auto 5px;
  font-size: 55px;
  color: #e2c58c;
}

.result-card h3 {
  font-size: 28px;
  color: #e2c58c;
  font-weight: normal;
}

.result-position {
  color: #d9bd83;
  margin: 10px;
}

.result-meaning {
  color: #eee3f1;
  margin: 20px 0;
  font-size: 14px;
}

#retry-button {
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}
