:root {
  --bg-main: #080604;
  --bg-sidebar: rgba(12, 8, 4, 0.88);
  --bg-card: rgba(26, 18, 10, 0.82);
  --line-soft: rgba(201, 168, 76, 0.28);
  --line-accent: rgba(180, 40, 20, 0.45);
  --text-main: #f1ede6;
  --text-muted: #c8b89a;
  --gold: #c9a84c;
  --gold-bright: #e8c97a;
  --shadow-deep: 0 18px 42px rgba(0, 0, 0, 0.6);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(1200px 450px at 12% 14%, rgba(139, 60, 10, 0.22), transparent 72%),
    radial-gradient(1000px 420px at 88% 0%, rgba(120, 20, 20, 0.18), transparent 70%),
    radial-gradient(1200px 500px at 50% 100%, rgba(100, 50, 10, 0.18), transparent 72%),
    linear-gradient(180deg, #080604 0%, #0e0a06 45%, #120e08 100%);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(4, 6, 10, 0.78) 0%, rgba(7, 9, 14, 0.8) 50%, rgba(8, 10, 16, 0.92) 100%),
    var(--about-hero-bg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(1.06) contrast(1.08);
}

.about-quickbar {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 1040;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  background: linear-gradient(90deg, rgba(8, 10, 16, 0.92), rgba(15, 15, 24, 0.92));
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.about-quickbar-inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.about-action-btn {
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mystic-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(2px 2px at 12% 20%, rgba(255, 220, 120, 0.22), transparent),
    radial-gradient(1.5px 1.5px at 25% 60%, rgba(201, 168, 76, 0.28), transparent),
    radial-gradient(2px 2px at 78% 25%, rgba(220, 80, 50, 0.18), transparent),
    radial-gradient(1.5px 1.5px at 70% 72%, rgba(180, 120, 40, 0.22), transparent),
    radial-gradient(2px 2px at 55% 42%, rgba(255, 240, 180, 0.18), transparent);
  opacity: 0.9;
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 2rem));
  margin: calc(var(--nav-h) + 68px) auto 2.5rem;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 1.4rem;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line-soft);
  background: rgba(15, 18, 26, 0.88);
  color: var(--gold-bright);
  font-weight: 600;
  border-radius: 0.8rem;
  padding: 0.65rem 1rem;
  box-shadow: var(--shadow-deep);
}

.sidebar {
  position: sticky;
  top: 1.5rem;
  height: fit-content;
  border-radius: 1rem;
  background: var(--bg-sidebar);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-deep);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.sidebar-head {
  padding: 1.1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, rgba(201, 168, 76, 0.18), rgba(139, 26, 26, 0.16));
}

.sidebar-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(212, 180, 107, 0.4));
}

.sidebar-nav {
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-group {
  display: flex;
  flex-direction: column;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  letter-spacing: 0.015em;
  padding: 0.95rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid transparent;
  transition: all 0.22s ease;
}

.sidebar-link i {
  color: var(--gold);
  font-size: 1.15rem;
  transition: transform 0.22s;
}

.sidebar-link:hover {
  background: linear-gradient(90deg, rgba(201,168,76,0.08) 0%, rgba(180,40,20,0.06) 100%);
  border-color: rgba(201, 168, 76, 0.2);
  color: var(--gold-bright);
}

.sidebar-link.is-active {
  background: linear-gradient(90deg, rgba(201,168,76,0.14) 0%, rgba(180,40,20,0.1) 100%);
  border-color: var(--gold);
  color: var(--gold-bright);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.15);
}

.sidebar-link-has-sub {
  cursor: pointer;
  position: relative;
}

.sidebar-title {
  cursor: pointer !important;
}

.sidebar-title:hover {
  background: none !important;
  border-color: transparent !important;
  color: var(--text-main) !important;
}

.sidebar-chevron {
  margin-left: auto;
  font-size: 0.9rem;
  transition: transform 0.2s;
  color: var(--gold);
}

.sidebar-link-has-sub.active .sidebar-chevron {
  transform: rotate(180deg);
}

.sidebar-submenu {
  display: none;
  flex-direction: column;
  margin: 0.15rem 0 0.35rem 1.8rem;
  gap: 0.12rem;
  padding-left: 0.15rem;
  border-left: 2px solid rgba(201,168,76,0.12);
}

.sidebar-group.open > .sidebar-submenu {
  display: flex;
}

.sidebar-sublink {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.98rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}

.sidebar-sublink:hover,
.sidebar-sublink.is-active {
  background: linear-gradient(90deg, rgba(201,168,76,0.1) 0%, rgba(180,40,20,0.08) 100%);
  color: #fffbe6;
}

.main-content {
  min-width: 0;
}

.content-wrap {
  background: rgba(7, 10, 16, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.1rem;
  padding: clamp(1rem, 2vw, 1.8rem);
  box-shadow: var(--shadow-deep);
}

.page-head {
  margin-bottom: 1rem;
}

.page-kicker {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.page-head h1 {
  margin: 0.3rem 0 0;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.85rem, 2.9vw, 2.7rem);
  color: #fbfbff;
  text-shadow: 0 0 12px rgba(122, 142, 255, 0.3), 0 0 26px rgba(212, 180, 107, 0.22);
}

.cards-grid {
  display: grid;
  gap: 0.8rem;
}

.content-panel {
  display: none;
}

.content-panel.is-active {
  display: block;
  animation: fadePanel 0.28s ease;
}

@keyframes fadePanel {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.media-card {
  overflow: hidden;
  border-radius: 0.95rem;
  border: 1px solid rgba(212, 180, 107, 0.28);
  background: rgba(14, 17, 25, 0.8);
}

.panel-image {
  width: 100%;
  display: block;
  height: clamp(120px, 20vw, 220px);
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  border-bottom: 1px solid rgba(212, 180, 107, 0.24);
}

.media-card-body {
  padding: 1rem;
}

.media-card-body h3 {
  font-family: 'Cinzel', serif;
  color: var(--gold-bright);
  margin: 0 0 0.8rem;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
}

.mission-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.12) 40%, transparent 58%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.shine-card:hover::before {
  transform: translateX(120%);
}

.glass-card:hover {
  border-color: var(--line-accent);
}

.glass-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e7eaf3;
}

.gold {
  color: var(--gold-bright);
  font-weight: 700;
}

.facts-box {
  margin-top: 1.2rem;
  background: rgba(14, 17, 25, 0.76);
  border: 1px solid rgba(212, 180, 107, 0.3);
  border-radius: 0.75rem;
  padding: 1rem 1.1rem;
}

.gold-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.58rem;
}

.gold-list li {
  position: relative;
  padding-left: 1.55rem;
  color: #eceef6;
  line-height: 1.45;
  font-size: 1.04rem;
}

.gold-list li::before {
  content: '◇';
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--gold);
  font-size: 0.95rem;
}

.rates-table-wrap {
  padding: 0.25rem;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  color: #e5e8f1;
}

.rates-table th,
.rates-table td {
  text-align: left;
  padding: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.93rem;
}

.rates-table th {
  color: var(--gold-bright);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
}

.rate-badge {
  display: inline-block;
  min-width: 66px;
  text-align: center;
  padding: 0.24rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 180, 107, 0.5);
  color: var(--gold-bright);
  background: rgba(212, 180, 107, 0.08);
  font-weight: 600;
}

/* ===== GUIAS DETALHADOS ===== */
.guide-panel {
  padding: 0;
}

.guide-header {
  position: relative;
  width: 100%;
  height: clamp(180px, 25vw, 280px);
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  margin-bottom: 1.5rem;
}

.guide-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) brightness(0.7);
}

.guide-header-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(to top, rgba(8,6,4,0.95) 0%, rgba(8,6,4,0.7) 60%, transparent 100%);
}

.guide-header-content h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--gold-bright);
  margin: 0 0 0.3rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.guide-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.05em;
}

.guide-content {
  padding: 0 1.5rem 1.5rem;
}

.guide-intro {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 1.8rem;
  padding: 1rem 1.2rem;
  background: rgba(201,168,76,0.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 0.6rem 0.6rem 0;
}

.guide-section {
  margin-bottom: 1.8rem;
}

.guide-section h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  color: var(--gold-bright);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.guide-section h3 i {
  color: var(--gold);
}

.guide-section h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.08rem;
  color: var(--gold);
  margin: 1.2rem 0 0.6rem;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(14,17,25,0.6);
  border-radius: 0.7rem;
  overflow: hidden;
  margin-top: 0.5rem;
}

.guide-table th,
.guide-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.98rem;
}

.guide-table th {
  background: rgba(201,168,76,0.12);
  color: var(--gold-bright);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.guide-table tr:hover td {
  background: rgba(201,168,76,0.05);
}

.guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.guide-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-main);
  line-height: 1.5;
  font-size: 1.02rem;
}

.guide-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--gold);
  font-size: 0.7rem;
}

.guide-rewards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.7rem;
}

.guide-rewards li {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 0.6rem;
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-size: 0.98rem;
}

.guide-rewards li strong {
  color: var(--gold-bright);
}

.guide-note {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 0.6rem;
  padding: 0.9rem 1.1rem;
  margin-top: 0.8rem;
  color: var(--gold-bright);
  font-size: 0.98rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.guide-note i {
  margin-top: 0.15rem;
}

@media (max-width: 960px) {
  .about-quickbar {
    top: 64px;
  }

  .about-quickbar-inner {
    justify-content: center;
    min-height: 50px;
    gap: 0.5rem;
  }

  .about-action-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem;
  }

  .page-shell {
    grid-template-columns: 1fr;
    margin-top: 128px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    width: fit-content;
    margin-left: 0.2rem;
    margin-bottom: 0.5rem;
  }

  .sidebar {
    position: relative;
    top: 0;
    display: none;
  }

  .sidebar.is-open {
    display: block;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-quickbar-inner {
    width: calc(100% - 1rem);
    justify-content: stretch;
  }

  .about-action-btn {
    flex: 1;
    text-align: center;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  .content-wrap {
    padding: 0.9rem;
  }

  .glass-card p,
  .gold-list li {
    font-size: 0.95rem;
  }

  .media-card-body {
    padding: 0.8rem;
  }
}
