/* ═══════════════════════════════════════════════════
   GOIABA RP — Tema inspirado em Brasil Gaming Realista
   https://brasilgamingrealista.com/
   ═══════════════════════════════════════════════════ */

.theme-bgr {
  --bg: #060910;
  --bg-elevated: #0b0f16;
  --surface: rgba(15, 18, 26, 0.92);
  --surface-solid: #0d1118;
  --surface-2: #141a24;
  --surface-3: #1c2430;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(223, 88, 55, 0.55);
  --green: #22c55e;
  --green-bright: #4ade80;
  --green-dark: #15803d;
  --green-glow: rgba(223, 88, 55, 0.35);
  --orange: #df5837;
  --coral: #e86848;
  --gold: #f0a030;
  --text: #ffffff;
  --text-muted: #9c9c9d;
  --radius: 16px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 60px rgba(223, 88, 55, 0.15);
  --font-display: "Poppins", system-ui, sans-serif;
  --font: "Inter", system-ui, sans-serif;
}

.theme-bgr body,
.theme-bgr {
  font-family: var(--font);
  background: var(--bg);
}

/* Background cinematográfico */
.theme-bgr .bgr-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.theme-bgr .bgr-city-texture {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 880px;
  background:
    linear-gradient(180deg, rgba(6, 9, 16, 0.3) 0%, rgba(6, 9, 16, 0.85) 55%, #060910 100%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(47, 48, 49, 0.5), transparent 70%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 80px,
      rgba(255, 255, 255, 0.015) 80px,
      rgba(255, 255, 255, 0.015) 81px
    );
  opacity: 0.9;
}

.theme-bgr .bgr-light-beams {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  gap: 120px;
  pointer-events: none;
  opacity: 0.35;
}

.theme-bgr .bgr-beam {
  display: block;
  width: 180px;
  height: 760px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent);
  filter: blur(28px);
  transform: rotate(-30deg);
  margin-top: -80px;
}

.theme-bgr .bgr-beam:nth-child(2) {
  width: 220px;
  height: 840px;
  filter: blur(34px);
  opacity: 0.7;
}

.theme-bgr .bgr-beam:nth-child(3) {
  width: 170px;
  height: 690px;
  filter: blur(30px);
  opacity: 0.5;
}

.theme-bgr .bgr-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, transparent 30%, #060910 100%);
}

/* Header flutuante */
.theme-bgr .header-bgr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.theme-bgr .header-bgr.scrolled {
  background: rgba(6, 9, 16, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.theme-bgr .header-bgr::after {
  display: none;
}

.theme-bgr .header-inner {
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.theme-bgr .brand-bgr .brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #df5837, #b42748);
  box-shadow: 0 4px 20px rgba(223, 88, 55, 0.35);
  animation: none;
}

.theme-bgr .brand-glow {
  display: none;
}

.theme-bgr .brand-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.theme-bgr .brand-text span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.theme-bgr .nav-bgr a {
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 18px;
  border-radius: 8px;
}

.theme-bgr .nav-bgr a:hover,
.theme-bgr .nav-bgr a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.theme-bgr .nav-bgr a::after {
  display: none;
}

.theme-bgr .nav-bgr a#openTicketsNav,
.theme-bgr .nav-bgr a#openAdminNav {
  color: var(--orange);
}

.theme-bgr .cart-btn {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.theme-bgr .cart-count {
  background: linear-gradient(135deg, #df5837, #b42748);
  color: #fff;
}

.theme-bgr .btn-ghost,
.theme-bgr .btn-glass {
  border-radius: 10px;
  font-weight: 600;
}

/* Hero fullscreen estilo BGR */
.theme-bgr .hero-bgr {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 120px 24px 48px;
  overflow: hidden;
}

.theme-bgr .hero-characters {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.theme-bgr .hero-char {
  position: absolute;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding-bottom: 20px;
}

.theme-bgr .char-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 400px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}

.theme-bgr .hero-char .char-emoji {
  position: relative;
  z-index: 2;
  font-size: clamp(6rem, 14vw, 11rem);
  line-height: 1;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  animation: charFloat 6s ease-in-out infinite;
}

.theme-bgr .hero-char small {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.theme-bgr .char-left {
  left: 5%;
  bottom: 5%;
  opacity: 0.85;
}

.theme-bgr .char-left .char-glow {
  background: radial-gradient(circle, rgba(248, 113, 113, 0.4), transparent 70%);
}

.theme-bgr .char-center {
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 3;
}

.theme-bgr .char-center .char-emoji {
  font-size: clamp(8rem, 18vw, 14rem);
}

.theme-bgr .char-center .char-glow {
  width: 360px;
  height: 500px;
  background: radial-gradient(circle, rgba(223, 88, 55, 0.45), transparent 70%);
}

.theme-bgr .char-right {
  right: 5%;
  bottom: 8%;
  opacity: 0.85;
}

.theme-bgr .char-right .char-glow {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.35), transparent 70%);
}

@keyframes charFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.theme-bgr .hero-bgr-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  margin-bottom: 32px;
}

.theme-bgr .hero-eyebrow {
  font-family: var(--font);
  font-size: clamp(0.72rem, 1.5vw, 0.85rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.theme-bgr .hero-title-bgr {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 4px 60px rgba(0, 0, 0, 0.8);
}

.theme-bgr .hero-title-bgr span:last-child {
  background: linear-gradient(135deg, #fff 0%, #e6e6e6 50%, #9c9c9d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.theme-bgr .hero-subtitle-bgr {
  font-family: var(--font);
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.theme-bgr .hero-actions-bgr {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.theme-bgr .btn-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 10px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #df5837 0%, #c44a2e 100%);
  box-shadow: 0 8px 32px rgba(223, 88, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.theme-bgr .btn-connect:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 48px rgba(223, 88, 55, 0.5);
  background: linear-gradient(135deg, #e86848 0%, #df5837 100%);
}

.theme-bgr .btn-outline-bgr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.theme-bgr .btn-outline-bgr:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.theme-bgr .server-connect-bgr {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 12px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  justify-content: center;
}

.theme-bgr .server-connect-bgr span {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.theme-bgr .server-connect-bgr strong {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
}

.theme-bgr .hero-social-bgr {
  position: relative;
  z-index: 10;
  text-align: center;
  padding-bottom: 16px;
}

.theme-bgr .hero-social-bgr > span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.theme-bgr .social-row {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.theme-bgr .social-pill {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
}

.theme-bgr .social-pill:hover {
  background: rgba(223, 88, 55, 0.2);
  border-color: rgba(223, 88, 55, 0.4);
}

/* Botões primários → laranja BGR */
.theme-bgr .btn-primary {
  background: linear-gradient(135deg, #df5837, #b42748);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(223, 88, 55, 0.35);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.theme-bgr .btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #e86848, #df5837);
  box-shadow: 0 8px 32px rgba(223, 88, 55, 0.45);
}

/* Stats */
.theme-bgr .bgr-stats {
  margin-top: 0;
  padding-top: 60px;
}

.theme-bgr .stats-grid {
  background: rgba(13, 17, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.theme-bgr .stat-block strong {
  color: var(--orange);
  text-shadow: none;
}

/* Seções */
.theme-bgr .section-head-bgr h2,
.theme-bgr .section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  -webkit-text-fill-color: #fff;
  background: none;
  color: #fff;
}

.theme-bgr .section-tag {
  color: var(--orange);
  font-family: var(--font);
  letter-spacing: 0.14em;
}

.theme-bgr .section-tag::after {
  background: linear-gradient(90deg, var(--orange), transparent);
}

.theme-bgr .section-divider span {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  box-shadow: none;
}

/* Features */
.theme-bgr .feature-card {
  background: rgba(13, 17, 24, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.theme-bgr .feature-card.featured {
  background: linear-gradient(145deg, rgba(223, 88, 55, 0.1), rgba(13, 17, 24, 0.9));
  border-color: rgba(223, 88, 55, 0.25);
}

.theme-bgr .feature-icon {
  background: rgba(223, 88, 55, 0.12);
  border-radius: 12px;
}

.theme-bgr .feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

/* VIP Ladder */
.theme-bgr .ladder-item {
  border-radius: 16px;
  background: rgba(13, 17, 24, 0.8);
}

.theme-bgr .ladder-item.featured {
  border-color: rgba(223, 88, 55, 0.45);
  box-shadow: 0 0 40px rgba(223, 88, 55, 0.15);
}

.theme-bgr .ladder-item.featured::before {
  content: "TOP";
  color: var(--orange);
  background: rgba(223, 88, 55, 0.15);
}

.theme-bgr .ladder-connector {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.theme-bgr .ladder-connector::after {
  background: linear-gradient(90deg, transparent, rgba(223, 88, 55, 0.6), transparent);
}

/* Loja / Produtos */
.theme-bgr .shop-bgr {
  padding-top: 80px;
}

.theme-bgr .shop-glow {
  background: radial-gradient(ellipse, rgba(223, 88, 55, 0.06), transparent 70%);
}

.theme-bgr .tabs {
  background: rgba(13, 17, 24, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 5px;
}

.theme-bgr .tab {
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.theme-bgr .tab.active {
  background: linear-gradient(135deg, #df5837, #b42748);
  color: #fff;
  box-shadow: 0 4px 16px rgba(223, 88, 55, 0.35);
}

.theme-bgr .shop-hint {
  background: rgba(13, 17, 24, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

/* Product cards */
.theme-bgr .product-card {
  background: linear-gradient(165deg, rgba(15, 20, 28, 0.95), rgba(8, 10, 14, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.theme-bgr .product-card::after {
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--orange)), transparent);
}

.theme-bgr .product-card:hover {
  border-color: rgba(223, 88, 55, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(223, 88, 55, 0.08);
}

.theme-bgr .product-card.tier-maca { --card-accent: #f87171; }
.theme-bgr .product-card.tier-banana { --card-accent: #fbbf24; }
.theme-bgr .product-card.tier-goiaba { --card-accent: #4ade80; }
.theme-bgr .product-card.tier-goiabao { --card-accent: #df5837; }
.theme-bgr .product-card.tier-patrocinador { --card-accent: #a78bfa; }

.theme-bgr .product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.theme-bgr .price {
  color: var(--orange);
  text-shadow: 0 0 20px rgba(223, 88, 55, 0.25);
}

.theme-bgr .product-badge {
  background: rgba(223, 88, 55, 0.15);
  color: var(--orange);
  border-color: rgba(223, 88, 55, 0.3);
}

.theme-bgr .product-icon-wrap {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.theme-bgr .benefits li::before {
  color: var(--orange);
}

/* Coin cards */
.theme-bgr .coin-card {
  background: linear-gradient(165deg, rgba(15, 20, 28, 0.95), rgba(8, 10, 14, 0.98));
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.theme-bgr .coin-amount-value {
  color: var(--orange);
}

.theme-bgr .coin-slider::-webkit-slider-thumb {
  background: linear-gradient(135deg, #df5837, #b42748);
}

/* Steps */
.theme-bgr .step-card {
  background: rgba(13, 17, 24, 0.7);
  border-radius: 16px;
}

.theme-bgr .step-num {
  color: var(--orange);
  border-color: rgba(223, 88, 55, 0.3);
  background: rgba(223, 88, 55, 0.08);
}

.theme-bgr .step-body h4 {
  font-family: var(--font-display);
  font-weight: 700;
}

/* CTA */
.theme-bgr .cta-inner {
  background: linear-gradient(135deg, rgba(223, 88, 55, 0.12), rgba(13, 17, 24, 0.9));
  border-color: rgba(223, 88, 55, 0.25);
  border-radius: 20px;
}

.theme-bgr .cta-eyebrow {
  color: var(--orange);
}

/* Footer */
.theme-bgr .footer {
  background: #040608;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-bgr .footer::before {
  background: linear-gradient(90deg, transparent, rgba(223, 88, 55, 0.4), transparent);
}

.theme-bgr .footer-links a:hover {
  color: var(--orange);
}

.theme-bgr .footer-pay-badges span {
  border-color: rgba(255, 255, 255, 0.08);
}

/* Modais */
.theme-bgr .checkout-box,
.theme-bgr .cart-drawer {
  background: linear-gradient(165deg, #0d1118, #060910);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.theme-bgr .checkout-top h2,
.theme-bgr .drawer-header h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.theme-bgr .checkout-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(223, 88, 55, 0.15);
}

.theme-bgr .toast {
  background: #0d1118;
  border: 1px solid rgba(223, 88, 55, 0.3);
}

.theme-bgr .toast.success {
  border-color: rgba(34, 197, 94, 0.4);
}

/* Loader */
.theme-bgr .page-loader {
  background: #060910;
}

.theme-bgr .loader-bar span {
  background: linear-gradient(90deg, #df5837, #f0a030);
}

/* Scrollbar */
.theme-bgr ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #df5837, #b42748);
}

/* Mobile nav offset */
.theme-bgr .mobile-nav {
  top: 80px;
  background: rgba(6, 9, 16, 0.98);
}

/* Esconder elementos do tema antigo */
.theme-bgr .trust-strip,
.theme-bgr .particle-canvas,
.theme-bgr .cursor-glow,
.theme-bgr .mesh-gradient,
.theme-bgr .orb,
.theme-bgr .aurora,
.theme-bgr .light-beam {
  display: none !important;
}

/* Responsivo */
@media (max-width: 1024px) {
  .theme-bgr .hero-char .char-emoji {
    font-size: clamp(4rem, 12vw, 7rem);
  }

  .theme-bgr .char-center .char-emoji {
    font-size: clamp(5rem, 14vw, 9rem);
  }

  .theme-bgr .char-left { left: 0; }
  .theme-bgr .char-right { right: 0; }
}

@media (max-width: 768px) {
  .theme-bgr .hero-characters {
    opacity: 0.35;
  }

  .theme-bgr .hero-bgr {
    padding-top: 100px;
    justify-content: center;
  }

  .theme-bgr .hero-bgr-content {
    margin-bottom: 48px;
  }

  .theme-bgr .nav-links {
    display: none;
  }

  .theme-bgr .menu-toggle {
    display: flex;
  }

  .theme-bgr .header-inner {
    padding: 0 20px;
  }

  .theme-bgr .hero-title-bgr {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .theme-bgr .btn-connect,
  .theme-bgr .btn-outline-bgr {
    width: 100%;
    max-width: 320px;
  }
}
