/* src/global/css/header.css */
.glass-header {
  position: relative;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px 10px 40px;
}

.ht-left {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 25px;
}

.lang-selector {
  display: flex;
  align-items: baseline;
  gap: 15px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.lang-selector span {
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  z-index: 1000;
}

.phantom-logo {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9000;
}

.phantom-logo.visible {
  opacity: 0.3;
  visibility: visible;
}

.phantom-logo .logo-img {
  height: 70px;
  width: auto;
}

.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  display: block;
  background: transparent;
}

.ht-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 1 auto;
}

.ht-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.header-date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-color);
  opacity: 0.8;
  font-family: 'Montserrat', sans-serif;
  padding-top: 8px;
  width: auto;
  min-width: 180px;
  text-align: center;
}

.header-bottom {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--nav-divider);
  border-bottom: 1px solid var(--nav-divider);
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nyt-nav {
  display: flex;
  gap: 50px;
}

.nyt-tray {
  position: relative;
  cursor: pointer;
  padding: 15px 0;
}

.tray-title {
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  transition: color 0.3s ease;
}

.tray-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--drawer-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 10px 0;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nyt-tray:hover .tray-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tray-dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  transition: background 0.2s ease, color 0.2s ease;
}

/* --- AFILIE-SE & GOOGLE PROFILE DROPDOWNS --- */
.header-affiliate-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.header-affiliate-icon-btn:hover {
  opacity: 1;
  color: var(--petal-color, #ffb6c1);
}

.google-share-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  z-index: 100000;
  width: 420px;
  background: rgba(22, 22, 28, 0.78);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 24px;
  color: var(--text-color);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
  font-family: 'Montserrat', sans-serif;
  box-sizing: border-box;
  text-align: left;
}

.gshare-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.gshare-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.gshare-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.gshare-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-color);
}

.gshare-link-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 6px 6px 6px 16px;
  margin-bottom: 20px;
}

.gshare-link-input {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  width: 100%;
  outline: none;
  font-family: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gshare-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-color);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  flex-shrink: 0;
}

.gshare-copy-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.gshare-social-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  flex-wrap: wrap;
}

.gshare-social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 500;
  transition: color 0.2s ease;
  cursor: pointer;
}

.gshare-social-item:hover {
  color: var(--text-color);
}

.gshare-social-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  transition: opacity 0.2s ease;
}

.gshare-social-item:hover .gshare-social-icon {
  opacity: 0.95;
}

.header-avatar-btn {
  width: 42px;
  height: 42px;
  border-radius: 50% !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--glass-border);
  transition: outline 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.header-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.google-profile-menu {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  z-index: 100000;
  width: 370px;
  background: rgba(22, 22, 28, 0.78);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
  padding: 26px;
  text-align: center;
  color: var(--text-color);
  box-sizing: border-box;
}

.gmenu-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.gmenu-avatar-wrap {
  width: 76px;
  height: 76px;
  border-radius: 50% !important;
  margin-bottom: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}

.gmenu-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.gmenu-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 4px 0;
  word-break: break-word;
}

.gmenu-email {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px 0;
  word-break: break-all;
}

.gmenu-role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  border: 1px solid var(--glass-border);
}

.gmenu-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
  width: 100%;
}

.gmenu-btn-profile {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.gmenu-btn-profile:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.gmenu-btn-logout {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 16px;
  border-top-right-radius: 28px;
  border-bottom-right-radius: 28px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gmenu-btn-logout:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.gmenu-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gmenu-divider {
  height: 1px;
  background: var(--glass-border);
  margin: 18px 0;
}

.gmenu-section {
  text-align: left;
  margin-bottom: 16px;
}

.gmenu-section:last-child {
  margin-bottom: 0;
}

.gmenu-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-color);
  margin-bottom: 10px;
}

.gmenu-section-content {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px 16px;
}

.gmenu-storage-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 12px 20px;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.gmenu-storage-pill:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.gmenu-storage-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  transition: width 0.4s ease;
}

.gmenu-storage-fill.full {
  background: rgba(239, 68, 68, 0.3);
}

.gmenu-storage-fill.unlimited {
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.2), rgba(255, 93, 0, 0.2));
}

.gmenu-cloud-icon {
  position: relative;
  z-index: 2;
  color: var(--text-color);
  flex-shrink: 0;
  overflow: visible !important;
  filter: none !important;
}

.gmenu-cloud-icon.unlimited {
  color: #38bdf8;
  filter: none !important;
}

.gmenu-storage-text {
  position: relative;
  z-index: 2;
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
}

/* --- BANNER DE ALERTA DE ARMAZENAMENTO / COTA (ESTILO GOOGLE ONE / OUTLOOK / CLOUD IA) --- */
.loyalty-quota-banner {
  background: linear-gradient(135deg, rgba(30, 20, 10, 0.85), rgba(20, 20, 26, 0.85));
  border: 1px solid rgba(245, 158, 11, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.12);
  animation: bannerFadeIn 0.3s ease;
  box-sizing: border-box;
  text-align: left;
}

.loyalty-quota-banner.full {
  background: linear-gradient(135deg, rgba(36, 12, 12, 0.88), rgba(22, 22, 28, 0.88));
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: 0 8px 32px rgba(239, 68, 68, 0.15);
}

@keyframes bannerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quota-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.quota-banner-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #f59e0b;
}

.loyalty-quota-banner.full .quota-banner-icon {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.quota-banner-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.quota-banner-content p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
  font-family: 'Courier New', monospace;
}

.quota-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border: none;
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  flex-shrink: 0;
}

.quota-banner-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
  background: linear-gradient(135deg, #fbbf24, #fb923c);
}

.loyalty-quota-banner.full .quota-banner-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.35);
}

.loyalty-quota-banner.full .quota-banner-btn:hover {
  background: linear-gradient(135deg, #f87171, #ef4444);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}

/* --- BADGES DE CRÉDITOS --- */
.badge-credit-cost {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.badge-credit-cost.cost-2 {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.38);
  color: #fbbf24;
}

.badge-credit-cost.cost-1 {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

/* --- MODAL DE UPGRADE E EXPANSÃO DE PLANOS (ESTILO GOOGLE ONE / CLOUD / IA) --- */
.loyalty-upgrade-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.loyalty-upgrade-modal {
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  background: rgba(20, 20, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 215, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: var(--text-color);
  box-sizing: border-box;
}

.modal-upgrade-header {
  padding: 24px 30px 16px 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.modal-upgrade-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-upgrade-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 93, 0, 0.2));
  border: 1px solid rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  flex-shrink: 0;
}

.modal-upgrade-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
}

.modal-upgrade-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.modal-upgrade-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-upgrade-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-upgrade-body {
  padding: 24px 30px;
  overflow-y: auto;
  flex: 1;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.plan-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.plan-card.featured {
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.08), rgba(0, 0, 0, 0.55));
  border: 1.5px solid #ffd700;
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.18);
}

.plan-card-tag {
  position: absolute;
  top: -10px;
  background: linear-gradient(90deg, #ffd700, #ff9100);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.plan-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 8px 0 4px 0;
  color: var(--text-color);
}

.plan-card.featured .plan-name {
  color: #ffd700;
}

.plan-credits-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin: 6px 0 2px 0;
}

.plan-credits-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  width: 100%;
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.plan-feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-feature-item.highlight {
  color: #38bdf8;
  font-weight: 600;
}

.plan-card.featured .plan-feature-item.highlight {
  color: #ffd700;
}

.plan-action-btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-color);
  margin-top: auto;
}

.plan-action-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.plan-card.featured .plan-action-btn {
  background: linear-gradient(135deg, #ffd700, #ff9100);
  color: #000;
  border: none;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.plan-card.featured .plan-action-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.45);
}

.modal-upgrade-footer {
  padding: 16px 30px 24px 30px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
}

.upgrade-footer-note {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: 'Courier New', monospace;
}

.upgrade-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffd700, #ff9100);
  border: none;
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.upgrade-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* ============================================================
   RESPONSIVIDADE MOBILE & DRAWER (ISOLAMENTO TOTAL DESKTOP)
   ============================================================ */
.mobile-menu-btn {
  display: none !important;
}

.mobile-drawer-overlay {
  display: none !important;
}

.mobile-drawer {
  display: none !important;
}

@media (max-width: 768px) {
  .header-top {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 8px 8px 12px !important;
    min-height: 52px !important;
    gap: 8px !important;
  }

  .ht-left {
    flex: 0 0 auto !important;
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    z-index: 2 !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--petal-color, #ffb6c1);
    cursor: pointer;
    padding: 0;
  }

  .header-bottom {
    display: none !important;
  }

  .ht-center {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1 !important;
    pointer-events: auto !important;
  }

  .logo-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .logo-img {
    height: 38px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: block !important;
  }

  .header-date {
    display: none !important;
  }

  .lang-selector {
    display: none !important;
  }

  .ht-right {
    flex: 0 0 auto !important;
    width: auto !important;
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 5px !important;
    z-index: 2 !important;
  }

  .ht-right .login-btn {
    padding: 4px 7px !important;
    font-size: 9.5px !important;
    letter-spacing: 0.3px !important;
    line-height: 1.2 !important;
    border-radius: 5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  @media (max-width: 380px) {
    .header-top {
      padding-right: 6px !important;
    }

    .ht-right {
      gap: 3px !important;
    }

    .ht-right .login-btn {
      padding: 3.5px 5px !important;
      font-size: 8.5px !important;
      letter-spacing: 0.2px !important;
    }
  }

  .header-affiliate-icon-btn {
    padding: 4px !important;
  }

  /* ============================================================ */
  /* DROPDOWN AFILIE-SE RESPONSIVO (MOBILE)                       */
  /* ============================================================ */
  .google-share-dropdown {
    position: fixed !important;
    top: 56px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(360px, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;
    padding: 18px 16px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    max-height: calc(100vh - 72px) !important;
    max-height: calc(100dvh - 72px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 100000 !important;
  }

  .gshare-header {
    margin-bottom: 14px !important;
  }

  .gshare-title {
    font-size: 18px !important;
  }

  .gshare-link-box {
    padding: 5px 5px 5px 12px !important;
    margin-bottom: 16px !important;
    border-radius: 24px !important;
  }

  .gshare-link-input {
    font-size: 12px !important;
  }

  .gshare-copy-btn {
    padding: 7px 12px !important;
    font-size: 11.5px !important;
    gap: 4px !important;
  }

  .gshare-social-grid {
    gap: 8px !important;
    justify-content: space-around !important;
  }

  .gshare-social-item {
    font-size: 10.5px !important;
    gap: 6px !important;
  }

  .gshare-social-icon {
    width: 40px !important;
    height: 40px !important;
  }

  /* ============================================================ */
  /* DROPDOWN MEU PERFIL RESPONSIVO (MOBILE <= 768px)             */
  /* ============================================================ */
  .google-profile-menu {
    position: fixed !important;
    top: 56px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: min(360px, calc(100vw - 20px)) !important;
    max-width: calc(100vw - 20px) !important;
    padding: 20px 16px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
    max-height: calc(100vh - 72px) !important;
    max-height: calc(100dvh - 72px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    z-index: 100000 !important;
  }

  .google-profile-menu::-webkit-scrollbar {
    width: 4px !important;
  }

  .google-profile-menu::-webkit-scrollbar-track {
    background: transparent !important;
  }

  .google-profile-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
  }

  .google-profile-menu .gmenu-header {
    margin-bottom: 14px !important;
  }

  .google-profile-menu .gmenu-avatar-wrap {
    width: 68px !important;
    height: 68px !important;
    margin-bottom: 10px !important;
  }

  .google-profile-menu .gmenu-name {
    font-size: 16px !important;
    margin-bottom: 3px !important;
  }

  .google-profile-menu .gmenu-email {
    font-size: 12px !important;
    margin-bottom: 10px !important;
  }

  .google-profile-menu .gmenu-role-tag {
    font-size: 10.5px !important;
    padding: 3px 10px !important;
  }

  .google-profile-menu .gmenu-actions {
    margin-bottom: 14px !important;
  }

  .google-profile-menu .gmenu-btn-profile,
  .google-profile-menu .gmenu-btn-logout {
    height: 44px !important;
    font-size: 13px !important;
  }

  .google-profile-menu .gmenu-divider {
    margin: 12px 0 !important;
  }

  .google-profile-menu .gmenu-section {
    margin-bottom: 10px !important;
  }

  .google-profile-menu .gmenu-storage-pill {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mobile-drawer-overlay {
    display: block !important;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
  }

  .mobile-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-drawer {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 86vw);
    background: linear-gradient(165deg, rgba(28, 28, 32, 0.98) 0%, rgba(14, 14, 18, 0.99) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none !important;
    z-index: 9999;
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease, box-shadow 0.3s ease;
    flex-direction: column;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
  }

  body:has(.mobile-drawer.active) .settings-fab {
    display: none !important;
  }

  .mobile-drawer.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.7) !important;
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .drawer-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
  }

  .drawer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color, #ffffff);
  }

  .drawer-close-btn {
    background: transparent;
    border: none;
    color: var(--text-muted, #9ca3af);
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s ease;
  }

  .drawer-close-btn:hover {
    color: var(--petal-color, #ffb6c1);
  }

  .drawer-body {
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .drawer-section {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
  }

  .drawer-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--petal-color, #ffb6c1);
    cursor: pointer;
    user-select: none;
  }

  .drawer-chevron {
    transition: transform 0.25s ease;
  }

  .drawer-section.open .drawer-chevron {
    transform: rotate(180deg);
  }

  .drawer-links {
    display: flex;
    flex-direction: column;
    padding: 0 10px 10px 10px;
    gap: 4px;
  }

  .drawer-links a {
    padding: 10px 12px;
    font-size: 13px;
    color: var(--text-muted, #9ca3af);
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
    min-height: 40px;
    display: flex;
    align-items: center;
  }

  .drawer-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color, #ffffff);
  }

  .drawer-footer {
    padding: 14px 20px 48px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: center;
  }

  .drawer-lang-selector {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .drawer-lang-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--text-muted, #9ca3af);
    padding: 6px 14px;
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
  }

  .drawer-lang-btn:hover {
    border-color: var(--petal-color, #ffb6c1);
    color: var(--petal-color, #ffb6c1);
  }
}