/* ==========================================================================
   GoldenBaiak — Official Design System & Portal Stylesheet
   Art Direction: Tree of Savior Hand-Painted Storybook Fantasy
   Strict Palette: Warm Obsidian (#121015), Solar Gold (#E6B450),
                   Mystic Jade (#45B884), Warm Parchment (#EFE6D5)
   ========================================================================== */

@import url('/static/fonts/fonts.css');

:root {
  /* Core Surfaces */
  --bg-canvas: #121015;
  --bg-surface: #1B1820;
  --bg-surface-elevated: #211D27;
  --bg-surface-hover: #24202B;
  --bg-parchment: #EFE6D5;
  --bg-parchment-deep: #E5D7BF;

  /* Brand Accents */
  --gold-light: #F7D98C;
  --gold-primary: #E6B450;
  --gold-mid: #D99B38;
  --gold-deep: #B57E28;
  --gold-shadow: #8C5819;
  --jade-mystic: #45B884;
  --jade-glow: rgba(69, 184, 132, 0.28);

  /* Typography Colors */
  --text-primary: #F5EFE6;
  --text-secondary: #A89F94;
  --text-muted: #827970;
  --text-parchment: #261E18;
  --text-parchment-muted: #58493C;

  /* Semantic & Borders */
  --border-subtle: rgba(230, 180, 80, 0.16);
  --border-medium: rgba(230, 180, 80, 0.28);
  --border-hover: rgba(230, 180, 80, 0.52);
  --danger: #D9655C;
  --danger-bg: rgba(217, 101, 92, 0.14);

  /* Typography Families */
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Radii & Motion */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --ease-ui: 0.18s ease-out;
  --shadow-card: 0 18px 42px rgba(7, 5, 10, 0.48);
  --shadow-gold: 0 10px 28px rgba(181, 126, 40, 0.26);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gold-primary); text-decoration: none; transition: color var(--ease-ui); }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-primary);
  margin: 0;
}

/* Metallic Carved Gold Wordmark */
.gold-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #FBF0C9 0%, #F7D98C 22%, #D99B38 64%, #9B6520 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 6px rgba(10, 7, 4, 0.85));
}

/* ==========================================================================
   1. Floating Glass Pill Navbar
   ========================================================================== */
.navbar-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 0 20px;
  pointer-events: none;
}

.navbar-pill {
  pointer-events: auto;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.05rem;
  border-radius: 16px;
  background: rgba(18, 16, 21, 0.80);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(230, 180, 80, 0.22);
  box-shadow: 0 12px 36px rgba(6, 4, 9, 0.52), inset 0 1px 0 rgba(247, 217, 140, 0.08);
  transition: background var(--ease-ui), border-color var(--ease-ui);
}

.navbar-pill:hover {
  border-color: rgba(230, 180, 80, 0.34);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-emblem {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 2px 8px rgba(230, 180, 80, 0.25));
  transition: transform var(--ease-ui);
}

.brand-link:hover .brand-emblem {
  transform: scale(1.06);
}

.brand-name {
  font-size: 1.16rem;
  line-height: 1;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-center a {
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.78rem;
  border-radius: 10px;
  transition: background var(--ease-ui), color var(--ease-ui);
}

.nav-center a:hover {
  color: var(--gold-light);
  background: rgba(230, 180, 80, 0.10);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

/* Live Online Jade Pill */
.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(69, 184, 132, 0.12);
  border: 1px solid rgba(69, 184, 132, 0.34);
  font-size: 0.79rem;
  font-weight: 600;
  color: #B4F1D2;
  white-space: nowrap;
}

.online-pill.is-offline {
  background: rgba(217, 101, 92, 0.12);
  border-color: rgba(217, 101, 92, 0.34);
  color: #F2B5AF;
}

.jade-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--jade-mystic);
  box-shadow: 0 0 0 0 rgba(69, 184, 132, 0.75);
  animation: jadePulse 2.2s infinite;
}

.online-pill.is-offline .jade-pulse {
  background: var(--danger);
  animation: none;
}

@keyframes jadePulse {
  0% { box-shadow: 0 0 0 0 rgba(69, 184, 132, 0.72); }
  70% { box-shadow: 0 0 0 7px rgba(69, 184, 132, 0); }
  100% { box-shadow: 0 0 0 0 rgba(69, 184, 132, 0); }
}

/* Navbar Buttons */
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.46rem 0.88rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--ease-ui), background var(--ease-ui), border-color var(--ease-ui), box-shadow var(--ease-ui), color var(--ease-ui);
  white-space: nowrap;
}

.nav-btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.nav-btn-ghost:hover {
  background: rgba(230, 180, 80, 0.10);
  border-color: var(--border-hover);
  color: var(--gold-light);
}

.nav-btn-adm {
  background: rgba(230, 180, 80, 0.14);
  border-color: rgba(230, 180, 80, 0.48);
  color: var(--gold-light);
}

.nav-btn-adm:hover {
  background: rgba(230, 180, 80, 0.24);
  color: #FFF4D4;
}

.nav-btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 48%, var(--gold-deep) 100%);
  color: #1A130B;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(230, 180, 80, 0.24);
}

.nav-btn-gold:hover {
  color: #120D07;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(230, 180, 80, 0.42);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
}

.lang-btn {
  background: none;
  border: 0;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.24rem 0.42rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--ease-ui), color var(--ease-ui);
}

.lang-btn:hover { color: var(--text-primary); }
.lang-btn.is-active {
  background: rgba(230, 180, 80, 0.20);
  color: var(--gold-light);
}

.nav-burger {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--gold-primary);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Buttons (Global Design System)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.55rem;
  border-radius: 12px;
  border: 1px solid rgba(247, 217, 140, 0.45);
  background: linear-gradient(135deg, #F5D585 0%, #E6B450 50%, #B57E28 100%);
  color: #19120A;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 250, 232, 0.45);
  transition: transform var(--ease-ui), box-shadow var(--ease-ui), filter var(--ease-ui), border-color var(--ease-ui);
  text-decoration: none;
}

.btn:hover {
  color: #140E07;
  transform: scale(1.03);
  filter: brightness(1.06);
  box-shadow: 0 12px 34px rgba(230, 180, 80, 0.40), inset 0 1px 0 rgba(255, 250, 232, 0.65);
}

.btn-lg {
  padding: 0.96rem 2.15rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-secondary, .btn-outline {
  background: rgba(27, 24, 32, 0.78);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: none;
}

.btn-secondary:hover, .btn-outline:hover {
  color: var(--gold-light);
  background: rgba(36, 32, 43, 0.94);
  border-color: var(--gold-primary);
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(230, 180, 80, 0.16);
}

.btn-parchment {
  background: linear-gradient(135deg, #D99B38 0%, #B57E28 55%, #8C5819 100%);
  color: #FAF3E3;
  border-color: rgba(140, 88, 25, 0.55);
  box-shadow: 0 8px 22px rgba(140, 88, 25, 0.28);
}

.btn-parchment:hover {
  color: #FFFFFF;
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(140, 88, 25, 0.42);
}

.btn-danger {
  background: var(--danger-bg);
  color: #F8B6B0;
  border: 1px solid rgba(217, 101, 92, 0.45);
  box-shadow: none;
}

.btn-danger:hover {
  background: rgba(217, 101, 92, 0.24);
  color: #FFD9D5;
  border-color: var(--danger);
  transform: scale(1.02);
}

/* ==========================================================================
   2. Hero Section Imersiva + Floating Event Widget
   ========================================================================== */
.hero-banner {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 96px;
  overflow: hidden;
  background-color: var(--bg-canvas);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('/static/art/hero_bg.jpg');
  background-size: cover;
  background-position: center 32%;
  transform: scale(1.02);
  z-index: 0;
}

/* Dual Atmospheric Veil: keeps center copy razor-sharp AND smoothly fades bottom into #121015 */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 68% 60% at 50% 44%, rgba(18, 16, 21, 0.62) 0%, rgba(18, 16, 21, 0.34) 56%, rgba(18, 16, 21, 0.58) 100%),
    linear-gradient(to bottom, rgba(18, 16, 21, 0.48) 0%, rgba(18, 16, 21, 0.18) 32%, rgba(18, 16, 21, 0.52) 66%, #121015 100%);
}

/* Subtle painterly dust motes shimmer */
.hero-motes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 34%, rgba(247, 217, 140, 0.72), transparent),
    radial-gradient(2.5px 2.5px at 78% 28%, rgba(69, 184, 132, 0.65), transparent),
    radial-gradient(2px 2px at 64% 62%, rgba(247, 217, 140, 0.58), transparent),
    radial-gradient(1.8px 1.8px at 34% 68%, rgba(69, 184, 132, 0.55), transparent),
    radial-gradient(2.2px 2.2px at 86% 58%, rgba(247, 217, 140, 0.6), transparent),
    radial-gradient(1.6px 1.6px at 14% 58%, rgba(247, 217, 140, 0.5), transparent);
  animation: floatMotes 10s ease-in-out infinite alternate;
}

@keyframes floatMotes {
  0% { transform: translateY(0px); opacity: 0.7; }
  100% { transform: translateY(-14px); opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-announcement {
  margin-bottom: 1.25rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: rgba(27, 24, 32, 0.84);
  border: 1px solid rgba(230, 180, 80, 0.45);
  color: var(--gold-light);
  font-size: 0.88rem;
  backdrop-filter: blur(8px);
}

.hero-crest-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.hero-emblem-img {
  width: 92px;
  height: 92px;
  filter: drop-shadow(0 8px 24px rgba(10, 6, 3, 0.72));
}

.hero-brand-title {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0.08em;
}

.micro-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.34rem 1.05rem;
  border-radius: 999px;
  background: rgba(18, 16, 21, 0.72);
  border: 1px solid rgba(230, 180, 80, 0.32);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
}

.micro-tag .jade-diamond {
  color: var(--jade-mystic);
  font-size: 0.85em;
}

.hero-headline {
  font-size: clamp(2.15rem, 4.6vw, 3.55rem);
  line-height: 1.15;
  color: var(--text-primary);
  text-shadow: 0 4px 24px rgba(10, 8, 14, 0.85);
  margin-bottom: 1rem;
}

.hero-headline em {
  font-style: normal;
  color: var(--gold-primary);
}

.hero-sub {
  max-width: 640px;
  font-size: 1.06rem;
  color: #E7DED2;
  text-shadow: 0 2px 14px rgba(10, 8, 14, 0.9);
  margin: 0 0 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.hero-meta-strip {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.4rem;
  padding: 0.62rem 1.3rem;
  border-radius: 12px;
  background: rgba(18, 16, 21, 0.68);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.hero-meta-strip strong { color: var(--text-primary); font-weight: 600; }

/* Floating Closeable Event Countdown Widget (Bottom-Right of Hero) */
.event-widget {
  position: absolute;
  right: 28px;
  bottom: 36px;
  z-index: 4;
  width: 286px;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(27, 24, 32, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(230, 180, 80, 0.34);
  box-shadow: 0 16px 40px rgba(8, 6, 12, 0.62);
  transition: opacity var(--ease-ui), transform var(--ease-ui);
}

.event-widget.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.event-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.45rem;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jade-mystic);
}

.event-close {
  background: none;
  border: 0;
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color var(--ease-ui), background var(--ease-ui);
}

.event-close:hover {
  color: var(--gold-light);
  background: rgba(230, 180, 80, 0.12);
}

.event-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.event-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0 0 0.7rem;
}

.event-timer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  background: rgba(18, 16, 21, 0.78);
  border: 1px solid var(--border-subtle);
}

.event-timer-label {
  font-size: 0.74rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.event-timer-digits {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   3. Ornamental Section Dividers (◇ ◆ ◇) & Section Layout
   ========================================================================== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.6rem 24px;
  width: 100%;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.6rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.section-header h2 span { color: var(--gold-primary); }
.section-header p { color: var(--text-secondary); margin: 0; font-size: 1rem; }

.ornament-divider {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0.4rem 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(230, 180, 80, 0.42) 100%);
}

.ornament-line.is-right {
  background: linear-gradient(90deg, rgba(230, 180, 80, 0.42) 0%, transparent 100%);
}

.ornament-diamonds {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.diamond-side {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1.5px solid var(--gold-primary);
}

.diamond-center {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: var(--jade-mystic);
  box-shadow: 0 0 12px rgba(69, 184, 132, 0.65);
}

/* ==========================================================================
   4. Section 2 — Apresentação do Mundo (Split 2 Colunas)
   ========================================================================== */
.world-split {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 3rem;
  align-items: center;
}

.world-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.world-copy p {
  color: var(--text-secondary);
  margin: 0 0 1rem;
  font-size: 0.99rem;
}

.world-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.world-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.world-chip i {
  font-style: normal;
  color: var(--jade-mystic);
}

.world-media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(230, 180, 80, 0.34);
  box-shadow: var(--shadow-card);
  background: var(--bg-surface);
  cursor: pointer;
  transition: transform var(--ease-ui), border-color var(--ease-ui), box-shadow var(--ease-ui);
}

.world-media-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
  box-shadow: 0 22px 48px rgba(8, 6, 12, 0.62), 0 0 26px rgba(230, 180, 80, 0.16);
}

.world-media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease-out;
}

.world-media-card:hover img {
  transform: scale(1.04);
}

.world-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 16, 21, 0.84) 0%, rgba(18, 16, 21, 0.18) 55%, rgba(18, 16, 21, 0.12) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.4rem;
}

.play-medallion {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  background: radial-gradient(circle at 35% 30%, rgba(230, 180, 80, 0.92), rgba(140, 88, 25, 0.94));
  box-shadow: 0 0 0 8px rgba(69, 184, 132, 0.18), 0 10px 28px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--ease-ui), box-shadow var(--ease-ui);
}

.world-media-card:hover .play-medallion {
  transform: scale(1.08);
  box-shadow: 0 0 0 12px rgba(69, 184, 132, 0.28), 0 12px 34px rgba(230, 180, 80, 0.45);
}

.play-triangle {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #16110B;
}

.world-media-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-primary);
}

.world-media-caption span:last-child {
  color: var(--jade-mystic);
  font-weight: 600;
}

/* ==========================================================================
   5. Section 3 — Diferenciais (2 Wide Cards)
   ========================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.diff-card {
  background: linear-gradient(180deg, #1F1B26 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease-ui), border-color var(--ease-ui), background var(--ease-ui);
}

.diff-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: linear-gradient(180deg, var(--bg-surface-hover) 0%, #1C1822 100%);
}

.emblem-icon-lg {
  width: 74px;
  height: 74px;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
}

.diff-card h3 {
  font-size: 1.35rem;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.diff-card p {
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  max-width: 440px;
}

/* ==========================================================================
   6. Section 4 — Comece em 3 Passos (Overlapping Gold Medallions)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.55rem;
  padding-top: 22px;
}

.step-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.75rem 1.65rem 1.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease-ui), border-color var(--ease-ui), background var(--ease-ui);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
}

.step-medallion {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(160deg, #F8DD94 0%, #E6B450 52%, #9B6520 100%);
  border: 3px solid var(--bg-canvas);
  box-shadow: 0 0 0 1px rgba(230, 180, 80, 0.65), 0 8px 18px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #1A120A;
}

.step-icon {
  width: 68px;
  height: 68px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}

.step-card h3 {
  font-size: 1.18rem;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin: 0 0 1.25rem;
  flex: 1;
}

.step-action {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-medium);
  background: rgba(230, 180, 80, 0.08);
  transition: background var(--ease-ui), border-color var(--ease-ui), color var(--ease-ui);
}

.step-action:hover {
  background: rgba(230, 180, 80, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* ==========================================================================
   7. Section 5 — Vitrine de Recursos In-Game (4-Col Grid + 2px Gold Accent)
   ========================================================================== */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--ease-ui), border-color var(--ease-ui), background var(--ease-ui);
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
}

.showcase-media {
  position: relative;
  height: 186px;
  overflow: hidden;
  border-bottom: 2px solid var(--gold-primary);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.38s ease-out;
}

.showcase-card:hover .showcase-media img {
  transform: scale(1.07);
}

/* Distinct artistic focal compositions across the 4 cards */
.showcase-crop-hunts { object-position: 18% 58%; filter: saturate(1.08) contrast(1.04); }
.showcase-crop-wars { object-position: 82% 45%; filter: sepia(0.14) saturate(1.12) brightness(0.94); }
.showcase-crop-bosses { object-position: 50% 42%; filter: saturate(1.1) contrast(1.06); }
.showcase-crop-economy { object-position: 75% 65%; filter: hue-rotate(-6deg) saturate(1.05); }

.showcase-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 0.24rem 0.62rem;
  border-radius: 999px;
  background: rgba(18, 16, 21, 0.80);
  border: 1px solid rgba(230, 180, 80, 0.38);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  backdrop-filter: blur(6px);
}

.showcase-body {
  padding: 1.25rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.showcase-body h3 {
  font-size: 1.06rem;
  color: var(--gold-light);
}

.showcase-body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   8. Section 6 — Faixa de Contraste em Pergaminho (#EFE6D5)
   ========================================================================== */
.parchment-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.2rem 24px 3.6rem;
}

.parchment-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 14px;
  background:
    radial-gradient(ellipse at 18% 15%, rgba(255, 250, 240, 0.75) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 88%, rgba(206, 182, 142, 0.48) 0%, transparent 58%),
    linear-gradient(155deg, #F4ECDC 0%, var(--bg-parchment) 52%, var(--bg-parchment-deep) 100%);
  color: var(--text-parchment);
  box-shadow: 0 24px 60px rgba(6, 4, 10, 0.58), 0 0 0 1px rgba(230, 180, 80, 0.36);
}

/* Double inset ornamental border inside parchment */
.parchment-inner {
  border: 1.5px solid rgba(140, 88, 25, 0.34);
  outline: 1px solid rgba(140, 88, 25, 0.16);
  outline-offset: -6px;
  border-radius: calc(var(--radius-lg) - 8px);
  padding: 2.6rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 2.6rem;
  align-items: center;
}

.parchment-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(140, 88, 25, 0.42);
  box-shadow: 0 14px 32px rgba(38, 30, 24, 0.24);
}

.parchment-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.parchment-crest {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.85rem;
  border-radius: 12px;
  background: rgba(18, 16, 21, 0.84);
  border: 1px solid rgba(230, 180, 80, 0.45);
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.parchment-crest img {
  width: 28px;
  height: 28px;
  aspect-ratio: 1;
}

.parchment-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8C5819;
  margin-bottom: 0.65rem;
}

.parchment-tag span { color: #2B8A61; }

.parchment-copy h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.3rem);
  color: var(--text-parchment);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.parchment-copy > p {
  color: var(--text-parchment-muted);
  margin: 0 0 1.25rem;
}

.parchment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.65rem;
  display: grid;
  gap: 0.72rem;
}

.parchment-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.94rem;
  color: var(--text-parchment);
}

.parchment-bullet {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  transform: rotate(45deg);
  background: #2B8A61;
  box-shadow: 0 0 0 2px rgba(43, 138, 97, 0.22);
}

/* ==========================================================================
   9. Section 7 — Comunidade, Estatísticas & Criadores Parceiros
   ========================================================================== */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
  box-shadow: var(--shadow-card);
  margin-bottom: 2.2rem;
}

.metric-item {
  text-align: center;
  padding: 0.5rem 1.4rem;
  position: relative;
}

.metric-item + .metric-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(230, 180, 80, 0.38), transparent);
}

.metric-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.metric-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

.creators-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.creator-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  transition: border-color var(--ease-ui), background var(--ease-ui), transform var(--ease-ui);
}

.creator-badge:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
  transform: translateY(-2px);
}

.creator-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(230, 180, 80, 0.25), rgba(69, 184, 132, 0.25));
  border: 1px solid rgba(230, 180, 80, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-light);
}

.creator-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.creator-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
}

.creator-role {
  font-size: 0.72rem;
  color: var(--jade-mystic);
}

/* ==========================================================================
   10. Section 8 — FAQ Acordeão Limpo + Minimalist Footer
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  transition: border-color var(--ease-ui), background var(--ease-ui);
}

.faq-item:hover, .faq-item[open] {
  border-color: var(--border-hover);
  background: var(--bg-surface-hover);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-medium);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  transition: transform var(--ease-ui), background var(--ease-ui);
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
  background: rgba(230, 180, 80, 0.14);
}

.faq-body {
  padding: 0 1.4rem 1.2rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  border-top: 1px solid rgba(230, 180, 80, 0.08);
  padding-top: 0.9rem;
}

/* Minimalist Footer */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  background: #0E0C11;
  padding: 2.6rem 24px 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img { width: 34px; height: 34px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
}

.footer-links a { color: var(--text-secondary); }
.footer-links a:hover { color: var(--gold-primary); }

.footer-bottom {
  max-width: 1200px;
  margin: 1.5rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(230, 180, 80, 0.09);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Modal / Lightbox (World Preview)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(10, 8, 13, 0.86);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-ui);
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-panel {
  max-width: 880px;
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid rgba(230, 180, 80, 0.42);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-head h3 { font-size: 1.08rem; color: var(--gold-light); }

.modal-body img { width: 100%; max-height: 62vh; object-fit: cover; }

.modal-foot {
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Inner Pages Shell, Cards, Forms, Tables, Alerts (Unified GoldenBaiak Style)
   ========================================================================== */
.page-shell {
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 112px 24px 64px;
  flex: 1;
}

.page-shell.is-landing {
  max-width: none;
  padding: 0;
}

.inner-header {
  text-align: center;
  margin-bottom: 2rem;
}

.inner-header h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.inner-header p { color: var(--text-secondary); margin: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 1.45rem;
  margin-bottom: 1.45rem;
}

.card {
  background: linear-gradient(180deg, #1E1A24 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-card);
  transition: border-color var(--ease-ui);
}

.card:hover { border-color: rgba(230, 180, 80, 0.28); }

.card h2 {
  font-size: 1.2rem;
  color: var(--gold-primary);
  margin: 0 0 1.1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero {
  background: linear-gradient(135deg, rgba(230, 180, 80, 0.14), rgba(27, 24, 32, 0.96));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.9rem;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  color: var(--gold-light);
  margin-bottom: 0.4rem;
}

.hero p { margin: 0; color: var(--text-secondary); }

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px dashed rgba(230, 180, 80, 0.14);
}
.stat-row:last-child { border-bottom: 0; }
.stat-label { color: var(--text-secondary); font-size: 0.92rem; }
.stat-val { font-weight: 700; color: var(--text-primary); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.badge-online {
  background: rgba(69, 184, 132, 0.16);
  color: #9EEBC3;
  border: 1px solid rgba(69, 184, 132, 0.42);
}

.badge-offline {
  background: rgba(217, 101, 92, 0.14);
  color: #F4B4AE;
  border: 1px solid rgba(217, 101, 92, 0.38);
}

.badge-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(230, 180, 80, 0.12);
  color: var(--gold-light);
  border: 1px solid rgba(230, 180, 80, 0.3);
}

.badge-rank.rank-1 { background: linear-gradient(135deg, #F7D98C, #B57E28); color: #19120A; border-color: #F7D98C; }
.badge-rank.rank-2 { background: rgba(214, 210, 204, 0.22); color: #F5EFE6; }
.badge-rank.rank-3 { background: rgba(181, 126, 40, 0.25); color: #E6B450; }

.table-scroll { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left;
  padding: 0.72rem 0.65rem;
  border-bottom: 1px solid rgba(230, 180, 80, 0.10);
  font-size: 0.92rem;
}
th {
  color: var(--gold-primary);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
tbody tr:hover { background: rgba(230, 180, 80, 0.05); }

.form-group { margin-bottom: 1.08rem; }
label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}
input[type="text"], input[type="email"], input[type="password"], select {
  width: 100%;
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-medium);
  background: #131018;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--ease-ui), box-shadow var(--ease-ui);
}
input:focus, select:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(230, 180, 80, 0.16);
}

.alert {
  padding: 0.9rem 1.15rem;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.93rem;
}
.alert-err {
  background: var(--danger-bg);
  border: 1px solid rgba(217, 101, 92, 0.45);
  color: #FFD4CF;
}
.alert-ok {
  background: rgba(69, 184, 132, 0.14);
  border: 1px solid rgba(69, 184, 132, 0.42);
  color: #C7F7DF;
}
.alert-gold {
  background: rgba(230, 180, 80, 0.14);
  border: 1px solid rgba(230, 180, 80, 0.52);
  color: #F7E8C3;
}

.muted { color: var(--text-secondary); font-size: 0.87rem; }

.code-box {
  font-family: 'Cascadia Code', Consolas, monospace;
  font-size: 1.05rem;
  background: #120F16;
  border: 1px dashed var(--gold-primary);
  padding: 0.8rem 1rem;
  border-radius: 10px;
  color: var(--gold-light);
  word-break: break-all;
  margin: 0.7rem 0;
}

/* ==========================================================================
   Responsive Breakpoints (Desktop, Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1060px) {
  .showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .world-split, .parchment-inner { grid-template-columns: 1fr; gap: 2rem; }
  .event-widget {
    position: static;
    margin: 1.8rem auto 0;
    width: 100%;
    max-width: 360px;
  }
  .hero-banner { flex-direction: column; min-height: auto; padding-bottom: 64px; }
}

@media (max-width: 900px) {
  .nav-center { display: none; }
  .navbar-pill.is-menu-open {
    flex-wrap: wrap;
  }
  .navbar-pill.is-menu-open .nav-center {
    display: flex;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.65rem;
    border-top: 1px solid var(--border-subtle);
  }
  .nav-burger { display: inline-flex; }
  .diff-grid, .steps-grid, .stats-ribbon { grid-template-columns: 1fr; }
  .metric-item + .metric-item::before {
    left: 20%; right: 20%; top: 0; bottom: auto; width: auto; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 180, 80, 0.32), transparent);
  }
}

@media (max-width: 600px) {
  .navbar-wrap { padding: 0 10px; top: 8px; }
  .navbar-pill { padding: 0.5rem 0.75rem; }
  .online-pill .online-label, .lang-switch { display: none; }
  .showcase-grid { grid-template-columns: 1fr; }
  .parchment-inner { padding: 1.5rem 1.2rem; }
  .hero-banner { padding: 104px 16px 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .jade-pulse, .hero-motes { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
