/* ============================================================
   style.css – WestAce Lore Portal
   Colors: #0a080c (dark), accent #ff6b6b (coral red)
   ============================================================ */

/* ----- Reset & Base ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0a080c;
  color: #e0dcd9;
  line-height: 1.6;
}

a {
  color: #ff6b6b;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #ff9a9a;
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- Header / Nav ----- */
.header {
  background: #0a080c;
  border-bottom: 2px solid #ff6b6b;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(4px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo a span {
  color: #ff6b6b;
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav ul li a {
  color: #e0dcd9;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}
.nav ul li a:hover {
  border-bottom-color: #ff6b6b;
  color: #fff;
}

/* ----- Hero / Map Section ----- */
.hero {
  position: relative;
  padding: 60px 0 40px;
  background: linear-gradient(145deg, #0f0c14 0%, #1a141e 100%);
  border-bottom: 1px solid #ff6b6b33;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 800px;
  margin-bottom: 30px;
  color: #b8b0b0;
}
.hero-sub strong {
  color: #ff6b6b;
}

.map-image {
  margin: 30px 0 40px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #ff6b6b55;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.15);
}

.map-placeholder {
  background: linear-gradient(135deg, #1a0f1f, #2a1a2e);
  padding: 60px 20px;
  text-align: center;
  font-size: 1.4rem;
  color: #ff6b6b;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 16px;
}
.map-placeholder span {
  font-size: 3rem;
  display: block;
  margin-bottom: 10px;
}
.map-placeholder p {
  font-size: 1rem;
  color: #aaa;
}

.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.region-card {
  background: #14101a;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #ff6b6b;
  transition: transform 0.2s;
}
.region-card:hover {
  transform: translateY(-4px);
}
.region-card h3 {
  color: #ff6b6b;
  margin-bottom: 8px;
  font-size: 1.2rem;
}
.region-card p {
  font-size: 0.95rem;
  color: #c5bdbd;
}

/* ----- Section Headers ----- */
section {
  padding: 60px 0;
  border-bottom: 1px solid #1f1a22;
}

h2 {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 15px;
}
h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #ff6b6b;
  margin-top: 6px;
  border-radius: 4px;
}
.section-intro {
  font-size: 1.1rem;
  color: #b8b0b0;
  max-width: 750px;
  margin-bottom: 35px;
}

/* ----- Characters ----- */
.char-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.char-card {
  background: #14101a;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #2a242e;
  transition: 0.3s;
}
.char-card:hover {
  border-color: #ff6b6b88;
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.1);
}

.char-image {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
}
.char-placeholder {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: #1f1824;
  border-radius: 12px;
  color: #ff6b6b;
}
.char-card h3 {
  font-size: 1.5rem;
  color: #fff;
}
.char-title {
  font-weight: 600;
  color: #ff6b6b;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.char-bio {
  font-size: 0.95rem;
  color: #c5bdbd;
  margin-bottom: 12px;
}
.char-abilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.char-abilities span {
  background: #1f1824;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #ff6b6b;
  border: 1px solid #ff6b6b33;
}
.char-relation {
  font-size: 0.9rem;
  color: #b0a8a8;
  font-style: italic;
}

.char-art {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #ff6b6b44;
}
.char-art-placeholder {
  background: linear-gradient(135deg, #0f0c14, #1f1824);
  padding: 50px 20px;
  text-align: center;
  color: #ff6b6b;
}
.char-art-placeholder span {
  font-size: 2.5rem;
  display: block;
}
.char-art-placeholder p {
  color: #aaa;
  font-size: 1rem;
}

/* ----- Timeline ----- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.timeline-event {
  background: #14101a;
  padding: 20px;
  border-radius: 12px;
  border-bottom: 3px solid #ff6b6b;
}
.event-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ff6b6b;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.timeline-event h4 {
  color: #fff;
  margin: 6px 0 8px;
  font-size: 1.2rem;
}
.timeline-event p {
  font-size: 0.95rem;
  color: #c5bdbd;
}

/* ----- Mysteries ----- */
.mystery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.mystery-card {
  background: #14101a;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #ff6b6b;
}
.mystery-card h3 {
  color: #ff6b6b;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.mystery-card p {
  font-size: 0.95rem;
  color: #c5bdbd;
  margin-bottom: 12px;
}
.mystery-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  border-top: 1px solid #2a242e;
  padding-top: 12px;
}
.theory-tag {
  background: #1f1824;
  padding: 4px 12px;
  border-radius: 20px;
  color: #ff9a9a;
}
.evidence {
  background: #0f0c14;
  padding: 4px 12px;
  border-radius: 20px;
  color: #b0a8a8;
}

.secret-location {
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #ff6b6b55;
}
.secret-placeholder {
  background: linear-gradient(135deg, #1a0a0a, #2d1414);
  padding: 50px 20px;
  text-align: center;
  color: #ff6b6b;
}
.secret-placeholder span {
  font-size: 2.5rem;
  display: block;
}
.secret-placeholder p {
  color: #aaa;
  font-size: 1rem;
}

/* ----- Theories ----- */
.theory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.theory-card {
  background: #14101a;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #2a242e;
  transition: 0.3s;
}
.theory-card:hover {
  border-color: #ff6b6b66;
}
.theory-card h4 {
  color: #ff6b6b;
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.theory-card p {
  font-size: 0.95rem;
  color: #c5bdbd;
}

.discussion-prompt {
  margin-top: 40px;
  background: #14101a;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #ff6b6b55;
  text-align: center;
}
.discussion-prompt h3 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.discussion-prompt p {
  max-width: 700px;
  margin: 0 auto 20px;
  color: #c5bdbd;
}
.btn-discuss {
  display: inline-block;
  background: #ff6b6b;
  color: #0a080c;
  padding: 12px 30px;
  border-radius: 40px;
  font-weight: 700;
  transition: 0.3s;
  text-decoration: none;
}
.btn-discuss:hover {
  background: #ff9a9a;
  transform: scale(1.02);
  text-decoration: none;
}

/* ----- Footer ----- */
.footer {
  background: #060408;
  padding: 30px 0;
  border-top: 1px solid #1f1a22;
  margin-top: 20px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.footer p {
  color: #888;
  font-size: 0.9rem;
}
.footer-nav {
  display: flex;
  gap: 20px;
}
.footer-nav a {
  color: #bbb;
  font-size: 0.9rem;
}
.footer-nav a:hover {
  color: #ff6b6b;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    display: none;
    width: 100%;
    background: #0a080c;
    padding: 20px 0;
    border-top: 1px solid #ff6b6b44;
    margin-top: 15px;
  }
  .nav.open {
    display: block;
  }
  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .nav ul li a {
    font-size: 1.1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .char-grid {
    grid-template-columns: 1fr;
  }
  .regions-grid {
    grid-template-columns: 1fr 1fr;
  }
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  .mystery-grid {
    grid-template-columns: 1fr;
  }
  .theory-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .regions-grid {
    grid-template-columns: 1fr;
  }
  .char-card {
    padding: 15px;
  }
  .discussion-prompt {
    padding: 20px;
  }
}
