/* ==========================================================================
   CLEAN LUXURY DESIGN SYSTEM - CLIENT FRONTEND
   Tailwind CSS v4 Modern Theme & Component Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Cinzel:wght@600;700;800&display=swap');

:root {
  --lux-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --lux-font-display: 'Cinzel', serif;

  /* Clean Luxury Palette */
  --lux-dark-bg: #0b0f17;
  --lux-dark-surface: #111827;
  --lux-dark-card: rgba(17, 24, 39, 0.75);
  
  --lux-gold: #d4af37;
  --lux-gold-light: #f5e6b3;
  --lux-gold-gradient: linear-gradient(135deg, #f6df92 0%, #d4af37 50%, #9e7b16 100%);
  --lux-gold-glow: 0 4px 20px rgba(212, 175, 55, 0.3);
  
  --lux-emerald: #10b981;
  --lux-emerald-gradient: linear-gradient(135deg, #34d399 0%, #059669 100%);
  
  --lux-border: rgba(255, 255, 255, 0.08);
  --lux-border-gold: rgba(212, 175, 55, 0.35);
  
  --lux-text: #f8fafc;
  --lux-text-muted: #94a3b8;
  --lux-text-gold: #dfba5a;
}

body {
  font-family: var(--lux-font-body);
  background-color: var(--lux-dark-bg);
  color: var(--lux-text);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* App Main Container */
.app-main {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 1rem 1rem 5rem 1rem;
  transition: max-width 0.25s ease;
}

@media (min-width: 768px) {
  .app-main {
    max-width: 720px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Luxury Header Bar */
.header-app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lux-border);
  transition: all 0.3s ease;
}

.header-app-header.scrolled {
  background: rgba(11, 15, 23, 0.95);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--lux-border-gold);
}

.header-app-brand {
  max-height: 48px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.header-app-brand:hover {
  transform: scale(1.03);
}

/* Luxury Section Titles */
.app-title h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.app-title-desc {
  font-size: 0.875rem;
  color: var(--lux-text-muted);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Clean Luxury Campaign Showcase Card */
.SorteioTpl_sorteioTpl__home, .custom-highlight-card {
  position: relative;
  background: var(--lux-dark-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--lux-border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
}

.SorteioTpl_sorteioTpl__home:hover, .custom-highlight-card:hover {
  border-color: var(--lux-border-gold);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -12px rgba(212, 175, 55, 0.2);
}

.SorteioTpl_info__t1BZr {
  background: rgba(17, 24, 39, 0.95) !important;
  border-top: 1px solid var(--lux-border);
  padding: 1rem 1.25rem;
}

.SorteioTpl_title__3RLtu {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.SorteioTpl_descricao__1b7iL {
  font-size: 0.85rem;
  color: var(--lux-text-muted) !important;
  font-weight: 400;
  line-height: 1.4;
  margin: 0;
}

/* Status Badges */
.badge-lux-status {
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(8px);
}

.badge-lux-adquira {
  background: rgba(16, 185, 129, 0.9);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.badge-lux-esgotando {
  background: rgba(245, 158, 11, 0.9);
  color: #0b0f17;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.badge-lux-concluido {
  background: rgba(100, 116, 139, 0.85);
  color: #ffffff;
}

/* Quick Quantity Selectors (Express) */
.vendasExpressNumsSelect.v2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  width: 100%;
  margin-bottom: 0.75rem;
}

.vendasExpressNumsSelect.v2 .item {
  width: 100% !important;
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid var(--lux-border);
  border-radius: 0.875rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.vendasExpressNumsSelect.v2 .item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--lux-gold);
  transform: translateY(-2px);
}

.vendasExpressNumsSelect.v2 .item.mais-popular {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--lux-gold);
  box-shadow: var(--lux-gold-glow);
}

.vendasExpressNumsSelect.v2 .item.mais-popular::before {
  content: "Mais Popular";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--lux-gold-gradient);
  color: #0b0f17;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 0;
  letter-spacing: 0.04em;
}

.vendasExpressNumsSelect.v2 .item .item-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.vendasExpressNumsSelect.v2 .item.mais-popular .item-content h3 {
  margin-top: 0.5rem;
  color: var(--lux-gold-light);
}

.vendasExpressNumsSelect.v2 .item .item-content-txt {
  font-size: 0.7rem;
  color: var(--lux-text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 0;
}

/* Quantity Control & Action Bar */
.lux-action-bar {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  margin-top: 0.5rem;
}

.vendasExpressNums {
  background: rgba(17, 24, 39, 0.8) !important;
  border: 1px solid var(--lux-border) !important;
  border-radius: 0.875rem !important;
  padding: 0.25rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 130px;
}

.vendasExpressNums .numeroChange {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.2s ease;
}

.vendasExpressNums .numeroChange:hover {
  background: var(--lux-gold-gradient);
  color: #0b0f17;
}

.vendasExpressNums input.qty {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  text-align: center;
  width: 50px;
  padding: 0;
}

/* Clean Luxury Purchase Button */
.btn-lux-participar {
  flex: 1;
  background: var(--lux-gold-gradient);
  color: #0b0f17 !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.875rem;
  padding: 0.75rem 1rem;
  font-weight: 800;
  box-shadow: var(--lux-gold-glow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-lux-participar:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(212, 175, 55, 0.45);
}

.btn-lux-participar .btn-title {
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.btn-lux-participar .btn-total {
  font-size: 0.9rem;
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.15);
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
}

/* Promotion Chips */
.lux-promo-chip {
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #ffffff;
  border-radius: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lux-promo-chip:hover {
  background: var(--lux-gold-gradient);
  color: #0b0f17;
  border-color: transparent;
}

/* Clean Luxury Drawer / Mobile Menu */
.lux-drawer {
  background: rgba(11, 15, 23, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid var(--lux-border);
}

.lux-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  color: var(--lux-text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.lux-nav-item:hover, .lux-nav-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--lux-gold);
}

.lux-nav-item i {
  font-size: 1.15rem;
  color: var(--lux-gold);
}

/* Clean Luxury Footer */
.lux-footer {
  background: #070a0e;
  border-top: 1px solid var(--lux-border);
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--lux-text-muted);
  font-size: 0.8rem;
}

.lux-social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.lux-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--lux-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lux-gold);
  transition: all 0.2s ease;
  text-decoration: none;
}

.lux-social-icon:hover {
  background: var(--lux-gold-gradient);
  color: #0b0f17;
  transform: translateY(-2px);
  box-shadow: var(--lux-gold-glow);
}

/* ==========================================================================
   High Contrast & Crystal-Clear Typing Text Inputs (Clean Luxury)
   ========================================================================== */
.luxury-input,
.form-control,
input.form-control,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
textarea.form-control,
select.form-control,
select.form-select {
  background-color: #0f172a !important;
  background-image: none !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  border-radius: 0.75rem !important;
  padding: 0.65rem 1rem !important;
  transition: all 0.2s ease !important;
}

.luxury-input:focus,
.form-control:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea.form-control:focus,
select.form-control:focus,
select.form-select:focus {
  background-color: #0b0f17 !important;
  border-color: #d4af37 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3) !important;
  outline: none !important;
}

.luxury-input::placeholder,
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  font-weight: 400 !important;
  opacity: 0.85 !important;
}

.form-label,
label {
  color: #f1f5f9 !important;
  font-weight: 600 !important;
  font-size: 0.825rem !important;
  margin-bottom: 0.35rem !important;
}

/* Ensure Modal Checkout Inputs are perfectly lit and visible */
.modal-content input.form-control,
.modal-content .luxury-input,
#checkout_phone {
  background-color: #0f172a !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border: 1.5px solid rgba(212, 175, 55, 0.5) !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.03em !important;
}

#checkout_phone:focus {
  background-color: #080c14 !important;
  border-color: #f5d77f !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.35) !important;
}

/* ==========================================================================
   Full-Coverage Campaign Banner (Edge-to-Edge, Zero Gray Spacing)
   ========================================================================== */
.luxury-card > div:first-child,
.luxury-featured-card > div:first-child,
.campaign-banner-container,
.luxury-campaign-banner {
  background: transparent !important;
  border-radius: 1rem 1rem 0 0 !important;
  overflow: hidden !important;
}

.luxury-card > div:first-child img,
.luxury-featured-card > div:first-child img,
.campaign-banner-img,
.luxury-campaign-banner img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
}

/* Standalone Client Mobile Drawer */
#mobileMenu.lux-drawer-active {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 999999 !important;
  background: #0b0f17 !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  pointer-events: auto !important;
}

