/* Banner de bônus chinês - só aparece no tema roxo */
.chinese-bonus-banner {
  display: none;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
  color: #ffd700;
  padding: 12px 20px;
  margin: 0;
  position: relative;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 100;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Só mostrar no tema roxo - SEMPRE HORIZONTAL */
body[data-theme="purple"] .chinese-bonus-banner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 15px;
}

.chinese-bonus-banner .bonus-text {
  font-size: 16px;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  flex: 1;
  line-height: 1.3;
}

.chinese-bonus-banner .bonus-button {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #000;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.chinese-bonus-banner .bonus-button:hover {
  background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.chinese-bonus-banner .bonus-button:active {
  transform: translateY(0);
}

.chinese-bonus-banner .bonus-button i {
  font-size: 16px;
}

/* Mobile - FORÇAR HORIZONTAL */
@media (max-width: 768px) {
  body[data-theme="purple"] .chinese-bonus-banner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 15px;
    gap: 10px;
  }

  .chinese-bonus-banner .bonus-text {
    font-size: 13px;
    line-height: 1.2;
    flex: 1;
  }

  .chinese-bonus-banner .bonus-button {
    padding: 8px 14px;
    font-size: 12px;
    min-width: 90px;
    flex-shrink: 0;
  }

  .chinese-bonus-banner .bonus-button i {
    font-size: 14px;
  }
}

/* Mobile pequeno - AINDA HORIZONTAL */
@media (max-width: 480px) {
  body[data-theme="purple"] .chinese-bonus-banner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 8px 12px;
    gap: 8px;
  }

  .chinese-bonus-banner .bonus-text {
    font-size: 11px;
    line-height: 1.1;
    flex: 1;
  }

  .chinese-bonus-banner .bonus-button {
    padding: 6px 10px;
    font-size: 10px;
    min-width: 70px;
    flex-shrink: 0;
  }

  .chinese-bonus-banner .bonus-button i {
    font-size: 12px;
  }
}

/* Notificações estilo iPhone */
.iphone-notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 10000;
  max-width: 90%;
  width: auto;
  min-width: 300px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.iphone-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.iphone-notification.hide {
  transform: translateX(-50%) translateY(-100px);
  opacity: 0;
}

.iphone-notification .notification-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.iphone-notification .notification-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.iphone-notification .notification-text {
  flex: 1;
}

.iphone-notification .notification-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  color: #1d1d1f;
}

.iphone-notification .notification-message {
  font-size: 14px;
  color: #6e6e73;
  line-height: 1.4;
}

/* Tipos de notificação */
.iphone-notification.success .notification-icon {
  color: #34c759;
}

.iphone-notification.error .notification-icon {
  color: #ff3b30;
}

.iphone-notification.info .notification-icon {
  color: #007aff;
}

.iphone-notification.warning .notification-icon {
  color: #ff9500;
}

/* Tema escuro */
body[data-theme="purple"] .iphone-notification {
  background: rgba(28, 28, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-theme="purple"] .iphone-notification .notification-title {
  color: #f2f2f7;
}

body[data-theme="purple"] .iphone-notification .notification-message {
  color: #aeaeb2;
}

/* Responsividade para notificações */
@media (max-width: 480px) {
  .iphone-notification {
    top: 10px;
    max-width: 95%;
    min-width: 280px;
    padding: 14px 16px;
  }

  .iphone-notification .notification-title {
    font-size: 15px;
  }

  .iphone-notification .notification-message {
    font-size: 13px;
  }
}
