/* ===== Landing Page Styles ===== */
/* Color palette matches the existing map UI */

:root {
  --lp-bg: #0D0D0D;
  --lp-surface: #141414;
  --lp-surface-hover: #1a1a1a;
  --lp-border: #2a2a2a;
  --lp-gold: #E9AA46;
  --lp-gold-dark: #c48930;
  --lp-text: #f0f0f0;
  --lp-muted: #a0a0a0;
  --lp-font: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', Arial, sans-serif;
  --lp-heading: 'Lucida Bright', Georgia, serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--lp-bg);
  background-image: linear-gradient(rgba(13,13,13,0.88), rgba(13,13,13,0.88)), url('../images/map/background.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  color: var(--lp-text);
  font-family: var(--lp-font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lp-gold); text-decoration: none; transition: color .15s; }
a:hover { color: #f5c76d; }

img { max-width: 100%; height: auto; }

/* ===== Top Navigation ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lp-border);
  padding: 0 24px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--lp-heading);
  font-size: 18px;
  font-weight: bold;
  color: var(--lp-gold);
}

.nav-brand img { height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--lp-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}

.nav-links a:hover { color: var(--lp-text); }

.nav-cta {
  display: inline-block;
  background: var(--lp-gold);
  color: #111 !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  transition: background .15s;
}

.nav-cta:hover { background: #f5c76d; color: #111 !important; }

/* ===== Hero Section ===== */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  background: linear-gradient(180deg, #111 0%, var(--lp-bg) 100%);
}

.hero-logo {
  width: min(540px, 75vw);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--lp-heading);
  font-size: clamp(28px, 5vw, 48px);
  color: var(--lp-gold);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--lp-muted);
  max-width: 700px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: inline-block;
  background: var(--lp-gold);
  color: #111;
  padding: 16px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: background .15s, transform .15s;
}

.hero-cta:hover {
  background: #f5c76d;
  color: #111;
  transform: translateY(-2px);
}

/* ===== Section Containers ===== */
.section {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-alt {
  background: var(--lp-surface);
  padding: 60px 24px;
}

.section-alt .section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  font-family: var(--lp-heading);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--lp-gold);
  margin-bottom: 12px;
  text-align: center;
}

.section-alt h2 {
  font-family: var(--lp-heading);
  font-size: clamp(22px, 3vw, 32px);
  color: var(--lp-gold);
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--lp-muted);
  max-width: 700px;
  margin: 0 auto 36px;
  font-size: 15px;
}

/* ===== Feature Cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  gap: 24px;
  margin-top: 8px;
  justify-content: center;
}

.feature-card {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  transition: border-color .2s, transform .2s;
}

.feature-card:hover {
  border-color: var(--lp-gold);
  transform: translateY(-4px);
}

.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 18px;
  color: var(--lp-text);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* ===== Monster Tiers ===== */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 160px));
  gap: 16px;
  margin-top: 8px;
  justify-content: center;
}

.tier-card {
  background: var(--lp-bg);
  border: 1px solid var(--lp-border);
  border-radius: 8px;
  padding: 20px 12px;
  text-align: center;
  transition: border-color .2s;
}

.tier-card:hover { border-color: var(--lp-gold); }

.tier-card img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.tier-card .tier-name {
  font-size: 14px;
  font-weight: bold;
  color: var(--lp-text);
  margin-bottom: 4px;
}

.tier-card .tier-desc {
  font-size: 12px;
  color: var(--lp-muted);
  line-height: 1.5;
}

/* ===== Dungeon List ===== */
.dungeon-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 240px));
  gap: 12px;
  margin-top: 8px;
  justify-content: center;
}

.dungeon-item {
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 6px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dungeon-item img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.dungeon-item span {
  font-size: 14px;
  color: var(--lp-text);
}

/* ===== How-to Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 280px));
  gap: 24px;
  counter-reset: step;
  justify-content: center;
}

.step-card {
  position: relative;
  background: var(--lp-surface);
  border: 1px solid var(--lp-border);
  border-radius: 10px;
  padding: 32px 24px 24px;
}

.step-card::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  top: -14px;
  left: 20px;
  width: 28px;
  height: 28px;
  background: var(--lp-gold);
  color: #111;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-card h3 {
  font-size: 16px;
  color: var(--lp-text);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--lp-muted);
  line-height: 1.6;
}

/* ===== Updates Section ===== */
.updates-list {
  max-width: 600px;
  margin: 0 auto;
}

.update-entry {
  padding: 14px 0;
  border-bottom: 1px solid var(--lp-border);
}

.update-entry:last-child { border-bottom: none; }

.update-date {
  font-size: 12px;
  color: var(--lp-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.update-text {
  font-size: 14px;
  color: var(--lp-muted);
}

/* ===== Community CTA ===== */
.community-cta {
  text-align: center;
  padding: 60px 24px;
}

.community-cta h2 {
  font-family: var(--lp-heading);
  font-size: 28px;
  color: var(--lp-gold);
  margin-bottom: 12px;
}

.community-cta p {
  color: var(--lp-muted);
  margin-bottom: 24px;
  font-size: 16px;
}

.community-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #5865F2;
  color: #fff !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  transition: background .15s;
}

.btn-discord:hover { background: #4752c4; color: #fff !important; }

.btn-discord img { height: 20px; }

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lp-gold);
  color: #111 !important;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  transition: background .15s;
}

.btn-map:hover { background: #f5c76d; color: #111 !important; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--lp-border);
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: #666;
}

.footer-links {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--lp-muted);
  margin: 0 10px;
  font-size: 13px;
}

.footer-links a:hover { color: var(--lp-text); }

/* ===== Content Page Panel ===== */
.content-panel {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px 48px;
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid var(--lp-border);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.content-panel h1 {
  font-family: var(--lp-heading);
  font-size: 28px;
  color: var(--lp-gold);
  margin-bottom: 16px;
}

.content-panel h2 {
  font-family: var(--lp-heading);
  font-size: 22px;
  color: var(--lp-gold);
  margin-top: 32px;
  margin-bottom: 12px;
}

.content-panel h3 {
  font-family: var(--lp-heading);
  font-size: 18px;
  color: var(--lp-gold);
  margin-top: 24px;
  margin-bottom: 8px;
}

.content-panel p {
  margin-bottom: 14px;
  color: #ccc;
  font-size: 15px;
}

.content-panel ul {
  margin: 0 0 14px 24px;
  color: #ccc;
}

.content-panel li {
  margin-bottom: 6px;
  font-size: 15px;
}

.content-panel .updated {
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .content-panel {
    margin: 20px 12px;
    padding: 28px 20px;
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero { padding: 50px 16px 40px; }
  .section, .section-alt { padding: 40px 16px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 13px; }
  .tiers-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
}

@media (max-width: 480px) {
  .nav-brand span { display: none; }
  .nav-links { gap: 10px; }
  .hero-cta { padding: 14px 28px; font-size: 16px; }
  .features-grid { grid-template-columns: 1fr; }
}
