/*
 * auroria.css — Auroria Shard  ·  Premium Medieval Dark Fantasy
 * Copiado do projeto principal para manter o mesmo tema.
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Cinzel+Decorative:wght@400;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Poppins:wght@400;500;600;700&display=swap');

:root {
  --bg-void:        #070c18;
  --bg-base:        #0d1628;
  --bg-mid:         #131f38;
  --bg-surface:     #131f38;
  --bg-surface-alt: #1a2a4a;
  --bg-raised:      #1f3358;
  --border-main:    #1e2e4e;

  --gold-dim:       #7a5a18;
  --gold:           #c9962a;
  --gold-mid:       #d4a94a;
  --gold-bright:    #e8c86b;
  --gold-light:     #f0d272;
  --gold-glow:      #f5e9c4;
  --gold-pale:      #f5e9c4;

  --gold-cta-top:    #f0d272;
  --gold-cta-mid:    #c9962a;
  --gold-cta-bottom: #6a4a0c;

  --teal:            #1a9090;
  --teal-light:      #28c8c8;

  --amber:           #a06810;
  --amber-mid:       #c9962a;
  --amber-bright:    #e8c86b;
  --amber-glow:      #28c8c8;

  --txt-parchment:   #f5e9c4;
  --txt-body:        #e0d4b8;
  --txt-muted:       #7a8aac;
  --txt-dim:         #3e5070;
  --txt-gold:        var(--gold-bright);
  --txt-gold-bright: var(--gold-light);
  --txt-link:        #e8c86b;

  --online:         #3a9a4a;
  --online-glow:    rgba(58, 154, 74, 0.7);
  --offline:        #9a3030;
  --offline-glow:   rgba(154, 48, 48, 0.7);

  --chaos:          #c03030;
  --chaos-bg:       rgba(180, 35, 35, 0.22);
  --chaos-border:   rgba(200, 60, 60, 0.45);
  --order:          #3060c8;
  --order-bg:       rgba(35, 70, 190, 0.22);
  --order-border:   rgba(60, 110, 220, 0.45);

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.55);
  --shadow-md:  0 4px 18px rgba(0,0,0,0.7);
  --shadow-lg:  0 8px 36px rgba(0,0,0,0.85);
  --shadow-xl:  0 16px 60px rgba(0,0,0,0.9);
  --glow-gold:  0 0 24px rgba(201, 150, 42, 0.28);
  --glow-amber: 0 0 20px rgba(26, 144, 144, 0.35);

  --ff-display: 'Cinzel Decorative', 'Cinzel', Georgia, serif;
  --ff-head:    'Cinzel', Georgia, serif;
  --ff-body:    'Poppins', 'Crimson Text', system-ui, sans-serif;

  --r-sm: 3px;
  --r-md: 5px;
  --r-lg: 8px;

  --metal-gold-h:
    linear-gradient(90deg,
      rgba(106, 74, 12,  0.08) 0%,
      rgba(201, 150, 42, 0.22) 30%,
      rgba(240, 210, 114, 0.32) 50%,
      rgba(201, 150, 42, 0.22) 70%,
      rgba(106, 74, 12,  0.08) 100%);
  --metal-amber-h:
    linear-gradient(90deg,
      rgba(26, 80, 80, 0.06) 0%,
      rgba(26, 144, 144, 0.14) 35%,
      rgba(40, 200, 200, 0.18) 50%,
      rgba(26, 144, 144, 0.14) 65%,
      rgba(26, 80, 80, 0.06) 100%);

  --bg-card-grad:
    linear-gradient(160deg, #121a2e 0%, #0d1628 55%, #131f38 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-void);
  background-image: url('images/background.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
  color: var(--txt-body);
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 70% at 50% 40%,
      rgba(7, 12, 24, 0.72) 0%,
      rgba(5, 8, 18, 0.9) 100%),
    linear-gradient(to bottom,
      rgba(5, 8, 18, 0.45) 0%,
      rgba(7, 12, 24, 0.2) 35%,
      rgba(7, 12, 24, 0.18) 65%,
      rgba(5, 8, 18, 0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

#auroria-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--ff-head); font-weight: 700; line-height: 1.25; margin-bottom: 0.65rem; }
a { color: var(--txt-link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-light); text-decoration: none; }

.aur-link {
  font-size: 0.82rem;
  color: var(--txt-link);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}
.aur-link:hover { color: var(--teal-light); text-decoration: underline; }

.aur-widget-icon { color: var(--gold-mid); font-size: 0.9rem; flex-shrink: 0; filter: drop-shadow(0 0 4px rgba(201,150,42,0.35)); }
.aur-card-icon { color: var(--gold-mid); font-size: 1.05rem; flex-shrink: 0; filter: drop-shadow(0 0 6px rgba(201,150,42,0.35)); }
.al-icon { flex-shrink: 0; font-size: 1rem; }

.aur-btn {
  font-family: var(--ff-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  padding: 0.48rem 1.1rem;
  cursor: pointer;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none !important;
  line-height: 1.5;
}
.aur-btn-ghost {
  background: rgba(13, 22, 40, 0.65);
  color: var(--txt-body);
  border-color: var(--border-main);
}
.aur-btn-ghost:hover {
  background: rgba(26, 42, 74, 0.85);
  color: var(--gold-light);
  border-color: var(--gold);
}

.aur-navbar {
  background: linear-gradient(180deg, #131f38 0%, #0a101f 100%);
  border-bottom: 1px solid var(--border-main);
  box-shadow: 0 2px 0 var(--gold), 0 4px 24px rgba(0, 0, 0, 0.9), 0 1px 6px rgba(201, 150, 42, 0.14);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.aur-navbar .container-fluid { padding: 0.5rem 1.5rem; }

.aur-brand {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
  background: linear-gradient(180deg, var(--gold-glow) 0%, var(--gold-bright) 55%, var(--gold-pale) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 8px rgba(201, 150, 42, 0.45));
}
.aur-brand img.brand-logo { height: 36px; filter: drop-shadow(0 0 6px rgba(201, 150, 42, 0.55)); flex-shrink: 0; }
.aur-brand .brand-stack { display: flex; flex-direction: column; }
.aur-brand .brand-sub {
  font-family: var(--ff-head);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
  line-height: 1;
  margin-top: 2px;
}

.aur-nav-link {
  font-family: var(--ff-head);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--txt-body) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.6rem 0.85rem !important;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}
.aur-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold-bright);
  transition: left 0.22s ease, right 0.22s ease;
  box-shadow: 0 0 6px var(--gold-bright);
}
.aur-nav-link:hover,
.aur-nav-link.active { color: var(--gold-light) !important; }
.aur-nav-link:hover::after,
.aur-nav-link.active::after { left: 8px; right: 8px; }

.aur-navbar .navbar-toggler { border: 1px solid var(--gold); border-radius: var(--r-sm); padding: 0.3rem 0.55rem; }
.aur-navbar .navbar-toggler:focus { box-shadow: 0 0 0 0.15rem rgba(201, 150, 42, 0.35); }
.aur-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(232,200,107,0.95)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.aur-btn-cta {
  font-family: var(--ff-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.38rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(201, 150, 42, 0.65);
  background: linear-gradient(135deg, #6a4a0c 0%, #c9962a 40%, #f0d272 70%, #c9962a 100%);
  color: #07080f !important;
  text-decoration: none !important;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
}
.aur-btn-cta:hover { border-color: var(--gold-glow); box-shadow: var(--glow-gold); filter: brightness(1.06); }

.aur-sep {
  text-align: center;
  padding: 0.55rem 0;
  line-height: 0;
  background: linear-gradient(180deg, rgba(13, 22, 40, 0.95) 0%, transparent 100%);
  position: relative;
  z-index: 10;
  pointer-events: none;
}
.aur-sep::before,
.aur-sep::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  transform: translateY(-50%);
}
.aur-sep::before { left: 0; background: linear-gradient(to right, transparent, var(--gold)); }
.aur-sep::after  { right: 0; background: linear-gradient(to left, transparent, var(--gold)); }
.aur-sep-gem {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--gold-bright);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--gold-bright), 0 0 20px rgba(201, 150, 42, 0.4);
  position: relative;
  z-index: 1;
}

.aur-layout { flex: 1; padding: 1.5rem 0 2.5rem; }

.aur-widget, .aur-card {
  border-radius: var(--r-md);
  border: 1px solid var(--border-main);
  border-top: 2px solid var(--gold);
  overflow: hidden;
  position: relative;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(30, 46, 78, 0.5) inset;
  background: var(--bg-card-grad);
}
.aur-widget-header, .aur-card-header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(201, 150, 42, 0.25);
  background: var(--metal-gold-h);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.aur-widget-title, .aur-card-title {
  font-family: var(--ff-head);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin: 0;
}
.aur-widget-body, .aur-card-body { padding: 1rem; }

.aur-vmenu { list-style: none; padding: 0; margin: 0; }
.aur-vmenu li { border-bottom: 1px solid rgba(30, 46, 78, 0.45); }
.aur-vmenu li:last-child { border-bottom: none; }
.aur-vmenu a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem;
  font-family: var(--ff-head);
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--txt-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.18s ease;
  position: relative;
}
.aur-vmenu a:hover, .aur-vmenu a.active { color: var(--gold-light); padding-left: 1.2rem; text-shadow: 0 0 12px rgba(201, 150, 42, 0.45); }
.vmenu-icon { color: var(--gold-dim); font-size: 0.82rem; flex-shrink: 0; }
.aur-vmenu a:hover .vmenu-icon, .aur-vmenu a.active .vmenu-icon { color: var(--gold-bright); }

.aur-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(30, 46, 78, 0.55);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(7, 12, 24, 0.52);
}
.aur-divider {
  border: none; height: 1px; margin: 1.4rem 0;
  background: linear-gradient(to right, transparent 5%, var(--gold) 40%, var(--gold-bright) 50%, var(--gold) 60%, transparent 95%);
  opacity: 0.35;
}

.aur-footer {
  background: linear-gradient(180deg, #0a0f1c 0%, #050810 100%);
  border-top: 1px solid var(--border-main);
  box-shadow: 0 -2px 0 var(--gold), 0 -4px 20px rgba(0,0,0,0.8);
  padding: 1.15rem 1.5rem;
  text-align: center;
  margin-top: auto;
  position: relative;
}
.aur-footer p { font-size: 0.78rem; color: var(--txt-muted); margin: 0 0 0.2rem; }
.aur-footer a { color: var(--txt-link); }
.aur-footer a:hover { color: var(--teal-light); }

.aur-modal-open { overflow: hidden; }
.aur-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.78);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 1rem;
}
.aur-modal-backdrop.is-open { display: flex; }
.aur-modal {
  width: min(96vw, 520px);
  border-radius: var(--r-md);
  border: 1px solid var(--gold);
  background: var(--bg-card-grad);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(30, 46, 78, 0.4) inset;
  position: relative;
  padding: 1rem 1rem 0.9rem;
  outline: none;
}
.aur-modal-close {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  border: none;
  background: transparent;
  color: var(--txt-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.aur-modal-close:hover { color: var(--gold-light); }

body.aur-loading, body.aur-loading * { cursor: progress !important; }

