/* =============================================
   COMPONENTS — Buttons, Cards, Nav, Logo
   opcartas
============================================= */

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 11px 24px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-red), #c0303c);
  color: var(--c-white);
  box-shadow: 0 4px 20px var(--c-red-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--c-red-glow); }
.btn-gold {
  background: linear-gradient(135deg, var(--c-gold), #b8962e);
  color: var(--c-black);
  font-weight: 700;
  box-shadow: 0 4px 20px var(--c-gold-glow);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 32px var(--c-gold-glow); }
.btn-outline {
  border: 1px solid var(--c-border-gold);
  color: var(--c-gold);
  background: rgba(212,175,55,0.05);
}
.btn-outline:hover { background: rgba(212,175,55,0.12); border-color: var(--c-gold); transform: translateY(-2px); }
.btn-ghost { color: var(--c-muted); padding: 9px 16px; }
.btn-ghost:hover { color: var(--c-white); }
.btn-primary::after, .btn-gold::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover::after, .btn-gold:hover::after { transform: translateX(100%); }

/* ── LOGO ── */
.logo { display: flex; align-items: center; gap: var(--sp-2); }
.logo-icon {
  width: 33px; height: 33px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--c-red), #9b1d26);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px var(--c-red-glow);
  flex-shrink: 0;
}
.logo-text { font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.logo-text .dot-gg { color: var(--c-gold); }

/* ── NAVIGATION LINKS ── */
.header-nav-link {
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}
.header-nav-link:hover { color: var(--c-white); background: rgba(255,255,255,0.05); }

.search-btn {
  width: 35px; height: 35px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--c-muted);
  transition: all var(--t-fast);
}
.search-btn:hover { color: var(--c-white); background: var(--c-dark-3); }

/* ── SIDEBAR NAV ── */
.nav-section-title {
  padding: var(--sp-3) var(--sp-4) var(--sp-2);
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-muted);
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 8px var(--sp-4);
  font-size: 0.8rem; font-weight: 500;
  color: rgba(255,255,255,0.62);
  transition: all var(--t-fast);
  border-left: 2px solid transparent;
  width: 100%; text-align: left;
}
.nav-link:hover, .nav-link.active {
  color: var(--c-white);
  background: rgba(255,255,255,0.04);
  border-left-color: var(--c-gold);
}
.nav-link svg { flex-shrink: 0; color: var(--c-muted); transition: color var(--t-fast); }
.nav-link:hover svg { color: var(--c-gold); }
.nav-chevron { margin-left: auto; transition: transform var(--t-base); color: var(--c-muted) !important; }
.nav-item.open .nav-chevron { transform: rotate(180deg); }
.nav-submenu { max-height: 0; overflow: hidden; transition: max-height var(--t-slow) ease; background: rgba(0,0,0,0.2); }
.nav-item.open .nav-submenu { max-height: 200px; }
.nav-sub-link {
  display: flex; align-items: center; gap: 6px;
  padding: 7px var(--sp-4) 7px 44px;
  font-size: 0.75rem; color: var(--c-muted);
  transition: all var(--t-fast);
  border-left: 2px solid transparent;
}
.nav-sub-link::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--c-muted); flex-shrink: 0; }
.nav-sub-link:hover { color: var(--c-gold); padding-left: 48px; }
.nav-divider { height: 1px; background: var(--c-border); margin: var(--sp-2) var(--sp-4); }

/* ── SIDEBAR PRO BADGE ── */
.sidebar-pro-badge .badge-icon { font-size: 1.2rem; margin-bottom: 6px; }
.sidebar-pro-badge h4 { font-family: var(--font-head); font-size: 0.78rem; color: var(--c-gold); margin-bottom: 4px; }
.sidebar-pro-badge p { font-size: 0.69rem; color: var(--c-muted); margin-bottom: var(--sp-3); line-height: 1.5; }

/* ── SECTION LABELS ── */
.section-label {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--c-gold); margin-bottom: var(--sp-3);
}
.section-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--c-gold); }
.section-title { font-family: var(--font-head); font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-weight: 700; line-height: 1.15; color: var(--c-white); }
.section-title span { color: var(--c-gold); }
.section-subtitle { font-size: 0.9375rem; color: var(--c-muted); max-width: 500px; line-height: 1.7; margin-top: var(--sp-3); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── HAMBURGER ── */
.hamburger {
  width: 38px; height: 38px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}
.hamburger:hover { background: var(--c-dark-3); }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--c-white); border-radius: 2px; }

/* ── SIDEBAR CLOSE ── */
.sidebar-logo { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--c-gold); }
.sidebar-close {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); color: var(--c-muted);
  transition: all var(--t-fast);
}
.sidebar-close:hover { color: var(--c-white); background: var(--c-dark-3); }